Bug#846921: spring: FTBFS on i386: relocation R_386_GOTOFF against preemptible symbol _ZNSt6vectorIfSaIfEED1Ev cannot be used when making a shared object

Emilio Pozuelo Monfort pochu at debian.org
Sun Dec 4 11:03:11 UTC 2016


Source: spring
Version: 103.0+dfsg-1
Severity: serious

Your package failed to build on i386:

/usr/bin/c++  -fPIC -g -O2 -fdebug-prefix-map=/«BUILDDIR»/spring-103.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fuse-ld=gold  -std=gnu++11 -fdiagnostics-color=always -march=i686 -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing  -fvisibility=hidden  -fvisibility-inlines-hidden -pthread  -O2      -Wformat -Wformat-security -DNDEBUG -g -Wl,-z,relro -shared  -o libSkirmishAI.so CMakeFiles/RAI.dir/AIExport.cpp.o CMakeFiles/RAI.dir/Builder.cpp.o CMakeFiles/RAI.dir/BuilderPlacement.cpp.o CMakeFiles/RAI.dir/CombatManager.cpp.o CMakeFiles/RAI.dir/GResourceMap.cpp.o CMakeFiles/RAI.dir/GTerrainMap.cpp.o CMakeFiles/RAI.dir/LogFile.cpp.o CMakeFiles/RAI.dir/PowerManager.cpp.o CMakeFiles/RAI.dir/RAI.cpp.o CMakeFiles/RAI.dir/SWeaponManager.cpp.o CMakeFiles/RAI.dir/UnitDefHandler.cpp.o CMakeFiles/RAI.dir/UnitManager.cpp.o ../../Wrappers/LegacyCpp/libLegacyCpp.a ../../Wrappers/CUtils/libCUtils.a 
[ 16%] Building CXX object AI/Wrappers/Cpp/CMakeFiles/Cpp-AIWrapper.dir/src-generated/WrappFile.cpp.o
cd /«BUILDDIR»/spring-103.0+dfsg/obj-i686-linux-gnu/AI/Wrappers/Cpp && /usr/bin/c++   -DBOOST_NO_FENV_H -DBUILDING_AI -DSPRING_DATADIR=\"/usr/share/games/spring:/usr/lib/spring\" -DSYNCCHECK -DTHREADPOOL -DUSE_LIBSQUISH -D_GLIBCXX_USE_NANOSLEEP -D_GNU_SOURCE=1 -D_RANDOM_TCC -D_REENTRANT -I/«BUILDDIR»/spring-103.0+dfsg/rts -I/«BUILDDIR»/spring-103.0+dfsg/obj-i686-linux-gnu/src-generated/engine -I/«BUILDDIR»/spring-103.0+dfsg/rts/ExternalAI/Interface -I/«BUILDDIR»/spring-103.0+dfsg/AI/Wrappers -I/«BUILDDIR»/spring-103.0+dfsg/AI/Wrappers/Cpp/src -I/«BUILDDIR»/spring-103.0+dfsg/obj-i686-linux-gnu/AI/Wrappers/Cpp/src-generated  -g -O2 -fdebug-prefix-map=/«BUILDDIR»/spring-103.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fuse-ld=gold  -std=gnu++11 -fdiagnostics-color=always -march=i686 -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -fsingle-precision-constant -frounding-math -mieee-fp -pipe -fno-strict-aliasing  -fvisibility=hidden  -fvisibility-inlines-hidden -pthread  -O2      -Wformat -Wformat-security -DNDEBUG -g   -o CMakeFiles/Cpp-AIWrapper.dir/src-generated/WrappFile.cpp.o -c /«BUILDDIR»/spring-103.0+dfsg/obj-i686-linux-gnu/AI/Wrappers/Cpp/src-generated/WrappFile.cpp
/usr/bin/ld.gold: error: ../../Wrappers/LegacyCpp/libLegacyCpp.a(AIAICallback.cpp.o): relocation R_386_GOTOFF against preemptible symbol _ZNSt6vectorIfSaIfEED1Ev cannot be used when making a shared object
/usr/bin/ld.gold: error: ../../Wrappers/LegacyCpp/libLegacyCpp.a(AIAICallback.cpp.o): relocation R_386_GOTOFF against preemptible symbol _ZNSt6vectorItSaItEED1Ev cannot be used when making a shared object
/usr/bin/ld.gold: error: ../../Wrappers/LegacyCpp/libLegacyCpp.a(AIAICallback.cpp.o): relocation R_386_GOTOFF against preemptible symbol _ZNSt6vectorIhSaIhEED1Ev cannot be used when making a shared object
collect2: error: ld returned 1 exit status

Logs at https://buildd.debian.org/status/package.php?p=spring

Emilio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental'), (650, 'testing'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


More information about the Pkg-games-devel mailing list