DescriptionLuya Tshimbalanga
2018-11-04 04:36:14 UTC
Created attachment 1501206[details]
luxcorerender.spec used to trigger the bug
Description of problem:
An endless DUP FUNXC occurred while building a spec file i.e luxcorerender in this case. No idea how it is triggered but the possible trigger happened on
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
DUP FUNXC
Version-Release number of selected component (if applicable):
4.14.2.1-1
How reproducible:
Always
Steps to Reproduce:
1. Attempt to build a spec file
2.
3.
Actual results:
Endless DUP FUNXC message
Expected results:
Build goes normal
Additional info:
See https://koji.fedoraproject.org/koji/taskinfo?taskID=30651816
This happens because this script is using binutils strip (not elfutils eu-strip). binutils strip apparently has code to merge NT_GNU_BUILD_ATTRIBUTE ELF Notes.
objcopy.c (merge_gnu_build_notes):
The error message happens when triggering "Rule 2 - preserve function notes." and there is an identical previous function note.
I have no idea why binutils strip would try to do NT_GNU_BUILD_ATTRIBUTE ELF Notes merging.