Red Hat Bugzilla – Bug 564723
FTBFS dillo-0.8.6-11.fc12: ImplicitDSOLinking
Last modified: 2010-04-16 19:48:30 EDT
dillo-0.8.6-11.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 391355 [details]
root.log for i386
Created attachment 391356 [details]
build.log for i386
Created attachment 391357 [details]
mock.log for i386
Created attachment 391358 [details]
root.log for x86_64
Created attachment 391359 [details]
build.log for x86_64
Created attachment 391360 [details]
mock.log for x86_64
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.
More information and reason for this action is here:
I started looking at this as part of my Fedora Engineering Services task.
I think it won't be too hard to fix the missing -lcrypto, but I noticed that the spec file is building stuff outside the build root (or at least isn't cleaning up properly requiring manual cleanup between builds) which is bad. Doing the normal alternate build stuff won't work because you need two copies of the source, one of which gets heavily patched. I'd like to fix this at the same time.
I just need to think on it a bit.
I think just an rm -rf is needed before the mv. setup normally does that before extracting and archive, so that's probably the right thing to do.
Created attachment 405798 [details]
Patch to add -lcrypto for i18n part of build
I think I have something that works now. The problem part of the build was the i18n version. It seems to add an https option or an extra https feature compared to the normal version. And only -lssl was getting added, when -lcrypto was needed as well. So I have included a patch to src/Makefile.in that is only applied in the i18n part of the build. Since src/Makefile is already tweaked by the i18n patch, I am not going to try to add a Makefile.am patch since I don't think it would line up in any case.
I will also be attaching a sample spec file. It includes this patch and tries to removing existing i18n source in the BUILD directory if it already exists. This makes doing multiple rpmbuilds easier. There is a changelog entry for this which you are free to change; I don't need credit.
Created attachment 405799 [details]
Updated spec file
dillo-0.8.6-12.fc13 has been submitted as an update for Fedora 13.
Thanks for making the build.
dillo-0.8.6-12.fc13 has been pushed to the Fedora 13 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 dillo'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/dillo-0.8.6-12.fc13
dillo-0.8.6-12.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.