Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687610 - games-arcade/jvgs: installs pre-compiled binary instead of the compiled one
Summary: games-arcade/jvgs: installs pre-compiled binary instead of the compiled one
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: PATCH
Depends on:
Blocks:
 
Reported: 2019-06-08 01:34 UTC by Samuel Bauer
Modified: 2021-02-01 02:07 UTC (History)
2 users (show)

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


Attachments
jvgs.patch (jvgs.patch,562 bytes, patch)
2019-06-08 01:34 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bauer 2019-06-08 01:34:33 UTC
Created attachment 579190 [details, diff]
jvgs.patch

1/ Tarball already contains a pre-compiled binary

it is uncompressed by portage as ${WORKDIR}/${P}-src/src/${PN}
then installed by: dobin src/${PN}

while the newly compiled binary lays in: ${WORKDIR}/${P}_build/src/${PN}
this one should be installed.

The pre-compiled binary is a 32-bit elf, which "may" not run on any platform.

jvgs: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.18, with debug_info, not stripped

here it's just complaining about missing lua, and would report no error at all if lua was compiled with abi_x86_32 (maybe some other package also)

jvgs: error while loading shared libraries: liblua.so ...

so revdep-rebuild always reports this package as broken.

this can be fixed by: dobin ${BUILD_DIR}/src/${PN}

2/ src_prepare
allows to launch the binary without specifying application path.
not really related to this bug.
Comment 1 Kobboi 2020-04-21 07:01:14 UTC
Same here.
Comment 2 Larry the Git Cow gentoo-dev 2021-02-01 02:07:29 UTC
The bug has been closed via the following commit(s):

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

commit df698e7fb683b112df9d75f19bbf5d82a4a8ae28
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-01 01:06:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-01 02:07:23 +0000

    games-arcade/jvgs: fix installed binary
    
    Actually install the binary we build.
    
    Thanks-to: Samuel Bauer <samuel.bauer@yahoo.fr>
    Closes: https://bugs.gentoo.org/687610
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 games-arcade/jvgs/jvgs-0.5-r1.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)