From owner-freebsd-questions@FreeBSD.ORG Fri Dec 2 00:53:37 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 31F6D106564A; Fri, 2 Dec 2011 00:53:37 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 9819A8FC15; Fri, 2 Dec 2011 00:53:36 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id pB20rYXU047139; Fri, 2 Dec 2011 01:53:35 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <4ED8218D.9@bananmonarki.se> Date: Fri, 02 Dec 2011 01:53:33 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111118 Thunderbird/8.0 MIME-Version: 1.0 To: Chris Brennan References: <4ED78337.1070601@bananmonarki.se> <4ED78AFE.4000402@FreeBSD.org> <4ED7A319.8020402@bananmonarki.se> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: glarkin@freebsd.org, FreeBSD Questions Subject: Re: Weird stuff 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: Fri, 02 Dec 2011 00:53:37 -0000 2011-12-01 17:13, Chris Brennan skrev: > On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hansson wrote: > > 2011-12-01 15:11, Greg Larkin skrev: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> >>> On 12/1/11 8:37 AM, Bernt Hansson wrote: >>> >>>> Hello list! >>>> >>>> Trying to upgrade 3:d party stuff. >>>> >>>> Only get errors. What gives? >>>> >>>> ---> Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10' >>>> (graphics/jasper) >>>> ---> Building '/usr/ports/graphics/jasper' >>>> ===> Cleaning for jasper-1.900.1_10 >>>> cd /usr/home/bernt/disk8/ports/**graphics/jasper&& make config; >>>> >>>> ===> Cannot create , check permissions >>>> *** Error code 1 >>>> >>>> Stop in /usr/home/bernt/disk8/ports/**graphics/jasper. >>>> *** Error code 1 >>>> >>>> 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=portupgrade >>>> UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make >>>> DEPENDS_TARGET=package >>>> ** Fix the problem and try again. >>>> >>>> Permission is 777 >>>> >>> >>> Hi Bernt, >>> >>> Reading through /usr/ports/Mk/bsd.port.mk, the "check permissions" >>> message is emitted when certain directories cannot be created. >>> >>> Are you running the upgrade as the root user? I would be interested in >>> seeing the output of the following command sequence: >>> >>> cd /usr/ports/graphics/jasper >>> make -V SU_CMD >>> make -V UID >>> make -V OPTIONSFILE >>> >> >> %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 >> >> >> >>> Also, what happens if you simply do this: >>> >>> cd /usr/ports/graphics/jasper&& make config >>> >>> >> testbox# cd /usr/ports/graphics/jasper&& make config >> >> ===> Cannot create , check permissions >> *** Error code 1 >> >> Stop in /usr/home/bernt/disk8/ports/**graphics/jasper. >> >> I did this also, as root >> >> cd /usr/ports (it's a link) >> mkdir 1 >> >> cd /usr/home/bernt/disk8/ports/graphics/jasper >> >> mkdir 1 >> mkdir: 1: File exists >> >> Creating files/dirs don't seem to be a problem. >> >> /dev/ad0s2g 8.7G 8.3G -322M 104% /usr >> /dev/ad14.eli 902G 126G 775G 14% /usr/home/bernt/disk8 >> > > I'm gonna take a stab in the dark here, paste the result of the following > cmd: > > mount | grep ad14 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) ***** FILE SYSTEM IS CLEAN ***** testbox# mount /dev/ad14.eli /usr/home/bernt/disk8 testbox# mount | grep ad14 /dev/ad14.eli on /usr/home/bernt/disk8 (ufs, local, soft-updates) testbox > Possibly, you have a weird mount option being passed to the mountpoint, > that is preventing you from building ports at this location. > > On a side note, why exactly do you need ports on an encrypted gli conainer? It's not a need per se only so I could rule out any space issue.