Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 809356 - games-arcade/barbarian-bin (and others?): Games in /opt uses relative path in wrapper script; games do not start
Summary: games-arcade/barbarian-bin (and others?): Games in /opt uses relative path in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-21 08:48 UTC by Róbert Čerňanský
Modified: 2021-08-23 04:06 UTC (History)
2 users (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 Róbert Čerňanský 2021-08-21 08:48:53 UTC
Games that are installed in /opt uses relative 'opt' path in their wrapper script.  It then fails to find games executable with errors similar to this one:

/usr/bin/barbarian: line 2: cd: opt/barbarian: No such file or directory

For example, the wrapper script of games-arcade/barbarian-bin looks like:

#!/bin/sh
cd "opt/barbarian" &&
exec ./Barbarian "$@"

On line 2 it should be:

cd "/opt/barbarian" &&
Comment 1 Ionen Wolkens gentoo-dev 2021-08-21 09:00:33 UTC
Will need to find those individually because it's not all of them.

When sam migrated some of QA_PREBUILT ebuilds, removed the / (which is right for the QA_PREBUILT variable), but it broke other things in the rest of the ebuilds. I fixed a few of those as I randomly came across them but I guess there's more.
Comment 2 Ionen Wolkens gentoo-dev 2021-08-21 11:07:05 UTC
For now I'll just make this about the one you mentioned.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-21 12:19:12 UTC
Thanks!
Comment 4 Larry the Git Cow gentoo-dev 2021-08-23 04:06:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c394e4bca09bc08e384bed6f0d24bf621d1d7023

commit c394e4bca09bc08e384bed6f0d24bf621d1d7023
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:25:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:34 +0000

    games-action/beathazardultra: use non-relative wrapper path
    
    Closes: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 games-action/beathazardultra/beathazardultra-20130308-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b966f09f7f5761ae059e3bce032042bdc00aa7ff

commit b966f09f7f5761ae059e3bce032042bdc00aa7ff
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-22 02:30:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:06:03 +0000

    games-strategy/darwinia: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 ...{darwinia-1.4.0_beta9-r2.ebuild => darwinia-1.4.0_beta9-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51c0404f644252b49c6bf1532f41d57dc4486ec

commit a51c0404f644252b49c6bf1532f41d57dc4486ec
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:45:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:49 +0000

    games-puzzle/tiny-and-big: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{tiny-and-big-1.4.1-r1.ebuild => tiny-and-big-1.4.1-r2.ebuild}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b763af036279c4a765c840a25dfd9cae59ba690b

commit b763af036279c4a765c840a25dfd9cae59ba690b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:45:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:48 +0000

    games-puzzle/splice: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../splice/{splice-20121120-r1.ebuild => splice-20121120-r2.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b797f58e826a6dfd7593ca509238490c0fb826

commit 10b797f58e826a6dfd7593ca509238490c0fb826
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:44:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:47 +0000

    games-fps/ut2004-demo: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{ut2004-demo-3334-r2.ebuild => ut2004-demo-3334-r3.ebuild}      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6134838e901b9883d46b877534d756dd96a60489

commit 6134838e901b9883d46b877534d756dd96a60489
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:42:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:47 +0000

    games-fps/ezquake-bin: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{ezquake-bin-2.2-r2.ebuild => ezquake-bin-2.2-r3.ebuild}      | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15f57d15bd70ffc6783b67513c475caaf797d26a

commit 15f57d15bd70ffc6783b67513c475caaf797d26a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:42:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:46 +0000

    games-fps/etqw-demo: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{etqw-demo-2.0_p1-r3.ebuild => etqw-demo-2.0_p1-r4.ebuild}    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e10c83ad93e89723ad4c412e0f2fef6722e83449

commit e10c83ad93e89723ad4c412e0f2fef6722e83449
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:38:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:45 +0000

    games-fps/etqw-bin: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../etqw-bin/{etqw-bin-1.5-r3.ebuild => etqw-bin-1.5-r4.ebuild}     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72024b123dcb9ca6c3536a1f1e94e99d847d1a0c

commit 72024b123dcb9ca6c3536a1f1e94e99d847d1a0c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:34:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:43 +0000

    games-arcade/jardinains: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{jardinains-2.0-r2.ebuild => jardinains-2.0-r3.ebuild}          | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7d66fd91b05bd07589bdf53d9acef6650e7abc

commit bc7d66fd91b05bd07589bdf53d9acef6650e7abc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:34:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:42 +0000

    games-arcade/barbarian-bin: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{barbarian-bin-1.01-r2.ebuild => barbarian-bin-1.01-r3.ebuild}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d57a92f682000ec06585d465eb7590c4e2a84c

commit f2d57a92f682000ec06585d465eb7590c4e2a84c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:33:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:41 +0000

    games-arcade/aquaria: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../aquaria/{aquaria-1.1.3-r2.ebuild => aquaria-1.1.3-r3.ebuild}   | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9fe61b7e199c1a662c2511e40626ba275235d47

commit c9fe61b7e199c1a662c2511e40626ba275235d47
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:33:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:40 +0000

    games-action/swordandsworcery: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 ...{swordandsworcery-1.02-r1.ebuild => swordandsworcery-1.02-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe09a75780007e45d8a7a6e8a31ed162ecf25a4

commit 0fe09a75780007e45d8a7a6e8a31ed162ecf25a4
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:31:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:39 +0000

    games-action/intrusion2: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{intrusion2-1.024-r1.ebuild => intrusion2-1.024-r2.ebuild}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58f799e17de20e9934aee3244f480e63704a86a2

commit 58f799e17de20e9934aee3244f480e63704a86a2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:30:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:38 +0000

    games-action/hotline-miami: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 ....9a_p20140221-r2.ebuild => hotline-miami-1.0.9a_p20140221-r3.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b90e4033b8c3c9dc8446e9e134c69d02bd0eb278

commit b90e4033b8c3c9dc8446e9e134c69d02bd0eb278
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:30:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:37 +0000

    games-action/heretic2-demo: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{heretic2-demo-1.06a-r1.ebuild => heretic2-demo-1.06a-r2.ebuild}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a62535be47440fda515073f02eaf4445c46f6a3

commit 7a62535be47440fda515073f02eaf4445c46f6a3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:30:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:36 +0000

    games-action/descent3-demo: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 games-action/descent3-demo/descent3-demo-1.4.0a-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317942c459904d812c8119cbc1bcdb97b007f42c

commit 317942c459904d812c8119cbc1bcdb97b007f42c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:28:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:35 +0000

    games-action/descent3-demo: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 ...escent3-demo-1.4.0a-r1.ebuild => descent3-demo-1.4.0a-r2.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2699d84cf0b8f9705b9cb0f8e105674b6ebdab4c

commit 2699d84cf0b8f9705b9cb0f8e105674b6ebdab4c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-21 21:28:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-23 04:05:34 +0000

    games-action/crimsonland: use non-relative wrapper path
    
    Bug: https://bugs.gentoo.org/809356
    Signed-off-by: Sam James <sam@gentoo.org>

 games-action/crimsonland/crimsonland-1.3.5.ebuild | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)