Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
version bump Reproducible: Always Steps to Reproduce: 1. 2. 3.
feel free to attach a working ebuild.
Created an attachment (id=75861) [details] ebuild for beta 10 I haven't tested it yet, but it might perhaps work?
No, it doesn't work. LGeneral 1.2_beta12 was recently released, and I've been trying to get it to work with Portage. As it turns out, I can't get anything greater than 1.2_beta9 to work with the Portage ebuild. Simply renaming the ebuild leads to this: i686-pc-linux-gnu-gcc -g -Wall -Wl,-O1 -o lgc-pg lgc_pg-main.o lgc_pg-units.o lgc_pg-shp.o lgc_pg-nations.o lgc_pg-terrain.o lgc_pg-maps.o lgc_pg-scenarios.o lgc_pg-list.o lgc_pg-misc.o lgc_pg-parser.o ../util/libutil.a -lSDL -lpthread i686-pc-linux-gnu-gcc: ../util/libutil.a: No such file or directory i686-pc-linux-gnu-gcc -g -Wall -Wl,-O1 -o shptool shptool-shptool.o shptool-misc.o shptool-shp.o ../util/libutil.a -lSDL -lpthread i686-pc-linux-gnu-gcc: ../util/libutil.a: No such file or directory make[1]: *** [lgc-pg] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [shptool] Error 1 make[1]: Leaving directory `/var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/lgc-pg' make: *** [all-recursive] Error 1 /var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/util/libutil.a does not exist. If I comment out line 40, cd lgc-pg, I can get as far as lgc-pg converting the units graphics data, but it stops: LGeneral Converter for Panzer General (DOS version) v1.2beta-12 Copyright 2002-2005 Michael Speck Released under GNU GPL --- Settings: Source: /var/tmp/portage/lgeneral-1.2_beta12/work/pg-data Destination: /var/tmp/portage/lgeneral-1.2_beta12/image///usr/share/games/lgeneral Use Individual Palettes Converting: nation database... nation flag graphics... unit data base... overwrite flags of StuGIIIb to : artillery
No, it doesn't work. LGeneral 1.2_beta12 was recently released, and I've been trying to get it to work with Portage. As it turns out, I can't get anything greater than 1.2_beta9 to work with the Portage ebuild. Simply renaming the ebuild leads to this: i686-pc-linux-gnu-gcc -g -Wall -Wl,-O1 -o lgc-pg lgc_pg-main.o lgc_pg-units.o lgc_pg-shp.o lgc_pg-nations.o lgc_pg-terrain.o lgc_pg-maps.o lgc_pg-scenarios.o lgc_pg-list.o lgc_pg-misc.o lgc_pg-parser.o ../util/libutil.a -lSDL -lpthread i686-pc-linux-gnu-gcc: ../util/libutil.a: No such file or directory i686-pc-linux-gnu-gcc -g -Wall -Wl,-O1 -o shptool shptool-shptool.o shptool-misc.o shptool-shp.o ../util/libutil.a -lSDL -lpthread i686-pc-linux-gnu-gcc: ../util/libutil.a: No such file or directory make[1]: *** [lgc-pg] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [shptool] Error 1 make[1]: Leaving directory `/var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/lgc-pg' make: *** [all-recursive] Error 1 /var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/util/libutil.a does not exist. If I comment out line 40, cd lgc-pg, I can get as far as lgc-pg converting the units graphics data, but it stops: LGeneral Converter for Panzer General (DOS version) v1.2beta-12 Copyright 2002-2005 Michael Speck Released under GNU GPL --- Settings: Source: /var/tmp/portage/lgeneral-1.2_beta12/work/pg-data Destination: /var/tmp/portage/lgeneral-1.2_beta12/image///usr/share/games/lgeneral Use Individual Palettes Converting: nation database... nation flag graphics... unit data base... overwrite flags of StuGIIIb to : artillery°suppr_fire Jadgpanzer 38 -> Jagdpanzer 38 [correct spelling] overwrite flags of StuG IV to : artillery°suppr_fire Jadgpz IV/48 -> Jagdpz IV/48 [correct spelling] Jadgpz IV/70 -> Jagdpz IV/70 [correct spelling] JadgPanther -> JagdPanther [correct spelling] JadgTiger -> JagdTiger [correct spelling] ST BT-5 gets initiative bonus +3 ST BT-7 gets initiative bonus +3 ST T-28M1 gets initiative bonus +3 ST T-34/40 gets initiative bonus +3 ST T-34/41 gets initiative bonus +3 ST T-34/43 gets initiative bonus +3 ST T-34/85 gets initiative bonus +3 ST T-70 gets initiative bonus +3 ST T-60 gets initiative bonus +3 ST T-40 gets initiative bonus +3 ST KV-1/39 gets initiative bonus +3 ST KV-1/41 gets initiative bonus +3 ST KV-1/42 gets initiative bonus +3 ST KV-2 gets initiative bonus +3 ST KV-85 gets initiative bonus +3 ST IS-2 gets initiative bonus +3 overwrite flags of IT Sem M-40 to : artillery°suppr_fire overwrite flags of IT Sem M-42M to : artillery°suppr_fire unit graphics... /var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/lgc-pg/share/games/lgeneral/convdata/strength.bmp: Couldn't open /var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/lgc-pg/share/games/lgeneral/convdata/strength.bmp *** glibc detected *** /var/tmp/portage/lgeneral-1.2_beta12/work/lgc-pg/lgc-pg/lgc-pg: double free or corruption (out): 0xa7ee8178 *** /usr/local/portage/games-strategy/lgeneral/lgeneral-1.2_beta12.ebuild: line 44: 7115 Aborted SDL_VIDEODRIVER=dummy "${WORKDIR}/lgc-pg/lgc-pg/lgc-pg" -s "${WORKDIR}/${DATA}" -d "${D}/${GAMES_DATADIR}/lgeneral" The paths are all messed up. However, it worked for converting some fo the previous databases. It seems the lgc-pg is appending it's working directory to the path. Interestingly, libutil.a exists this time around. I don't know enough about ebuilds to fix this. Believe me, I've tried.
This is error in code lgc-pg. lgc-pg for working must be placed in /usr/bin, not /usr/games/bin or somewhere. Location of problem: /lgc-pg/misc.c:418 In function *get_gamedir(void): static const char suffix[] = "/share/games/lgeneral"; Below suffix added to ${PREFIX} (for ebuild - ${GAMES_PREFIX}, or /usr/games) instead to ${GAMES_DATADIR_BASE} (/usr/share)
1.2 beta 12 version is now in portage. Thanks for report.