Hi,
I am looking into building rpms of what is currently in the papi repository. However, when I put the new papi-7.0.1.tar.gz from "make dist-targz" the rpmbuild configure doesn't work because of the followig patch git commit 0cc7bf15667007784bd857d249ba4aeca40d7edd
Author: Giuseppe Congiu <
gco...@icl.utk.edu> 2023-09-29 09:33:00
Committer: Giuseppe Congiu <
gco...@icl.utk.edu> 2023-10-24 08:44:56
Parent: d9ffaf2d66f85b0d8b594285f43ba81d81b5efce (Merge pull request #101 from anustuvicl/2023.10.19-cuda_fix_papi_command_line_segfault)
Child: 8d800489d0f0c6133754c4811bf9dd9d10e55768 (sde_lib: do not build with debug symbols by default)
Branches: coverity202311, master, remotes/origin/master
Follows:
Precedes:
configure: do not build with debug symbols by default
Remove -g being added by default in configure.
End up getting the following error message in config.log for the "rpmbuild -ba papi.spec"
configure:3180: checking whether we are cross compiling
configure:3188: gcc -o conftest -O2 -flto=auto -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes conftest.c >&5
configure:3192: $? = 0
configure:3199: ./conftest
configure:3203: $? = 0
configure:3218: result: no
configure:3223: checking for suffix of object files
configure:3246: gcc -c -O2 -flto=auto -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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g conftest.c >&5
configure:3250: $? = 0
configure:3272: result: o
For the time being I have patched out that change out so that I can build things on Fedora.
I also realized that
https://github.com/icl-utk-edu/papi/pull/46 patches had an outstanding request to update the title line on the commit messages to list the components. I have redone the five patches for that pull and put them
https://github.com/wcohen/papi/tree/coverity202311 as I didn't know how to munge multiple commit messages after pushing that. Should I just do a pull request on the coertity202311 branch?
Thanks,
-Will