From owner-freebsd-questions@FreeBSD.ORG Tue Feb 21 13:47:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 414171065670 for ; Tue, 21 Feb 2012 13:47:10 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C0CFF8FC1B for ; Tue, 21 Feb 2012 13:47:09 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so7245027bkc.13 for ; Tue, 21 Feb 2012 05:47:08 -0800 (PST) Received-SPF: pass (google.com: domain of ml@my.gd designates 10.204.151.196 as permitted sender) client-ip=10.204.151.196; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ml@my.gd designates 10.204.151.196 as permitted sender) smtp.mail=ml@my.gd Received: from mr.google.com ([10.204.151.196]) by 10.204.151.196 with SMTP id d4mr13518882bkw.29.1329832028766 (num_hops = 1); Tue, 21 Feb 2012 05:47:08 -0800 (PST) Received: by 10.204.151.196 with SMTP id d4mr10921603bkw.29.1329832028533; Tue, 21 Feb 2012 05:47:08 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id x22sm45570775bkw.11.2012.02.21.05.47.06 (version=SSLv3 cipher=OTHER); Tue, 21 Feb 2012 05:47:07 -0800 (PST) Message-ID: <4F43A059.90000@my.gd> Date: Tue, 21 Feb 2012 14:47:05 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmaVtpM1BmklcY+EmvJA8RiN9uYvQ+HP5N+98O5qHkmIqFtPpHZ3E6JX0RWfZJEd83pJV7G Cc: Subject: JAIL - building perl 5.1? fails on 8.2-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 13:47:10 -0000 Hello list, I'm trying to build perl5.12 in a jail running on 8.2-STABLE, to ultimately build php5. I'm getting the following error: Running Mkbootstrap for threads::shared () chmod 644 shared.bs rm -f ../../lib/auto/threads/shared/shared.so cc -shared -L/usr/local/lib -fstack-protector shared.o -o ../../lib/auto/threads/shared/shared.so chmod 755 ../../lib/auto/threads/shared/shared.so cp shared.bs ../../lib/auto/threads/shared/shared.bs chmod 644 ../../lib/auto/threads/shared/shared.bs LD_LIBRARY_PATH=/s/portbuild/usr/ports/lang/perl5.12/work/perl-5.12.4 ./perl -f -Ilib pod/buildtoc --build-toc -q LD_LIBRARY_PATH=/s/portbuild/usr/ports/lang/perl5.12/work/perl-5.12.4 ./miniperl -Ilib minimod.pl > lib/ExtUtils/Miniperl.pm cd x2p; LD_LIBRARY_PATH=/s/portbuild/usr/ports/lang/perl5.12/work/perl-5.12.4 make s2p "makefile", line 163: Need an operator "makefile", line 166: Need an operator No closing parenthesis in archive specification There are a LOT MORE of these: "makefile", line XXX: Need an operator See the pastebin below for the full list: http://pastebin.com/qAk4qXte I've also tried perl5.10 and am getting the same errors: written lib/Config.pod updated lib/Config.pm updated lib/Config_heavy.pl LD_LIBRARY_PATH=/s/portbuild/usr/ports/lang/perl5.10/work/perl-5.10.1 ./miniperl -Ilib lib/lib_pm.PL Extracting lib.pm (with variable substitutions) AutoSplitting perl library LD_LIBRARY_PATH=/s/portbuild/usr/ports/lang/perl5.10/work/perl-5.10.1 ./miniperl -Ilib -MAutoSplit -MFile::Find -e 'find ({no_chdir=>1, wanted => sub {autosplit_lib_modules($_) if /\.pm$/}}, "lib")' make lib/re.pm "makefile", line 1050: Need an operator "makefile", line 1053: Need an operator The jail's world was built and installed yesterday, although I can't really tell when I last csup'd, possibly last week. The config for perl5.12 is: PERL_64BITINT PTHREAD USE_PERL These are the mounts, seen from the host: data/jail on /data/jail (zfs, local, nfsv4acls) /data/jail/j/mroot on /data/jail/j/nanaya (nullfs, local, read-only) /data/jail/js/nanaya on /data/jail/j/nanaya/s (nullfs, local) The mount seen from the jail: /data/jail/j/mroot on / (nullfs, local, read-only) Anyone ever run into this kind of problem ? I have to say I followed the procedure from the handbook regarding having 1 "template" readonly jail with the world, and separate jails with readwrite portions (etc, ports build...).