Mailinglist Archive: opensuse-buildservice (83 mails)

< Previous Next >
[opensuse-buildservice] permission denied on SLES
Hello All,

I'm trying to fix a package build on SLES and I would have thought
adding norootforbuild would have fixed it but it's still happening.
When the build is Processing files it can't find file files and during
%doc execution I'm getting permission denied to create the %docdir.

I feel like this should be trivial and staring me right in the face.
Can someone talk a look at this?

[ 3s] Processing files: jakarta-commons-dbcp-src-1.2.2-0
[ 3s] error: File not found: /usr/src/commons-dbcp
[ 3s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.68448
[ 3s] + umask 022
[ 3s] + cd /usr/src/packages/BUILD
[ 3s] + cd commons-dbcp-1.2.2-src
[ 3s] + DOCDIR=/usr/share/doc/packages/jakarta-commons-dbcp-src
[ 3s] + export DOCDIR
[ 3s] + rm -rf /usr/share/doc/packages/jakarta-commons-dbcp-src
[ 3s] + /bin/mkdir -p /usr/share/doc/packages/jakarta-commons-dbcp-src
[ 3s] /bin/mkdir: cannot create directory
`/usr/share/doc/packages/jakarta-commons-dbcp-src': Permission denied
[ 3s] error: Bad exit status from /var/tmp/rpm-tmp.68448 (%doc)
[ 3s] error: File not found: /usr/share/doc/packages/jakarta-commons-dbcp-src

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >