[Bug 404439] New: wrong path in /etc/init.d/fb-server on 64bit
https://bugzilla.novell.com/show_bug.cgi?id=404439 Summary: wrong path in /etc/init.d/fb-server on 64bit Product: openSUSE 11.0 Version: Final Platform: 64bit OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: sndirsch@novell.com ReportedBy: mmarek@novell.com QAContact: sndirsch@novell.com CC: opensuse@dstoecker.de Found By: --- Hi, fb-server is installed in %{_libdir}/frozen-bubble/fb-server, but the init script expects it in /usr/lib/...: # rpm -e frozen-bubble-server error: %preun(frozen-bubble-server-2.1.0-159.x86_64) scriptlet failed, exit status 5 # bash -x /etc/init.d/fb-server stop + FB_SERVER_BIN=/usr/lib/frozen-bubble/fb-server + test -x /usr/lib/frozen-bubble/fb-server + exit 5 It should probably be installed in /usr/lib/ on all archs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404439 User opensuse@dstoecker.de added comment https://bugzilla.novell.com/show_bug.cgi?id=404439#c1 --- Comment #1 from Dirk Stoecker <opensuse@dstoecker.de> 2008-06-27 01:54:13 MDT --- There are two places, where this needs to be fixed: /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/fb_stuff.pm and /etc/init.d/fb-server I would vote for keeping lib64 and fixing these two places, thought I'm not the Suse packaging expert. Objections? If not I will do it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404439 User opensuse@dstoecker.de added comment https://bugzilla.novell.com/show_bug.cgi?id=404439#c2 --- Comment #2 from Dirk Stoecker <opensuse@dstoecker.de> 2008-06-27 03:56:22 MDT --- Ok. I checked in a change in games:. This should fix above problem as well as update the whole package to current SVN version, which the author started to make public after I nagged him for a long time :-) Most of the own patches are integrated now. The patch to fix this bug is a part of the spec-file only: @@ -115,10 +85,10 @@ %endif rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/fb_c_stuff/.packlist rm $RPM_BUILD_ROOT/var/adm/perl-modules/frozen-bubble -cp %{SOURCE4} $RPM_BUILD_ROOT%{perl_vendorarch} mkdir -p $RPM_BUILD_ROOT/etc/init.d -cp %{SOURCE5} $RPM_BUILD_ROOT/etc/init.d -cp %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT/usr/share/frozen-bubble/gfx/ +sed "s+\(FB_SERVER_BIN=\).*+\1%{_libdir}/frozen-bubble/fb-server+" %{SOURCE4}
$RPM_BUILD_ROOT/etc/init.d/fb-server +sed "s+\(FLPATH = '\).*'+\1%{_libdir}/frozen-bubble'+" c_stuff/lib/fb_stuff.pm c_stuff/lib/fb_stuff.pm_ +mv c_stuff/lib/fb_stuff.pm_ c_stuff/lib/fb_stuff.pm mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/ install -m 644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT/usr/share/pixmaps %if 0%{?suse_version}
Leaving bug open, as I cannot speak for the distribution version. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404439 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404439#c3 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2008-06-27 04:17:08 MDT --- Thanks a lot! Submitted for Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com