Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473172 - [gamerlay] games-action/mucade does not build due to D insanity
Summary: [gamerlay] games-action/mucade does not build due to D insanity
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vadim A. Misbakh-Soloviov (mva)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 09:16 UTC by marty rosenberg
Modified: 2016-07-21 17:44 UTC (History)
2 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 marty rosenberg 2013-06-13 09:16:19 UTC
mucade's ebuild hardcodes the D compiler to gdmd, which is a gcc implementation of a D complier.  This was provided with the USE=d flag... in gcc-4.1.2
I attempted to re-build gcc-4.1.2 with d support, but this went south, dying with: (guess it hasn't been touched recently?)
checking If /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/gdc -B/var/tmp/portage/sys-devel/gcc-4.
1.2/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_6
4-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include can compile D sources... /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/cc1d: /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.
so.6)
no
configure: error: can't compile D sources!
so I made a chroot with an actual environment from back in 2009 (or so) when building gdc actually worked.  I then created a binpackage from this, and re-tried to install mucade.  this time it died with some missing symbols during linking:

src/abagames/util/bulletml/bullet.o: In function `_D8abagames4util8bulletml6bullet6Bullet6removeMFZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/util/bulletml/bullet.d:104: undefined reference to `BulletMLRunner_delete'
src/abagames/util/bulletml/bullet.o: In function `_D8abagames4util8bulletml6bullet6Bullet4moveMFZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/util/bulletml/bullet.d:89: undefined reference to `BulletMLRunner_isEnd'
src/abagames/util/bulletml/bullet.o: In function `_D8abagames4util8bulletml6bullet6Bullet5isEndMFZb':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/util/bulletml/bullet.d:95: undefined reference to `BulletMLRunner_isEnd'
src/abagames/util/bulletml/bullet.o: In function `_D8abagames4util8bulletml6bullet6Bullet4moveMFZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/util/bulletml/bullet.d:90: undefined reference to `BulletMLRunner_run'
src/abagames/mcd/barrage.o: In function `__foreachbody7':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/barrage.d:100: undefined reference to `BulletMLParserTinyXML_delete'
src/abagames/mcd/barrage.o: In function `_D8abagames3mcd7barrage14BarrageManager12loadInstanceFAaAaZPi':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/barrage.d:79: undefined reference to `BulletMLParserTinyXML_new'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/barrage.d:81: undefined reference to `BulletMLParserTinyXML_parse'
src/abagames/mcd/bullet.o: In function `_D8abagames3mcd6bullet11BulletActor6rewindMFZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bullet.d:124: undefined reference to `BulletMLRunner_new_parser'
src/abagames/mcd/bulletpool.o: In function `_D8abagames3mcd10bulletpool10BulletPool15registFunctionsFPiZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:141: undefined reference to `BulletMLRunner_set_getBulletDirection'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:142: undefined reference to `BulletMLRunner_set_getAimDirection'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:143: undefined reference to `BulletMLRunner_set_getBulletSpeed'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:144: undefined reference to `BulletMLRunner_set_getDefaultSpeed'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:145: undefined reference to `BulletMLRunner_set_getRank'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:146: undefined reference to `BulletMLRunner_set_createSimpleBullet'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:147: undefined reference to `BulletMLRunner_set_createBullet'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:148: undefined reference to `BulletMLRunner_set_getTurn'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:149: undefined reference to `BulletMLRunner_set_doVanish'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:151: undefined reference to `BulletMLRunner_set_doChangeDirection'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:152: undefined reference to `BulletMLRunner_set_doChangeSpeed'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:153: undefined reference to `BulletMLRunner_set_doAccelX'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:154: undefined reference to `BulletMLRunner_set_doAccelY'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:155: undefined reference to `BulletMLRunner_set_getBulletSpeedX'
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:156: undefined reference to `BulletMLRunner_set_getBulletSpeedY'
src/abagames/mcd/bulletpool.o: In function `_D8abagames3mcd10bulletpool10BulletPool12addTopBulletMFAC8abagames3mcd10bulletimpl11ParserParamffffffC8abagames3mcd12bullettarget12BulletTargetiiZC8abagames3mcd6bullet11BulletActor':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:86: undefined reference to `BulletMLRunner_new_parser'
src/abagames/mcd/bulletpool.o: In function `_D8abagames3mcd10bulletpool10BulletPool9addBulletMFffZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:49: undefined reference to `BulletMLRunner_new_parser'
src/abagames/mcd/bulletpool.o: In function `_D8abagames3mcd10bulletpool10BulletPool9addBulletMFPiffZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:69: undefined reference to `BulletMLRunner_new_state'
src/abagames/mcd/bulletpool.o: In function `_D8abagames3mcd10bulletpool10BulletPool15registFunctionsFPiZv':
/var/tmp/portage/games-action/mucade-0.11/work/mcd/src/abagames/mcd/bulletpool.d:157: undefined reference to `BulletMLRunner_set_getRand'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'
collect2: ld returned 1 exit status


Naively changing the ebuild to use digital mars' compiler gives a bunch of compiler errors:
/opt/dmd/src/phobos/std/conv.d(1468): number is not representable
/opt/dmd/src/phobos/std/c/linux/linux.d(444): Error: Integer constant expression expected instead of _SIGSET_NWORDS


Reproducible: Always
Comment 1 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2016-07-21 17:44:57 UTC
"Fixed" by dropping package: 1) real maintainer is lost, 2) gentoo has no "gdc" (D compiler) in sys-devel/gcc.
==
3) Game itself looks abandoned by author too 
==