[Bug 229374] New: frozen-bubble MUST not touch /usr/local/
https://bugzilla.novell.com/show_bug.cgi?id=229374 Summary: frozen-bubble MUST not touch /usr/local/ Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: sndirsch@novell.com ReportedBy: meissner@novell.com QAContact: sndirsch@novell.com Not sure what exactly the purpose of the /usr/local things in frozen-bubble is, but a distribution shipped package should not modify stuff there. (at least in my opinion) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |meissner@novell.com ------- Comment #1 from sndirsch@novell.com 2006-12-18 10:28 MST ------- The purpose was to get it working. I tried hard to fix it differently but always failed in the end. Let me know, if you can find a solution. If you can't and /usr/local is not an option I'll need to drop it from the distribution. :-( -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2006-12-18 11:00 MST ------- You have already fixed it, but didn't notice. ;-) This is where you added the %post/%postun scriptlets: http://lists.opensuse.org/opensuse-commit/2006-10/msg01555.html And this is where you really fixed it: http://lists.opensuse.org/opensuse-commit/2006-10/msg01571.html What fixes it is the addition of DATADIR=/usr/share LIBDIR=%{_libdir} to the make variables. This is not a joke - I didn't test it, but you might want to test whether simply removing the %post/%postun scripts works. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 ------- Comment #3 from andreas.hanke@gmx-topmail.de 2006-12-18 11:18 MST ------- I have downloaded frozen-bubble-2.1.0-6.i586.rpm from Factory, unpackaged it with rpm2cpio, grepped everything (including binary files) for /usr/local and couldn't find anything suspicious. # find . -type f -exec grep -iH usr/local {} \; (no output) # find . -type f -exec grep -iH usr {} \; /usr/bin/frozen-bubble:#!/usr/bin/perl /usr/bin/frozen-bubble-editor:#!/usr/bin/perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/fb_stuff.pm:$FPATH = '/usr/share/frozen-bubble'; /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi/fb_stuff.pm:$FLPATH = '/usr/lib/frozen-bubble'; Übereinstimmungen in Binärdatei /usr/share/frozen-bubble/gfx/menu/anims/gfx-l1_0024.png. Übereinstimmungen in Binärdatei ./usr/share/frozen-bubble/gfx/backgrnd.png. Übereinstimmungen in Binärdatei /usr/share/frozen-bubble/gfx/pinguins/wait_rp4_0047.png. Übereinstimmungen in Binärdatei /usr/share/frozen-bubble/gfx/pinguins/loose_p1_0126.png. Übereinstimmungen in Binärdatei /usr/share/frozen-bubble/gfx/pinguins/wait_rp2_0027.png. Übereinstimmungen in Binärdatei /usr/share/frozen-bubble/snd/frozen-mainzik-1p.ogg. Looks all fine. Where would it need the symlinks in /usr/local? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 ------- Comment #4 from sndirsch@novell.com 2006-12-18 13:36 MST -------
Unfortunately your assumptions were wrong. After removing %post/%postun:
# frozen-bubble [*ERROR*] the datafiles seem to be missing! (could not read `/usr/local/share/frozen-bubble/gfx') The datafiles need to go to `/usr/local/share/frozen-bubble'. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 ------- Comment #5 from andreas.hanke@gmx-topmail.de 2006-12-18 13:59 MST ------- Strange, it works for me. (Really.) What values do you have for FPATH and FLPATH in fb_stuff.pm? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 ------- Comment #6 from andreas.hanke@gmx-topmail.de 2006-12-18 14:21 MST ------- I wonder how this is possible without any occurance of "/local" in the extracted binary package. Maybe you can try patching c_stuff/lib/fb_stuff.pm instead of relying on the Makefile substitution rule. -$FPATH = '@DATADIR@/frozen-bubble'; -$FLPATH = '@LIBDIR@/frozen-bubble'; +$FPATH = '/usr/share/frozen-bubble'; +$FLPATH = '/usr/lib/frozen-bubble'; That is, just use a patch for what should have happened while doing "make". -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 ------- Comment #7 from andreas.hanke@gmx-topmail.de 2006-12-18 14:25 MST ------- Do you maybe have another (old) copy of fb_stuff.pm somewhere else in the perl5 search path? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|meissner@novell.com | ------- Comment #8 from sndirsch@novell.com 2006-12-18 14:32 MST ------- (In reply to comment #5)
Strange, it works for me. (Really.)
What values do you have for FPATH and FLPATH in fb_stuff.pm?
$FPATH = '/usr/share/frozen-bubble'; $FLPATH = '/usr/lib/frozen-bubble'; (In reply to comment #7)
Do you maybe have another (old) copy of fb_stuff.pm somewhere else in the perl5 search path? Good catch! # find . -name fb_stuff.pm /site_perl/5.8.8/i586-linux-thread-multi/fb_stuff.pm /vendor_perl/5.8.8/i586-linux-thread-multi/fb_stuff.pm
After removing the unpackaged one fb2 finally works! Ouch! I'll remove bogus %post/%postun. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=229374 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #9 from sndirsch@novell.com 2006-12-18 14:35 MST ------- fixed in BS(games:action) and for 10.3. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com