Summary: | games-board/dreamchess (New Package) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Bredbury <brebs> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | dbitsef, orzel, sunrise, xmw |
Priority: | High | Keywords: | EBUILD, InOverlay |
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.dreamchess.org/ | ||
Whiteboard: | sunrise-removal | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
dreamchess-0.1.0.ebuild
build.log dreamchess-0.2.1_rc2.ebuild dreamchess.png |
Description
Paul Bredbury
2007-10-04 21:15:10 UTC
Created attachment 132594 [details]
dreamchess-0.1.0.ebuild
DreamChess 0.2.0 is out. But I can't compile it. I renamed this ebuil to dreamchess-0.2.0.ebuild, then within ebuild compile phase, it gives this error: checking mxml.h usability... yes checking mxml.h presence... yes checking for mxml.h... yes checking for mxmlLoadFile in -lmxml... no configure: error: Cannot find Mini-XML library. It is odd, because I have dev-libs/mini-xml-2.4. dreamchess-0.1.0 works fine though. maybe this bug should be moved to 'ebuild wanted' or 'maintainer wanted' ? renaming 0.1.0 in 0.2.0 and adding dev-libs/mini-xml in dependencies, i have mini-xml installed (2.5) and same error : configure: error: Cannot find Mini-XML library. config.log says: ------------ configure:7075: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O3 -pipe -msse3 conftest.c -lmxml >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/libmxml.so: undefined reference to `pthread_key_create' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/libmxml.so: undefined reference to `pthread_once' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/libmxml.so: undefined reference to `pthread_getspecific' /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/libmxml.so: undefined reference to `pthread_setspecific' ------------ /usr/lib64/pkgconfig/mxml.pc file says Libs: -L/usr/lib64 -lmxml @PHTREAD_LIBS@ though i dont know how this is supposed to be put in the ebuild... (In reply to comment #4) > renaming 0.1.0 in 0.2.0 and adding dev-libs/mini-xml in dependencies, i have > mini-xml installed (2.5) and same error : I was able to compile 0.2.0 by adding dev-libs/mini-xml to RDEPEND in the renamed ebuild. It built and ran using dev-libs/mini-xml-2.2.1. I'm also using gcc 4.1.2 with CFLAGS="-O2 -march=nocona" on amd64. is there any overlay where this game could be available ? This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/games-board/dreamchess/ just had a try using the sunrise overlay. It fails with
"configure: error: Cannot find Mini-XML library."
although this library has just been installed as a dependency
(emerge -aqvt said:)
orzel@berlioz /home/orzel% emerge dreamchess
[ebuild N ] games-board/dreamchess-0.2.0 USE="-music -sound"
[ebuild N ] dev-libs/mini-xml-2.5
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 2) dev-libs/mini-xml-2.5
>>> Installing dev-libs/mini-xml-2.5
>>> Emerging (2 of 2) games-board/dreamchess-0.2.0
>>> Failed to emerge games-board/dreamchess-0.2.0, Log file:
(In reply to comment #9) > "configure: error: Cannot find Mini-XML library." There are several workarounds for this problem: 1) Use mxml 2.2. 2) Patch mxml to link with pthread (see e.g. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467555). 3) Patch dreamchess configure script. This patch from debian might work: http://patch-tracking.debian.net/patch/series/dl/dreamchess/0.2.0-1/add-lpthread.diff adding this line to package.mask fixed the problem
>=dev-libs/mini-xml-2.3
though that seems weird, isn't it ?
emerge used dev-libs/mini-xml-2.2.1
I've tested the game, and it works.
(In reply to comment #10) > 3) Patch dreamchess configure script. This patch from debian might work: > http://patch-tracking.debian.net/patch/series/dl/dreamchess/0.2.0-1/add-lpthread.diff > I've taken a fourth option to skip the -lxml configure test. This links since libsdl needs pthreads as well. The updated patch for this is in sunrise, so it should now build and run with any version of mini-xml currently in portage. Option two is the best solution, so a new bug for mini-xml is in order. Berlios went down, correct SRC_URI is now https://github.com/dreamchess/dreamchess/releases/download/0.2.0/dreamchess-0.2.0.tar.gz Created attachment 411102 [details]
build.log
It needs an extra -lm in LDFLAGS,
and #include <math.h> in dreamchess-0.2.0/src/ui_sdlgl/ui_sdlgl_3d.c
(In reply to Michael Weber from comment #14) > Created attachment 411102 [details] > build.log > > It needs an extra -lm in LDFLAGS, > and #include <math.h> in dreamchess-0.2.0/src/ui_sdlgl/ui_sdlgl_3d.c https://github.com/dreamchess/dreamchess/issues/6 Created attachment 412572 [details]
dreamchess-0.2.1_rc2.ebuild
Version bump for, [sunrise]games-board/dreamchess
Created attachment 412574 [details]
dreamchess.png
Hello, everyone. It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project. Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that: 1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it. 2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding. 3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint. 4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality. Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise. [1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers [2]:https://gitweb.gentoo.org/proj/sunrise.git/ They released a 0.3 recently, with cmake/ sdl2. https://www.dreamchess.org/news/2019/03/18/dreamchess-0.3.0-released.html |