Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228841 - sys-libs/timezone-data-2008c fails to build
Summary: sys-libs/timezone-data-2008c fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 228843 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-22 05:23 UTC by Rumen Yotov
Modified: 2008-06-23 12:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rumen Yotov 2008-06-22 05:23:55 UTC
Hi,

sys-libs/timezone-data-2008c fails to build.
>>> Starting src_compile
make -j1
sed \
			-e 's|AWK=[^}]*|AWK=awk|g' \
			-e 's|TZDIR=[^}]*|TZDIR=/usr/share/zoneinfo|' \
			<tzselect.ksh >tzselect
chmod +x tzselect
/usr/lib/ccache/bin/gcc -DTZDIR=\"/usr/share/zoneinfo\" -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" -Os -march=i686 -pipe -fomit-frame-pointer -std=gnu99   -c -o zic.o zic.c
/usr/lib/ccache/bin/gcc -DTZDIR=\"/usr/share/zoneinfo\" -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" -Os -march=i686 -pipe -fomit-frame-pointer -std=gnu99   -c -o localtime.o localtime.c
localtime.c: In function 'differ_by_repeat':
localtime.c:332: warning: comparison is always false due to limited range of data type
/usr/lib/ccache/bin/gcc -DTZDIR=\"/usr/share/zoneinfo\" -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" -Os -march=i686 -pipe -fomit-frame-pointer -std=gnu99   -c -o asctime.o asctime.c
/usr/lib/ccache/bin/gcc -DTZDIR=\"/usr/share/zoneinfo\" -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" -Os -march=i686 -pipe -fomit-frame-pointer -std=gnu99   -c -o scheck.o scheck.c
/usr/lib/ccache/bin/gcc -DTZDIR=\"/usr/share/zoneinfo\" -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" -Os -march=i686 -pipe -fomit-frame-pointer -std=gnu99   -c -o ialloc.o ialloc.c
cp yearistype.sh yearistype
cp: listing attributes of `yearistype.sh': Invalid argument
make: *** [yearistype] Error 1

!!! ERROR in sys-libs/timezone-data-2008c:
!!! In src_compile at line 3613
!!! emake failed
...END...

Reproducible: Always
Comment 1 Rumen Yotov 2008-06-22 11:22:06 UTC
Hi,

Seems the culpit here is "cp" (coreutils w/ xattr).
Will report when find a coreutils package w/o xattr (can't compile it due to same error).
Sorry for the noise.
Rumen
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-22 16:19:28 UTC
*** Bug 228843 has been marked as a duplicate of this bug. ***
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-23 00:22:22 UTC
Which coreutils ebuild do you have installed? `emerge --info` missing as well.
Comment 4 Rumen Yotov 2008-06-23 11:10:41 UTC
Hi,

i've coreutils-6.10-r2 installed.
Problems came from using +xattr USE flag, cp command didn't always work right.
Beside this use reiser4 which may be the main cause it this (fs-based attr).
Now after disabling (xattr) from coreutils everything is fine again.
As this has nothing to do with 'timezone-data' think of closing this Bug ?
Thanks, Rumen
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-23 12:58:44 UTC
Well, if there should be a problem with coreutils, please reopen. But test with ext3 before, using reiser4 you're definitely on unsupported playground.