Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124350 - Test phase fails for ucspi-tcp stable through ~arch
Summary: Test phase fails for ucspi-tcp stable through ~arch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 20:11 UTC by Joshua Jackson (RETIRED)
Modified: 2006-03-12 08:42 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 Joshua Jackson (RETIRED) gentoo-dev 2006-02-27 20:11:37 UTC
While testing another bug, that required I install ucspi-tcp, I found that the test case fails as follows:

Test phase [check]: sys-apps/ucspi-tcp-0.88-r13
./instcheck
instcheck: warning: /usr/ has wrong permissions
instcheck: warning: /usr//bin has wrong permissions
instcheck: warning: /usr//man does not exist
instcheck: warning: /usr//man/man1 does not exist
instcheck: warning: /usr//man/man5 does not exist
instcheck: fatal: unable to switch to /usr//man/man1: file does not exist
make: *** [check] Error 111

It happens on both my x86 stable (and stable chroots) as well as my ~amd64 system.

The check for /usr/ /usr/bin/ is looking for   if ((st.st_mode & 07777) != mode). That one should be a easy enough fix to match with what gentoo has as the main level permissions levels. however the rest of the do not exist's are a bit more worrying.
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2006-03-12 08:42:39 UTC
Fixed by putting RESTRICT="test" into the ebuild. The tests are broken for almost all djb software (see qmail/netqmail). Will be in CVS in an hour or so.