Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110604 - sys-libs/timezone-data fails when FEATURES="maketest" is set
Summary: sys-libs/timezone-data fails when FEATURES="maketest" is set
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 Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-27 02:47 UTC by Michael Cramer
Modified: 2005-10-27 17:01 UTC (History)
0 users

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


Attachments
modified search path for xhtml-strict.dtd (timezone-data-2005n-makefile.patch,3.01 KB, patch)
2005-10-27 06:34 UTC, Robert Kruus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cramer 2005-10-27 02:47:03 UTC
it fails with following lines:
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/timezone-data-2005n to /
>>> md5 files   ;-) timezone-data-2005n.ebuild
>>> md5 files   ;-) files/digest-timezone-data-2005n
>>> md5 files   ;-) files/timezone-data-2005n-makefile.patch
>>> md5 src_uri ;-) tzdata2005n.tar.gz
>>> md5 src_uri ;-) tzcode2005n.tar.gz
>>> Unpacking source...
>>> Unpacking tzdata2005n.tar.gz to /var/tmp/portage/timezone-data-2005n/work
>>> Unpacking tzcode2005n.tar.gz to /var/tmp/portage/timezone-data-2005n/work
 * Applying timezone-data-2005n-makefile.patch ...                             
                                                                       [ ok ]
>>> Source unpacked.
sed \
        -e 's|AWK=[^}]*|AWK=awk|g' \
        -e 's|TZDIR=[^}]*|TZDIR=/usr/share/zoneinfo|' \
        <tzselect.ksh >tzselect
chmod +x tzselect
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o zic.o zic.c
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o localtime.o
localtime.c
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o asctime.o
asctime.c
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o scheck.o
scheck.c
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o ialloc.o
ialloc.c
cp yearistype.sh yearistype
chmod +x yearistype
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe  zic.o localtime.o
asctime.o scheck.o ialloc.o  -o zic
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o zdump.o zdump.c
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe  zdump.o
localtime.o ialloc.o  -o zdump
cc -DTZDIR=\"/usr/share/zoneinfo\" -march=pentium3 -O3 -pipe   -c -o difftime.o
difftime.c
>>> Test phase [enabled]: sys-libs/timezone-data-2005n
>>> Test phase [check]: sys-libs/timezone-data-2005n
awk -f checktab.awk africa antarctica asia australasia europe northamerica
southamerica
SGML_CATALOG_FILES=xhtml.soc
SGML_SEARCH_PATH=/usr/share/doc/sgml-lib/REC-xhtml1-20000126/
SP_CHARSET_FIXED=YES SP_ENCODING=UTF-8 nsgmls -s -B -wall -wno-unused-param
-wxml tz-art.htm tz-link.htm
nsgmls:tz-art.htm:4:23:E: cannot find "DTD/xhtml1-strict.dtd"; tried
"DTD/xhtml1-strict.dtd",
"/usr/share/doc/sgml-lib/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd"
nsgmls:tz-art.htm:4:23:E: DTD did not contain element declaration for document
type name
nsgmls:tz-art.htm:5:12:E: there is no attribute "XMLNS"
nsgmls:tz-art.htm:5:46:E: "XML" is not a member of a group specified for any
attribute
nsgmls:tz-art.htm:5:62:E: there is no attribute "LANG"

and many more of these messages.


emerging app-text/xhtml1 and changing the SGML_SEARCH_PATH in Makefile to
${TOPDIR}/share/sgml/xhtml1/ fixed these problem

another way is to disable make check in the ebuild

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
doesn't emerge

Expected Results:  
should emerge
Comment 1 Robert Kruus 2005-10-27 06:32:34 UTC
Needs a depend on xhtml1 and another patch to the Makefile
Updated patch follows.
Comment 2 Robert Kruus 2005-10-27 06:34:59 UTC
Created attachment 71563 [details, diff]
modified search path for xhtml-strict.dtd

Needs a depend on xhtml for this patch to work.
Though it seems silly to merge xhtml just to run the test.....
Comment 3 SpanKY gentoo-dev 2005-10-27 17:01:05 UTC
fixed in cvs