[PC-BSD Pbi-dev] Permission problem during the build

Ken Moore ken at pcbsd.org
Mon Sep 23 10:05:31 PDT 2013


On 09/22/2013 17:15, charles wrote:
> Hi,
>
> I'm using EasyPbi to create a PBI but I have a compile error on 
> kdehier, it tries to do an "ln -sf" and fail on this.
>
>
> Compiling port: /usr/ports/misc/kdehier4
>
> ===> No user-specified options configured for kdehier4-1.1.1
>
> ===> Cleaning for kdehier4-1.1.1
>
> ===> kdehier4-1.1.1 depends on file: /usr/pbi/ninja-ide-amd64/sbin/pkg 
> - found
>
> ===> Fetching all distfiles required by kdehier4-1.1.1 for building
>
> ===> Extracting for kdehier4-1.1.1
>
> ===> Patching for kdehier4-1.1.1
>
> ===> Configuring for kdehier4-1.1.1
>
> ===> Installing for kdehier4-1.1.1
>
> ===> Generating temporary packing list
>
> /bin/mkdir -p /usr/pbi/ninja-ide-amd64/etc/dbus-1
>
> install -o root -g wheel -m 444 
> /usr/wrkdirprefix/usr/ports/misc/kdehier4/work/session-kde4.conf 
> /usr/pbi/ninja-ide-amd64/etc/dbus-1
>
> install -o root -g wheel -m 444 
> /usr/wrkdirprefix/usr/ports/misc/kdehier4/work/system-kde4.conf 
> /usr/pbi/ninja-ide-amd64/etc/dbus-1
>
> /bin/ln -sf /usr/pbi/ninja-ide-amd64/etc/pam.d /usr/local/etc/
>
> ln: /usr/local/etc//pam.d: Operation not permitted
>
> *** [do-install] Error code 1
>
>
> Stop in /usr/ports/misc/kdehier4.
>
> BUILDERROR1!!
>
> ===> Installing for kdehier4-1.1.1
>
> ===> Generating temporary packing list
>
> /bin/mkdir -p /usr/pbi/ninja-ide-amd64/etc/dbus-1
>
> install -o root -g wheel -m 444 
> /usr/wrkdirprefix/usr/ports/misc/kdehier4/work/session-kde4.conf 
> /usr/pbi/ninja-ide-amd64/etc/dbus-1
>
> install -o root -g wheel -m 444 
> /usr/wrkdirprefix/usr/ports/misc/kdehier4/work/system-kde4.conf 
> /usr/pbi/ninja-ide-amd64/etc/dbus-1
>
> /bin/ln -sf /usr/pbi/ninja-ide-amd64/etc/pam.d /usr/local/etc/
>
> ln: /usr/local/etc//pam.d: Operation not permitted
>
> *** [do-install] Error code 1
>
>
> Stop in /usr/ports/misc/kdehier4.
>
> ===> Cleaning for kdehier4-1.1.1
>
> ERROR: make install of devel/ninja-ide failed!
>
> Cleaning /usr/pbi/ninja-ide-amd64.chroot.10686
>
>
>
>
> _______________________________________________
> Pbi-dev mailing list
> Pbi-dev at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/pbi-dev

Two questions immediately come to mind:
1) Is your ports tree up-to-date? Usually that fixes this type of error 
because the port maintainers are pretty good about making sure that the 
port is not broken like this.

2) It looks like you are trying to make a PBI for devel/ninja-ide, which 
does not require any of the KDE ports (just python and the python/qt4 
bindings). So did you manually specify the inclusion of misc/kdehier4 
into the PBI for some reason?

-- 
~~ Ken Moore ~~
PC-BSD/iXsystems

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/pbi-dev/attachments/20130923/1ed62ca7/attachment.html>


More information about the Pbi-dev mailing list