Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
Re: [opensuse-packaging] /usr/bin/mkdir: cannot create directory : Permission denied on build service
  • From: Robert Munteanu <robert.munteanu@xxxxxxxxx>
  • Date: Mon, 6 Apr 2015 10:57:14 +0300
  • Message-id: <CAC8ULPa5e1ZU7fFttqx_MZ=V1kHT9tiCE4vt8n8L3nZkakAFVA@mail.gmail.com>
On Mon, Apr 6, 2015 at 9:09 AM, <doiggl@xxxxxxxxxxxxxxxxxx> wrote:
[ 139s] + /usr/bin/mkdir /usr/include/apache2
[ 139s] /usr/bin/mkdir: cannot create directory '/usr/include/apache2':
Permission denied

Looks like your script does not create the directory in the right
location. Looking at your spec snippet:

/usr/bin/mkdir $(buildroot)/usr/include/apache2

You should either use %{buildroot} or $BUILDROOT.

Robert

--
http://robert.muntea.nu/
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
References