Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682996 - games-action/minetest_game-5.0.1 ignores -jsoncpp USE flag request
Summary: games-action/minetest_game-5.0.1 ignores -jsoncpp USE flag request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 04:40 UTC by William Breathitt Gray
Modified: 2019-04-10 22:20 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 William Breathitt Gray 2019-04-10 04:40:15 UTC
games-action/minetest_game-5.0.1 compiles without error with -jsoncpp USE flag option, but is still linked to libjsoncpp.so dynamic library.
Comment 1 William Breathitt Gray 2019-04-10 04:50:32 UTC
$ minetest
minetest: error while loading shared libraries: libjsoncpp.so: cannot open shared object file: No such file or directory

$ ldd /usr/bin/minetest 
	linux-vdso.so.1 (0x00007ffdb1b59000)
	libz.so.1 => /lib64/libz.so.1 (0x00007f9f0966c000)
	libIrrlicht.so.1.8 => /usr/lib64/libIrrlicht.so.1.8 (0x00007f9f09174000)
	libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f9f09033000)
	libopenal.so.1 => /usr/lib64/libopenal.so.1 (0x00007f9f08f53000)
	libvorbisfile.so.3 => /usr/lib64/libvorbisfile.so.3 (0x00007f9f08f49000)
	libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f9f08e15000)
	libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f9f08b9c000)
	libjsoncpp.so => not found
Comment 2 Red 2019-04-10 17:16:44 UTC
"Compiles?"

Shouldn't this be =games-action/minetest-5.0.1 then? Also, games-action/minetest_game is still at version 0.4.17.

I do not have this problem with =games-action/minetest-5.0.1 and =games-action/minetest_game-0.4.17
Comment 3 Red 2019-04-10 17:18:16 UTC
(In reply to Red from comment #2)
> "Compiles?"
> 
> Shouldn't this be =games-action/minetest-5.0.1 then? Also,
> games-action/minetest_game is still at version 0.4.17.
> 
> I do not have this problem with =games-action/minetest-5.0.1 and
> =games-action/minetest_game-0.4.17

games-action/minetest_game is at version 0.4.17 in the Gentoo repositories I mean.

It needs to be updated to 5.0.1, to match games-action/minetest.
(Although it seems to be compatible, though I haven't tested it much)
Comment 4 Larry the Git Cow gentoo-dev 2019-04-10 22:20:05 UTC
The bug has been closed via the following commit(s):

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

commit d26b3a32bc218398894096c050375d9fb457f23a
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-04-10 22:18:53 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-04-10 22:19:48 +0000

    games-action/minetest: Remove misleading USE=jsoncpp flag
    
    * dev-libs/jsoncpp is required unconditionally,
      USE=jsoncpp would just toggle between the bundled
      and system one, which is obviously wrong.
    
    Closes: https://bugs.gentoo.org/682996
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../minetest/{minetest-5.0.1.ebuild => minetest-5.0.1-r1.ebuild} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)