Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99562 - games-arcade/mtp-target-bin-1.2.0 is broken
Summary: games-arcade/mtp-target-bin-1.2.0 is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 12:04 UTC by NightTwix
Modified: 2005-07-19 15:43 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 NightTwix 2005-07-19 12:04:58 UTC
im not able to start this game

$ mtp-target-bin-client 
/usr/games/bin/mtp-target-bin-client: line 2: cd: ./client: No such file or 
directory
/usr/games/bin/mtp-target-bin-client: line 4: /opt/mtp-target-bin/client: is a 
directory
/usr/games/bin/mtp-target-bin-client: line 4: exec: /opt/mtp-target-bin/client: 
cannot execute: Success


$ cat /usr/games/bin/mtp-target-bin-client 
#!/bin/sh
cd "./client"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:../lib"
exec /opt/mtp-target-bin/client "$@"

Right path to execuable should be /opt/mtp-target-bin/client/client
and path to lib is: /opt/mtp-target-bin/lib/

same goes for mtp-target-bin-server

Reproducible: Always
Steps to Reproduce:
1. emerge mtp-target-bin
2. start mtp-target-bin-server or mtp-target-bin-client
3.
Comment 1 UncleOwen 2005-07-19 15:35:18 UTC
Looks to me, like someone mixed up the order of the arguments to games_make_wrapper.
games_make_wrapper ${PN}-client "${GAMES_PREFIX_OPT}/${PN}/client" ./client ../lib
games_make_wrapper ${PN}-server "${GAMES_PREFIX_OPT}/${PN}/server" ./server ../lib
should be
games_make_wrapper ${PN}-client ./client "${GAMES_PREFIX_OPT}/${PN}/client" ../lib
games_make_wrapper ${PN}-server ./server "${GAMES_PREFIX_OPT}/${PN}/server" ../lib
shouldn't it?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-07-19 15:43:23 UTC
You are correct...

Fixed in CVS...