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

Bug 468790

Summary: app-portage/portage-utils-0.30 fails to compile on Solaris due to missing lstatat
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: [OLD] UnspecifiedAssignee: Portage Utils Team <portage-utils>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Solaris   
URL: http://lists.gnu.org/archive/html/bug-gnulib/2013-05/msg00023.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Groffen gentoo-dev 2013-05-06 19:20:40 UTC
CCLD     q
./autotools/gnulib/libgnu.a(renameat.o): In function `rpl_renameat':
renameat.c:(.text+0x63): undefined reference to `lstatat'
renameat.c:(.text+0x7f): undefined reference to `lstatat'
collect2: error: ld returned 1 exit status
make[2]: *** [q] Error 1

lstatat is in the headers conditionally enabled if GNULIB_STATAT is enabled (bug?)

I think enabling statat gnulib module is enough here.  Didn't have time to test yet.
Comment 1 SpanKY gentoo-dev 2013-05-07 00:10:25 UTC
the gnulib code should pull in that automatically.  if it doesn't, then it's a bug in the gnulib stuff.
Comment 2 SpanKY gentoo-dev 2013-05-07 00:43:28 UTC
sent patch upstream.  unfortunately, i don't think there's a workaround.  the package would need to be regenerated.
Comment 3 Fabian Groffen gentoo-dev 2013-05-07 06:44:14 UTC
thanks!
Comment 4 SpanKY gentoo-dev 2013-09-29 05:04:30 UTC
it'll be fixed in the next release