Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36547 - bashism in libtool

Attached to Project: Community Packages
Opened by Rasmus Thystrup Karstensen (rathka) - Thursday, 15 August 2013, 16:06 GMT
Last edited by Allan McRae (Allan) - Thursday, 15 August 2013, 21:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

after setting dash as default shell (symlink /bin/sh -> /bin/dash),
I had problems rebuilding packages (libgexiv2). I found the problem to be in /usr/bin/libtool,
which starts with:
'#! /bin/sh'

The script failed when using dash as /bin/sh

replacing '#! /bin/sh' with '#! /bin/bash' solved my problem.

This might be an upstream bug, but rebuilding libtool locally for investigation failed at my setup.

Additional info:
* package version(s)
* config and/or log files etc.

core/libtool 2.4.2-10
multilib/libtool-multilib 2.4.2-9

Steps to reproduce:

pacman -S dash
ln -fs /bin/dash /bin/sh

use makepkg to build libgexiv2
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 15 August 2013, 21:26 GMT
Reason for closing:  Won't fix
Comment by Dave Reisner (falconindy) - Thursday, 15 August 2013, 16:52 GMT
Would have been nice if you could have included the actual failure.

Regardless, what you're doing puts you well into unsupported territory since /bin/sh is a managed symlink.
Comment by Allan McRae (Allan) - Thursday, 15 August 2013, 21:26 GMT
Report bashism upstream. It is their job to fix it given we only support bin/sh -> bash

Loading...