Bug#799916: libjbig2dec0 is not Multi-Arch compatible

2016-05-16 Thread Jonas Smedegaard
Quoting Yuriy M. Kaminskiy (2016-05-16 18:31:50)
> On 16.05.2016 19:24, Jonas Smedegaard wrote:
>> Quoting Yuriy M. Kaminskiy (2016-05-16 17:17:04)
>>> Patch (against 0.13-1) attached.
>>
>> I believe your patch is flawed, however: the arch-specific jbig2dec 
>> package should not be marked "foreign" as it is unusable by foreign 
>> architectures.
>
> It *is* usable, of course. It is multi-arch, not crossbuild-arch (or 
> something), user is supposed to be able to run foreign arch binary on 
> their system (either natively, or via qemu-user).
> E.g. I can use jbig2dec:amd64 on primary-arch i386 (or reverse) 
> perfectly fine. And if other package depends on jbig2dec binary, it 
> can use native or (any of) foreign binary equally fine. See 
> https://wiki.debian.org/Multiarch/Implementation

That wiki page is what I consulted, and I am not convinced: The passage 
I found¹ talks about flagging packages where "one copy of this package, 
of any architecture, is sufficient to satisfy the needs of the runtime 
library package of every architecture" - and exemplifies with -data 
packages.  I do not recognize -tools style packages as fitting that 
description.

Please try harder to convince me (and no: stating "of course" is *not* 
helpful, quite the contrary).


 - Jonas

¹ 
https://wiki.debian.org/Multiarch/Implementation#Multi-Arch:_foreign_support_packages

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#799916: libjbig2dec0 is not Multi-Arch compatible

2016-05-16 Thread Yuriy M. Kaminskiy

On 16.05.2016 19:24, Jonas Smedegaard wrote:

Hi Yuriy,

Quoting Yuriy M. Kaminskiy (2016-05-16 17:17:04)

Patch (against 0.13-1) attached.


I believe your patch is flawed, however: the arch-specific jbig2dec
package should not be marked "foreign" as it is unusable by foreign
architectures.


It *is* usable, of course. It is multi-arch, not crossbuild-arch (or 
something), user is supposed to be able to run foreign arch binary on 
their system (either natively, or via qemu-user).
E.g. I can use jbig2dec:amd64 on primary-arch i386 (or reverse) 
perfectly fine. And if other package depends on jbig2dec binary, it can 
use native or (any of) foreign binary equally fine.

See https://wiki.debian.org/Multiarch/Implementation



Bug#799916: libjbig2dec0 is not Multi-Arch compatible

2016-05-16 Thread Jonas Smedegaard
Hi Yuriy,

Quoting Yuriy M. Kaminskiy (2016-05-16 17:17:04)
> Patch (against 0.13-1) attached.

Thanks!

I believe your patch is flawed, however: the arch-specific jbig2dec 
package should not be marked "foreign" as it is unusable by foreign 
architectures.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Bug#799916: libjbig2dec0 is not Multi-Arch compatible

2016-05-16 Thread Yuriy M. Kaminskiy

Control: tags -1 patch
thanks

Patch (against 0.13-1) attached.
diff -Nru jbig2dec-0.13/debian/control jbig2dec-0.13/debian/control
--- jbig2dec-0.13/debian/control2016-05-10 17:52:21.0 +0300
+++ jbig2dec-0.13/debian/control2016-05-16 18:05:53.0 +0300
@@ -24,6 +24,7 @@
 Provides: libjbig2dec-dev
 Conflicts: libjbig2dec-dev
 Architecture: any
+Multi-arch: same
 Description: JBIG2 decoder library - development files
  jbig2dec is a decoder library and example utility implementing the JBIG2
  bi-level image compression spec. Also known as ITU T.88 and ISO IEC
@@ -36,6 +37,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Architecture: any
+Multi-arch: same
 Description: JBIG2 decoder library - shared libraries
  jbig2dec is a decoder library and example utility implementing the JBIG2
  bi-level image compression spec. Also known as ITU T.88 and ISO IEC
@@ -47,6 +49,7 @@
 Section: graphics
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Architecture: any
+Multi-arch: foreign
 Description: JBIG2 decoder library - tools
  jbig2dec is a decoder library and example utility implementing the JBIG2
  bi-level image compression spec. Also known as ITU T.88 and ISO IEC
diff -Nru jbig2dec-0.13/debian/control.in jbig2dec-0.13/debian/control.in
--- jbig2dec-0.13/debian/control.in 2016-05-10 14:06:28.0 +0300
+++ jbig2dec-0.13/debian/control.in 2016-05-16 18:06:19.0 +0300
@@ -15,6 +15,7 @@
 Provides: libjbig2dec-dev
 Conflicts: libjbig2dec-dev
 Architecture: any
+Multi-arch: same
 Description: JBIG2 decoder library - development files
  jbig2dec is a decoder library and example utility implementing the JBIG2
  bi-level image compression spec. Also known as ITU T.88 and ISO IEC
@@ -27,6 +28,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Architecture: any
+Multi-arch: same
 Description: JBIG2 decoder library - shared libraries
  jbig2dec is a decoder library and example utility implementing the JBIG2
  bi-level image compression spec. Also known as ITU T.88 and ISO IEC
@@ -38,6 +40,7 @@
 Section: graphics
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Architecture: any
+Multi-arch: foreign
 Description: JBIG2 decoder library - tools
  jbig2dec is a decoder library and example utility implementing the JBIG2
  bi-level image compression spec. Also known as ITU T.88 and ISO IEC


Bug#799916: libjbig2dec0 is not Multi-Arch compatible

2015-09-24 Thread Jacek Szafarkiewicz
Package: libjbig2dec0
Version: 0.12-2
Severity: normal

Dear Maintainer,

libjbig2dec0 is not multiarch compatible.
In turn this prevents installing the 32-bit libgs-dev package on 64-bit Debian
systems.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libjbig2dec0 depends on:
ii  libc6  2.19-20

libjbig2dec0 recommends no packages.

libjbig2dec0 suggests no packages.

-- no debconf information