[Bug 2015872] Re: FTBFS due to LTO on s390x
Launchpad Bug Tracker
2015872 at bugs.launchpad.net
Fri Apr 14 07:58:28 UTC 2023
This bug was fixed in the package cmake - 3.25.1-1ubuntu1
---------------
cmake (3.25.1-1ubuntu1) lunar; urgency=medium
* Fix FTBFS on s390x due to LTO (LP: #2015872)
-- Lukas Märdian <slyon at ubuntu.com> Tue, 11 Apr 2023 15:05:40 +0200
** Changed in: cmake (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/2015872
Title:
FTBFS due to LTO on s390x
Status in cmake package in Ubuntu:
Fix Released
Bug description:
LTO makes the CustomCommand test fail on s390x:
No INFO:symbol[pcStatic] found in: /<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcStatic.a
Instead it produces the following strings:
$ strings bin/libpcStatic.a | grep INFO
INFO:symbol[]
INFO:symbol[pcStatic]
This seems to be happening as of GCC/G++ 12.2.0-17ubuntu1
Relevant logs from:
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20230324-lunar-lunar.html#foundations-bugs-team
128/683 Test #118: CustomCommand ...............................................***Failed 4.20 sec
Internal cmake changing into directory: /<<PKGBUILDDIR>>/Build/Tests/CustomCommand
======== CMake output ======
The C compiler identification is GNU 12.2.0
The CXX compiler identification is GNU 12.2.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Configuring done
Generating done
Build files have been written to: /<<PKGBUILDDIR>>/Build/Tests/CustomCommand
Configuring done
Generating done
Build files have been written to: /<<PKGBUILDDIR>>/Build/Tests/CustomCommand
======== End CMake output ======
Change Dir: /<<PKGBUILDDIR>>/Build/Tests/CustomCommand
Run Clean Command:/usr/bin/gmake -f Makefile clean
gmake[3]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[4]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
Run Build Command(s):/usr/bin/gmake -f Makefile && gmake[3]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[4]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 1%] Building CXX object CMakeFiles/generator.dir/generator.cxx.o
[ 2%] Linking CXX executable bin/generator
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 2%] Built target generator
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 4%] Building CXX object CMakeFiles/wrapper.dir/wrapper.cxx.o
[ 5%] Linking CXX executable bin/wrapper
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 5%] Built target wrapper
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 7%] Generating doc1.dvi
[ 8%] Generating doc1.h
Copying doc1.dvi to doc1temp.h.
Copying doc1temp.h to doc1.h.
Removing doc1temp.h.
[ 10%] Generating doc1.txt
[ 11%] Running top-level TDocument commands
Copying doc1.h to doc2.h.
Running TDocument pre-build commands
Writing doc1pre.txt.
Running TDocument post-build commands
Copying doc1pre.txt to doc2post.txt.
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 11%] Built target TDocument
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 12%] Running TDocument post-build dependent custom command
Copying doc2pre.txt to doc3post.txt.
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 12%] Built target doc3Post
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 14%] Generating generated.h
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 15%] Building CXX object GeneratedHeader/CMakeFiles/GeneratedHeader.dir/main.cpp.o
[ 17%] Linking CXX static library ../bin/libGeneratedHeader.a
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 17%] Built target GeneratedHeader
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 18%] Building CXX object CMakeFiles/tcat.dir/tcat.cxx.o
[ 20%] Linking CXX executable bin/tcat
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 20%] Built target tcat
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 21%] Generating wrapped.c, wrapped_help.c
[ 22%] Generating foo.pre
[ 24%] Generating foo.c
[ 25%] Generating foo.h
Copying foo.h.in to foo.h.
[ 27%] Generating gen_redirect.c
[ 28%] Generating generated.c
[ 30%] Generating not_included.h
[ 31%] Generating subdir/subdir.h
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 32%] Building C object CMakeFiles/CustomCommand.dir/foo.c.o
[ 34%] Building C object CMakeFiles/CustomCommand.dir/wrapped.c.o
[ 35%] Building C object CMakeFiles/CustomCommand.dir/wrapped_help.c.o
[ 37%] Building C object CMakeFiles/CustomCommand.dir/generated.c.o
[ 38%] Building C object CMakeFiles/CustomCommand.dir/gen_redirect.c.o
[ 40%] Linking CXX executable bin/CustomCommand
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 40%] Built target CustomCommand
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 41%] Building CXX object GeneratorInExtraDir/CMakeFiles/dummy_generator.dir/__/generator.cxx.o
[ 42%] Linking CXX executable ../bin/dummy_generator
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 42%] Built target dummy_generator
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 44%] Building CXX object GeneratorInExtraDir/CMakeFiles/generator_extern.dir/__/generator.cxx.o
[ 45%] Linking CXX executable ../bin/the_external_generator
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 45%] Built target generator_extern
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 47%] Generating generated_extern.cxx
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 48%] Building CXX object CMakeFiles/CustomCommandUsingTargetTest.dir/main.cxx.o
[ 50%] Building CXX object CMakeFiles/CustomCommandUsingTargetTest.dir/generated_extern.cxx.o
[ 51%] Linking CXX executable bin/CustomCommandUsingTargetTest
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 51%] Built target CustomCommandUsingTargetTest
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 52%] Building C object CMakeFiles/check_command_line.dir/check_command_line.c.o
[ 54%] Linking C executable bin/check_command_line
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 54%] Built target check_command_line
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 54%] Built target pre_check_command_line
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 55%] Checking custom command line escapes (single'quote)
Command line escapes work!
[ 57%] Checking custom target command line escapes ($dollar-signs$)
Checking custom target command escapes
Command line escapes work!
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 57%] Built target do_check_command_line
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 58%] Generating SameName1.txt
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 58%] Built target SameName
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 60%] Generating subdir/SameName
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 60%] Built target DifferentName
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 61%] Building C object PerConfig/CMakeFiles/pcStatic.dir/pcStatic.c.o
[ 62%] Linking C static library ../bin/libpcStatic.a
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 62%] Built target pcStatic
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 64%] Building C object PerConfig/CMakeFiles/pcShared.dir/pcShared.c.o
[ 65%] Linking C shared library ../bin/libpcShared.so
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 65%] Built target pcShared
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 67%] Building C object PerConfig/CMakeFiles/perconfig.dir/perconfig.c.o
[ 68%] Linking C executable ../bin/perconfig
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 68%] Built target perconfig
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[5]: Entering directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
[ 70%] Generating perconfig.out
-- configuration=
-- perconfig_file_dir=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin
-- perconfig_file_name=perconfig
-- perconfig_file=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/perconfig
-- pcStatic_file=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcStatic.a
-- pcStatic_linker_file=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcStatic.a
-- pcShared_file=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcShared.so.1.2
-- pcShared_linker_file=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcShared.so
-- pcShared_soname_file=/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcShared.so.3
CMake Error at /<<PKGBUILDDIR>>/Tests/PerConfig/perconfig.cmake:34 (message):
No INFO:symbol[pcStatic] found in:
/<<PKGBUILDDIR>>/Build/Tests/CustomCommand/bin/libpcStatic.a
gmake[5]: *** [CMakeFiles/perconfig_target.dir/build.make:74: perconfig.out] Error 1
gmake[5]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[4]: *** [CMakeFiles/Makefile2:535: CMakeFiles/perconfig_target.dir/all] Error 2
gmake[4]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
gmake[3]: *** [Makefile:91: all] Error 2
gmake[3]: Leaving directory '/<<PKGBUILDDIR>>/Build/Tests/CustomCommand'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/2015872/+subscriptions
More information about the foundations-bugs
mailing list