Bug 14197

Summary: hardcoded Perl version causes fail
Product: Mageia Reporter: Curtis Hildebrand <curtis_mageia>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: anaselli, rverschelde
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: frozen-bubble-2.212.0-21.mga5.src.rpm CVE:
Status comment:

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