Bug 14197 - hardcoded Perl version causes fail
Summary: hardcoded Perl version causes fail
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 19:38 CEST by Curtis Hildebrand
Modified: 2014-10-06 13:32 CEST (History)
2 users (show)

See Also:
Source RPM: frozen-bubble-2.212.0-21.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Curtis Hildebrand 2014-09-30 19:38:28 CEST
I'm not a coder, but I think I'm debugging this right:

~]$ frozen-bubble
bash: /usr/bin/frozen-bubble: /usr/bin/perl5.20.0: bad interpreter: No such file or directory

~]$ head /usr/bin/frozen-bubble
#!/usr/bin/perl5.20.0 

eval 'exec /usr/bin/perl5.20.0  -S $0 ${1+"$@"}'
    if 0; # not running under some shell
#*****************************************************************************
#
#                          Frozen-Bubble
#
# Copyright (c) 2000-2010 The Frozen-Bubble Team
#


Reproducible: 

Steps to Reproduce:
Comment 1 Rémi Verschelde 2014-10-06 11:12:39 CEST
Hi Curtis, it's likely to be a temporary issue that would get fixed if you update your system. I've tried frozen-bubble-2.212.0-22.mga5 and it does use /usr/bin/perl5.20.1, which is the current version in cauldron.

I don't close this bug though, because it's not that great generally speaking to have the perl version hardcoded in the script: we have to rebuild frozen-bubble at each perl update in cauldron. One of our perl packagers will have a look at this.

CC: (none) => remi

Rémi Verschelde 2014-10-06 11:16:06 CEST

CC: (none) => anaselli

Comment 2 Rémi Verschelde 2014-10-06 13:32:06 CEST
Fixed with http://svnweb.mageia.org/packages?view=revision&revision=737054
Now frozen-bubble looks for /usr/bin/perl and not /usr/bin/perl$(perl_version)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.