dxx-rebirth (currently version 0.59.100) fails to build on my machine, with many warnings converted to errors, including: - useless-cast - format-truncation in addition, there are other compilation errors which look like syntax errors; I'm not sure -- this is a bit beyond me. Reproducible: Always Steps to Reproduce: 1. emerge dxx-rebirth 2. experience failure Actual Results: compilation fails Expected Results: compilation succeeds, dxx-rebirth is installed and I go on to blow up some mining droids and asteroids.
Created attachment 599776 [details] emerge --info
Created attachment 599778 [details] emerge --info '=games-action/dxx-rebirth-0.59.100::gentoo'
Created attachment 599780 [details] emerge -pqv '=games-action/dxx-rebirth-0.59.100::gentoo'
Created attachment 599782 [details] build.log
Created attachment 599784 [details] environment
I can't seem to build the 0.59.100 tag from github, but I can build master. The 0.60.0-beta2 tag (latest release) fails similarly to 0.59.100 from the gentoo sources, with warnings about useless-cast being emitted as errors.
I didn't played Descent a long time. Don't sure I'll find a time to install it and look into issues. Please, don't expect that I'll fix the issue. Sorry.
I understand. Thanks for any time you put into this if it makes it easier, I have a github repo with all the assets: https://github.com/fluffynuts/dx so if you want to test and you get something building, you can just point your artifacts at the d1/data or d2/data directories with -hogdir, ie: `path/to/where/you/built/d1x-rebirth -hogdir /path/to/dx/d1/data` also, again, if it makes it easier: the current `master` at dxx-rebirth's github repo builds beautifully, whilst the last release (0.60 beta 2) does not. OTOH, perhaps this is a good opportunity for me to learn about portage and ebuilds since this project is relatively simple -- two built artifacts which work standalone.
You may not need to learn much about ebuilds for this. Upstream provides a -9999 ebuild in their repository (<https://github.com/dxx-rebirth/dxx-rebirth/blob/master/contrib/gentoo/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild>). I copied that to a local overlay, generated a manifest for it, and it built successfully from the upstream master branch (currently commit 065bcb3da8c62b36e60cb8beadd5104040b3eed2). The project hasn't done an actual release in years, so a live ebuild seems like the best bet at the moment.
This bug is likely caused by compiling with the wrong version of gcc. I worked out (through process of elimination) that this ebuild only compiles with gcc 6.5.0. I am in the process of bringing the ebuilds for this games up to date - in theory when this bug closes it will be because there is a more recent ebuild in the tree that support current gcc (9.3.0).
fyi, I have a working ebuild in my haarp overlay, based on the one ebuild in the upstream repo.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c485c15a22c5535b5f3bab20976b040b5207a6d commit 4c485c15a22c5535b5f3bab20976b040b5207a6d Author: Jonas Stein <jstein@gentoo.org> AuthorDate: 2020-05-24 12:45:18 +0000 Commit: Jonas Stein <jstein@gentoo.org> CommitDate: 2020-05-24 13:38:06 +0000 games-action/dxx-rebirth: Remove Maintainer Remove inactive maintainer from the list. See also comment 7 in Bug: https://bugs.gentoo.org/703090 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jonas Stein <jstein@gentoo.org> games-action/dxx-rebirth/metadata.xml | 4 ---- 1 file changed, 4 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d1dfc95b4248348d2b55dd5cbe28b6c2b5856b commit 71d1dfc95b4248348d2b55dd5cbe28b6c2b5856b Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2020-09-14 21:09:12 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2020-09-15 08:43:45 +0000 games-action/dxx-rebirth: Drop old 0.59.100 Closes: https://bugs.gentoo.org/669212 Closes: https://bugs.gentoo.org/703090 Closes: https://bugs.gentoo.org/735534 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-action/dxx-rebirth/Manifest | 8 -- .../dxx-rebirth/dxx-rebirth-0.59.100.ebuild | 108 --------------------- .../files/dxx-rebirth-0.59.100-flags.patch | 10 -- ...-rebirth-0.59.100-physfs-3-no-deprecation.patch | 30 ------ .../files/dxx-rebirth-0.59.100-sharepath.patch | 11 --- games-action/dxx-rebirth/metadata.xml | 3 - 6 files changed, 170 deletions(-)