Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot for 20240723, v19.0.0, 40954d7 (big-merge) #604

Closed
github-actions bot opened this issue Jul 23, 2024 · 10 comments
Closed

Snapshot for 20240723, v19.0.0, 40954d7 (big-merge) #604

github-actions bot opened this issue Jul 23, 2024 · 10 comments

Comments

@github-actions
Copy link

github-actions bot commented Jul 23, 2024

Hello @tuliom!

This issue exists to let you know that we are about to monitor the builds of the LLVM (v19.0.0, llvm/llvm-project@ 40954d7) snapshot for 20240723.

At certain intervals the CI system will update this very comment over time to reflect the progress of builds.
Log analysis
For example if a build of the llvm project fails on the fedora-rawhide-x86_64 platform, we'll analyze the build log (if any) to identify the cause of the failure. The cause can be any of ['srpm_build_issue', 'copr_timeout', 'network_issue', 'dependency_issue', 'test', 'downstream_patch_application', 'rpm__installed_but_unpackaged_files_found', 'rpm__directory_not_found', 'rpm__file_not_found', 'cmake_error', 'unknown']. For each cause we will list the packages and the relevant log excerpts.
Use of labels
Let's assume a unit test test in upstream LLVM was broken. We will then add these labels to this issue: error/test, build_failed_on/fedora-rawhide-x86_64, project/llvm. If you manually restart a build in Copr and can bring it to a successful state, we will automatically remove the aforementioned labels.

Last updated: 2024-07-25T23:21:55.152706

Build Matrix
llvm
fedora-39-aarch64
✅ tests passed
fedora-39-i386
fedora-39-ppc64le
✅ tests passed 🔒
fedora-39-s390x
✅ tests passed 🔒
fedora-39-x86_64
✅ tests passed
fedora-40-aarch64
❌ tests failed
fedora-40-i386
fedora-40-ppc64le
✅ tests passed 🔒
fedora-40-s390x
Copr build(s) failed
fedora-40-x86_64
❌ tests failed
fedora-rawhide-aarch64
Copr build(s) failed
fedora-rawhide-i386
fedora-rawhide-ppc64le
⚠️ pipeline error
fedora-rawhide-s390x
⚠️ pipeline error
fedora-rawhide-x86_64
Copr build(s) failed
rhel-8-aarch64
Copr build(s) failed
rhel-8-s390x
Copr build(s) failed
rhel-8-x86_64
Copr build(s) failed
rhel-9-aarch64
✅ tests passed 🔒
rhel-9-s390x
✅ tests passed 🔒
rhel-9-x86_64
✅ tests passed 🔒
Build status legend
  • ⭕ : canceled
  • ❌ : failed
  • ☑️ : forked
  • 📥 : importing
  • 🔜 : pending
  • 🏃 : running
  • 🚫 : skipped
  • ⭐ : starting
  • ✅ : succeeded
  • ⌛ : waiting
  • ❔ : unknown
  • ⚠️ : pipeline error (only relevant to testing-farm)
Copy link
Author

Errors found in Copr builds on fedora-rawhide-x86_64

  • unknown
    1. llvm on fedora-rawhide-x86_64 (see build log, contribute to log-detective)

      Build log tail

      Sometimes the end of the build log contains useful information.

      ERROR: Exception(/var/lib/copr-rpmbuild/results/llvm-19.0.0~pre20240723.g40954d7f9bb38b-1.fc41.src.rpm) Config(fedora-rawhide-x86_64) 18 minutes 33 seconds
      INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
      INFO: Cleaning up build root ('cleanup_on_failure=True')
      Start: clean chroot
      INFO: unmounting tmpfs.
      Finish: clean chroot
      ERROR: Command failed: 
       # /usr/bin/systemd-nspawn -q -M 79f226f0d11b4684a6e0213c4f6ee0a2 -D /var/lib/mock/fedora-rawhide-x86_64-1721699802.224009/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.67hpmwrn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb  --target x86_64 --nodeps /builddir/build/originals/llvm.spec'
      
      Copr build error: Build failed
      
      

      RPM build errors

      If we have found RPM build errors in the log file, you'll find them here.

      
      

      Errors to look into

      If we have found the term error: (case insentitive) in the build log,
      you'll find all occurrences here together with the preceding lines.

      /builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/llvm/redhat-linux-build/./bin/clang++ --target=x86_64-redhat-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/compiler-rt/lib/rtsan/.. -O2 -flto=thin -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_DEFAULT_SOURCE -Dasm=__asm__ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O2 -g -DNDEBUG -std=c++17 -m64 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -MD -MT compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors.cpp.o -MF compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors.cpp.o.d -o compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors.cpp.o -c /builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/compiler-rt/lib/rtsan/rtsan_interceptors.cpp
      /builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/compiler-rt/lib/rtsan/rtsan_interceptors.cpp:388:22: error: address of overloaded function 'openat' does not match required type 'unsigned long'
      --
      RPM build errors:
      error: Bad exit status from /var/tmp/rpm-tmp.qNgelS (%build)
      --
      INFO: /var/lib/mock/fedora-rawhide-x86_64-1721699802.224009/root/var/log/dnf5.log
      ERROR: Exception(/var/lib/copr-rpmbuild/results/llvm-19.0.0~pre20240723.g40954d7f9bb38b-1.fc41.src.rpm) Config(fedora-rawhide-x86_64) 18 minutes 33 seconds
      --
      Finish: clean chroot
      ERROR: Command failed: 
      --
      
      Copr build error: Build failed
      
      

Copy link
Author

Errors found in Copr builds on rhel-8-x86_64

  • test
    1. llvm on rhel-8-x86_64 (see build log, contribute to log-detective)
      TEST 'Clang Tools :: clang-tidy/infrastructure/run-clang-tidy.cpp' FAILED
      ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/run-clang-tidy.cpp' FAILED ********************
      Exit Code: 1
      
      Command Output (stderr):
      --
      RUN: at line 1: /usr/libexec/platform-python /builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py --help
      + /usr/libexec/platform-python /builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py --help
      Traceback (most recent call last):
        File "/builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py", line 39, in <module>
          from dataclasses import dataclass
      ModuleNotFoundError: No module named 'dataclasses'
      
      --
      
      

Copy link
Author

github-actions bot commented Jul 23, 2024

Testing-farm results are in!

Last updated: 2024-07-25T23:21:54.081140

Some (if not all) results from testing-farm are in. This comment will be updated over time and is detached from the main issue comment because we want to preserve the logs entirely and not shorten them.

Note

Please be aware that the testing-farm artifact links a valid for no longer than 90 days. That is why we persists the log outputs here.

Warning

This list is not extensive if tests have been run in the Red Hat internal testing-farm ranch and failed. For those, take a look in the "chroot" column of the build matrix above and look for failed tests that show a 🔒 symbol.

Failed testing-farm test cases

/clang-tests/tests/pie-rpm on fedora-40-aarch64 (see testing-farm artifacts)
+ set pipefail
+ QA_RPATHS=1
+ rpmbuild -bb ./pie.spec
setting SOURCE_DATE_EPOCH=1721692800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gghGMJ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf pie-1
+ /usr/bin/mkdir -p pie-1
+ cd pie-1
+ rm -rf /root/rpmbuild/BUILD/pie-1-SPECPARTS
+ /usr/bin/mkdir -p /root/rpmbuild/BUILD/pie-1-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cat
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.caerHR
+ umask 022
+ cd /root/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now    -flto=thin -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=clang
+ export CC
+ CXX=clang++
+ export CXX
+ cd pie-1
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now    -flto=thin -Wl,--build-id=sha1   -Werror'
+ clang -O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c pie.c -o pie.o
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror -shared pie.o -o pie-shared-pre
+ clang -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie-shared-post
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror -static pie.o -o pie-static-pre
+ clang -static -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie-static-post
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror -no-pie pie.o -o pie-no-pie-pre
+ clang -no-pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie-no-pie-post
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jQvOyq
+ umask 022
+ cd /root/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -mbranch-protection=standard -fasynchronous-unwind-tables  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed   -Wl,-z,now    -flto=thin -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=clang
+ export CC
+ CXX=clang++
+ export CXX
+ cd pie-1
++ file ./pie
+ [[ ./pie: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=c87c45baafc2988a17c6a1c6fdcfeb7df4991fd7, for GNU/Linux 3.7.0, with debug_info, not stripped != *\p\i\e\ \e\x\e\c\u\t\a\b\l\e* ]]
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.jQvOyq (%check)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.jQvOyq (%check)
Shared connection to 3.12.241.87 closed.

/clang-tests/tests/pie-rpm on fedora-40-x86_64 (see testing-farm artifacts)
+ set pipefail
+ QA_RPATHS=1
+ rpmbuild -bb ./pie.spec
setting SOURCE_DATE_EPOCH=1721692800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mIimWB
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf pie-1
+ /usr/bin/mkdir -p pie-1
+ cd pie-1
+ rm -rf /root/rpmbuild/BUILD/pie-1-SPECPARTS
+ /usr/bin/mkdir -p /root/rpmbuild/BUILD/pie-1-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cat
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TPVHSf
+ umask 022
+ cd /root/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now    -flto=thin -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=clang
+ export CC
+ CXX=clang++
+ export CXX
+ cd pie-1
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now    -flto=thin -Wl,--build-id=sha1   -Werror'
+ clang -O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c pie.c -o pie.o
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror -shared pie.o -o pie-shared-pre
+ clang -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie-shared-post
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror -static pie.o -o pie-static-pre
+ clang -static -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie-static-post
+ clang -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror -no-pie pie.o -o pie-no-pie-pre
+ clang -no-pie -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -flto=thin -Wl,--build-id=sha1 -Werror pie.o -o pie-no-pie-post
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Hv07n7
+ umask 022
+ cd /root/rpmbuild/BUILD
+ CFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=thin -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now    -flto=thin -Wl,--build-id=sha1  '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=clang
+ export CC
+ CXX=clang++
+ export CXX
+ cd pie-1
++ file ./pie
+ [[ ./pie: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=7dd1ddb122cf39483e0e1bb7e8c99c5e818f1e5e, for GNU/Linux 3.2.0, with debug_info, not stripped != *\p\i\e\ \e\x\e\c\u\t\a\b\l\e* ]]
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.Hv07n7 (%check)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Hv07n7 (%check)
Shared connection to 3.16.138.45 closed.

Copy link
Author

Errors found in Copr builds on fedora-rawhide-aarch64

  • unknown
    1. llvm on fedora-rawhide-aarch64 (see build log, contribute to log-detective)

      Build log tail

      Sometimes the end of the build log contains useful information.

      ERROR: Exception(/var/lib/copr-rpmbuild/results/llvm-19.0.0~pre20240723.g40954d7f9bb38b-1.fc41.src.rpm) Config(fedora-rawhide-aarch64) 175 minutes 26 seconds
      INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
      INFO: Cleaning up build root ('cleanup_on_failure=True')
      Start: clean chroot
      INFO: unmounting tmpfs.
      Finish: clean chroot
      ERROR: Command failed: 
       # /usr/bin/systemd-nspawn -q -M 41461b4c75b74f8a9ae82ae24b39c284 -D /var/lib/mock/fedora-rawhide-aarch64-1721699657.111795/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.76tnsx0m:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb  --target aarch64 --nodeps /builddir/build/originals/llvm.spec'
      
      Copr build error: Build failed
      
      

      RPM build errors

      If we have found RPM build errors in the log file, you'll find them here.

      
      

      Errors to look into

      If we have found the term error: (case insentitive) in the build log,
      you'll find all occurrences here together with the preceding lines.

      /builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/llvm/redhat-linux-build/./bin/clang++ --target=aarch64-redhat-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/compiler-rt/lib/rtsan/.. -O2 -flto=thin -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -D_DEFAULT_SOURCE -Dasm=__asm__ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Wno-unused-parameter -O2 -g -DNDEBUG -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -MD -MT compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.aarch64.dir/rtsan_interceptors.cpp.o -MF compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.aarch64.dir/rtsan_interceptors.cpp.o.d -o compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.aarch64.dir/rtsan_interceptors.cpp.o -c /builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/compiler-rt/lib/rtsan/rtsan_interceptors.cpp
      /builddir/build/BUILD/llvm-19.0.0_pre20240723.g40954d7f9bb38b-build/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/compiler-rt/lib/rtsan/rtsan_interceptors.cpp:388:22: error: address of overloaded function 'openat' does not match required type 'unsigned long'
      --
      
      error: Bad exit status from /var/tmp/rpm-tmp.ihaBOS (%build)
      --
      INFO: /var/lib/mock/fedora-rawhide-aarch64-1721699657.111795/root/var/log/dnf5.log
      ERROR: Exception(/var/lib/copr-rpmbuild/results/llvm-19.0.0~pre20240723.g40954d7f9bb38b-1.fc41.src.rpm) Config(fedora-rawhide-aarch64) 175 minutes 26 seconds
      --
      Finish: clean chroot
      ERROR: Command failed: 
      --
      
      Copr build error: Build failed
      
      

Copy link
Author

Errors found in Copr builds on rhel-8-aarch64

  • test
    1. llvm on rhel-8-aarch64 (see build log, contribute to log-detective)
      TEST 'Clang Tools :: clang-tidy/infrastructure/run-clang-tidy.cpp' FAILED
      ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/run-clang-tidy.cpp' FAILED ********************
      Exit Code: 1
      
      Command Output (stderr):
      --
      RUN: at line 1: /usr/libexec/platform-python /builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py --help
      + /usr/libexec/platform-python /builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py --help
      Traceback (most recent call last):
        File "/builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py", line 39, in <module>
          from dataclasses import dataclass
      ModuleNotFoundError: No module named 'dataclasses'
      
      --
      
      

Copy link
Author

Errors found in Copr builds on rhel-8-s390x

  • test
    1. llvm on rhel-8-s390x (see build log, contribute to log-detective)
      TEST 'Clang Tools :: clang-tidy/infrastructure/run-clang-tidy.cpp' FAILED
      ******************** TEST 'Clang Tools :: clang-tidy/infrastructure/run-clang-tidy.cpp' FAILED ********************
      Exit Code: 1
      
      Command Output (stderr):
      --
      RUN: at line 1: /usr/libexec/platform-python /builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py --help
      + /usr/libexec/platform-python /builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py --help
      Traceback (most recent call last):
        File "/builddir/build/BUILD/llvm-project-40954d7f9bb38b2407fe48a524befc5216f13ccc/clang-tools-extra/test/../test/../clang-tidy/tool/run-clang-tidy.py", line 39, in <module>
          from dataclasses import dataclass
      ModuleNotFoundError: No module named 'dataclasses'
      
      --
      
      

@tuliom
Copy link
Collaborator

tuliom commented Jul 23, 2024

A fix for the run-clang-tidy test has been proposed at https://src.fedoraproject.org/rpms/llvm/pull-request/262

@tuliom
Copy link
Collaborator

tuliom commented Jul 26, 2024

The issue with openat has been reported at llvm/llvm-project#100754

@tuliom
Copy link
Collaborator

tuliom commented Jul 31, 2024

The issue related to openat() was confirmed fixed in https://copr.fedorainfracloud.org/coprs/g/fedora-llvm-team/llvm-snapshots-big-merge-20240731/monitor/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment