Package: src:memleax
Version: 1.1.1-1
Severity: important
User: [email protected]
Usertags: architecture-detection

Hi!

I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.

I've tried to build memleax for armel on top of arm64, and it's
failing to configure:

make[1]: Entering directory '/build/memleax-1.1.1'
./configure --prefix=/usr
checking machine type...
checking OS type...
checking libraries...
checking libunwind...
libunwind is missing.
Error: libunwind-devel is required.

I've checked, and the build-deps are being installed correctly.
However, looking at the hand-rolled configure script (ugh!) in the
source package it's clearly not going to work reliably. It's assuming
that 32-bit Arm machines will only ever mention "armv7"* from uname,
for exampke. That will already break on perfectly valid ARMv5 armel
machines. And there's no way of over-riding the architecture it
detects from the command line.

This over-simple configure script will also fail on multiple points of
Debian policy (e.g. debug builds, nocheck, nostrip, noopt, etc.)


-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to