[opensuse-packaging] Errors during the erase of Hipo
Hi, I tried to do the rpm of Hipo ( http://www.gnome.org/projects/hipo/ ), wich i've inserted in the Buildservice on my home project (http://download.opensuse.org/repositories/home:/barravince112/), and if i would remove this package the pc says to me that is impossible, look at there: linux-xxxx:/home/barravince # rpm -e hipo-0.5-6.1 /var/tmp/rpm-tmp.42486: line 1: fg: no job control error: %postun(hipo-0.5-6.1.i586) scriptlet failed, exit status 1 What can it be? Best Regards Vincenzo --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Vincenzo Barranco (barravince@gmail.com) [20071123 17:13]:
linux-xxxx:/home/barravince # rpm -e hipo-0.5-6.1 /var/tmp/rpm-tmp.42486: line 1: fg: no job control
This usually indicates that a macro isn't available.
error: %postun(hipo-0.5-6.1.i586) scriptlet failed, exit status 1
As it says, the commands listed under %postun failed.
What can it be?
%postun %clean_icon_cache hicolor Find out where this macro is defined and either remove the %postun altogether or make shure your package requires the package providing that macro. BTW, there's a few nits I have with the package: %define name hipo %define version 0.5 This isn't needed as these are defined by these entries: Name: hipo Version: 0.5 ---------------------- Group: Sound This isn't a valid RPM group for openSUSE. Please check http://forge.novell.com/modules/xfcontent/private.php/library/SUSE%20Package... for possible groups. ---------------------- %build ./configure --prefix=%_prefix --libdir=%_prefix/lib What is installed in %_prefix/lib ? If any of these is architecture dependent, i.e. a binary file, it belongs in %_libdir (i.e. prefix/lib for i586 and prefix/lib64 for x86-64). ---------------------- %install rm -rf $RPM_BUILD_ROOT Either don't do this at all and rely on the build system to clean up things or add a 'mkdir $BUILD_ROOT' (without the -p option!) directly afterwards. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, So i've apparently setting up the new spec, but if i would like to update Hipo to the newer version in yast appears the same error, now there is a way to remove completely the old version of hipo, considering that forcing a erase option is not possible. Regards Vincenzo 2007/11/23, Philipp Thomas <pth@suse.de>:
* Vincenzo Barranco (barravince@gmail.com) [20071123 17:13]:
linux-xxxx:/home/barravince # rpm -e hipo-0.5-6.1 /var/tmp/rpm-tmp.42486: line 1: fg: no job control
This usually indicates that a macro isn't available.
error: %postun(hipo-0.5-6.1.i586) scriptlet failed, exit status 1
As it says, the commands listed under %postun failed.
What can it be?
%postun %clean_icon_cache hicolor
Find out where this macro is defined and either remove the %postun altogether or make shure your package requires the package providing that macro.
BTW, there's a few nits I have with the package:
%define name hipo %define version 0.5
This isn't needed as these are defined by these entries:
Name: hipo Version: 0.5
----------------------
Group: Sound
This isn't a valid RPM group for openSUSE. Please check http://forge.novell.com/modules/xfcontent/private.php/library/SUSE%20Package... for possible groups.
----------------------
%build ./configure --prefix=%_prefix --libdir=%_prefix/lib
What is installed in %_prefix/lib ? If any of these is architecture dependent, i.e. a binary file, it belongs in %_libdir (i.e. prefix/lib for i586 and prefix/lib64 for x86-64).
----------------------
%install rm -rf $RPM_BUILD_ROOT
Either don't do this at all and rely on the build system to clean up things or add a 'mkdir $BUILD_ROOT' (without the -p option!) directly afterwards.
Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, I've resolved, because there was some problem with %postun, sorry. Regards Vincenzo 2007/11/24, Vincenzo Barranco <barravince@gmail.com>:
Hi, So i've apparently setting up the new spec, but if i would like to update Hipo to the newer version in yast appears the same error, now there is a way to remove completely the old version of hipo, considering that forcing a erase option is not possible. Regards
Vincenzo
2007/11/23, Philipp Thomas <pth@suse.de>:
* Vincenzo Barranco (barravince@gmail.com) [20071123 17:13]:
linux-xxxx:/home/barravince # rpm -e hipo-0.5-6.1 /var/tmp/rpm-tmp.42486: line 1: fg: no job control
This usually indicates that a macro isn't available.
error: %postun(hipo-0.5-6.1.i586) scriptlet failed, exit status 1
As it says, the commands listed under %postun failed.
What can it be?
%postun %clean_icon_cache hicolor
Find out where this macro is defined and either remove the %postun altogether or make shure your package requires the package providing that macro.
BTW, there's a few nits I have with the package:
%define name hipo %define version 0.5
This isn't needed as these are defined by these entries:
Name: hipo Version: 0.5
----------------------
Group: Sound
This isn't a valid RPM group for openSUSE. Please check http://forge.novell.com/modules/xfcontent/private.php/library/SUSE%20Package... for possible groups.
----------------------
%build ./configure --prefix=%_prefix --libdir=%_prefix/lib
What is installed in %_prefix/lib ? If any of these is architecture dependent, i.e. a binary file, it belongs in %_libdir (i.e. prefix/lib for i586 and prefix/lib64 for x86-64).
----------------------
%install rm -rf $RPM_BUILD_ROOT
Either don't do this at all and rely on the build system to clean up things or add a 'mkdir $BUILD_ROOT' (without the -p option!) directly afterwards.
Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Philipp Thomas <pth@suse.de> [071123 18:29]:
* Vincenzo Barranco (barravince@gmail.com) [20071123 17:13]:
%build ./configure --prefix=%_prefix --libdir=%_prefix/lib
./configure --prefix=%_prefix --libdir=%_libdir that will always work and is identical to your line on ix86. see /usr/lib/rpm/$arch-linux/macros Stefan -- SUSE LINUX Products GmbH GF: Markus Rex, HRB 16746 (AG Nuernberg)) Maxfeldstr. 5 / D-90409 Nuernberg / Phone: +49-911-740 53 - 0 GPG 1024D/91614BBC B226 E3DA 37B0 2170 7403 D19C 18AF E579 9161 4BBC
participants (3)
-
Philipp Thomas
-
Stefan Fent
-
Vincenzo Barranco