Bug 26640 - automake generates projects that are not portable
Summary: automake generates projects that are not portable
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: Shlomi Fish
QA Contact:
URL: https://github.com/libexif/libexif/is...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-19 09:34 CEST by Dan Fandrich
Modified: 2020-05-19 12:00 CEST (History)
0 users

See Also:
Source RPM: automake-1.16.2-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Dan Fandrich 2020-05-19 09:34:30 CEST
Description of problem:
When automake is built, /usr/lib/rpm/redhat/brp-mangle-shebangs changes /bin/sh to /usr/bin/sh in the various helper scripts like /usr/share/automake-1.16/missing and /usr/share/automake-1.16/config.guess. This is fine on Magiea, except that these scripts are copied into packages that are intended to run on any *NIX system, including those that don't have /usr/bin/sh.

This mangling should be removed for these scripts so they remain portable.

Version-Release number of selected component (if applicable):
1.16.2-1

How reproducible:
It's a problem on systems that haven't done the usr merge.

Steps to Reproduce:
1. autoreconf -if some autoconf-using project
2. make a tar ball
3. extract that tar ball on another distro that hasn't done usr merge and try to configure it
Dan Fandrich 2020-05-19 09:34:51 CEST

Assignee: bugsquad => shlomif

Comment 1 Shlomi Fish 2020-05-19 11:07:57 CEST
(In reply to Dan Fandrich from comment #0)
> Description of problem:
> When automake is built, /usr/lib/rpm/redhat/brp-mangle-shebangs changes
> /bin/sh to /usr/bin/sh in the various helper scripts like
> /usr/share/automake-1.16/missing and /usr/share/automake-1.16/config.guess.
> This is fine on Magiea, except that these scripts are copied into packages
> that are intended to run on any *NIX system, including those that don't have
> /usr/bin/sh.
> 
> This mangling should be removed for these scripts so they remain portable.
> 
> Version-Release number of selected component (if applicable):
> 1.16.2-1
> 
> How reproducible:
> It's a problem on systems that haven't done the usr merge.
> 
> Steps to Reproduce:
> 1. autoreconf -if some autoconf-using project
> 2. make a tar ball
> 3. extract that tar ball on another distro that hasn't done usr merge and
> try to configure it

Thanks, Dan! Please try again with automake-1.16.2-2.mga8 which I submitted now: http://pkgsubmit.mageia.org/
Comment 2 Dan Fandrich 2020-05-19 12:00:56 CEST
That fixed it! Thanks for the quick turnaround.

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


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