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

Bug 319131

Summary: app-portage/gentoolkit-0.2.4.6.1-r1 depends on realpath, which fails to build on uclibc
Product: Portage Development Reporter: Ed Wildgoose <gentoo>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ed Wildgoose 2010-05-10 10:57:52 UTC
Not sure whether to file this one as a realpath or gentoolkit or uclibc bug?

Realpath fails to build on uclibc failing with the not unreasonable errors:

>>> Compiling source in /var/tmp/portage/app-misc/realpath-1.15/work/realpath-1.15 ...
make -j4 VERSION=1.15 'SUBDIRS=src man ' 
** Making ./src/_build ...
** Compiling _build/realpath.o ...
realpath.c:26:21: error: libintl.h: No such file or directory
realpath.c: In function 'show_usage':
realpath.c:58: warning: implicit declaration of function 'gettext'
realpath.c:58: warning: incompatible implicit declaration of built-in function 'gettext'
realpath.c: In function 'show_version':
realpath.c:66: warning: incompatible implicit declaration of built-in function 'gettext'
realpath.c: In function 'parse_options':
realpath.c:95: warning: incompatible implicit declaration of built-in function 'gettext'
realpath.c:102: warning: incompatible implicit declaration of built-in function 'gettext'
realpath.c: In function 'main':
realpath.c:118: warning: implicit declaration of function 'setlocale'
realpath.c:118: error: 'LC_ALL' undeclared (first use in this function)
realpath.c:118: error: (Each undeclared identifier is reported only once
realpath.c:118: error: for each function it appears in.)
realpath.c:119: warning: implicit declaration of function 'bindtextdomain'
realpath.c:120: warning: implicit declaration of function 'textdomain'
realpath.c:139: warning: incompatible implicit declaration of built-in function 'gettext'



Possibly this also highlights a missing dependency on gettext in the realpath ebuild?

However, do we actually need realpath in gentoolkit?  Can we not make use of "/bin/readlink -f" ?
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2010-05-10 18:34:34 UTC
Please try app-misc/realpath-1.15-r1, bug 300657.

(In reply to comment #0)
> However, do we actually need realpath in gentoolkit?  Can we not make use of
> "/bin/readlink -f" ?
> 

I'm not sure if that is portable as realpath is.
Comment 2 SpanKY gentoo-dev 2010-06-15 20:04:36 UTC

*** This bug has been marked as a duplicate of bug 300657 ***