Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261370 - games-misc/fortune-mod-gentoo-dev-20090305 fails to install
Summary: games-misc/fortune-mod-gentoo-dev-20090305 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 22:01 UTC by Davide Pesavento
Modified: 2009-03-05 22:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento (RETIRED) gentoo-dev 2009-03-05 22:01:09 UTC
for i in gentoo-dev-off gentoo-dev-off.dat ; do \
                /usr/bin/install -c -m0644 $i /var/tmp/portage/games-misc/fortune-mod-gentoo-dev-20090305/image//usr/share/fortune/off/${i/-off} || exit 1 ; \
        done
/bin/sh: Bad substitution
make: *** [install_gentoo-dev-off] Error 2
make: *** Waiting for unfinished jobs....
 *
 * ERROR: games-misc/fortune-mod-gentoo-dev-20090305 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line  162:  Called die
 * The specific snippet of code:
 *       emake install DESTDIR="${D}" || die "emake install failed"
 *  The die message:
 *   emake install failed
 *

The parameter expansion $${i/-off} (in Makefile) is a bashism. Just replace it with $${i%-off}.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-05 22:06:27 UTC
Reassigning to maintainer, CCing games herd.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-03-05 22:35:43 UTC
InCVS.