From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 15:53:46 2011 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 A1990106564A for ; Sat, 3 Dec 2011 15:53:46 +0000 (UTC) (envelope-from glarkin@freebsd.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8298FC17 for ; Sat, 3 Dec 2011 15:53:46 +0000 (UTC) Received: from [192.168.237.1] by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1RWruE-000Pqo-U1; Sat, 03 Dec 2011 10:53:41 -0500 References: <4ED78337.1070601@bananmonarki.se> <4ED78AFE.4000402@FreeBSD.org> <4ED7A319.8020402@bananmonarki.se> <4ED8218D.9@bananmonarki.se> <4ED82589.7090807@bananmonarki.se> In-Reply-To: <4ED82589.7090807@bananmonarki.se> Mime-Version: 1.0 (1.0) Message-Id: X-Mailer: iPod Mail (9A334) From: Greg Larkin Date: Sat, 3 Dec 2011 10:53:39 -0500 To: Bernt Hansson X-SA-Exim-Connect-IP: 192.168.237.1 X-SA-Exim-Mail-From: glarkin@freebsd.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HELO_NO_DOMAIN, MIME_QP_LONG_LINE autolearn=unavailable version=3.3.1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: FreeBSD Questions , Chris Brennan Subject: Re: Weird stuff SOLVED 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: Sat, 03 Dec 2011 15:53:46 -0000 Hi Bernt, Glad to hear you figured it out! Cheers, Greg On Dec 1, 2011, at 8:10 PM, Bernt Hansson wrote: > 2011-12-02 01:53, Bernt Hansson skrev: >=20 > At some points one is an idiot! >=20 > /var/db/ports was pointing at the wrong directory and not the ports direct= ory. Well, well you live to learn. >=20 >> 2011-12-01 17:13, Chris Brennan skrev: >>> On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hansson >>> wrote: >>>=20 >>> 2011-12-01 15:11, Greg Larkin skrev: >>>>=20 >>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>> Hash: SHA1 >>>>>=20 >>>>> On 12/1/11 8:37 AM, Bernt Hansson wrote: >>>>>=20 >>>>>> Hello list! >>>>>>=20 >>>>>> Trying to upgrade 3:d party stuff. >>>>>>=20 >>>>>> Only get errors. What gives? >>>>>>=20 >>>>>> ---> Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10' >>>>>> (graphics/jasper) >>>>>> ---> Building '/usr/ports/graphics/jasper' >>>>>> =3D=3D=3D> Cleaning for jasper-1.900.1_10 >>>>>> cd /usr/home/bernt/disk8/ports/**graphics/jasper&& make config; >>>>>>=20 >>>>>> =3D=3D=3D> Cannot create , check permissions >>>>>> *** Error code 1 >>>>>>=20 >>>>>> Stop in /usr/home/bernt/disk8/ports/**graphics/jasper. >>>>>> *** Error code 1 >>>>>>=20 >>>>>> Stop in /usr/home/bernt/disk8/ports/**graphics/jasper. >>>>>> ** Command failed [exit code 1]: /usr/bin/script -qa >>>>>> /tmp/portupgrade20111130-**48187-8vcb9-0 env UPGRADE_TOOL=3Dportupgra= de >>>>>> UPGRADE_PORT=3Djasper-1.900.1_9 UPGRADE_PORT_VER=3D1.900.1_9 make >>>>>> DEPENDS_TARGET=3Dpackage >>>>>> ** Fix the problem and try again. >>>>>>=20 >>>>>> Permission is 777 >>>>>>=20 >>>>>=20 >>>>> Hi Bernt, >>>>>=20 >>>>> Reading through /usr/ports/Mk/bsd.port.mk, the "check permissions" >>>>> message is emitted when certain directories cannot be created. >>>>>=20 >>>>> Are you running the upgrade as the root user? I would be interested in= >>>>> seeing the output of the following command sequence: >>>>>=20 >>>>> cd /usr/ports/graphics/jasper >>>>> make -V SU_CMD >>>>> make -V UID >>>>> make -V OPTIONSFILE >>>>>=20 >>>>=20 >>>> %su - >>>> Password: >>>> testbox# cd /usr/ports/graphics/jasper >>>> testbox# make -V SU_CMD >>>> /usr/bin/su root -c >>>> testbox# make -V UID >>>> 0 >>>> testbox# make -V OPTIONSFILE >>>> /var/db/ports/jasper/options >>>>=20 >>>>=20 >>>>=20 >>>>> Also, what happens if you simply do this: >>>>>=20 >>>>> cd /usr/ports/graphics/jasper&& make config >>>>>=20 >>>>>=20 >>>> testbox# cd /usr/ports/graphics/jasper&& make config >>>>=20 >>>> =3D=3D=3D> Cannot create , check permissions >>>> *** Error code 1 >>>>=20 >>>> Stop in /usr/home/bernt/disk8/ports/**graphics/jasper. >>>>=20 >>>> I did this also, as root >>>>=20 >>>> cd /usr/ports (it's a link) >>>> mkdir 1 >>>>=20 >>>> cd /usr/home/bernt/disk8/ports/graphics/jasper >>>>=20 >>>> mkdir 1 >>>> mkdir: 1: File exists >>>>=20 >>>> Creating files/dirs don't seem to be a problem. >>>>=20 >>>> /dev/ad0s2g 8.7G 8.3G -322M 104% /usr >>>> /dev/ad14.eli 902G 126G 775G 14% /usr/home/bernt/disk8 >>>>=20 >>>=20 >>> I'm gonna take a stab in the dark here, paste the result of the followin= g >>> cmd: >>>=20 >>> mount | grep ad14 >>=20 >> Just to make sure. >> testbox# fsck -y -t ufs /dev/ad14.eli >> ** /dev/ad14.eli >> ** Last Mounted on /usr/home/bernt/disk8 >> ** Phase 1 - Check Blocks and Sizes >> ** Phase 2 - Check Pathnames >> ** Phase 3 - Check Connectivity >> ** Phase 4 - Check Reference Counts >> ** Phase 5 - Check Cyl groups >> 440342 files, 66312180 used, 406697750 free (144630 frags, 50819140 >> blocks, 0.0% fragmentation) >>=20 >> ***** FILE SYSTEM IS CLEAN ***** >>=20 >> testbox# mount /dev/ad14.eli /usr/home/bernt/disk8 >>=20 >> testbox# mount | grep ad14 >> /dev/ad14.eli on /usr/home/bernt/disk8 (ufs, local, soft-updates) >> testbox >>=20 >>> Possibly, you have a weird mount option being passed to the mountpoint, >>> that is preventing you from building ports at this location. >>>=20 >>> On a side note, why exactly do you need ports on an encrypted gli >>> conainer? >>=20 >> It's not a need per se only so I could rule out any space issue. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >>=20 >>=20