Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419735 - net-print/cups-1.5.3: build fails due to bashism
Summary: net-print/cups-1.5.3: build fails due to bashism
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
: 419759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-05 10:59 UTC by Rasmus Thystrup Karstensen
Modified: 2012-06-07 19:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Change function prefix with () sufix. (cups-1.5.3_install-sh.patch,374 bytes, patch)
2012-06-05 13:46 UTC, Piotr Karbowski (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rasmus Thystrup Karstensen 2012-06-05 10:59:35 UTC
net-print/cups-1.5.3/work/cups-1.5.3/install-sh claims to be posix (#!/bin/sh) but use bashism.

quick fix: #!/bin/sh -> #!/bin/bash

I use dash as /bin/sh to ensure that I don't get away with bashism when writing shell scripts.


Reproducible: Always
Comment 1 Piotr Szymaniak 2012-06-05 13:42:23 UTC
@Rasmus
You don't have to CC yourself when you report a bug. :)
Comment 2 Piotr Szymaniak 2012-06-05 13:42:30 UTC
*** Bug 419759 has been marked as a duplicate of this bug. ***
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2012-06-05 13:46:32 UTC
Created attachment 314299 [details, diff]
Change function prefix with () sufix.

Real fix.
Comment 4 Piotr Karbowski (RETIRED) gentoo-dev 2012-06-07 19:02:53 UTC
*bump* can someone commit the fix? The issue is trivial, there is no way something could be wrong with fix, so maybe someone could merge it?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2012-06-07 19:43:13 UTC
(In reply to comment #4)
> *bump* can someone commit the fix? The issue is trivial, there is no way
> something could be wrong with fix, so maybe someone could merge it?

Applied thanks. 

Some of us do have a life apart from Gentoo, you know...
Comment 6 Piotr Karbowski (RETIRED) gentoo-dev 2012-06-07 19:46:38 UTC
(In reply to comment #5)
> Some of us do have a life apart from Gentoo, you know...

Of course, just wanted to bump it as many bugs with patch included stay unconfirmed and not resolved for even for months. Thanks for applying it!