Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679730 - games-action/minetest-5.0.0 version bump
Summary: games-action/minetest-5.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: William Breathitt Gray
URL: https://github.com/minetest/minetest/...
Whiteboard:
Keywords: PullRequest
: 680630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-08 02:37 UTC by tonemgub
Modified: 2019-04-10 04:42 UTC (History)
6 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 tonemgub 2019-03-08 02:37:07 UTC
News: Major release 5.0.0 out. (March 5th 2019)

Please note: According to our versioning scheme, 5.0.0 is a breaking release and not compatible to the 0.4 series.
This applies to clients and servers, other content such as mods, texture packs and worlds is unaffected and backwards-compatible as usual.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-17 14:20:46 UTC
*** Bug 680630 has been marked as a duplicate of this bug. ***
Comment 2 tonemgub 2019-03-20 00:32:43 UTC
Just tested the proposed pull in local overlay. It looks like dev-libs/jsoncpp no longer optional component.

games-action/minetest-5.0.0::local-overlay was built with the following:
USE="curl leveldb ncurses nls server sound truetype -dedicated -doc -jsoncpp -luajit -postgres -redis -spatial"


minetest: error while loading shared libraries: libjsoncpp.so: cannot open shared object file: No such file or directory

Installing jsoncpp solved this issue. It should be a mandatory component or a patch applied to make it non-mandatory.
Comment 3 William Breathitt Gray 2019-03-20 04:49:53 UTC
(In reply to tonemgub from comment #2)
> Just tested the proposed pull in local overlay. It looks like
> dev-libs/jsoncpp no longer optional component.
> 
> games-action/minetest-5.0.0::local-overlay was built with the following:
> USE="curl leveldb ncurses nls server sound truetype -dedicated -doc -jsoncpp
> -luajit -postgres -redis -spatial"
> 
> 
> minetest: error while loading shared libraries: libjsoncpp.so: cannot open
> shared object file: No such file or directory
> 
> Installing jsoncpp solved this issue. It should be a mandatory component or
> a patch applied to make it non-mandatory.

Do you see the same issue when compiling Minetest 0.4.17.1?

Would you be able to upload a capture of the configure script output? When "-DENABLE_SYSTEM_JSONCPP=no" is passed in, the bundled JSONCPP should be used; so I expect to see a line that says "-- Using bundled JSONCPP library." in the output.
Comment 4 Red 2019-04-02 06:59:12 UTC
A minor update v5.0.1 to games-action/minetest and games-action/minetest_game has since been released on March 31, 2019:

https://dev.minetest.net/Changelog#5.0.0_.E2.86.92_5.0.1

https://github.com/minetest/minetest/releases
https://github.com/minetest/minetest_game/releases
Comment 5 Larry the Git Cow gentoo-dev 2019-04-09 08:07:43 UTC
The bug has been closed via the following commit(s):

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

commit 8f65ceefc10565c1613551b9f1f9b55a65109896
Author:     William Breathitt Gray <vilhelm.gray@gmail.com>
AuthorDate: 2019-03-08 10:26:45 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2019-04-09 07:33:25 +0000

    games-action/minetest: version bump to 5.0.1.
    
    A pkg_postinst message is added to notify users the 5.x series is not
    compatible to the 0.4 series. The ebuild is updated to EAPI 7 and the
    gnome2_utils eclass is replaced with the xdg eclass.
    
    Closes: https://bugs.gentoo.org/679730
    Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/11568
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 games-action/minetest/Manifest              |   1 +
 games-action/minetest/minetest-5.0.1.ebuild | 145 ++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+)
Comment 6 Alexander Weber 2019-04-09 20:12:31 UTC
The issue with jsoncpp seemst still not be solved. Merged the Minetest 5.0.1 today from portage without issues, but I cannot start the game. Error message is

$ minetest 
minetest: error while loading shared libraries: libjsoncpp.so: cannot open shared object file: No such file or directory
Comment 7 Red 2019-04-09 21:05:08 UTC
See bug 682960

games-action/minetest_game should be upgraded to v5.0.1 as well.
Comment 8 Red 2019-04-09 22:26:05 UTC
I am unable to build v5.0.1 at all. It ends with this error:

Traceback (most recent call last):
  File "/usr/lib/portage/python3.6/doins.py", line 611, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/portage/python3.6/doins.py", line 602, in main
    os.path.dirname(source)):
  File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins
    return install_runner.install_file(source, os.path.dirname(dest))
  File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file
    return self._ins_runner.run(source, dest_dir)
  File "/usr/lib/portage/python3.6/doins.py", line 195, in run
    sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'/doc/html/.'
Comment 9 William Breathitt Gray 2019-04-09 22:54:42 UTC
(In reply to Alexander Weber from comment #6)
> The issue with jsoncpp seemst still not be solved. Merged the Minetest 5.0.1
> today from portage without issues, but I cannot start the game. Error
> message is
> 
> $ minetest 
> minetest: error while loading shared libraries: libjsoncpp.so: cannot open
> shared object file: No such file or directory

Create a new Bugzilla issue for this and attach a build log there. The minetest configure script should be defaulting to the bundled jsoncpp in this case, so let's figure out what's happening.
Comment 10 William Breathitt Gray 2019-04-09 22:56:01 UTC
(In reply to Red from comment #8)
> I am unable to build v5.0.1 at all. It ends with this error:
> 
> Traceback (most recent call last):
>   File "/usr/lib/portage/python3.6/doins.py", line 611, in <module>
>     sys.exit(main(sys.argv[1:]))
>   File "/usr/lib/portage/python3.6/doins.py", line 602, in main
>     os.path.dirname(source)):
>   File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins
>     return install_runner.install_file(source, os.path.dirname(dest))
>   File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file
>     return self._ins_runner.run(source, dest_dir)
>   File "/usr/lib/portage/python3.6/doins.py", line 195, in run
>     sstat = os.stat(source)
> FileNotFoundError: [Errno 2] No such file or directory: b'/doc/html/.'

This appears to be different from Alexander Weber's jsoncpp problem so create a new bugzilla issue for this one and also provide a build log so we can troubleshoot.
Comment 11 Red 2019-04-09 23:37:25 UTC
(In reply to William Breathitt Gray from comment #10)
> (In reply to Red from comment #8)
> > I am unable to build v5.0.1 at all. It ends with this error:
> > 
> > Traceback (most recent call last):
> >   File "/usr/lib/portage/python3.6/doins.py", line 611, in <module>
> >     sys.exit(main(sys.argv[1:]))
> >   File "/usr/lib/portage/python3.6/doins.py", line 602, in main
> >     os.path.dirname(source)):
> >   File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins
> >     return install_runner.install_file(source, os.path.dirname(dest))
> >   File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file
> >     return self._ins_runner.run(source, dest_dir)
> >   File "/usr/lib/portage/python3.6/doins.py", line 195, in run
> >     sstat = os.stat(source)
> > FileNotFoundError: [Errno 2] No such file or directory: b'/doc/html/.'
> 
> This appears to be different from Alexander Weber's jsoncpp problem so
> create a new bugzilla issue for this one and also provide a build log so we
> can troubleshoot.

Bug 682988 filed with build log attached.

I do not have the jsoncpp problem and am able to build and run the program with USE=-doc.