Package: pmake
Version: 1.111-3.2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: cross

pmake is Architecture: any, so attempting to do a multiarch-based
cross-build of anything that build-depends on it will pull in the
host-architecture version of pmake (that is, the version for the
architecture being built for).  In the general case this is unsuitable
because the build system can't necessarily execute the binaries it gets
that way.  For example, this currently causes libedit to fail to
cross-build.

Of course, packages using pmake will need to take some other special
measures to cross-build correctly: they may well need to set
MACHINE_ARCH and MACHINE_MULTIARCH, and to set correct paths to various
tools in variables such as CC, LD, and RANLIB.  But the first step is
having a pmake binary they can execute at all.  Since pmake will
typically end up calling cc by default which is definitely wrong for
cross-building, any package that works even a little bit is going to
have to take some additional measures anyway.

  * Mark pmake as Multi-Arch: foreign.  The default configuration does
    differ on different architectures, but it can be overridden by setting
    MACHINE_ARCH and MACHINE_MULTIARCH.

diff -Nru pmake-1.111/debian/control pmake-1.111/debian/control
--- pmake-1.111/debian/control  2011-05-29 15:08:02.000000000 +0100
+++ pmake-1.111/debian/control  2012-12-02 00:34:29.000000000 +0000
@@ -1,6 +1,7 @@
 
 Package: pmake
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: NetBSD make
  pmake is a program designed to simplify the maintenance of other

Thanks,

-- 
Colin Watson                                       [[email protected]]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to