Mailinglist Archive: opensuse-buildservice (287 mails)

< Previous Next >
Re: [opensuse-buildservice] Permission denied error
  • From: Stanislav Brabec <sbrabec@xxxxxxx>
  • Date: Thu, 20 Sep 2007 18:25:59 +0200
  • Message-id: <1190305560.3638.154.camel@xxxxxxxxxxxxxx>
James Ogley wrote:
> Project: home:Riggwelter Package: bluez-gnome
> Build Log: http://build.opensuse.org/package/live_build_log?arch=i586&project=home%3ARiggwelter&repository=10.3&package=bluez-gnome
> 
> During the %install section, the following error occurs:
> 
> make install-data-hook
> make[3]: Entering directory `/usr/src/packages/BUILD/bluez-gnome-0.14'
> /var/tmp/bluez-gnome-0.14-build/usr/share/mime
> make[3]: execvp: /var/tmp/bluez-gnome-0.14-build/usr/share/mime:
> Permission denied
> make[3]: *** [install-data-hook] Error 127
> make[3]: Leaving directory `/usr/src/packages/BUILD/bluez-gnome-0.14'
> make[2]: *** [install-data-am] Error 2
> make[2]: Leaving directory `/usr/src/packages/BUILD/bluez-gnome-0.14'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/usr/src/packages/BUILD/bluez-gnome-0.14'
> make: *** [install-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.68099 (%install)
> 
> Should I file a bug report or is this my problem in some way?  I expect
> it's not as the only change I've made compared to the openSUSE package
> is to increase the version but want to check first.

Maybe you should configure with --disable-mime-install or similar option
and then add scriptlets:

%post
if test -x usr/bin/update-mime-database ; then
  usr/bin/update-mime-database usr/share/mime >/dev/null
fi

%postun
if test -x usr/bin/update-mime-database ; then
  usr/bin/update-mime-database usr/share/mime >/dev/null
fi

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: sbrabec@xxxxxxx
Lihovarsk√° 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                                http://www.suse.cz/

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
References