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

Bug 300657

Summary: app-misc/realpath build fails on uclibc without nls
Product: Gentoo Linux Reporter: Gianluigi Tiesi <sherpya>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal CC: anarchy, blueness, gentoo, sherpya
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 308477    
Bug Blocks:    
Attachments: modified ebuild script
this patch will rip out locale stuff if not nls

Description Gianluigi Tiesi 2010-01-12 03:25:46 UTC
realpath is a requisite for getoolkit and it fails build on my uclibc without nls
the ebuild also has src_prepare part that is not evaluated and two patches are outdated, I've fixed the ebuild and added a patch.
I tried a patch with ifdefs but finally is more easy to completely wipe locale stuff when nls is not specified (small patch)

I'll attach files

Reproducible: Always
Comment 1 Gianluigi Tiesi 2010-01-12 03:27:27 UTC
Created attachment 216157 [details, diff]
modified ebuild script
Comment 2 Gianluigi Tiesi 2010-01-12 03:27:52 UTC
Created attachment 216159 [details, diff]
this patch will rip out locale stuff if not nls
Comment 3 Anthony Basile gentoo-dev 2010-01-29 03:13:38 UTC
I tested the ebuild and patch on mips-uclibc, x86-uclibc and x86_64-uclibc and it worked.  I recommend putting it on the mirrors.

Just one very minor point: check the indentation of the "else" in src_unpack().
Comment 4 Gianluigi Tiesi 2010-01-29 04:01:26 UTC
spaces vs tabs, I use expandtab and I haven't noticed the ebuild was using tabs instead of spaces
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-04-30 17:11:07 UTC
+*realpath-1.15-r1 (30 Apr 2010)
+
+  30 Apr 2010; Justin Lecher <jlec@gentoo.org> +realpath-1.15-r1.ebuild,
+  +files/realpath-1.15-nonls.patch:
+  Fix for #300657, thanks Gianluigi Tiesi for providing the patches
+
Comment 6 SpanKY gentoo-dev 2010-06-15 20:04:36 UTC
*** Bug 319131 has been marked as a duplicate of this bug. ***