Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271154 - sys-apps/util-linux-2.15-r1 fails compile on uclibc
Summary: sys-apps/util-linux-2.15-r1 fails compile on uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-25 02:00 UTC by Gianluigi Tiesi
Modified: 2009-05-29 23:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,38.29 KB, text/plain)
2009-05-25 12:14 UTC, Gianluigi Tiesi
Details
emerge info (emergeinfo.txt,2.76 KB, text/plain)
2009-05-25 12:14 UTC, Gianluigi Tiesi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gianluigi Tiesi 2009-05-25 02:00:24 UTC
misc-utils/cal.c fails to compile on uclibc
cal.c: In function 'main':
cal.c:313: error: '_NL_TIME_WEEK_1STDAY' undeclared (first use in this function)
cal.c:313: error: (Each undeclared identifier is reported only once
cal.c:313: error: for each function it appears in.)
cal.c:315: error: '_NL_TIME_FIRST_WEEKDAY' undeclared (first use in this function)

those definitions are in langinfo.h but are ifdef-ed out by an #if 0
the package detects langinfo.h and ignores --disable-nls too

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-05-25 07:15:41 UTC
emerge --info and the build.log please.
Comment 2 Gianluigi Tiesi 2009-05-25 12:14:22 UTC
Created attachment 192400 [details]
Build log
Comment 3 Gianluigi Tiesi 2009-05-25 12:14:39 UTC
Created attachment 192402 [details]
emerge info
Comment 4 Rafał Mużyło 2009-05-25 15:07:10 UTC
Actually, a known bug, fixed in upstream's git.
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=a88057d9a329c11a5d4eaf7e15ce25b09be800e5
Comment 5 SpanKY gentoo-dev 2009-05-29 23:49:13 UTC
added fix from upstream to 2.15-r1

http://sources.gentoo.org/sys-apps/util-linux/util-linux-2.15-r1.ebuild?r1=1.2&r2=1.3