Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Dec 2011 09:11: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:  <4ED78AFE.4000402@FreeBSD.org>
In-Reply-To: <4ED78337.1070601@bananmonarki.se>
References:  <4ED78337.1070601@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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


Also, what happens if you simply do this:

cd /usr/ports/graphics/jasper && make config


Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/           - The Power To Serve
http://www.sourcehosting.net/     - Ready. Set. Code.
http://twitter.com/cpucycle/      - Follow you, follow me
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xiv4ACgkQ0sRouByUApAoAQCgzkRr80OZkz4cIBAJmEGK4tzR
rm4An2+qDSo8SiBY7tDDkDJa6Jg+3Lf/
=8t74
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED78AFE.4000402>