Package: pmake
Version: 1.111-3
Severity: serious

Hi!

First off, sorry, this is entirely my fault! The multiarch support
patch switched LIBDIR to be the multiarch directory, but that should
not have been done yet, until eglibc supports the correct triplets
on all architectures (specifically i386).

This implies that for i386 the installation directory will not match the
dynamic linker directory. The former will be i386-linux-gnu and the
latter i486-linux-gnu. So this will break for example libedit2 and all
its reverse dependencies, including things like openssh-client,
postgresql-client or heimdal.

The attached patch should fix the issue. Good thing libedit is
currently not compilable, so no accidental breakage can happen for
now (see my other bug report). :)

thanks,
guillem
diff -Naur pmake-1.111.orig/debian/patches/140_multiarch.diff pmake-1.111/debian/patches/140_multiarch.diff
--- pmake-1.111.orig/debian/patches/140_multiarch.diff	2011-05-29 16:08:02.000000000 +0200
+++ pmake-1.111/debian/patches/140_multiarch.diff	2011-05-31 10:31:10.000000000 +0200
@@ -336,14 +336,3 @@
  
  CFLAGS+=	${COPTS}
  
---- a/mk/bsd.own.mk
-+++ b/mk/bsd.own.mk
-@@ -42,7 +42,7 @@ INFOGRP?=	root
- INFOOWN?=	root
- INFOMODE?=	${NONBINMODE}
- 
--LIBDIR?=	/usr/lib
-+LIBDIR?=	/usr/lib/${MACHINE_MULTIARCH}
- LINTLIBDIR?=	/usr/libdata/lint
- LIBGRP?=	${BINGRP}
- LIBOWN?=	${BINOWN}

Reply via email to