On Saturday, 2 May 2020 09:56:04 CEST Martin Pluskal wrote:
Hi
On Sat, 2020-05-02 at 04:42 +0000, andythe_great wrote:
Hello,
I have been trying to build Avogadrolibs
https://github.com/OpenChemistry/avogadrolibs https://build.opensuse.org/package/live_build_log/home:andythe_great/avoga drolibs/openSUSE_Tumbleweed/x86_64
However, this error prevent it from building. E: lto-no-text-in-archive (Badness: 10000)
I found this documentation:
https://en.opensuse.org/openSUSE:LTO#LTO_enablement_in_openSUSE:Factory Which it says to add the flag %global _lto_cflags %{?_lto_cflags} -ffat-lto-objects to fix the issue which it did.
But Science repo maintainer won't accept it as a fix. https://build.opensuse.org/request/show/780593
But it is correct solution to rpmlint error
It would be a correct solution if the affected library were a library which should be shipped, but thats not the case here - it is just bunch of object files which should be statically linked to the shared libraries (here, dl'opened modules). There is a bugreport I have opened upstream, which has seen some progress lately. There currently is a patch in the package which fixes the problem correctly. Regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019