FTBFS due to LTO on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake |
New
|
Unknown
|
|||
cmake (Debian) |
Fix Released
|
Unknown
|
|||
cmake (Ubuntu) |
Fix Released
|
Undecided
|
Lukas Märdian |
Bug Description
LTO makes the CustomCommand test fail on s390x:
No INFO:symbol[
Instead it produces the following strings:
$ strings bin/libpcStatic.a | grep INFO
INFO:symbol[]
INFO:
This seems to be happening as of GCC/G++ 12.2.0-17ubuntu1
Relevant logs from:
https:/
128/683 Test #118: CustomCommand .......
Internal cmake changing into directory: /<<PKGBUILDDIR>
======== 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>
Configuring done
Generating done
Build files have been written to: /<<PKGBUILDDIR>
======== End CMake output ======
Change Dir: /<<PKGBUILDDIR>
Run Clean Command:
gmake[3]: Entering directory '/<<PKGBUILDDIR
gmake[4]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[4]: Leaving directory '/<<PKGBUILDDIR
gmake[3]: Leaving directory '/<<PKGBUILDDIR
Run Build Command(
gmake[4]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 1%] Building CXX object CMakeFiles/
[ 2%] Linking CXX executable bin/generator
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 2%] Built target generator
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 4%] Building CXX object CMakeFiles/
[ 5%] Linking CXX executable bin/wrapper
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 5%] Built target wrapper
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 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
[ 11%] Built target TDocument
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 12%] Running TDocument post-build dependent custom command
Copying doc2pre.txt to doc3post.txt.
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 12%] Built target doc3Post
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 14%] Generating generated.h
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 15%] Building CXX object GeneratedHeader
[ 17%] Linking CXX static library ../bin/
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 17%] Built target GeneratedHeader
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 18%] Building CXX object CMakeFiles/
[ 20%] Linking CXX executable bin/tcat
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 20%] Built target tcat
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 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
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 32%] Building C object CMakeFiles/
[ 34%] Building C object CMakeFiles/
[ 35%] Building C object CMakeFiles/
[ 37%] Building C object CMakeFiles/
[ 38%] Building C object CMakeFiles/
[ 40%] Linking CXX executable bin/CustomCommand
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 40%] Built target CustomCommand
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 41%] Building CXX object GeneratorInExtr
[ 42%] Linking CXX executable ../bin/
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 42%] Built target dummy_generator
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 44%] Building CXX object GeneratorInExtr
[ 45%] Linking CXX executable ../bin/
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 45%] Built target generator_extern
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 47%] Generating generated_
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 48%] Building CXX object CMakeFiles/
[ 50%] Building CXX object CMakeFiles/
[ 51%] Linking CXX executable bin/CustomComma
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 51%] Built target CustomCommandUs
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 52%] Building C object CMakeFiles/
[ 54%] Linking C executable bin/check_
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 54%] Built target check_command_line
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 54%] Built target pre_check_
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 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
[ 57%] Built target do_check_
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 58%] Generating SameName1.txt
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 58%] Built target SameName
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 60%] Generating subdir/SameName
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 60%] Built target DifferentName
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 61%] Building C object PerConfig/
[ 62%] Linking C static library ../bin/
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 62%] Built target pcStatic
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 64%] Building C object PerConfig/
[ 65%] Linking C shared library ../bin/
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 65%] Built target pcShared
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 67%] Building C object PerConfig/
[ 68%] Linking C executable ../bin/perconfig
gmake[5]: Leaving directory '/<<PKGBUILDDIR
[ 68%] Built target perconfig
gmake[5]: Entering directory '/<<PKGBUILDDIR
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[5]: Entering directory '/<<PKGBUILDDIR
[ 70%] Generating perconfig.out
-- configuration=
-- perconfig_
-- perconfig_
-- perconfig_
-- pcStatic_
-- pcStatic_
-- pcShared_
-- pcShared_
-- pcShared_
CMake Error at /<<PKGBUILDDIR>
No INFO:symbol[
/<<
gmake[5]: *** [CMakeFiles/
gmake[5]: Leaving directory '/<<PKGBUILDDIR
gmake[4]: *** [CMakeFiles/
gmake[4]: Leaving directory '/<<PKGBUILDDIR
gmake[3]: *** [Makefile:91: all] Error 2
gmake[3]: Leaving directory '/<<PKGBUILDDIR
tags: | added: ftbfs |
Changed in cmake (Ubuntu): | |
assignee: | nobody → Lukas Märdian (slyon) |
status: | New → In Progress |
Changed in cmake (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in cmake: | |
status: | Unknown → New |
Changed in cmake (Debian): | |
status: | Unknown → New |
Changed in cmake (Debian): | |
status: | New → Fix Committed |
Changed in cmake (Debian): | |
status: | Fix Committed → Fix Released |
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 <email address hidden> Tue, 11 Apr 2023 15:05:40 +0200