Package: picolisp Version: 3.0.9.3-1 severity: important tags: patch
Picolisp FTBFS on armhf with a PIE related error. The attatched patch disables use of PIE on armhf to make the package build (it is already disabled on amd64)
--- picolisp-3.0.9.3/debian/rules 2012-02-17 15:19:30.000000000 +0000 +++ picolisp-3.0.9.3.new/debian/rules 2012-02-18 10:07:45.000000000 +0000 @@ -4,12 +4,18 @@ #export DH_VERBOSE=1 DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) ifeq (amd64,$(DEB_HOST_ARCH_CPU)) # disabled on amd64 DEB_BUILD_HARDENING_PIE := 0 endif +ifeq (armhf,$(DEB_HOST_ARCH)) + # disabled on armhf + DEB_BUILD_HARDENING_PIE := 0 +endif + include /usr/share/hardening-includes/hardening.make export CFLAGS=$(shell dpkg-buildflags --get CFLAGS) export LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)