From owner-freebsd-questions@FreeBSD.ORG Fri Dec 2 00:30:55 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 BF0391065670; Fri, 2 Dec 2011 00:30:55 +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 28B528FC12; Fri, 2 Dec 2011 00:30:54 +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 pB20UpZA046547; Fri, 2 Dec 2011 01:30:52 +0100 (CET) (envelope-from bah@bananmonarki.se) Message-ID: <4ED81C3B.10905@bananmonarki.se> Date: Fri, 02 Dec 2011 01:30:51 +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: glarkin@freebsd.org References: <4ED78337.1070601@bananmonarki.se> <4ED78AFE.4000402@FreeBSD.org> <4ED7A319.8020402@bananmonarki.se> <4ED7A7D2.1030500@FreeBSD.org> In-Reply-To: <4ED7A7D2.1030500@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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:30:56 -0000 2011-12-01 17:14, Greg Larkin skrev: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 12/1/11 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 >> > > Does /usr/ports link directly to > /usr/home/bernt/disk8/ports/graphics/jasper? No, it's a link from /usr/ports to /usr/home/bernt/disk8/ports > I wouldn't expect that's > the case, but that's what the transcript above implies. > > Does this problem happen with other ports as well or just graphics/jasper? ---> ** Upgrade tasks 10: 0 done, 0 ignored, 0 skipped and 9 failed ---> Upgrade of multimedia/vlc started at: Fri, 02 Dec 2011 01:20:54 +0100 ---> Upgrading 'vlc-1.1.11_3,3' to 'vlc-1.1.12,3' (multimedia/vlc) OK? [yes] ---> Build of multimedia/vlc started at: Fri, 02 Dec 2011 01:20:55 +0100 ---> Building '/usr/ports/multimedia/vlc' ===> Cleaning for vlc-1.1.12,3 cd /usr/home/bernt/disk8/ports/multimedia/vlc && make config; ===> Cannot create , check permissions *** Error code 1 Stop in /usr/home/bernt/disk8/ports/multimedia/vlc. *** Error code 1 Stop in /usr/home/bernt/disk8/ports/multimedia/vlc. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20111202-3139-oh1rz5-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=vlc-1.1.11_3,3 UPGRADE_PORT_VER=1.1.11_3,3 make ** Fix the problem and try again. ---> Build of multimedia/vlc ended at: Fri, 02 Dec 2011 01:20:57 +0100 (consumed 00:00:02) ---> Upgrade of multimedia/vlc ended at: Fri, 02 Dec 2011 01:20:57 +0100 (consumed 00:00:03) ---> ** Upgrade tasks 10: 0 done, 0 ignored, 0 skipped and 10 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! x11/pixman (pixman-0.22.2) (unknown build error) ! x11/babl (babl-0.1.4) (unknown build error) ! x11/xterm (xterm-276) (unknown build error) ! graphics/jasper (jasper-1.900.1_9) (unknown build error) ! news/pan (pan-0.134) (unknown build error) ! graphics/inkscape (inkscape-0.48.1_3) (unknown build error) ! graphics/gegl (gegl-0.1.6_1) (unknown build error) ! graphics/gimp-app (gimp-app-2.6.11_4,1) (unknown build error) ! multimedia/audacious-plugins (audacious-plugins-2.5.4_1) (unknown build error) ! multimedia/vlc (vlc-1.1.11_3,3) (unknown build error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 10 failed ---> Session ended at: Fri, 02 Dec 2011 01:20:57 +0100 (consumed 00:01:30) > Do you have an /etc/make.conf file, and if so, what are the contents? # added by use.perl 2011-11-12 09:33:03 PERL_VERSION=5.12.4 > > What is the output of the following commands? > > ls -l /var/db/ports/jasper testbox# ls -l /var/db/ports/jasper ls: /var/db/ports/jasper: No such file or directory testbox# > cat /var/db/ports/jasper/options testbox# cat /var/db/ports/jasper/options cat: /var/db/ports/jasper/options: No such file or directory testbox# /Bernt