Date: Thu, 01 Dec 2011 11:14:10 -0500 From: Greg Larkin <glarkin@FreeBSD.org> To: Bernt Hansson <bah@bananmonarki.se> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: Re: Weird stuff Message-ID: <4ED7A7D2.1030500@FreeBSD.org> In-Reply-To: <4ED7A319.8020402@bananmonarki.se> References: <4ED78337.1070601@bananmonarki.se> <4ED78AFE.4000402@FreeBSD.org> <4ED7A319.8020402@bananmonarki.se>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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? 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? Do you have an /etc/make.conf file, and if so, what are the contents? What is the output of the following commands? ls -l /var/db/ports/jasper cat /var/db/ports/jasper/options Regards, Greg -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7Xp9IACgkQ0sRouByUApAwPgCfd00wf5oxpdSWQQoGw9H3DZb1 gosAn27BTLABAckWgIrJwmqhlOkFzAlP =Ymv+ -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED7A7D2.1030500>