First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 115761
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gunix@comhem.se
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
lgeneral-1.2_beta10.ebuild ebuild for beta 10 text/plain gunix@comhem.se 2005-12-31 05:03 0000 1.58 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 115761 depends on: Show dependency tree
Show dependency graph
Bug 115761 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-16 05:05 0000
version bump

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Mr. Bones. 2005-12-16 07:11:28 0000 -------
feel free to attach a working ebuild.

------- Comment #2 From gunix@comhem.se 2005-12-31 05:03:26 0000 -------
Created an attachment (id=75861) [edit]
ebuild for beta 10

I haven't tested it yet, but it might perhaps work?

------- Comment #3 From Todd Merrill 2006-06-04 11:10:48 0000 -------
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

------- Comment #4 From Todd Merrill 2006-06-04 11:10:48 0000 -------
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.

------- Comment #5 From Azamat H. Hackimov 2006-08-09 05:13:27 0000 -------
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)

------- Comment #6 From Tupone Alfredo 2006-08-25 18:53:31 0000 -------
1.2 beta 12 version is now in portage. Thanks for report.

First Last Prev Next    No search results available      Search page      Enter new bug