Weird stuff

Bernt Hansson bah at bananmonarki.se
Fri Dec 2 00:30:56 UTC 2011


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


More information about the freebsd-questions mailing list