Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 165924

Summary: sys-devel/gnuconfig-20070118 fails test phase due to sh-incompatible script
Product: Gentoo/Alt Reporter: Emanuele A. Bagnaschi (Zephyrus) <zephyrus.271>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: test scripts patch to provide sh-compatible functions definition
Modified ebuild to apply the proposed patch

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