g++ -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I. -I./../libelf -I./../libebl -I./../libdw -I./../libdwelf -std=c++11 -Wall -Wshadow -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -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 -flto=auto -flto-partition=none -c -o debuginfod.o debuginfod.cxx debuginfod.cxx: In function ‘int main(int, char**)’: debuginfod.cxx:3157:38: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive] 3157 | handler_cb, NULL, /* handler callback */ | ^~~~~~~~~~ | | | int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)} In file included from debuginfod.cxx:94: /usr/include/microhttpd.h:2428:45: note: initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’ 2428 | MHD_AccessHandlerCallback dh, void *dh_cls, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ debuginfod.cxx:3169:38: error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive] 3169 | handler_cb, NULL, /* handler callback */ | ^~~~~~~~~~ | | | int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)} In file included from debuginfod.cxx:94: /usr/include/microhttpd.h:2428:45: note: initializing argument 5 of ‘MHD_Daemon* MHD_start_daemon(unsigned int, uint16_t, MHD_AcceptPolicyCallback, void*, MHD_AccessHandlerCallback, void*, ...)’ 2428 | MHD_AccessHandlerCallback dh, void *dh_cls, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ make[2]: *** [Makefile:606: debuginfod.o] Error 1 make[1]: *** [Makefile:498: all-recursive] Error 1 make: *** [Makefile:414: all] Error 2
libmicrohttpd commit 89d2ef97322ff5276e9a437e616a1e07529e0b26 Author: Christian Grothoff <christian@grothoff.org> Date: Wed Apr 8 23:38:07 2020 +0200 define and use 'enum MHD_Result' (merge) introduced this API change. + Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so much. + Note that this change WILL cause compiler warnings until (most) MHD callbacks + in application code change their return type from 'int' to 'enum MHD_Result'. + For conditional compilation, test for "MHD_VERSION >= 0x00097002" which sounds fine unless one uses -Werror .... or wants to run against multiple versions of the code.
Created attachment 12678 [details] proposed fix
Tested. That patch works :) Thx. [tkloczko@barrel SPECS]$ rpmbuild -ba elfutils.spec warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=3eaa4421#/elfutils-tests-Add-GCOV-flags-when-necessary.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Add-GCOV-flags-when-necessary.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=9698a399#/elfutils-elfutils-configure.ac-use-READELF-not-readelf.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-elfutils-configure.ac-use-READELF-not-readelf.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=0d70fc0c#/elfutils-backends-Make-the-reloc_nametable-zero-element-an-on.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-backends-Make-the-reloc_nametable-zero-element-an-on.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=8f206771#/elfutils-libdw-Add-missing-FALLTHROUGH-in-execute_cfi.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-Add-missing-FALLTHROUGH-in-execute_cfi.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=3ba91e83#/elfutils-elflint-Explicitly-check-and-ignore-elf_compress-err.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-elflint-Explicitly-check-and-ignore-elf_compress-err.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=6e369368#/elfutils-libdwfl-When-we-find-a-compressed-image-use-that-don.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-When-we-find-a-compressed-image-use-that-don.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=af008675#/elfutils-libdwfl-Flag-an-error-if-CIE-return_address_register.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-Flag-an-error-if-CIE-return_address_register.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=8a8c75c9#/elfutils-ar-ranlib-Call-fchown-before-fchmod-explicitly-check.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-ar-ranlib-Call-fchown-before-fchmod-explicitly-check.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=a7c5e300#/elfutils-debuginfod-Handle-not-being-able-to-fopen-interval_p.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Handle-not-being-able-to-fopen-interval_p.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=6b677bf8#/elfutils-debuginfod-Make-sure-suffix-can-place-zero-terminato.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Make-sure-suffix-can-place-zero-terminato.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=90808ed5#/elfutils-debuginfod-Fix-build_id-hexadecimal-length-check.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Fix-build_id-hexadecimal-length-check.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=d45cc8a0#/elfutils-debuginfod-Make-sure-handle_data-can-be-allocated-an.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Make-sure-handle_data-can-be-allocated-an.patch warning: Downloading https://sourceware.org/git/?p=elfutils.git;a=patch;h=eff30a6d#/elfutils-libdwfl-read_address-should-use-increasing-address-i.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-read_address-should-use-increasing-address-i.patch warning: Downloading https://sourceware.org/bugzilla/attachment.cgi?id=12678#/elfutils-adapt-debuginfod-to-API-change-in-libmicrohttpd-0.9.71.patch to /home/tkloczko/rpmbuild/SOURCES/elfutils-adapt-debuginfod-to-API-change-in-libmicrohttpd-0.9.71.patch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PjdmB6 + umask 022 + cd /home/tkloczko/rpmbuild/BUILD + cd /home/tkloczko/rpmbuild/BUILD + rm -rf elfutils-0.180 + /usr/bin/bzip2 -dc /home/tkloczko/rpmbuild/SOURCES/elfutils-0.180.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd elfutils-0.180 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-tests-Add-GCOV-flags-when-necessary.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-elfutils-configure.ac-use-READELF-not-readelf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-shebangs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-backends-Make-the-reloc_nametable-zero-element-an-on.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-libdw-Add-missing-FALLTHROUGH-in-execute_cfi.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-elflint-Explicitly-check-and-ignore-elf_compress-err.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-When-we-find-a-compressed-image-use-that-don.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-Flag-an-error-if-CIE-return_address_register.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-ar-ranlib-Call-fchown-before-fchmod-explicitly-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Handle-not-being-able-to-fopen-interval_p.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Make-sure-suffix-can-place-zero-terminato.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Fix-build_id-hexadecimal-length-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-debuginfod-Make-sure-handle_data-can-be-allocated-an.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-libdwfl-read_address-should-use-increasing-address-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/elfutils-adapt-debuginfod-to-API-change-in-libmicrohttpd-0.9.71.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 [..] /usr/bin/make check-TESTS PASS: test-nlist PASS: update2 PASS: newfile PASS: update1 PASS: newscn PASS: hash PASS: update3 PASS: update4 PASS: run-get-pubnames.sh PASS: run-ecp-test.sh PASS: run-get-aranges.sh PASS: run-show-abbrev.sh PASS: run-unstrip-M.sh PASS: run-ecp-test2.sh PASS: run-arsymtest.sh PASS: run-ranlib-test.sh PASS: run-show-die-info.sh PASS: run-get-lines.sh PASS: run-alldts.sh PASS: run-ar.sh PASS: run-ranlib-test2.sh PASS: run-ranlib-test3.sh PASS: run-next-lines.sh PASS: run-strip-groups.sh PASS: run-elfstrmerge-test.sh PASS: run-get-files.sh PASS: run-unstrip-test3.sh PASS: run-unstrip-test.sh PASS: run-unstrip-test2.sh PASS: run-ranlib-test4.sh PASS: run-unstrip-test4.sh PASS: run-funcscopes.sh PASS: run-line2addr.sh PASS: run-next-files.sh PASS: run-allfcts.sh PASS: run-readelf-info-plus.sh PASS: run-readelf-const-values.sh PASS: run-addrscopes.sh PASS: run-strings-test.sh PASS: run-readelf-test1.sh PASS: run-readelf-test3.sh PASS: run-readelf-test4.sh PASS: run-readelf-compressed.sh PASS: run-readelf-test2.sh PASS: run-strip-test9.sh PASS: run-strip-test11.sh PASS: run-readelf-twofiles.sh PASS: run-readelf-macro.sh PASS: run-strip-test3.sh PASS: run-strip-test6.sh PASS: run-strip-test.sh PASS: run-strip-test2.sh PASS: run-strip-test8.sh PASS: run-strip-test4.sh PASS: run-strip-nobitsalign.sh PASS: run-strip-test12.sh PASS: run-strip-test5.sh PASS: run-readelf-aranges.sh PASS: run-strip-test10.sh PASS: run-strip-nothing.sh PASS: run-strip-test7.sh PASS: dwfl-bug-addr-overflow PASS: run-strip-g.sh PASS: dwfl-bug-report PASS: run-debuglink.sh PASS: dwfl-report-segment-contiguous PASS: run-bug1-test.sh PASS: run-nm-syms.sh PASS: run-elflint-test.sh PASS: run-varlocs-self.sh PASS: run-dwarfcfi.sh PASS: run-early-offscn.sh PASS: run-debugaltlink.sh PASS: run-test-flag-nobits.sh PASS: run-buildid.sh PASS: run-dwarf-getstring.sh PASS: run-dwfl-addr-sect.sh PASS: run-dwfl-bug-offline-rel.sh PASS: run-exprlocs-self.sh PASS: run-readelf-d.sh PASS: run-find-prologues.sh PASS: run-rerequest_tag.sh PASS: run-elf_cntl_gelf_getshdr.sh PASS: run-readelf-vmcoreinfo.sh PASS: run-disasm-x86.sh PASS: run-readelf-gdb_index.sh PASS: run-disasm-x86-64.sh PASS: run-typeiter.sh PASS: run-readelf-variant.sh PASS: run-strip-strmerge.sh PASS: run-dwfl-report-elf-align.sh PASS: run-test-archive64.sh PASS: run-macro-test.sh PASS: run-readelf-line.sh PASS: run-dwarf-getmacros.sh PASS: run-addr2line-i-demangle-test.sh PASS: run-annobingroup.sh PASS: run-addrcfi.sh PASS: run-unstrip-n.sh PASS: run-exprlocs.sh PASS: run-readelf-ranges.sh PASS: run-funcretval.sh PASS: run-readelf-loc.sh PASS: run-readelf-z.sh PASS: run-dwarf-ranges.sh PASS: run-backtrace-dwarf.sh PASS: run-readelf-n.sh PASS: run-backtrace-data.sh PASS: run-backtrace-native.sh PASS: run-backtrace-native-biarch.sh PASS: run-addr2line-alt-debugpath.sh PASS: run-native-test.sh PASS: run-addr2line-i-lex-test.sh PASS: run-backtrace-fp-core-x86_64.sh PASS: run-backtrace-core-x86_64.sh PASS: run-backtrace-fp-core-aarch64.sh PASS: run-readelf-zp.sh PASS: run-backtrace-demangle.sh PASS: run-backtrace-core-x32.sh PASS: run-stack-i-test.sh PASS: run-readelf-types.sh PASS: run-backtrace-fp-core-i386.sh PASS: run-backtrace-core-aarch64.sh PASS: run-readelf-addr.sh PASS: run-backtrace-fp-core-ppc64le.sh PASS: run-backtrace-core-s390x.sh PASS: run-backtrace-core-i386.sh PASS: run-backtrace-core-ppc.sh PASS: run-backtrace-core-s390.sh PASS: run-dwfllines.sh PASS: elfstrtab PASS: run-backtrace-core-sparc.sh PASS: newdata PASS: vdsosyms PASS: elfshphehdr PASS: dwfl-proc-attach PASS: run-readelf-str.sh PASS: emptyfile PASS: run-stack-d-test.sh PASS: run-low_high_pc.sh PASS: run-readelf-mixed-corenote.sh PASS: vendorelf PASS: run-linkmap-cut.sh PASS: run-stack-demangled-test.sh PASS: fillfile SKIP: run-lfs-symbols.sh PASS: run-readelf-zx.sh PASS: dwarf_default_lower_bound PASS: run-addr2line-test.sh PASS: run-strptr.sh PASS: run-peel-type.sh PASS: run-allregs.sh PASS: run-zstrptr.sh PASS: run-aggregate-size.sh PASS: run-getsrc-die.sh PASS: dwfl-bug-fd-leak PASS: run-allfcts-multi.sh PASS: run-readelf-A.sh PASS: run-readelf-dwz-multi.sh PASS: run-reloc-bpf.sh PASS: run-addr2line-i-test.sh PASS: run-addrname-test.sh PASS: msg_tst PASS: run-elfputzdata.sh PASS: system-elf-libelf-test PASS: run-elflint-self.sh PASS: run-attr-integrate-skel.sh PASS: run-dwelfgnucompressed.sh PASS: run-readelf-discr.sh PASS: run-varlocs.sh PASS: run-all-dwarf-ranges.sh PASS: run-disasm-riscv64.sh PASS: asm-tst1 PASS: asm-tst3 PASS: run-deleted.sh PASS: asm-tst2 PASS: asm-tst7 PASS: run-strip-version.sh PASS: asm-tst8 PASS: asm-tst9 PASS: run-dwelf_elf_e_machine_string.sh PASS: run-getphdrnum.sh PASS: run-elfgetzdata.sh PASS: run-next-cfi-self.sh PASS: run-xlate-note.sh PASS: run-disasm-bpf.sh PASS: run-next-cfi.sh PASS: run-pt_gnu_prop-tests.sh PASS: run-elfgetchdr.sh PASS: asm-tst4 PASS: asm-tst6 PASS: run-strip-remove-keep.sh PASS: run-get-units-invalid.sh PASS: run-typeiter-many.sh PASS: asm-tst5 PASS: run-unit-info.sh PASS: run-get-units-split.sh PASS: run-prelink-addr-test.sh PASS: run-dwarf-die-addr-die.sh PASS: run-readelf-zdebug.sh PASS: run-readelf-zdebug-rel.sh PASS: run-readelf-s.sh PASS: run-reverse-sections.sh PASS: run-reverse-sections-self.sh PASS: run-dwflsyms.sh PASS: run-readelf-self.sh PASS: run-elfclassify-self.sh PASS: run-copyadd-sections.sh PASS: run-arextract.sh PASS: run-backtrace-native-core.sh PASS: run-nm-self.sh PASS: run-strip-test-many.sh PASS: run-elfclassify.sh PASS: run-backtrace-native-core-biarch.sh PASS: run-compress-test.sh PASS: run-debuginfod-find.sh PASS: run-copymany-sections.sh PASS: run-strip-reloc.sh PASS: run-large-elf-file.sh ============================================================================ Testsuite summary for elfutils 0.180 ============================================================================ # TOTAL: 219 # PASS: 218 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ Making check in debuginfod make[1]: Nothing to be done for 'check'. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: elfutils-0.180-4.fc33.x86_64 Provides: elfutils = 0.180-4.fc33 elfutils(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libasm.so.1()(64bit) libasm.so.1(ELFUTILS_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0.122)(64bit) libdw.so.1(ELFUTILS_0.126)(64bit) libdw.so.1(ELFUTILS_0.127)(64bit) libdw.so.1(ELFUTILS_0.130)(64bit) libdw.so.1(ELFUTILS_0.138)(64bit) libdw.so.1(ELFUTILS_0.143)(64bit) libdw.so.1(ELFUTILS_0.148)(64bit) libdw.so.1(ELFUTILS_0.149)(64bit) libdw.so.1(ELFUTILS_0.158)(64bit) libdw.so.1(ELFUTILS_0.159)(64bit) libdw.so.1(ELFUTILS_0.160)(64bit) libdw.so.1(ELFUTILS_0.161)(64bit) libdw.so.1(ELFUTILS_0.165)(64bit) libdw.so.1(ELFUTILS_0.167)(64bit) libdw.so.1(ELFUTILS_0.171)(64bit) libdw.so.1(ELFUTILS_0.173)(64bit) libdw.so.1(ELFUTILS_0.177)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.1)(64bit) libelf.so.1(ELFUTILS_1.1.1)(64bit) libelf.so.1(ELFUTILS_1.2)(64bit) libelf.so.1(ELFUTILS_1.3)(64bit) libelf.so.1(ELFUTILS_1.4)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) libelf.so.1(ELFUTILS_1.7)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) rtld(GNU_HASH) Processing files: elfutils-libs-0.180-4.fc33.x86_64 Provides: elfutils-libs = 0.180-4.fc33 elfutils-libs(x86-64) = 0.180-4.fc33 libasm.so.1()(64bit) libasm.so.1(ELFUTILS_1.0)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0)(64bit) libdw.so.1(ELFUTILS_0.122)(64bit) libdw.so.1(ELFUTILS_0.126)(64bit) libdw.so.1(ELFUTILS_0.127)(64bit) libdw.so.1(ELFUTILS_0.130)(64bit) libdw.so.1(ELFUTILS_0.136)(64bit) libdw.so.1(ELFUTILS_0.138)(64bit) libdw.so.1(ELFUTILS_0.142)(64bit) libdw.so.1(ELFUTILS_0.143)(64bit) libdw.so.1(ELFUTILS_0.144)(64bit) libdw.so.1(ELFUTILS_0.146)(64bit) libdw.so.1(ELFUTILS_0.148)(64bit) libdw.so.1(ELFUTILS_0.149)(64bit) libdw.so.1(ELFUTILS_0.156)(64bit) libdw.so.1(ELFUTILS_0.157)(64bit) libdw.so.1(ELFUTILS_0.158)(64bit) libdw.so.1(ELFUTILS_0.159)(64bit) libdw.so.1(ELFUTILS_0.160)(64bit) libdw.so.1(ELFUTILS_0.161)(64bit) libdw.so.1(ELFUTILS_0.165)(64bit) libdw.so.1(ELFUTILS_0.167)(64bit) libdw.so.1(ELFUTILS_0.170)(64bit) libdw.so.1(ELFUTILS_0.171)(64bit) libdw.so.1(ELFUTILS_0.173)(64bit) libdw.so.1(ELFUTILS_0.175)(64bit) libdw.so.1(ELFUTILS_0.177)(64bit) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0.167)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.1.1)(64bit) libelf.so.1(ELFUTILS_1.3)(64bit) libelf.so.1(ELFUTILS_1.4)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) libelf.so.1(ELFUTILS_1.7)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.2.3)(64bit) rtld(GNU_HASH) Obsoletes: elfutils-default-yama-scope Processing files: elfutils-devel-0.180-4.fc33.x86_64 Provides: elfutils-devel = 0.180-4.fc33 elfutils-devel(x86-64) = 0.180-4.fc33 pkgconfig(libdw) = 0.180 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libasm.so.1()(64bit) libdw.so.1()(64bit) pkgconfig(libelf) = 0.180 pkgconfig(liblzma) pkgconfig(zlib) Obsoletes: elfutils-devel-static Processing files: elfutils-libelf-0.180-4.fc33.x86_64 Provides: elfutils-libelf = 0.180-4.fc33 elfutils-libelf(x86-64) = 0.180-4.fc33 libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.1)(64bit) libelf.so.1(ELFUTILS_1.1.1)(64bit) libelf.so.1(ELFUTILS_1.2)(64bit) libelf.so.1(ELFUTILS_1.3)(64bit) libelf.so.1(ELFUTILS_1.4)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) libelf.so.1(ELFUTILS_1.7)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: libelf <= 0.8.2-2 Processing files: elfutils-libelf-devel-0.180-4.fc33.x86_64 Provides: elfutils-libelf-devel = 0.180-4.fc33 elfutils-libelf-devel(x86-64) = 0.180-4.fc33 pkgconfig(libelf) = 0.180 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libelf.so.1()(64bit) pkgconfig(zlib) Obsoletes: libelf-devel <= 0.8.2-2 Processing files: elfutils-debuginfod-client-0.180-4.fc33.x86_64 Provides: elfutils-debuginfod-client = 0.180-4.fc33 elfutils-debuginfod-client(x86-64) = 0.180-4.fc33 libdebuginfod.so.1()(64bit) libdebuginfod.so.1(ELFUTILS_0)(64bit) libdebuginfod.so.1(ELFUTILS_0.178)(64bit) libdebuginfod.so.1(ELFUTILS_0.179)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcurl.so.4()(64bit) libdebuginfod.so.1()(64bit) libdebuginfod.so.1(ELFUTILS_0.178)(64bit) libdebuginfod.so.1(ELFUTILS_0.179)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0.159)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) rtld(GNU_HASH) Processing files: elfutils-debuginfod-client-devel-0.180-4.fc33.x86_64 Provides: elfutils-debuginfod-client-devel = 0.180-4.fc33 elfutils-debuginfod-client-devel(x86-64) = 0.180-4.fc33 pkgconfig(libdebuginfod) = 0.180 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libdebuginfod.so.1()(64bit) Processing files: elfutils-debuginfod-0.180-4.fc33.x86_64 warning: File listed twice: /etc/sysconfig/debuginfod Provides: config(elfutils-debuginfod) = 0.180-4.fc33 elfutils-debuginfod = 0.180-4.fc33 elfutils-debuginfod(x86-64) = 0.180-4.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh systemd Requires(preun): systemd Requires(postun): /bin/sh systemd Requires: libarchive.so.13()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libdebuginfod.so.1()(64bit) libdebuginfod.so.1(ELFUTILS_0.178)(64bit) libdebuginfod.so.1(ELFUTILS_0.179)(64bit) libdw.so.1()(64bit) libdw.so.1(ELFUTILS_0.122)(64bit) libdw.so.1(ELFUTILS_0.127)(64bit) libdw.so.1(ELFUTILS_0.159)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libmicrohttpd.so.12()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: elfutils-debugsource-0.180-4.fc33.x86_64 Provides: elfutils-debugsource = 0.180-4.fc33 elfutils-debugsource(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: elfutils-debuginfo-0.180-4.fc33.x86_64 Provides: debuginfo(build-id) = 0836c7322b6b6d86e06bc3b82869af495f0848e3 debuginfo(build-id) = 0a9a9185ea3d516a879fc475498cf00ff167d0ac debuginfo(build-id) = 1011a94e93ae3b969df481610c78a5cdce50fcb1 debuginfo(build-id) = 3599f5f52913660ac35fd8546ccbf6eb0183088c debuginfo(build-id) = 37e9129dc49d665496f68de64a86380743a1744a debuginfo(build-id) = 8a84bc226c4c09ef85d8612040eb98a7e16d13d0 debuginfo(build-id) = 8b8444ba154908c9d7d279212582b5dc1ca60491 debuginfo(build-id) = 9ce8ff9b259a27a3f56c44a3b12d277c832361a1 debuginfo(build-id) = a7c744071129cc197a25fc5e3388764381c264e7 debuginfo(build-id) = b997fe9973416c5c0c8c5f06d32bea538b13fd70 debuginfo(build-id) = c7c92c4eb95e927218b8705da181dfb99cf413fb debuginfo(build-id) = d43e6ba60d744c2a0d96de9e17a517e55680b72b debuginfo(build-id) = d9204a239734d0fa55a71339de38d9795bf93a1e debuginfo(build-id) = da1b3532780273790b18b094d60f2c05bfb3e35b debuginfo(build-id) = e51fa52d761a7d88427cbd4c4d18a6b1a08f9709 debuginfo(build-id) = fcac650ed0726c5fa28f054d1f4a9aebe675eff3 elfutils-debuginfo = 0.180-4.fc33 elfutils-debuginfo(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elfutils-debugsource(x86-64) = 0.180-4.fc33 Processing files: elfutils-libs-debuginfo-0.180-4.fc33.x86_64 Provides: debuginfo(build-id) = 1d878f10cef6cd1793c0e983ff283466ca201d7f debuginfo(build-id) = ee03e3fb2724f21428bf8c33bdff0a6b95d21830 elfutils-libs-debuginfo = 0.180-4.fc33 elfutils-libs-debuginfo(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elfutils-debugsource(x86-64) = 0.180-4.fc33 Processing files: elfutils-libelf-debuginfo-0.180-4.fc33.x86_64 Provides: debuginfo(build-id) = f494a6626a18ad4ef2d4441e53da1f29496a3916 elfutils-libelf-debuginfo = 0.180-4.fc33 elfutils-libelf-debuginfo(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elfutils-debugsource(x86-64) = 0.180-4.fc33 Processing files: elfutils-debuginfod-client-debuginfo-0.180-4.fc33.x86_64 Provides: debuginfo(build-id) = 8987f5494cfaee38cc9283695ae6ec315da385e7 debuginfo(build-id) = dc02f04db121f313a31b2b1103ae6b6e85643da2 elfutils-debuginfod-client-debuginfo = 0.180-4.fc33 elfutils-debuginfod-client-debuginfo(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elfutils-debugsource(x86-64) = 0.180-4.fc33 Processing files: elfutils-debuginfod-debuginfo-0.180-4.fc33.x86_64 Provides: debuginfo(build-id) = aa926b9f5b3514dcb8eae907204b45e55d644f3e elfutils-debuginfod-debuginfo = 0.180-4.fc33 elfutils-debuginfod-debuginfo(x86-64) = 0.180-4.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: elfutils-debugsource(x86-64) = 0.180-4.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/tkloczko/rpmbuild/BUILDROOT/elfutils-0.180-4.fc33.x86_64 Wrote: /home/tkloczko/rpmbuild/SRPMS/elfutils-0.180-4.fc33.src.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debuginfod-client-devel-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-libelf-devel-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debuginfod-client-debuginfo-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debuginfod-client-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debuginfod-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-libs-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-devel-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-libelf-debuginfo-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-libelf-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-libs-debuginfo-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debuginfod-debuginfo-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debugsource-0.180-4.fc33.x86_64.rpm Wrote: /home/tkloczko/rpmbuild/RPMS/elfutils-debuginfo-0.180-4.fc33.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Pb1XS5 BTW instead https://sourceware.org/git/?p=elfutils.git;a=commit;h=bca87ed8a200b8845e82b06fa94e69cd637dfea3 I've started using my own patch which changes 's, /usr/bin/env bash,/usr/bin/sh' because none of those scripts has anything bash specific and according to FHS +2.0 Posix SH has fixed patch which is /usr/bin/sh. Using /usr/bin/env is risky from point of view of non-repeatable results.
s/fixed patch/fixed path/ of course :P
(In reply to Frank Ch. Eigler from comment #2) > Created attachment 12678 [details] > proposed fix Thanks, that seems the best way forward. It is unfortunate that they broke API (even though it is ABI compatible...) I see this is also causing elfutils on Fedora rawhide to fail to build. Will backport this once it lands in git master. (In reply to kloczek from comment #3) > Tested. That patch works :) Thanks for testing. > BTW instead > https://sourceware.org/git/?p=elfutils.git;a=commit; > h=bca87ed8a200b8845e82b06fa94e69cd637dfea3 > > I've started using my own patch which changes 's, /usr/bin/env > bash,/usr/bin/sh' because none of those scripts has anything bash specific Are you sure about that? It could be copy/paste causing some files to have bash instead of sh, but I am not sure they really are "pure" posix shell. But if they really are, then that would be a nicer to use /bin/sh than /usr/bin/env > and according to FHS +2.0 Posix SH has fixed patch which is /usr/bin/sh. > Using /usr/bin/env is risky from point of view of non-repeatable results. But not everything follows FHS +2.0 apparently. At least my Guix install only has /bin/sh and /usr/bin/env
I am loath to believe that "/bin/sh" is not a functional-in-perpetuity alias for a bourne shell on any unix system.
commit acb453851c9e6c46531b70fda7396885c0e7e1db Author: Frank Ch. Eigler <fche@redhat.com> Date: Thu Jul 2 14:52:48 2020 +0000 PR26195: adapt debuginfod to API change in libmicrohttpd-0.9.71 To make our code build with -Werror as well as against older libmicrohttpd, we must conditionalize the data type (int vs. enum) returned by callbacks and some mhd functions. Signed-off-by: Frank Ch. Eigler <fche@redhat.com> Also backported to fedora rawhide.
*** Bug 26528 has been marked as a duplicate of this bug. ***