Bug#699849: double-conversion: FTBFS on m68k: #error Target architecture was not detected as supported

Thorsten Glaser tg at mirbsd.de
Tue Feb 5 21:03:42 UTC 2013


Source: double-conversion
Version: 1.1.1-1
Severity: important
Justification: fails to build from source (but built successfully in the past)

(did it really build successfully or is this a bug in reportbug?)

Hi,

the error says it all. Please restrict the Architectures field
or add support.

Note that others who needed patches for their dtoa routines need to
take into account that m68k, like the 80387 of i386, uses 80-bit
precision internally, and not all targets support disabling that.

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: m68k

Kernel: Linux 3.2.0-4-atari
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static
-------------- next part --------------
I: Using pkgname logfile
I: Current time: Tue Feb  5 20:06:56 UTC 2013
I: pbuilder-time-stamp: 1360094817
I: Obtaining the cached apt archive contents
I: Installing the build-deps
W: no hooks of type D found -- ignoring
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: m68k
Maintainer: Debian Pbuilder Team <pbuilder-maint at lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), dh-exec
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 12316 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on dh-exec; however:
  Package dh-exec is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  dh-exec{a} 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 22.0 kB of archives. After unpacking 109 kB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian-ports/ unstable/main dh-exec m68k 0.6 [22.0 kB]
Fetched 22.0 kB in 0s (38.6 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package dh-exec.
(Reading database ... 12316 files and directories currently installed.)
Unpacking dh-exec (from .../archives/dh-exec_0.6_m68k.deb) ...
Processing triggers for man-db ...
Setting up dh-exec (0.6) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
Starting
Starting 2
Done
debhelper is already the newest version.
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying back the cached apt archive contents
I: new cache content dh-exec_0.6_m68k.deb added
I: Copying source file
I: copying [/root/double-conversion_1.1.1-1.dsc]
I: copying [/root/double-conversion_1.1.1.orig.tar.gz]
I: copying [/root/double-conversion_1.1.1-1.debian.tar.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sun Nov  4 14:47:51 2012 UTC using RSA key ID 0ECEBE4A
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./double-conversion_1.1.1-1.dsc
dpkg-source: info: extracting double-conversion in double-conversion-1.1.1
dpkg-source: info: unpacking double-conversion_1.1.1.orig.tar.gz
dpkg-source: info: unpacking double-conversion_1.1.1-1.debian.tar.gz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc  -B -m'Thorsten Glaser <tg at mirbsd.de>' -B -m'Thorsten Glaser <tg at mirbsd.de>' -B -rfakeroot
dpkg-buildpackage: source package double-conversion
dpkg-buildpackage: source version 1.1.1-1
 dpkg-source --before-build double-conversion-1.1.1
dpkg-buildpackage: host architecture m68k
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/tmp/buildd/double-conversion-1.1.1'
rm -f libdouble-conversion.* run_tests test/cctest/*.o
rm -rf debian/shared debian/static
rm -f debian/static_dir debian/shared_dir
make[1]: Leaving directory `/tmp/buildd/double-conversion-1.1.1'
   dh_clean -O--parallel
 debian/rules build-arch
dh build-arch --parallel
   dh_testdir -a -O--parallel
   dh_auto_configure -a -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/buildd/double-conversion-1.1.1'
mkdir -p debian/shared
touch debian/shared_dir
g++ -D_FORTIFY_SOURCE=2 -Isrc/ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fPIC -c src/bignum-dtoa.cc -o debian/shared/bignum-dtoa.o
In file included from src/bignum-dtoa.h:31:0,
                 from src/bignum-dtoa.cc:30:
src/utils.h:71:2: error: #error Target architecture was not detected as supported by Double-Conversion.
make[1]: *** [debian/shared/bignum-dtoa.o] Error 1
make[1]: Leaving directory `/tmp/buildd/double-conversion-1.1.1'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
E: Failed autobuilding of package
I: user script /var/cache/pbuilder/build/cow.11777/tmp/hooks/C80shell-jupp starting

Build failed. Trying to invoke a shell.

Reading package lists...
Building dependency tree...
Reading state information...
Starting
Starting 2
Done
The following NEW packages will be installed:
  ed jupp less mksh
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 826 kB/877 kB of archives.
After this operation, 1780 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian-ports/ unstable/main less m68k 456-1 [117 kB]
Get:2 http://ftp.de.debian.org/debian-ports/ unstable/main jupp m68k 3.1.24-1 [228 kB]
Get:3 http://ftp.de.debian.org/debian-ports/ unstable/main mksh m68k 40.9.20120630-4 [481 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 826 kB in 10s (76.2 kB/s)
Selecting previously unselected package less.
(Reading database ... 12334 files and directories currently installed.)
Unpacking less (from .../archives/less_456-1_m68k.deb) ...
Selecting previously unselected package ed.
Unpacking ed (from .../apt/archives/ed_1.6-2_m68k.deb) ...
Selecting previously unselected package jupp.
Unpacking jupp (from .../jupp_3.1.24-1_m68k.deb) ...
Selecting previously unselected package mksh.
Unpacking mksh (from .../mksh_40.9.20120630-4_m68k.deb) ...
Processing triggers for man-db ...
Setting up less (456-1) ...
Setting up ed (1.6-2) ...
Setting up jupp (3.1.24-1) ...
update-alternatives: using /usr/bin/jupp to provide /usr/bin/editor (editor) in auto mode
Setting up mksh (40.9.20120630-4) ...
update-alternatives: using /bin/mksh to provide /bin/ksh (ksh) in auto mode
I: user script /var/cache/pbuilder/build/cow.11777/tmp/hooks/C80shell-jupp finished


More information about the debian-science-maintainers mailing list