Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 328021 - games-action/supertuxkart-0.6.2 fails to install
Summary: games-action/supertuxkart-0.6.2 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 23:55 UTC by Phil Stracchino (Unix Ronin)
Modified: 2010-07-14 16:34 UTC (History)
0 users

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 Phil Stracchino (Unix Ronin) 2010-07-12 23:55:20 UTC
games-action/supertuxkart-0.6.2 builds fine, but fails at the ebuild install stage because it tries to install several files twice in the same install command:

test -z "/usr/share/games/supertuxkart/data" || /bin/mkdir -p "/var/tmp/portage/games-action/supertuxkart-0.6.2/image//usr/share/games/supertuxkart/data"
 /usr/bin/install -c -m 644 ./stk_config.data ./coin_sign.items ./items.items ./bowling.projectile ./bubblegum.projectile ./cake.projectile ./plunger.projectile ./followtheleader.challenge ./anvil.collectable ./magnet.collectable ./parachute.collectable ./zipper.collectable ./bowling.projectile ./bubblegum.projectile ./cake.projectile ./plunger.projectile CREDITS '/var/tmp/portage/games-action/supertuxkart-0.6.2/image//usr/share/games/supertuxkart/data'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/games-action/supertuxkart-0.6.2/image//usr/share/games/supertuxkart/data/bowling.projectile' with `./bowling.projectile'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/games-action/supertuxkart-0.6.2/image//usr/share/games/supertuxkart/data/bubblegum.projectile' with `./bubblegum.projectile'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/games-action/supertuxkart-0.6.2/image//usr/share/games/supertuxkart/data/cake.projectile' with `./cake.projectile'
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/games-action/supertuxkart-0.6.2/image//usr/share/games/supertuxkart/data/plunger.projectile' with `./plunger.projectile'
make[3]: *** [install-dist_pkgdataDATA] Error 1


Examination shows that data/Makefile contains the following:

# grep -n -C3 find data/Makefile
247-top_srcdir = ..
248-SUBDIRS = fonts items karts models music po sfx textures tracks grandprix
249-dist_pkgdata_DATA = \
250: $(shell find $(srcdir) -name "*.data") \
251: $(shell find $(srcdir) -name "*.items") \
252: $(shell find $(srcdir) -name "*.projectile") \
253: $(shell find $(srcdir) -name "*.cup") \
254: $(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
255: $(shell find $(srcdir) -name "*.collectable") \
256: $(shell find $(srcdir) -name "*.projectile") \
257- CREDITS
258-
259-all: all-recursive


...And there's the problem.  Remove the duplicate line 256, and it's all happy.


Reproducible: Always

Steps to Reproduce:
1. emerge games-action/supertuxkart-0.6.2
2.
3.

Actual Results:  
Install step fails.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2010-07-14 16:34:22 UTC
fixed.  thanks for the bug report.