Hello,

Sorry for cross posting.  I am not sure which list this issue belongs on.

I am getting this error when trying to use the nethack-vultureseye RPM.

FATAL: Actual size of gametiles.bin does not match the expected size!
Are you sure you are using the gametiles.bin that was built together with
this executable?

So I am having problems trying to package vultureseye and vulturesclaw.
During the building of the to programs they both use/create

./gamedate/graphics/gametiles.bin

They use the same source to build both.  The only difference in the
GNUmakefile is this code path

ifeq ($(BUILD), nethack)
        BUILDDIR := build_n
        CFLAGS += -DVULTURESEYE
else
        BUILDDIR := build_s
        CFLAGS += -DVULTURESCLAW
endif

The problem is that gametiles.bin is being replaced during the RPM build.
Making the program with make in the orignal source or using the src RPM
creates two seperate and distinct gametiles.bin.  But building locally or
in the SUSE build service using...

osc build SUSE_Linux_10.1 i586 nethack-vultures.spec

Here is what I see in the log.

...
Leaving directory `/usr/src/packages/BUILD/vultures-2.1.0/nethack/util'
...
Entering directory `/usr/src/packages/BUILD/vultures-2.1.0/vultures'
...
tiletrans: Wrote 1567 tiles to ./gamedata/graphics/gametiles.bin

267 of 433 objects have unique tiles: 61.7% done
381 of 382 monsters have unique tiles: 99.7% done
...

and

...
Leaving directory `/usr/src/packages/BUILD/vultures-2.1.0/slashem/util
...
Entering directory `/usr/src/packages/BUILD/vultures-2.1.0/vultures'
...
tiletrans: Wrote 1567 tiles to ./gamedata/graphics/gametiles.bin

269 of 537 objects have unique tiles: 50.1% done
401 of 612 monsters have unique tiles: 65.5% done
...


Here is what I see in the log

Entering directory `/usr/src/packages/BUILD/vultures-2.1.0/nethack
cd ./config/
...
cd ../graphics
cp *.png gametiles.bin
/var/tmp/nethack-vultures-2.1.0-0-root-root/usr/games/vultureseye/graphics
...
Entering directory `/usr/src/packages/BUILD/vultures-2.1.0/slashem'
cp *.png gametiles.bin
/var/tmp/nethack-vultures-2.1.0-0-root-root/usr/games/vulturesclaw/graphics
...

I am not sure what to do.  When I try to add debut echo statements I
create SIGSEGFAULT or some such error.

Could anyone give me some ideas on trouble shooting this type of


--
Boyd Gerber <[EMAIL PROTECTED]>
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to