Description of problem: Rebuilding elfutils-0.143-1 in Rawhide on my local system fails somehow with the following messages in %check: --- snipp --- PASS: run-elflint-test.sh unsupported OS ABI e_ident[7] == 'Linux' section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/addr2line unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/elfcmp unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/elflint unsupported OS ABI e_ident[7] == 'Linux' section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/findtextrel unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/ld unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/nm unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/objdump unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/readelf unsupported OS ABI e_ident[7] == 'Linux' section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/size unsupported OS ABI e_ident[7] == 'Linux' section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/strip unsupported OS ABI e_ident[7] == 'Linux' section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../libelf/libelf.so unsupported OS ABI e_ident[7] == 'Linux' section [25] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../libdw/libdw.so unsupported OS ABI e_ident[7] == 'Linux' section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../libasm/libasm.so FAIL: run-elflint-self.sh --- snapp --- If I fire the rebuild via a Rawhide mock, this are not really better: --- snapp --- PASS: run-elflint-test.sh section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/addr2line section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/elfcmp section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/elflint section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/findtextrel section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/ld section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/nm section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/objdump section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/readelf section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/size section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../src/strip section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../libelf/libelf.so section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../libdw/libdw.so section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS *** failure in ../libasm/libasm.so FAIL: run-elflint-self.sh --- snipp --- Version-Release number of selected component (if applicable): elfutils-0.143-1 How reproducible: Everytime, see above. Actual results: Rawhide rebuild fails. Expected results: Rawhide rebuild shouldn't fail.
This has been fixed in upstream elfutils after the 0.143 release, but there has not been a new (0.144) release yet: commit c49d00afc4bda21181cd4237e67930f3f5228adf Author: Mark Wielaard <mjw> Date: Mon Sep 21 16:47:07 2009 -0700 Handle new .comment section flags. Newer gcc+ld combinations use string merging in the .comment section. Allow that in elflint.
Mark, thanks for your feedback. Will this fix both errors, unsupported OS ABI e_ident[7] == 'Linux' and section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS or is this the same error?
unsupported OS ABI e_ident[7] == 'Linux' should be fixed by: commit 96d950e3e28d89469b62b46d5a014ad1260e6a1a Author: Ulrich Drepper <drepper> Date: Tue Jul 14 10:42:01 2009 -0700 Add STB_GNU_UNIQUE support to elflint. Which is part of elfutils 0.143. Are you sure the system you are seeing this error on has elfutils 0.143?
You're of course totally right. Once I've updated my elfutils to 0.143 it's only the .comment messages now.
elfutils-0.144-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/elfutils-0.144-1.fc12
elfutils-0.144-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/elfutils-0.144-1.fc11
elfutils-0.144-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update elfutils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0583
elfutils-0.144-1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update elfutils'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0605
elfutils-0.144-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
elfutils-0.144-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.