Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165924 - sys-devel/gnuconfig-20070118 fails test phase due to sh-incompatible script
Summary: sys-devel/gnuconfig-20070118 fails test phase due to sh-incompatible script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-08 15:30 UTC by Emanuele A. Bagnaschi (Zephyrus)
Modified: 2007-08-06 13:43 UTC (History)
0 users

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


Attachments
test scripts patch to provide sh-compatible functions definition (gnuconfig-20070118-test.patch,680 bytes, patch)
2007-02-08 15:30 UTC, Emanuele A. Bagnaschi (Zephyrus)
Details | Diff
Modified ebuild to apply the proposed patch (gnuconfig-20070118.ebuild,874 bytes, text/plain)
2007-02-08 15:31 UTC, Emanuele A. Bagnaschi (Zephyrus)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele A. Bagnaschi (Zephyrus) 2007-02-08 15:30:01 UTC
Emerging sys-devel/gnuconfig-200701 with test FEATURES enabled fails due to sh-incompatible functions definition - specifically using the "function" keyword.

In particular, the testing scripts shipped with the package contains the following, problematic, declarations:
function run_config_sub ()
function run_config_guess ()

The correct sh-compatible declaration would be:
run_config_sub ()
run_config_guess ()

With these two changes the package emerge successfully.

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/gnuconfig-20070118
2.
3.
Comment 1 Emanuele A. Bagnaschi (Zephyrus) 2007-02-08 15:30:51 UTC
Created attachment 109544 [details, diff]
test scripts patch to provide sh-compatible functions definition
Comment 2 Emanuele A. Bagnaschi (Zephyrus) 2007-02-08 15:31:14 UTC
Created attachment 109545 [details]
Modified ebuild to apply the proposed patch
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-08-06 13:43:14 UTC
This is already fixed, thanks