Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40329 - Perl 5.8.2-r1 fails to comile if PORTAGE_TMPDIR is non-default.
Summary: Perl 5.8.2-r1 fails to comile if PORTAGE_TMPDIR is non-default.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 16:55 UTC by Andrew MacKenzie
Modified: 2005-02-27 23:45 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 Andrew MacKenzie 2004-02-03 16:55:55 UTC
While trying to emerge perl, I would get permission errors during the compile.  Talking to 'rac' on IRC s/he asked that I try with PORTAGE_TMPDIR set to the default, and the problem went away.

The most pertinent line seems to be 
opendir(./../../../../../../../..): Permission denied at ../../lib/File/Find.pm line 579

Sorry I don't have the rest of the error. :-(



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




I'd had PORTAGE_TMPDIR set to /home/<user>/tmp/portage.  It *looked* like there
was a relative path being used that the ebuild didn't like.
Comment 1 Robert Coie (RETIRED) gentoo-dev 2004-02-04 21:14:10 UTC
This is PORTAGE_TMPDIR specific, has nothing to do with perl.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2004-02-05 00:59:00 UTC
I'd imagine it was trying to open /home or /home/user.

Perhaps the ebuild should cd /
and addpredict /

?
Comment 3 Brian Harring (RETIRED) gentoo-dev 2005-02-27 23:45:27 UTC
Closing... issue was likely the fact that the sandbox has the normal/default tmpdir location hardcoded.
ebuild.sh now-adays sets SANDBOX_* vars on it's own, including that directory... as does cvs head, since solar hit this bug :)