Package: libjpeg-dev
Version: 1:1.5.2-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:icewm

icewm fails to cross build from source, because its build dependency on
libjpeg-dev is unsatisfiable. In general, Architecture: all packages can
never satisfy cross Build-Depends unless marked Multi-Arch: foreign. In
this case, such a marking would be fatal. icewm needs the host
architecture libjpeg and marking it Multi-Arch: foreign would supply the
build architecture libjpeg. Instead transitional dummy packages should
inherit the Architecture field of their primary dependency to be able to
transfer any architecture constraints. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru libjpeg-turbo-1.5.2/debian/changelog 
libjpeg-turbo-1.5.2/debian/changelog
--- libjpeg-turbo-1.5.2/debian/changelog        2017-08-25 10:27:48.000000000 
+0200
+++ libjpeg-turbo-1.5.2/debian/changelog        2018-05-03 20:49:50.000000000 
+0200
@@ -1,3 +1,10 @@
+libjpeg-turbo (1:1.5.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Convert libjpeg-dev to Architecture: any. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 03 May 2018 20:49:50 +0200
+
 libjpeg-turbo (1:1.5.2-2) unstable; urgency=medium
 
   * Drop env declaration patch on mips to fix FTBFS on mips
diff --minimal -Nru libjpeg-turbo-1.5.2/debian/control 
libjpeg-turbo-1.5.2/debian/control
--- libjpeg-turbo-1.5.2/debian/control  2017-08-25 10:27:48.000000000 +0200
+++ libjpeg-turbo-1.5.2/debian/control  2018-05-03 20:49:46.000000000 +0200
@@ -12,7 +12,8 @@
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libjpeg-turbo.git
 
 Package: libjpeg-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
 Section: libdevel
 Depends: libjpeg62-turbo-dev (>= ${source:Version}),
         ${misc:Depends}

Reply via email to