[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598968: marked as done (ITP: bsnes -- Accurate SNES/SuperFamicom emulator)



Am 13.08.2011 02:13, schrieb Adrian Glaubitz:
On Fri, Aug 12, 2011 at 04:45:05PM +0200, Adrian Glaubitz wrote:
There is actually already a Debian patch which adresses this
issue for the subdirectory "snespurify", but apparently not
for the remaining subdirectories. The patch is found at
debian/patches/build-snespurify-with-g++-4.6.patch. Patching
the other Makefiles mentioned above should fix the FTBFS.
Ok, I figured out I was actually wrong about gcc/g++-4.5. Both
packages are present in testing/unstable and thus the problem can be
fixed by adding a depenency for these compilers to the Debian control
file.

However, I was still unable to build bsnes 0.080:

In file included from snes/chip/icd2/icd2.cpp:6:0:
snes/chip/icd2/interface/interface.cpp: In member function ‘virtual bool SNES::ICD2::input_poll(unsigned int)’:
snes/chip/icd2/interface/interface.cpp:105:26: error: could not convert ‘(GameBoy::Input)7u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:106:26: error: could not convert ‘(GameBoy::Input)6u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:107:26: error: could not convert ‘(GameBoy::Input)4u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:108:26: error: could not convert ‘(GameBoy::Input)5u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:109:26: error: could not convert ‘(GameBoy::Input)1u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:110:26: error: could not convert ‘(GameBoy::Input)0u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:111:26: error: could not convert ‘(GameBoy::Input)2u’ from ‘GameBoy::Input’ to ‘unsigned int’
snes/chip/icd2/interface/interface.cpp:112:26: error: could not convert ‘(GameBoy::Input)3u’ from ‘GameBoy::Input’ to ‘unsigned int’
make[2]: *** [obj/snes-icd2.o] Error 1
make[2]: Leaving directory `/home/glaubitz/bsnes/bsnes_v080-source/bsnes'
dh_auto_build: make -j1 profile=compatibility returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/home/glaubitz/bsnes/bsnes_v080-source'
make: *** [build] Error 2

I updated the source tree to the latest upstream version 0.081 which
built fine for me.

In any case the dependencies should be updated to include gcc/g++-4.5
or all Makefiles should be patched to use gcc/g++-4.6.


Regards,

Adrian

Thanks, the new package is waiting to be uploaded at http://mentors.debian.net/debian/pool/main/b/bsnes/bsnes_0.081-1.dsc I have a problem with pbuilder at the moment, otherwise I would have tested building with it.

Regards, Tobias




Reply to: