Bug 2046715 - llvm11: FTBFS in Fedora rawhide/f37
Summary: llvm11: FTBFS in Fedora rawhide/f37
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm11
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS F37FTBFS F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:21 UTC by Fedora Release Engineering
Modified: 2023-02-10 00:37 UTC (History)
3 users (show)

Fixed In Version: llvm11-11.1.0-10.fc38 llvm11-11.1.0-10.fc37
Clone Of:
Environment:
Last Closed: 2023-02-10 00:37:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-27 09:21 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-27 09:21 UTC, Fedora Release Engineering
no flags Details
state.log (966 bytes, text/plain)
2022-01-27 09:21 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-27 09:21:00 UTC
llvm11 failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81983806


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix llvm11 at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
llvm11 will be orphaned. Before branching of Fedora 37,
llvm11 will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-27 09:21:03 UTC
Created attachment 1855774 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-27 09:21:05 UTC
Created attachment 1855775 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-27 09:21:06 UTC
Created attachment 1855776 [details]
state.log

Comment 4 Ben Cotton 2022-02-08 20:41:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 5 Fedora Update System 2023-02-01 09:27:43 UTC
FEDORA-2023-364932c983 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-364932c983

Comment 6 Jens Petersen 2023-02-01 10:09:40 UTC
Unfortunately the FTBFS in F36 remains but maybe not worth worrying a lot about now:

FAIL: LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test (37338 of 38491)
******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test' FAILED ********************
Script:
--
: 'RUN: at line 3';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/yaml2obj /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml -o /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp.o
: 'RUN: at line 4';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objcopy --compress-debug-sections=zlib-gnu /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp.o /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-compressed.o
: 'RUN: at line 5';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objcopy --decompress-debug-sections /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-compressed.o /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-decompressed.o
: 'RUN: at line 7';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objdump -s /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp.o --section=.debug_foo | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test
: 'RUN: at line 8';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objdump -s /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-compressed.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test --check-prefix=CHECK-COMPRESSED
: 'RUN: at line 9';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-readobj --relocations -S /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-compressed.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test --check-prefix=CHECK-FLAGS
: 'RUN: at line 10';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-readobj --relocations -S /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-decompressed.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test --check-prefix=CHECK-HEADER
: 'RUN: at line 11';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-readobj --relocations -S /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test --check-prefix=CHECK-HEADER
: 'RUN: at line 12';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objdump -s /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib-gnu.test.tmp-decompressed.o --section=.debug_foo | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test
--
Exit Code: 1
Command Output (stderr):
--
/builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test:36:21: error: CHECK-FLAGS-NEXT: expected string not found in input
# CHECK-FLAGS-NEXT: Size: 23
                    ^
<stdin>:43:10: note: scanning from here
 Offset: 0x50
         ^
<stdin>:44:2: note: possible intended match here
 Size: 22
 ^
Input file: <stdin>
Check file: /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
           .
           .
           .
          38:  Name: .zdebug_foo (45)
          39:  Type: SHT_PROGBITS (0x1)
          40:  Flags [ (0x0)
          41:  ]
          42:  Address: 0x0
          43:  Offset: 0x50
next:36'0              X~~~ error: no match found
          44:  Size: 22
next:36'0     ~~~~~~~~~
next:36'1      ?        possible intended match
          45:  Link: 0
next:36'0     ~~~~~~~~
          46:  Info: 0
next:36'0     ~~~~~~~~
          47:  AddressAlignment: 8
next:36'0     ~~~~~~~~~~~~~~~~~~~~
          48:  EntrySize: 0
next:36'0     ~~~~~~~~~~~~~
          49:  }
next:36'0     ~~
           .
           .
           .
>>>>>>
--
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.
FAIL: LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test (37339 of 38491)
******************** TEST 'LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test' FAILED ********************
Script:
--
: 'RUN: at line 3';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/yaml2obj /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml -o /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp.o
: 'RUN: at line 4';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objcopy --compress-debug-sections=zlib /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp.o /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-compressed.o
: 'RUN: at line 5';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objcopy --decompress-debug-sections /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-compressed.o /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-decompressed.o
: 'RUN: at line 7';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objdump -s /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp.o --section=.debug_foo | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
: 'RUN: at line 8';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objdump -s /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-compressed.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test --check-prefix=CHECK-COMPRESSED
: 'RUN: at line 9';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-readobj --relocations -S /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-compressed.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test --check-prefix=CHECK-FLAGS
: 'RUN: at line 10';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-readobj --relocations -S /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-decompressed.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test --check-prefix=CHECK-HEADER
: 'RUN: at line 11';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-readobj --relocations -S /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp.o | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test --check-prefix=CHECK-HEADER
: 'RUN: at line 12';   /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/llvm-objdump -s /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test/tools/llvm-objcopy/ELF/Output/compress-debug-sections-zlib.test.tmp-decompressed.o --section=.debug_foo | /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/bin/FileCheck /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
--
Exit Code: 1
Command Output (stderr):
--
/builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test:35:21: error: CHECK-FLAGS-NEXT: expected string not found in input
# CHECK-FLAGS-NEXT: Size: 35
                    ^
<stdin>:44:10: note: scanning from here
 Offset: 0x50
         ^
<stdin>:45:2: note: possible intended match here
 Size: 34
 ^
Input file: <stdin>
Check file: /builddir/build/BUILD/llvm-11.1.0.src/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
           .
           .
           .
          39:  Type: SHT_PROGBITS (0x1)
          40:  Flags [ (0x800)
          41:  SHF_COMPRESSED (0x800)
          42:  ]
          43:  Address: 0x0
          44:  Offset: 0x50
next:35'0              X~~~ error: no match found
          45:  Size: 34
next:35'0     ~~~~~~~~~
next:35'1      ?        possible intended match
          46:  Link: 0
next:35'0     ~~~~~~~~
          47:  Info: 0
next:35'0     ~~~~~~~~
          48:  AddressAlignment: 8
next:35'0     ~~~~~~~~~~~~~~~~~~~~
          49:  EntrySize: 0
next:35'0     ~~~~~~~~~~~~~
          50:  }
next:35'0     ~~
           .
           .
           .
>>>>>>
--
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
1 warning(s) in tests
********************
Failed Tests (2):
  LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib-gnu.test
  LLVM :: tools/llvm-objcopy/ELF/compress-debug-sections-zlib.test
Testing Time: 1106.77s
  Unsupported      :  1229
  Passed           : 37110
  Expectedly Failed:   150
  Failed           :     2
FAILED: CMakeFiles/check-all /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/CMakeFiles/check-all 
cd /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build && /usr/bin/python3.10 /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/./bin/llvm-lit -sv /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/utils/lit /builddir/build/BUILD/llvm-11.1.0.src/redhat-linux-build/test
ninja: build stopped: subcommand failed.
error: Bad exit status from /var/tmp/rpm-tmp.AhZOPX (%check)

Comment 7 Jens Petersen 2023-02-01 10:10:55 UTC
On F36 s390x ^^

Comment 8 Fedora Update System 2023-02-02 02:15:52 UTC
FEDORA-2023-364932c983 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-364932c983`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-364932c983

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-02-10 00:37:29 UTC
FEDORA-2023-364932c983 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.