Bug 564953

Summary: FTBFS gtest-1.4.0-1.fc13: ImplicitDSOLinking
Product: [Fedora] Fedora Reporter: FTBFS <ftbfs>
Component: gtestAssignee: Debarshi Ray <debarshir>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 13CC: dan, debarshir, jan.klepek, terje.rosten
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/
Whiteboard:
Fixed In Version: gtest-1.4.0-2.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-28 10:08:15 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
linking fix none

Description FTBFS 2010-02-13 17:25:38 UTC
gtest-1.4.0-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:25:41 UTC
Created attachment 392673 [details]
root.log

root.log for i386

Comment 2 FTBFS 2010-02-13 17:25:42 UTC
Created attachment 392674 [details]
build.log

build.log for i386

Comment 3 FTBFS 2010-02-13 17:25:43 UTC
Created attachment 392675 [details]
mock.log

mock.log for i386

Comment 4 FTBFS 2010-02-13 17:25:45 UTC
Created attachment 392676 [details]
root.log

root.log for x86_64

Comment 5 FTBFS 2010-02-13 17:25:46 UTC
Created attachment 392677 [details]
build.log

build.log for x86_64

Comment 6 FTBFS 2010-02-13 17:25:47 UTC
Created attachment 392678 [details]
mock.log

mock.log for x86_64

Comment 7 Bug Zapper 2010-03-15 14:49:34 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 Jan Klepek 2010-05-04 20:19:47 UTC
Hi Debarshi,

Any progress with this bug?

Comment 9 Debarshi Ray 2010-05-19 06:23:07 UTC
Sorry for having ignored this for so long. I will look at it and fix it by today. Thanks for the reminder.

Comment 10 Dan Horák 2010-08-28 10:08:15 UTC
Fixed with a workaround for gtest 1.4.0, the proper fix for gtest 1.5.0 is to add "lib/libgtest.la" into 2 *_LDADD variables in Makefile.{am,in}.

Comment 11 Terje Røsten 2011-01-16 21:30:30 UTC
Hi Dan

I updated gtest to 1.5.0 in rawhide, could you describe the LDADD fix in some
more detail?

The build is here:

 http://koji.fedoraproject.org/koji/buildinfo?buildID=214379

current spec: 

http://pkgs.fedoraproject.org/gitweb/?p=gtest.git;a=blob;f=gtest.spec;h=0250d21b93e3614ee8c54b1eb9f0f4747719259b;hb=3dad48f3af760dd9aa8f5d560c65f523a8eb341c

Comment 12 Dan Horák 2011-03-19 10:05:41 UTC
Created attachment 486372 [details]
linking fix

Hi Terje,

this is IMHO the right fix (explicitly link with the gtest library) and now "make check || :" is sufficient.