Freeminer
Freeminer is based on Minetest. It aims to make the game fun while trading off some bits of perfectionism.
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout games/freeminer && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000695 695 Bytes | |
_servicedata | 0000000240 240 Bytes | |
freeminer-0.4.14.8+git20210402.tar.xz | 0010603340 10.1 MB | |
freeminer.changes | 0000002707 2.64 KB | |
freeminer.spec | 0000005402 5.28 KB | |
freeminer@.service | 0000000337 337 Bytes |
Latest Revision
Dmitriy Perlow (DarkSS)
committed
(revision 13)
Comments 3
I could fix the build on Tumbleweed by using clang-compatible LTO flags (-flto=thin). However, the build now requires llvm-gold (but only for Tumbleweed) and I don't know why that would be.
It seems like there is some sort of check script in the build that tests the compiler on some small nonsense program; this part then fails (only on Tumbleweed) with the message:
"The C compiler "/usr/bin/clang" is not able to compile a simple test program. It fails with the following output: [...]
/usr/bin/ld.gold: error: /usr/bin/../lib64/LLVMgold.so: could not load plugin library: /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory "
so it requires llvm-gold. Why that part works on the older distributions and why one would need to test the compiler on a "simple program" as a part of building a package is anybody's guess. Surely, a bugged version of clang would be clang's problem and a misconfigured system would just fail building anyway?
Hello. Please submit a tw fix. Leap builds will became frozen so. Thanks.
This happens because
flto
is ignored with older clang versions, but on tumbleweed the version recognizes theflto
command and requires it to be valid.So if you give a valid argument linktime optimization is used and this requires the llvm-gold plugin (see also: https://llvm.org/docs/GoldPlugin.html ). So just submit your changes (please note my other comment on your project).