RFR: 7903765: wget failed in build.sh in jtreg

Yasumasa Suenaga ysuenaga at openjdk.org
Fri Jul 26 02:11:43 UTC 2024


On Tue, 23 Jul 2024 20:47:40 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

>> I tried to build jtreg, but it failed as following:
>> 
>> 
>> $ bash make/build.sh --jdk /usr/lib/jvm/java-22-ope
>> njdk
>> [build.sh][INFO] CYGWIN_OR_MSYS=0
>> [build.sh][INFO] JAVA_HOME: /usr/lib/jvm/java-22-openjdk
>> [build.sh][INFO] Downloading https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.8-bin.zip to /home/ysuenaga/github-forked/jtreg/make/../build/deps/apache-ant-1.10.8-bin.zip
>> [build.sh][ERROR] wget exited with exit code 1
>> 
>> 
>> I tried it on Fedora 40, wget is from wget2-wget-2.1.0-9.fc40.x86_64 . Related path seems not to be accepted in this version at least.
>
> FWIW, a Google search on that specific error message indicates this is likely a bug in that version of `wget`.
> See here: https://lists.gnu.org/archive/html/wget-dev/2020-05/msg00013.html

@jonathan-gibbons Thanks for the info! I wonder why the issue on wget2 is still open, and it is not clarified whether wget2 guys will fix it or not.

Anyway, I agree with you to fix to remove usage of `..`. It is a big different from this PR. So @jaikiran could you open another PR with your patch? I will close this after you open.

-------------

PR Comment: https://git.openjdk.org/jtreg/pull/211#issuecomment-2251833035


More information about the jtreg-dev mailing list