Source: jemalloc
Version: 3.0.0-3
Severity: important
Justification: fails to build from source (but built successfully in the past)

Hi,

I think some amount of porting may be required here.
Would be cool if you and/or upstream can do it, but
Cc’ing the porters’ list for help.

Full build log attached.


-- 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
I: Using pkgname logfile
I: Current time: Tue Jan 29 13:28:38 CET 2013
I: pbuilder-time-stamp: 1359462518
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-ma...@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: automake, debhelper (>= 9), docbook-xsl, xsltproc
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 12287 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 automake; however:
  Package automake is not installed.
 pbuilder-satisfydepends-dummy depends on docbook-xsl; however:
  Package docbook-xsl is not installed.
 pbuilder-satisfydepends-dummy depends on xsltproc; however:
  Package xsltproc 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:
  autoconf{a} automake{a} autotools-dev{a} docbook-xsl{a} libgcrypt11{a} 
  libgpg-error0{a} libsigsegv2{a} libxslt1.1{a} m4{a} sgml-base{a} 
  xml-core{a} xsltproc{a} 
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 725 kB/3922 kB of archives. After unpacking 17.9 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian-ports/ unstable/main automake all 1:1.11.6-1 [607 kB]
Get: 2 http://ftp.de.debian.org/debian-ports/ unstable/main xsltproc m68k 1.1.26-14 [118 kB]
Fetched 725 kB in 14s (49.6 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libgpg-error0:m68k.
(Reading database ... 12287 files and directories currently installed.)
Unpacking libgpg-error0:m68k (from .../libgpg-error0_1.10-3.1_m68k.deb) ...
Selecting previously unselected package libgcrypt11:m68k.
Unpacking libgcrypt11:m68k (from .../libgcrypt11_1.5.0-3_m68k.deb) ...
Selecting previously unselected package libxslt1.1:m68k.
Unpacking libxslt1.1:m68k (from .../libxslt1.1_1.1.26-14_m68k.deb) ...
Selecting previously unselected package sgml-base.
Unpacking sgml-base (from .../sgml-base_1.26+nmu4_all.deb) ...
Selecting previously unselected package libsigsegv2.
Unpacking libsigsegv2 (from .../libsigsegv2_2.9-4_m68k.deb) ...
Selecting previously unselected package m4.
Unpacking m4 (from .../archives/m4_1.4.16-4_m68k.deb) ...
Selecting previously unselected package autoconf.
Unpacking autoconf (from .../autoconf_2.69-1_all.deb) ...
Selecting previously unselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ...
Selecting previously unselected package automake.
Unpacking automake (from .../automake_1%3a1.11.6-1_all.deb) ...
Selecting previously unselected package xml-core.
Unpacking xml-core (from .../xml-core_0.13+nmu2_all.deb) ...
Selecting previously unselected package docbook-xsl.
Unpacking docbook-xsl (from .../docbook-xsl_1.76.1+dfsg-1_all.deb) ...
Selecting previously unselected package xsltproc.
Unpacking xsltproc (from .../xsltproc_1.1.26-14_m68k.deb) ...
Processing triggers for man-db ...
Setting up libgpg-error0:m68k (1.10-3.1) ...
Setting up libgcrypt11:m68k (1.5.0-3) ...
Setting up libxslt1.1:m68k (1.1.26-14) ...
Setting up sgml-base (1.26+nmu4) ...
Setting up libsigsegv2 (2.9-4) ...
Setting up m4 (1.4.16-4) ...
Setting up autoconf (2.69-1) ...
Setting up autotools-dev (20120608.1) ...
Setting up automake (1:1.11.6-1) ...
update-alternatives: using /usr/bin/automake-1.11 to provide /usr/bin/automake (automake) in auto mode
Setting up xml-core (0.13+nmu2) ...
Setting up xsltproc (1.1.26-14) ...
Processing triggers for sgml-base ...
Setting up docbook-xsl (1.76.1+dfsg-1) ...
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.
debian-ports-archive-keyring is already the newest version.
file-rc is already the newest version.
apt is already the newest version.
eatmydata is already the newest version.
fakeroot is already the newest version.
wtf-debian-keyring 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 xsltproc_1.1.26-14_m68k.deb added
I: new cache content automake_1%3a1.11.6-1_all.deb added
I: Copying source file
I: copying [/root/jemalloc_3.0.0-3.dsc]
I: copying [/root/jemalloc_3.0.0.orig.tar.bz2]
I: copying [/root/jemalloc_3.0.0-3.debian.tar.gz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue May 22 17:56:34 2012 UTC using DSA key ID FA26E2EE
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./jemalloc_3.0.0-3.dsc
dpkg-source: info: extracting jemalloc in jemalloc-3.0.0
dpkg-source: info: unpacking jemalloc_3.0.0.orig.tar.bz2
dpkg-source: info: unpacking jemalloc_3.0.0-3.debian.tar.gz
dpkg-source: info: applying lg_quantum.patch
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 "-eThorsten Glaser <t...@mirbsd.de>" -B -m'Thorsten Glaser <t...@mirbsd.de>' -B -m'Thorsten Glaser <t...@mirbsd.de>' -B -rfakeroot
dpkg-buildpackage: source package jemalloc
dpkg-buildpackage: source version 3.0.0-3
 dpkg-source --before-build jemalloc-3.0.0
dpkg-buildpackage: host architecture m68k
 fakeroot debian/rules clean
dh clean --parallel
   dh_testdir -O--parallel
   dh_auto_clean -O--parallel
   dh_clean -O--parallel
	rm -f debian/libjemalloc-dev.substvars
	rm -f debian/libjemalloc-dev.*.debhelper
	rm -rf debian/libjemalloc-dev/
	rm -f debian/libjemalloc1-dbg.substvars
	rm -f debian/libjemalloc1-dbg.*.debhelper
	rm -rf debian/libjemalloc1-dbg/
	rm -f debian/*.debhelper.log
	rm -f debian/files
	find .  \( \( -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} \; \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
	rm -f *-stamp
 debian/rules build-arch
dh build-arch --parallel
   dh_testdir -a -O--parallel
   dh_auto_configure -a -O--parallel
	./configure --build=m68k-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libdir=\${prefix}/lib/m68k-linux-gnu --libexecdir=\${prefix}/lib/m68k-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
checking for xsltproc... /usr/bin/xsltproc
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 4
checking size of int... 4
checking size of long... 4
checking size of intmax_t... 8
checking build system type... m68k-unknown-linux-gnu
checking host system type... m68k-unknown-linux-gnu
checking whether __attribute__ syntax is compilable... yes
checking whether compiler supports -fvisibility=hidden... yes
checking whether compiler supports -Werror... yes
checking whether tls_model attribute is compilable... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for ld... /usr/bin/ld
checking for autoconf... /usr/bin/autoconf
checking for memalign... yes
checking for valloc... yes
checking configured backtracing method... N/A
checking for sbrk... yes
checking whether utrace(2) is compilable... no
checking whether valgrind is compilable... no
checking STATIC_PAGE_SHIFT... 12
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for _malloc_thread_cleanup... no
checking for _pthread_mutex_init_calloc_cb... no
checking for TLS... yes
checking whether a program using ffsl is compilable... yes
checking whether atomic(9) is compilable... no
checking whether Darwin OSAtomic*() is compilable... no
checking whether to force 32-bit __sync_{add,sub}_and_fetch()... yes
checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no
checking whether Darwin OSSpin*() is compilable... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/html.xsl
config.status: creating doc/manpages.xsl
config.status: creating doc/jemalloc.xml
config.status: creating include/jemalloc/jemalloc.h
config.status: creating include/jemalloc/internal/jemalloc_internal.h
config.status: creating test/jemalloc_test.h
config.status: creating config.stamp
config.status: creating bin/jemalloc.sh
config.status: creating include/jemalloc/jemalloc_defs.h
config.status: executing include/jemalloc/internal/size_classes.h commands
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
===============================================================================
jemalloc version   : 3.0.0-0-gfc9b1dbf69f59d7ecfc4ac68da9847e017e1d046
library revision   : 1

CC                 : gcc
CPPFLAGS           : -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT
CFLAGS             : -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fvisibility=hidden
LDFLAGS            : -Wl,-z,relro
LIBS               :  -lm -lpthread
RPATH_EXTRA        : 

XSLTPROC           : /usr/bin/xsltproc
XSLROOT            : /usr/share/xml/docbook/stylesheet/docbook-xsl

PREFIX             : /usr
BINDIR             : /usr/bin
INCLUDEDIR         : /usr/include
LIBDIR             : /usr/lib/m68k-linux-gnu
DATADIR            : /usr/share
MANDIR             : /usr/share/man

srcroot            : 
abs_srcroot        : /tmp/buildd/jemalloc-3.0.0/
objroot            : 
abs_objroot        : /tmp/buildd/jemalloc-3.0.0/

JEMALLOC_PREFIX    : 
JEMALLOC_PRIVATE_NAMESPACE
                   : 
install_suffix     : 
autogen            : 0
experimental       : 1
cc-silence         : 0
debug              : 0
stats              : 1
prof               : 0
prof-libunwind     : 0
prof-libgcc        : 0
prof-gcc           : 0
tcache             : 1
fill               : 1
utrace             : 0
valgrind           : 0
xmalloc            : 0
mremap             : 0
munmap             : 0
dss                : 0
lazy_lock          : 0
tls                : 1
===============================================================================
   debian/rules override_dh_auto_build
make[1]: Entering directory `/tmp/buildd/jemalloc-3.0.0'
make all doc
make[2]: Entering directory `/tmp/buildd/jemalloc-3.0.0'
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fvisibility=hidden -fPIC -DPIC -c -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -Iinclude -Iinclude -o src/jemalloc.pic.o src/jemalloc.c
In file included from src/jemalloc.c:2:0:
include/jemalloc/internal/jemalloc_internal.h:295:6: error: #error "No LG_QUANTUM definition for architecture; specify via CPPFLAGS"
In file included from include/jemalloc/internal/jemalloc_internal.h:448:0,
                 from src/jemalloc.c:2:
include/jemalloc/internal/size_classes.h:691:4: error: #error "No size class definitions match configuration"
In file included from include/jemalloc/internal/jemalloc_internal.h:476:0,
                 from src/jemalloc.c:2:
include/jemalloc/internal/ctl.h:46:28: error: 'NBINS' undeclared here (not in a function)
In file included from src/jemalloc.c:2:0:
include/jemalloc/internal/jemalloc_internal.h: In function 's2u':
include/jemalloc/internal/jemalloc_internal.h:599:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
include/jemalloc/internal/jemalloc_internal.h:599:14: note: each undeclared identifier is reported only once for each function it appears in
include/jemalloc/internal/jemalloc_internal.h: In function 'sa2u':
include/jemalloc/internal/jemalloc_internal.h:642:16: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
In file included from include/jemalloc/internal/jemalloc_internal.h:711:0,
                 from src/jemalloc.c:2:
include/jemalloc/internal/tcache.h: In function 'tcache_dalloc_small':
include/jemalloc/internal/tcache.h:391:2: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
include/jemalloc/internal/tcache.h: In function 'tcache_dalloc_large':
include/jemalloc/internal/tcache.h:417:2: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
In file included from include/jemalloc/internal/jemalloc_internal.h:713:0,
                 from src/jemalloc.c:2:
include/jemalloc/internal/arena.h: In function 'arena_malloc':
include/jemalloc/internal/arena.h:867:14: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
In file included from src/jemalloc.c:2:0:
include/jemalloc/internal/jemalloc_internal.h: In function 'u2rz':
include/jemalloc/internal/jemalloc_internal.h:820:15: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
src/jemalloc.c: In function 'malloc':
src/jemalloc.c:820:7: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
src/jemalloc.c: In function 'imemalign':
src/jemalloc.c:904:35: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
src/jemalloc.c: In function 'calloc':
src/jemalloc.c:1012:10: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
src/jemalloc.c: In function 'realloc':
src/jemalloc.c:1106:17: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
src/jemalloc.c: In function 'allocm':
src/jemalloc.c:1386:7: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
src/jemalloc.c: In function 'rallocm':
src/jemalloc.c:1471:10: error: 'SMALL_MAXCLASS' undeclared (first use in this function)
make[2]: *** [src/jemalloc.pic.o] Error 1
make[2]: Leaving directory `/tmp/buildd/jemalloc-3.0.0'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/tmp/buildd/jemalloc-3.0.0'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
E: Failed autobuilding of package

Reply via email to