[opensuse-buildservice] Weird build errors
Hi, Since some time I'm experiencing build errors like: [ 910s] ../../3rdParty/lua/src/liblua.a(liolib.o): In function `g_read': [ 910s] liolib.c:(.text+0x629): undefined reference to `__isoc99_fscanf' [ 1109s] ./testit: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./testit) [ 899s] Source/LibJPEG/jcapimin.o: could not read symbols: File in wrong format I think those originate from C library and architecture mismatches on some builders. If the problem hits, then most platforms will fail building. My project is in: https://build.opensuse.org/package/show/home:wolframe_user/Wolframe Can somebody confirm? Greetings Andreas -- Andreas Baumann Trottenstrasse 20 CH-8037 Zuerich Telefon: +41(0)76/373 01 29 E-mail: mail@andreasbaumann.cc Homepage: www.andreasbaumann.cc -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Quoting mail@andreasbaumann.cc:
Hi,
Since some time I'm experiencing build errors like:
[ 910s] ../../3rdParty/lua/src/liblua.a(liolib.o): In function `g_read': [ 910s] liolib.c:(.text+0x629): undefined reference to `__isoc99_fscanf'
[ 1109s] ./testit: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./testit)
[ 899s] Source/LibJPEG/jcapimin.o: could not read symbols: File in wrong format
I think those originate from C library and architecture mismatches on some builders. If the problem hits, then most platforms will fail building.
My project is in:
https://build.opensuse.org/package/show/home:wolframe_user/Wolframe
Can somebody confirm?
I can't confirm what you observe... From what I see in your build log, the issue is rather that those object files are part of the source tarball: [ 105s] -rw-r--r-- root/root 3952 2014-08-06 08:39 wolframe-0.0.2/3rdParty/freeimage/Source/LibJPEG/jcapimin.o And very likely, your source tarball contains them in 64bit arch. You should ensure that those objects arwe built from source, not any pre-shipped object files being used. Best regards, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Quoting mail@andreasbaumann.cc:
Hi,
Since some time I'm experiencing build errors like:
[ 910s] ../../3rdParty/lua/src/liblua.a(liolib.o): In function `g_read': [ 910s] liolib.c:(.text+0x629): undefined reference to `__isoc99_fscanf'
[ 1109s] ./testit: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by ./testit)
[ 899s] Source/LibJPEG/jcapimin.o: could not read symbols: File in wrong format
I think those originate from C library and architecture mismatches on some builders. If the problem hits, then most platforms will fail building.
My project is in:
https://build.opensuse.org/package/show/home:wolframe_user/Wolframe
Can somebody confirm?
I can't confirm what you observe...
From what I see in your build log, the issue is rather that those object files are part of the source tarball:
[ 105s] -rw-r--r-- root/root 3952 2014-08-06 08:39 wolframe-0.0.2/3rdParty/freeimage/Source/LibJPEG/jcapimin.o
And very likely, your source tarball contains them in 64bit arch.
You should ensure that those objects arwe built from source, not any pre-shipped object files being used.
Oups. Me bad! Indeed, I was shipping object files, mainly because the 'make distclean' rule was not deleting all object files. Thanks and sorry to bother you Greetings Andreas
Best regards, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Dominique Leuenberger a.k.a. Dimstar
-
mail@andreasbaumann.cc