Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703090 - games-action/dxx-rebirth-0.59.100 fails to build
Summary: games-action/dxx-rebirth-0.59.100 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-12-16 12:40 UTC by Davyd McColl
Modified: 2020-09-15 08:44 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge-info.txt,7.69 KB, text/plain)
2019-12-16 12:41 UTC, Davyd McColl
Details
emerge --info '=games-action/dxx-rebirth-0.59.100::gentoo' (emerge-info-dxx-rebirth.txt,7.80 KB, text/plain)
2019-12-16 12:42 UTC, Davyd McColl
Details
emerge -pqv '=games-action/dxx-rebirth-0.59.100::gentoo' (emerge-pqv.txt,159 bytes, text/plain)
2019-12-16 12:42 UTC, Davyd McColl
Details
build.log (build.log,52.15 KB, text/x-log)
2019-12-16 12:43 UTC, Davyd McColl
Details
environment (environment,91.76 KB, text/plain)
2019-12-16 12:43 UTC, Davyd McColl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davyd McColl 2019-12-16 12:40:12 UTC
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.
Comment 1 Davyd McColl 2019-12-16 12:41:05 UTC
Created attachment 599776 [details]
emerge --info
Comment 2 Davyd McColl 2019-12-16 12:42:10 UTC
Created attachment 599778 [details]
emerge --info '=games-action/dxx-rebirth-0.59.100::gentoo'
Comment 3 Davyd McColl 2019-12-16 12:42:37 UTC
Created attachment 599780 [details]
emerge -pqv '=games-action/dxx-rebirth-0.59.100::gentoo'
Comment 4 Davyd McColl 2019-12-16 12:43:07 UTC
Created attachment 599782 [details]
build.log
Comment 5 Davyd McColl 2019-12-16 12:43:34 UTC
Created attachment 599784 [details]
environment
Comment 6 Davyd McColl 2019-12-16 12:47:02 UTC
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.
Comment 7 Alexander Turenko 2019-12-18 22:21:51 UTC
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.
Comment 8 Davyd McColl 2019-12-19 05:54:40 UTC
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.
Comment 9 Kevin Pyle 2019-12-19 20:38:29 UTC
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.
Comment 10 Ian Silvester 2020-05-22 12:44:50 UTC
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).
Comment 11 haarp 2020-05-24 12:35:06 UTC
fyi, I have a working ebuild in my haarp overlay, based on the one ebuild in the upstream repo.
Comment 12 Larry the Git Cow gentoo-dev 2020-05-24 13:50:21 UTC
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(-)
Comment 13 Larry the Git Cow gentoo-dev 2020-09-15 08:44:02 UTC
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(-)