Package: open-iscsi Version: 2.0.874-7.1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs Control: affects -1 + src:libvirt
libvirt fails to cross build from source, because installing its Build-Depends fails during open-iscsi's postinst. open-iscsi doesn't like being configured on a system where its executables are not runnable. Usually this means that one should be using the build architecture instance. To get there one way is marking open-iscsi Multi-Arch: foreign. I wasn't sure whether that's reasonable, so I asked Sam Hartman. <helmut> [...] I need to figure out whether m-a:foreign makes sense on [open-iscsi] <hartmans> helmut: I think so. <hartmans> helmut: the open-iscsi package contains the tools you'd use to attach to a disk over the network. <hartmans> It may well be that open-iscsi needs to be the same architecture as your kernel, but it's definitely the case that consumers of open-iscsi (other packages) won't care. This matches my experience. Therefore, I propose marking it such. I still don't understand why libvirt has a build dependency on it, but well. Helmut
diff --minimal -Nru open-iscsi-2.0.874/debian/changelog open-iscsi-2.0.874/debian/changelog --- open-iscsi-2.0.874/debian/changelog 2018-12-12 01:05:19.000000000 +0100 +++ open-iscsi-2.0.874/debian/changelog 2019-09-24 20:41:50.000000000 +0200 @@ -1,3 +1,10 @@ +open-iscsi (2.0.874-7.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark open-iscsi Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 24 Sep 2019 20:41:50 +0200 + open-iscsi (2.0.874-7.1) unstable; urgency=medium * Non-maintainer upload diff --minimal -Nru open-iscsi-2.0.874/debian/control open-iscsi-2.0.874/debian/control --- open-iscsi-2.0.874/debian/control 2018-12-12 01:05:19.000000000 +0100 +++ open-iscsi-2.0.874/debian/control 2019-09-24 20:41:49.000000000 +0200 @@ -24,6 +24,7 @@ Package: open-iscsi Architecture: linux-any +Multi-Arch: foreign Depends: udev, ${misc:Depends}, ${shlibs:Depends}, lsb-base (>= 3.0-6) Recommends: ${busybox:Recommends} Pre-Depends: debconf | debconf-2.0