Description of problem: Package kernel-tools fails to build from source in Fedora rawhide. gcc -Wp,-MD,util/.time-utils.o.d -Wp,-MT,util/time-utils.o -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wstrict-aliasing=3 -Wshadow -DHAVE_ARCH_X86_64_SUPPORT -Iarch/x86/include/generated -DHAVE_SYSCALL_TABLE_SUPPORT -DHAVE_PERF_REGS_SUPPORT -DHAVE_ARCH_REGS_QUERY_REGISTER_OFFSET -O6 -fno-omit-frame-pointer -ggdb3 -funwind-tables -Wall -Wextra -std=gnu99 -fstack-protector-all -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf/lib/include -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf/util/include -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf/arch/x86/include -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/include/ -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/arch/x86/include/uapi -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/include/uapi -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/arch/x86/include/ -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/arch/x86/ -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf/util -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf -I/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/lib/ -DHAVE_SYNC_COMPARE_AND_SWAP_SUPPORT -DHAVE_PTHREAD_ATTR_SETAFFINITY_NP -DHAVE_PTHREAD_BARRIER -DHAVE_EVENTFD -DHAVE_GET_CURRENT_DIR_NAME -DHAVE_GETTID -DHAVE_DWARF_GETLOCATIONS_SUPPORT -DHAVE_GLIBC_SUPPORT -DHAVE_AIO_SUPPORT -DHAVE_SCHED_GETCPU_SUPPORT -DHAVE_SETNS_SUPPORT -DHAVE_LIBELF_SUPPORT -DHAVE_LIBELF_MMAP_SUPPORT -DHAVE_ELF_GETPHDRNUM_SUPPORT -DHAVE_GELF_GETNOTE_SUPPORT -DHAVE_ELF_GETSHDRSTRNDX_SUPPORT -DHAVE_DWARF_SUPPORT -DHAVE_LIBBPF_SUPPORT -DHAVE_BPF_PROLOGUE -DHAVE_SDT_EVENT -DHAVE_JITDUMP -DHAVE_DWARF_UNWIND_SUPPORT -DHAVE_SLANG_SUPPORT -DHAVE_LIBPERL_SUPPORT -DHAVE_TIMERFD_SUPPORT -DNO_LIBPYTHON -DHAVE_CPLUS_DEMANGLE_SUPPORT -DHAVE_LIBBFD_SUPPORT -DHAVE_ZLIB_SUPPORT -DHAVE_LZMA_SUPPORT -DHAVE_BACKTRACE_SUPPORT -DHAVE_LIBNUMA_SUPPORT -DHAVE_KVM_STAT_SUPPORT -DDISASM_FOUR_ARGS_SIGNATURE -DHAVE_AUXTRACE_SUPPORT -DHAVE_JVMTI_CMLR -D"BUILD_STR(s)=#s" -c -o util/time-utils.o util/time-utils.c bison -v util/expr.y -d -o util/expr-bison.c -p expr__ ld: tests/bp_account.o:/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf/tests/bp_account.c:22: multiple definition of `the_var'; tests/bp_signal.o:/builddir/build/BUILD/kernel-5.4.fc32/linux-5.4/tools/perf/tests/bp_signal.c:38: first defined here util/expr.y:15.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated] 15 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure Version-Release number of selected component (if applicable): 5.5.0-0.rc6.git0.1.fc32 Steps to Reproduce: koji build --scratch f32 kernel-tools-5.5.0-0.rc6.git0.1.fc32.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/kernel-tools https://koschei.fedoraproject.org/build/7741411 This blocks the Python 3.9 rebuild.
This is https://gcc.gnu.org/gcc-10/porting_to.html#common
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.
Dear Maintainer, your package has not been built successfully in 32. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. Following the latest policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks. A week before the mass branching of Fedora 33 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 31 will be retired regardless of the status of this bug. [1] https://fedoraproject.org/wiki/Updates_Policy [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedoraproject.org/wiki/Releases/33/Schedule
This is actually fixed, there's another issue with s390 (covered in RHBZ 1807781) which is blocking the build ATM.
Setting the severity to high. This package is part of the initial bootstrap sequence. Without it, we cannot proceed with the bootstrap in a Koji side tag. https://fedoraproject.org/wiki/Changes/Python3.9#Important_dates_and_plan The current plan is to follow the "ideal point when we can start rebuilding in Koji" -- that is we need to get this bug fixed approximately in 2 months. That includes potential uncovered bugs in packages that depend on this one. Please knowledge that you have read this message and that you can dedicate time to fix it. If you know already that you won't be able to fix it by the deadline, please let us know ASAP, so we can allocate resources to do that. Thank You. (This comment is posted to multiple Bugzillas, please forgive me if it's not 100% accurate.)
Miro: see comment 5
ack, sorry for the noise.
FEDORA-2020-2cb45d67ce has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-2cb45d67ce
FEDORA-2020-2cb45d67ce has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.