Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] apache-ant fails building
@ 2022-10-06  5:49 ysk81
  2023-03-03 21:24 ` frankenstein91
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ysk81 @ 2022-10-06  5:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]

New issue by ysk81 on void-packages repository

https://github.com/void-linux/void-packages/issues/39753

Description:
### Is this a new report?

Yes

### System Info

Voild 5.19.13_1 x86-64

### Package(s) Affected

apache-ant-1.10.12_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

auto download "ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip" file during build amd complete building pkg.

### Actual behaviour

build script fails with sha-256 checksum mismatch error for file "ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip".
Tried to download file via wget and figured the downloaded size is twice the reported file size from ftp server.
Tried again with --no-passive-ftp and this time size was correct.
Coppied the downloaded file to /buildder/apache-ant-1.10.12/?/.ant/tempcache/
and ran ./xbps-src -N pkg apache-ant again.
This time build was successfull. 
So, if we can have build script to not use passive ftp, the problem might be solved.

### Steps to reproduce

xbps-src -N pkg apache-ant

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: apache-ant fails building
  2022-10-06  5:49 [ISSUE] apache-ant fails building ysk81
@ 2023-03-03 21:24 ` frankenstein91
  2023-06-08 22:30 ` lchrennew
  2023-08-18 19:11 ` echuber2
  2 siblings, 0 replies; 4+ messages in thread
From: frankenstein91 @ 2023-03-03 21:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

New comment by frankenstein91 on void-packages repository

https://github.com/void-linux/void-packages/issues/39753#issuecomment-1454148859

Comment:
I have a problem with the same ZIP file
ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip

```
BUILD FAILED
/opt/ant-src/fetch.xml:405: sun.net.ftp.FtpLoginException: Invalid username/password
	at java.base/sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:341)
	at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:790)
	at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:699)
	at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:689)

```

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: apache-ant fails building
  2022-10-06  5:49 [ISSUE] apache-ant fails building ysk81
  2023-03-03 21:24 ` frankenstein91
@ 2023-06-08 22:30 ` lchrennew
  2023-08-18 19:11 ` echuber2
  2 siblings, 0 replies; 4+ messages in thread
From: lchrennew @ 2023-06-08 22:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 702 bytes --]

New comment by lchrennew on void-packages repository

https://github.com/void-linux/void-packages/issues/39753#issuecomment-1583481116

Comment:
> I have a problem with the same ZIP file ftp://ftp.software.ibm.com/software/awdtools/netrexx/NetRexx.zip
> 
> ```
> BUILD FAILED
> /opt/ant-src/fetch.xml:405: sun.net.ftp.FtpLoginException: Invalid username/password
> 	at java.base/sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:341)
> 	at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:790)
> 	at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:699)
> 	at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:689)
> ```

Same problem

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: apache-ant fails building
  2022-10-06  5:49 [ISSUE] apache-ant fails building ysk81
  2023-03-03 21:24 ` frankenstein91
  2023-06-08 22:30 ` lchrennew
@ 2023-08-18 19:11 ` echuber2
  2 siblings, 0 replies; 4+ messages in thread
From: echuber2 @ 2023-08-18 19:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

New comment by echuber2 on void-packages repository

https://github.com/void-linux/void-packages/issues/39753#issuecomment-1684332975

Comment:
Hi, I ran into the same problem somewhere else and I saw this issue in a search. It looks like apache ant has fixed this in their upstream:

https://github.com/apache/ant/commit/541a1d2448af3e95134f79a970a608403deab00a

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-18 19:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06  5:49 [ISSUE] apache-ant fails building ysk81
2023-03-03 21:24 ` frankenstein91
2023-06-08 22:30 ` lchrennew
2023-08-18 19:11 ` echuber2

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).