Red Hat Bugzilla – Bug 716193
FTBFS notecase-1.6.1-6.fc12: ImplicitDSOLinking
Last modified: 2012-07-06 19:07:35 EDT
notecase-1.6.1-6.fc12.src.rpm Failed To Build From Source against the rawhide tree. See http://fedoraproject.org/wiki/FTBFS for more information.
This failure is due to a change in the linker default behavior, which uncovered a fault in your package. See http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking .
If you believe this is actually a bug in another package, do NOT change the component in this bug or close this bug. Instead, add the appropriate bug number from the other package to the "Depends on" line in this bug. If the other package does not yet have a bug created that you think matches, please create one. Doing so helps us properly track bugs and their dependencies, just as we track package dependencies. (If you close this bug, and the other package is not fixed before the next FTBFS run, a new bug will get created. Please follow the above advice to avoid such duplication.)
Created attachment 509418 [details]
root.log for i386
Created attachment 509419 [details]
build.log for i386
Created attachment 509420 [details]
mock.log for i386
Created attachment 509421 [details]
root.log for x86_64
Created attachment 509422 [details]
build.log for x86_64
Created attachment 509423 [details]
mock.log for x86_64
Created attachment 512292 [details]
patch to fix #716193
This is the same problem as #631448 and #565174.
The patch in #565174 (that adds -lX11 to LDFLAGS) is fine - but causes -lX11 to appear in the ld command line twice.
Adding it directly to the command line (as in this patch) is marginally better - but -lX11 needs to come *after* the list of object files.