Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270101 - sys-apps/gawk fails tests on g/fbsd
Summary: sys-apps/gawk fails tests on g/fbsd
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 20:25 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-05-17 12:42 UTC (History)
1 user (show)

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-16 20:25:11 UTC
manyfiles
gawk: ./manyfiles.awk:1: (FILENAME=_manyfiles FNR=208) fatal: can't redirect to `junk/' (Is a directory)
gmake[1]: *** [manyfiles] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/sys-apps/gawk-3.1.6/work/gawk-3.1.6/test'
gmake: *** [check-recursive] Error 1
 * 
 * ERROR: sys-apps/gawk-3.1.6 failed.
Comment 1 SpanKY gentoo-dev 2009-05-16 22:07:20 UTC
so run the test manually:
rm -rf junk
mkdir junk
gawk 'BEGIN { for (i = 1; i <= 300; i++) print i, i}' >_manyfiles
gawk -f ./manyfiles.awk _manyfiles _manyfiles
wc -l junk/* | gawk '$1 != 2' | wc -l | sed "s/  *//g"

works fine for me: output should be "1"
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-16 22:43:56 UTC
Hmm the test works manually, have any idea why it doesn't work otherwise?
Comment 3 SpanKY gentoo-dev 2009-05-17 00:29:58 UTC
not a clue

look at the tests/_manyfiles file to see if it was generated properly
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-17 12:42:17 UTC
It might have been the moot C library I guess, it works fine now. Sorry for the noise.