[Bug 195434] New: [patch] lang/perl5.18 fails to build with: /root/.shrc: Permission denied
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 26 23:57:07 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195434
Bug ID: 195434
Summary: [patch] lang/perl5.18 fails to build with:
/root/.shrc: Permission denied
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: guyyur at gmail.com
Created attachment 149924
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149924&action=edit
Use ${SETENV} instead of ${ENV}; add -f to ${LN}
I have env variable ENV set to /root/.shrc
When building lang/perl5.18 it fails with "/root/.shrc: Permission denied".
Retrying the build fails on perl5 already exists in the stage dir.
1. ${ENV} should be ${SETENV} in the Makefile.
2. ${STAGEDIR}${PREFIX}/bin/perl5 should be created using ${LN} -f
Attached patch against lang/perl5.18
The changes should be applied to all lang/perl5.* ports.
First error:
(cd /usr/include && /root/.shrc
LD_LIBRARY_PATH=/home/wrkdir/usr/ports/lang/perl5.18/work/perl-5.18.4
/home/wrkdir/usr/ports/lang/perl5.18/work/perl-5.18.4/perl -I
/home/wrkdir/usr/ports/lang/perl5.18/work/perl-5.18.4/lib
/home/wrkdir/usr/ports/lang/perl5.18/work/stage/usr/local/bin/h2ph -d
/home/wrkdir/usr/ports/lang/perl5.18/work/stage/usr/local/lib/perl5/site_perl/mach/5.18
*.h machine/*.h sys/*.h >/dev/null)
/root/.shrc: Permission denied
Second try:
/bin/ln
/home/wrkdir/usr/ports/lang/perl5.18/work/stage/usr/local/bin/perl5.18.4
/home/wrkdir/usr/ports/lang/perl5.18/work/stage/usr/local/bin/perl5
ln: /home/wrkdir/usr/ports/lang/perl5.18/work/stage/usr/local/bin/perl5: File
exists
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list