Date: Wed, 30 Jul 2014 13:09:51 +0200 From: horst leitenmueller <horst.leitenmueller@liwest.at> To: Kurt Jaeger <lists@opsec.eu> Cc: ports@freebsd.org, perl@FreeBSD.org Subject: Re: Problem Installing Perl inside Jail with NO_STAGE Message-ID: <A789E6C7-4692-4AE7-801F-56E701D261A7@liwest.at> In-Reply-To: <17C13738-DDA8-4703-BF48-050C04AFAC9E@liwest.at> References: <C8781098-C8A1-440B-ADA9-2D9C53CCF177@liwest.at> <20140729131657.GI66308@home.opsec.eu> <17C13738-DDA8-4703-BF48-050C04AFAC9E@liwest.at>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, so written together and tested a lot all INSIDE JAIL ! BASEINFO=20 all in FreeBSD 9.1 p4 amd64 jails setup with guidelines of = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-applicatio= n.html PROBLEM 1 perl portugrade problem with backup path root@jboss1:/ # portupgrade -o lang/perl5.16 -f lang/perl5.14 ** Detected a package name change: perl (lang/perl5.14) -> 'perl5' = (lang/perl5.16) ---> Upgrading 'perl-5.14.4' to 'perl5-5.16.3_11' (lang/perl5.16) ---> Building '/usr/ports/lang/perl5.16' with make flags: = -DDISABLE_CONFLICTS =3D=3D=3D> Cleaning for perl5-5.16.3_11 /!\ WARNING /!\ pkg_install EOL is scheduled for 2014-09-01. Please migrate to pkgng = http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the= -old-pkg_-tools/ If you do not want to see this message again set = NO_WARNING_PKG_INSTALL_EOL=3Dyes in your make.conf ..... build part /bin/mkdir -p = /s/portbuild/usr/ports/lang/perl5.16/work/stage/usr/local/lib/perl5/5.16/B= SDPAN/ExtUtils install -o root -g wheel -m 444 = /s/portbuild/usr/ports/lang/perl5.16/work/BSDPAN-20111107/ExtUtils/Packlis= t.pm = /s/portbuild/usr/ports/lang/perl5.16/work/stage/usr/local/lib/perl5/5.16/B= SDPAN/ExtUtils/Packlist.pm =3D=3D=3D=3D> Compressing man pages (compress-man) ---> Backing up the old version tar: Failed to open '/perl-5.14.4.tbz' ** Backup failed. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! lang/perl5.16 (perl-5.14.4) (backup error) not working=20 i tried a lot of things to change the path for backup no chance=85 PROBLEM 2 root@jboss1:/usr/ports/lang/perl5.14 # make deinstall =3D=3D=3D> Deinstalling for lang/perl5.14 root@jboss1:/usr/ports/lang/perl5.14 # make reinstall =3D=3D=3D> Building package for perl5.14-5.14.4_7 Creating package = /s/portbuild/usr/ports/lang/perl5.14/work/pkg/perl5.14-5.14.4_7.tbz Registering depends:. Registering conflicts: perl5.*-* perl5-*. Creating bzip'd tar ball in = '/s/portbuild/usr/ports/lang/perl5.14/work/pkg/perl5.14-5.14.4_7.tbz' tar: could not chdir to = '/s/portbuild/usr/ports/lang/perl5.14/work/stage/s/usr-local' *** [do-package] Error code 1 Stop in /usr/ports/lang/perl5.14. *** [install] Error code 1 Stop in /usr/ports/lang/perl5.14. *** [reinstall] Error code 1 Stop in /usr/ports/lang/perl5.14. important here the s/usr-local is a symlink to=20 ls -la /usr/jails/mroot/usr/ lrwxr-xr-x 1 root wheel 14 Jun 25 2013 local -> ../s/usr-local and these are the directories existing ls -la /s/portbuild/usr/ports/lang/perl5.14/work/stage/usr/local/ means staging is taking the symlink information and not the symlinked = path =3D> error not possible to install=20 with the NOT allowed switch NO_STAGING i get a workaround to prevent = from this problem=20 (already described 9 months before... = http://lists.freebsd.org/pipermail/freebsd-ports/2013-October/086895.html)= PROBLEM 2 is my real problem and i can=92t geht it running! because of THIS i changed to NO_STAGE=3Dyes in /etc/make.conf=20 and commented out the find with the $STAGEDIR which is empty if NO_STAGE if an other way please tell me, i have 3 more base machines with about = 15 jails per machine ------------------------------------------------------ Ing. DI Horst Leitenmueller Sperlstr. 11 4040 Linz tel.: +43 650 2042702 email: horst.leitenmueller@liwest.at ------------------------------------------------------ On 30 Jul 2014, at 07:15, horst leitenmueller = <horst.leitenmueller@liwest.at> wrote: > hi >=20 > is NO_STAGE=3Dyes in /etc/make.conf a switch or not ? >=20 > if yes all Makefiles should / have to handle this means ${STAGEDIR} = should be set correct in case of perl5.16.x > otherwise you have my error=20 >=20 > in the makefile of perl5.16 >=20 > ${INSTALL_DATA} ${WRKDIR}/perl5_version ${STAGEDIR}${PREFIX}/etc >>>> ${FIND} ${STAGEDIR} -name '*.bs' -size 0 -delete > .if ${OSVERSION} >=3D 900022 >=20 > if not then NO_STAGE should be described at NOT USABLE at all but with = this i have problems inside of Jails with a Read Only part > (i will describe my problems with that in a separate mail) >=20 >=20 > my problem >=20 > i just want to update my base systems to newest version of perl (from = 5.14 to current 5.16 ) > and all jails=20 >=20 > and change to new package system pkgng >=20 > and perl 5.16 ist not possible to install inside of jails <=3D mail = will follow with all constellations testet >=20 >=20 >=20 >=20 > On 29 Jul 2014, at 15:16, Kurt Jaeger <lists@opsec.eu> wrote: >=20 >> Hi! >>=20 >>> i have a problem installing perl inside jail=20 >>=20 >> One hint: If you add "NO_STAGE" to a Makefile, this does not >> make this Makefile an "NO_STAGE" Makefile. >>=20 >> So, again: What is your problem ? >>=20 >> --=20 >> pi@opsec.eu +49 171 3101372 6 = years to go ! >> _______________________________________________ >> freebsd-ports@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to = "freebsd-ports-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A789E6C7-4692-4AE7-801F-56E701D261A7>