Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55243

Summary: app-arch/dar-2.1.2-r1 does not link
Product: Gentoo Linux Reporter: Joerg Schaible <joerg.schaible>
Component: New packagesAssignee: MATSUU Takuto (RETIRED) <matsuu>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dar-2.1.2-r1.ebuild.diff

Description Joerg Schaible 2004-06-26 08:32:24 UTC
The ebuild does not link because of unresolved externals if the CXXFLAG -fno-default-inline is set:

get_version.o(.gnu.linkonce.t._ZN6libdar10statistics5clearEv+0x1f): In function `libdar::statistics::clear()':
: undefined reference to `libdar::infinint::infinint[in-charge](long)'
collect2: ld returned 1 exit status
make[3]: *** [get_version] Error 1
make[3]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src/libdar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2'
make: *** [all] Error 2

!!! ERROR: app-arch/dar-2.1.2-r1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)

Repeat:
CXXFLAGS=-fno-default-inline emerge dar

Build is fine, if flag is filtered, see attachment.

Regards,
J
Comment 1 Joerg Schaible 2004-06-26 08:32:24 UTC
The ebuild does not link because of unresolved externals if the CXXFLAG -fno-default-inline is set:

get_version.o(.gnu.linkonce.t._ZN6libdar10statistics5clearEv+0x1f): In function `libdar::statistics::clear()':
: undefined reference to `libdar::infinint::infinint[in-charge](long)'
collect2: ld returned 1 exit status
make[3]: *** [get_version] Error 1
make[3]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src/libdar'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/volatile/portage/dar-2.1.2-r1/work/dar-2.1.2'
make: *** [all] Error 2

!!! ERROR: app-arch/dar-2.1.2-r1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)

Repeat:
CXXFLAGS=-fno-default-inline emerge dar

Build is fine, if flag is filtered, see attachment.

Regards,
Jörg

BTW: There is a new service release 2.1.3 available ...
Comment 2 Joerg Schaible 2004-06-26 08:33:30 UTC
Created attachment 34198 [details, diff]
dar-2.1.2-r1.ebuild.diff

Patch for the ebuild to filter the problematic compiler flag
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2004-06-28 20:31:11 UTC
dar-2.1.3.ebuild in cvs.