Il 30/07/22 18:28, Jerry James ha scritto: > On Sat, Jul 30, 2022 at 9:53 AM Mattia Verga via devel > <devel@lists.fedoraproject.org> wrote: >> Hello folks, >> >> I've been trying to update healpix package to latest version, so that I >> can submit a PR to the package maintainer. Current version is a couple >> of years old. >> >> Unfortunately, the automated build process available in the package >> itself isn't suitable for our needs, so each component (currently the >> package provides Fortran, C, C++ and Java) must be compiled on its own. >> Moreover, a library is bundled (libsharp), which is needed by the C++ >> component... there are some reasons why not unbundle it, I will not list >> them here as they're not related to my request. >> >> I did an heavy rewrite of the spec file to adapt to the new version and >> I can build everything fine locally, but when I try a koji scratch build >> it fails because the configure script of the C++ component cannot find a >> cfitsio header. That's weird, because the C component is able to find >> cfitsio and the header, while the C++ component finds cfitsio but not >> the header... >> >> I'm at a dead end, can someone have a look at the scratch build [1] and >> explain me where's the fault? > The actual configure error is: > > /usr/bin/ld: cannot find -lz: No such file or directory > > Try adding a BuildRequires on zlib-devel. > -- > Jerry James > http://www.jamezone.org/
Well, it was a stupid mistake indeed, as I was focused on the latest error in the build log and I didn't notice the missing build requires... everything works after I've added zlib-devel (and libcurl-devel) to BuildRequires. Thanks. _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure