← Back to team overview

registry team mailing list archive

[Bug 199134] Re: Perl upgrade breaks gnome system tools

 

Launchpad has imported 4 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=16642.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-07-08T11:56:40+00:00 Emilio Pozuelo Monfort wrote:

Created an attachment (id=17579)
Use the system perl

>From https://bugs.launchpad.net/bugs/199134

Some s-t-b scripts don't use the system perl, which could lead to a
broken gnome-system-tools if the user installs a broken perl.

The attached patch fixes this by setting the shebang to /usr/bin/perl

Reply at: https://bugs.launchpad.net/system-tools-
backends/+bug/199134/comments/4

------------------------------------------------------------------------
On 2009-08-19T02:00:14+00:00 Milan Bouchet-Valat wrote:

Not sure that's the perfect fix. What if we want to use a custom version
of perl, say using jhbuild? Shouldn't 'env perl' return the default perl
interpreter, and not some random one? Just trying to work things out.

Reply at: https://bugs.launchpad.net/system-tools-
backends/+bug/199134/comments/5

------------------------------------------------------------------------
On 2009-08-19T19:09:32+00:00 Emilio Pozuelo Monfort wrote:

I think the common practice is to use the system one:

emilio@saturno:/usr/bin$ grep -E "\#\! ?/usr/bin/env perl" * | wc -l
12
emilio@saturno:/usr/bin$ grep -E "\#\! ?/usr/bin/perl" * | wc -l
350
emilio@saturno:/usr/bin$

Reply at: https://bugs.launchpad.net/system-tools-
backends/+bug/199134/comments/6

------------------------------------------------------------------------
On 2009-08-31T06:03:54+00:00 Milan Bouchet-Valat wrote:

Well, with such statistics, I'd need strong arguments, which I don't
really have. ;-)

It just feels strange to me that you don't have any way to use a custom
perl for a given program if you want, just like you build it against a
custom library. But I don't think anybody will want to do that with the
stb, so better prevent breaking them.

Pushed as 2916c228e818dca562a963958f3f5db40d579018 (I've fixed a few
more files that still used /usr/bin/env). Thanks for that patch!

Reply at: https://bugs.launchpad.net/system-tools-
backends/+bug/199134/comments/7


** Changed in: system-tools-backends
   Importance: Unknown => Medium

-- 
Perl upgrade breaks gnome system tools
https://bugs.launchpad.net/bugs/199134
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for system-tools-backends.