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

Bug#564785: FTBFS: KeyError: 'linux2-$arch'



Source: yafray
Version: 0.0.9+dfsg-2
Severity: serious

yafray fails to build on alpha, hppa, mips, mipsel and sparc w/ a
similar error message. From the most recent hppa build attempt:

[...]
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package yafray
dpkg-buildpackage: source version 0.0.9+dfsg-2
dpkg-buildpackage: host architecture hppa
 /usr/bin/fakeroot debian/rules clean
dpatch deapply-all
40_document_unimplemented_option not applied to ./ .
30_gcc4.3_missing_includes not applied to ./ .
10_gnukfreebsd_support not applied to ./ .
01-scons-install-fix not applied to ./ .
rm -rf  patch-stamp debian/patched
dh_testdir
dh_testroot
rm -f build-stamp
scons -c
scons: Reading SConscript files ...
KeyError: 'linux2-hppa':
  File "/build/buildd-yafray_0.0.9+dfsg-2-hppa-RjyhBo/yafray-0.0.9+dfsg/SConstruct", line 15:
    fichero = ficheros[sys.platform]
make: [clean] Error 2 (ignored)
# Add here commands to clean up after the build process.
rm -f config.h
rm -f *.pyc
find /build/buildd-yafray_0.0.9+dfsg-2-hppa-RjyhBo/yafray-0.0.9+dfsg -name .sconsign -exec rm \{\} ';'
rm -f debian/yafray.1
rm -f scons-signatures.dblite
dh_clean config.guess config.sub
 debian/rules build
dpatch apply-all
applying patch 01-scons-install-fix to ./ ... ok.
applying patch 10_gnukfreebsd_support to ./ ... ok.
applying patch 30_gcc4.3_missing_includes to ./ ... ok.
applying patch 40_document_unimplemented_option to ./ ... ok.
# dpatch call-all -a=pkg-info >patch-stamp
dh_testdir
# Add here commands to compile the package.
test -r /usr/share/misc/config.sub && \
	  cp -f /usr/share/misc/config.sub config.sub
test -r /usr/share/misc/config.guess && \
	  cp -f /usr/share/misc/config.guess config.guess
scons prefix=/usr
scons: Reading SConscript files ...
KeyError: 'linux2-hppa':
  File "/build/buildd-yafray_0.0.9+dfsg-2-hppa-RjyhBo/yafray-0.0.9+dfsg/SConstruct", line 19:
    fichero = ficheros[sys.platform]
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



Reply to: