Bug 565035

Summary: FTBFS gcin-1.4.6-1.fc13: ImplicitDSOLinking
Product: [Fedora] Fedora Reporter: FTBFS <ftbfs>
Component: gcinAssignee: Chung-Yen Chang <candyz0416>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 13CC: candyz0416, dueno, i18n-bugs, jan.klepek, petersen
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-17 01:03:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 564245, 583276    
Attachments:
Description Flags
root.log
none
build.log
none
mock.log
none
root.log
none
build.log
none
mock.log
none
patch to add -lm to LDFLAGS
none
patch to stop using GTK+ deprecated API none

Description FTBFS 2010-02-13 17:41:44 UTC
gcin-1.4.6-1.fc13.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.)

Comment 1 FTBFS 2010-02-13 17:41:47 UTC
Created attachment 393140 [details]
root.log

root.log for i386

Comment 2 FTBFS 2010-02-13 17:41:48 UTC
Created attachment 393141 [details]
build.log

build.log for i386

Comment 3 FTBFS 2010-02-13 17:41:50 UTC
Created attachment 393142 [details]
mock.log

mock.log for i386

Comment 4 FTBFS 2010-02-13 17:41:51 UTC
Created attachment 393143 [details]
root.log

root.log for x86_64

Comment 5 FTBFS 2010-02-13 17:41:53 UTC
Created attachment 393144 [details]
build.log

build.log for x86_64

Comment 6 FTBFS 2010-02-13 17:41:54 UTC
Created attachment 393145 [details]
mock.log

mock.log for x86_64

Comment 7 Bug Zapper 2010-03-15 14:53:10 UTC
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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Daiki Ueno 2010-04-22 04:21:57 UTC
Cairo apparently uses log() from -lm, which needs to be explicitly linked with gcin in F-13.

Even that is fixed, gcin does not build against gtk+-2.20 in F-13 because gcin uses deprecated API - gcin Makefile passes -DGTK_DISABLE_DEPRECATED to gcc.

I'll attach a couple of patches: one (configure.patch) is an updated version of the existing configure.patch, and another (gtk-deprecated.patch) addresses the deprecated API issue.

I've tested the build (with patches) against dist-f11, dist-f12, and dist-f13, and all went well:

https://koji.fedoraproject.org/koji/taskinfo?taskID=2131423
https://koji.fedoraproject.org/koji/taskinfo?taskID=2131411
https://koji.fedoraproject.org/koji/taskinfo?taskID=2131428

Hope this helps.

Comment 9 Daiki Ueno 2010-04-22 04:22:57 UTC
Created attachment 408230 [details]
patch to add -lm to LDFLAGS

Comment 10 Daiki Ueno 2010-04-22 05:16:12 UTC
Created attachment 408234 [details]
patch to stop using GTK+ deprecated API

Comment 11 Jan Klepek 2010-05-04 20:34:45 UTC
Hi Chung-Yen,

any progress with new package update?

Comment 12 Chung-Yen Chang 2010-05-05 02:22:58 UTC
new package update with those two patchs built

Comment 13 Daiki Ueno 2010-05-06 06:20:18 UTC
The new package pushed by Chung-Yen seems to work fine here.
I'm moving this bug to MODIFIED.

Comment 14 Daiki Ueno 2010-05-17 01:03:57 UTC
I noticed that the new package was moved to the F-13 stable repository.
Closing.