Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224505 - sys-power/iasl-20080514 src_test fails
Summary: sys-power/iasl-20080514 src_test fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-01 17:39 UTC by Pinky
Modified: 2008-06-07 02:56 UTC (History)
1 user (show)

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


Attachments
iasl-20080514.ebuild.patch (iasl-20080514.ebuild.patch,754 bytes, patch)
2008-06-01 20:37 UTC, Marek Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pinky 2008-06-01 17:39:43 UTC
sys-power/iasl-20080514 does not build

Reproducible: Always




 * ERROR: sys-power/iasl-20080514 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2472:  Called die
 * The specific snippet of code:
 *           cd "${ASLTSDIR}"/tmp/RESULTS || die "cd ${ASLTSDIR}/tmp/RESULTS failed";
 *  The die message:
 *   cd /tmp/RESULTS failed

---

for some reason ${ASLTSDIR} is not exported
Comment 1 Marek Miller 2008-06-01 19:05:42 UTC
Try
 FEATURES="test" USE="test" emerge -v1 =iasl-20080514

I think the reason is that ASLTSDIR is exported by aslts_test(), which is called by src_test(), which is called only if FEATURES="test" is enabled. If such behavior is not a bug, the user should be at least informed about it.
Comment 2 Marek Miller 2008-06-01 20:36:30 UTC
I suggest removing IUSE="test" entirely
and checking only portage FEATURES.
This patch seems to work for me.
Comment 3 Marek Miller 2008-06-01 20:37:17 UTC
Created attachment 155157 [details, diff]
iasl-20080514.ebuild.patch
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-07 02:56:20 UTC
Fixed. Don't use =~ in the bash constructs. Not safe on older versions.