On 10/06/2020 12:19, Loris Bennett wrote:
Hi Kenneth,

Kenneth Hoste <[email protected]> writes:

On 10/06/2020 11:04, Loris Bennett wrote:
Hi,

I am trying to build OpenCV via

    OpenCV-4.2.0-fosscuda-2019b-Python-3.7.4.eb

This depends on

    ant/1.10.7-Java-11

which throws the error

    ERROR: Build of
    
/trinity/shared/easybuild/software/EasyBuild/4.2.1/easybuild/easyconfigs/a/ant/ant-1.10.7-Java-11.eb
    failed (err: "build failed (first 300 chars): Couldn't find file
    apache-ant-1.10.7-bin.tar.gz anywhere, and downloading it didn't work
    either...
You could grab it from another location (http://ftp.apache-kr.org/ant/binaries/
for example).
1.10.7 is missing there, too, but it is here

It was still there when I checked, that mirror wasn't synced yet, I guess. :)

  https://archive.apache.org/dist/ant/binaries/

We should be using this, indeed. Fixed in https://github.com/easybuilders/easybuild-easyconfigs/pull/10790


regards,

Kenneth

The checksum we have should ensure you're getting the right thing.

because the download target has disappeared:

    https://apache.mirrors.cu.be/ant/binaries/

    Index of /ant/binaries/

    ../
    README.html                                        04-Jun-2015 16:28        
        5108
    apache-ant-1.10.8-bin.tar.bz2                      13-May-2020 15:04        
     5392297
    apache-ant-1.10.8-bin.tar.gz                       13-May-2020 15:04        
     6884228
    apache-ant-1.10.8-bin.tar.xz                       13-May-2020 15:04        
     5011528
    apache-ant-1.10.8-bin.zip                          13-May-2020 15:04        
    10093242
    apache-ant-1.9.15-bin.tar.bz2                      13-May-2020 15:01        
     4495797
    apache-ant-1.9.15-bin.tar.gz                       13-May-2020 15:01        
     5839063
    apache-ant-1.9.15-bin.zip                          13-May-2020 15:01        
     8727548

What's the best way to proceed here?  Just tweak the dependency in the
OpenCV EC, or can the Belgian Apache mirror people be persuaded to
reinstate version 1.10.7?
We should reach out the the Ant maintainers and ask them to archive old versions
rather than removing them...
Should ECs prefer primary sources over mirrors?  That would obviously
somewhat defeat the purpose of mirrors, but since we generally only have
one source URL, we have that problem already ...

Cheers,

Loris


Reply via email to