Date: Wed, 26 Nov 2014 23:57:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195434] New: [patch] lang/perl5.18 fails to build with: /root/.shrc: Permission denied Message-ID: <bug-195434-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: guyyur@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195434-13>