From owner-freebsd-perl@FreeBSD.ORG Wed Jul 30 11:10:03 2014 Return-Path: Delivered-To: perl@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CCBDDE94; Wed, 30 Jul 2014 11:10:03 +0000 (UTC) Received: from so.liwest.at (so.liwest.at [212.33.55.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E2012D1D; Wed, 30 Jul 2014 11:10:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=liwest.at; s=20140502; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=d2bpOi90YsGEwj29TrhiUu783Lr+nHrcJuH9rQS+MJc=; b=SUgc2qK8wfezw7XWDCZuHfd1ZoBE7AN00e8YS7alxA0a6WBUZsW+M2ZxXNK1m/CAeEWDBvUGiJcKB9EaW79XcTh9E1DeniQztzQ2v7P8Wn/7k8rFLjNKk5YB+O/zeqlSMyVQH/vuef4Sph2ECd0g11ecL1b1u1+zoqsaXOZTjR72Mcftulfmco7kLkzi5OHkDpJaTCgqllr9gNYunJqCFqzee4zRl7+7TwFYID/pBxdYRlmul/EAiuzqdT3HGmERVxRYPNwDF2kLy0mHd0kEbRIxrwW8+ooCyEPZT06rROKXSkOWsnrHODi+4t42iTX4qkjGEBDW/hCGemnVGRKNUw==; Received: from [90.146.7.130] (helo=lap01.it4health.at) by so.liwest.at with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XCRlh-0006Ds-3w; Wed, 30 Jul 2014 13:10:01 +0200 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Problem Installing Perl inside Jail with NO_STAGE From: horst leitenmueller In-Reply-To: <17C13738-DDA8-4703-BF48-050C04AFAC9E@liwest.at> Date: Wed, 30 Jul 2014 13:09:51 +0200 Message-Id: References: <20140729131657.GI66308@home.opsec.eu> <17C13738-DDA8-4703-BF48-050C04AFAC9E@liwest.at> To: Kurt Jaeger X-Mailer: Apple Mail (2.1878.6) X-Spam-Score: -1.0 (-) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: ports@freebsd.org, perl@FreeBSD.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 11:10:04 -0000 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 = 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 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"