Your message dated Wed, 4 Feb 2015 18:53:27 +0100
with message-id <[email protected]>
and subject line Re: Bug#776841: libgnutls28-dev: please make libgnutls-dev 
package multi-arch
has caused the Debian Bug report #776841,
regarding libgnutls28-dev: please make libgnutls-dev package multi-arch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
776841: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776841
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgnutls28-dev
Version: 3.3.8-4~bpo70+1
Severity: important

Dear Maintainer,

package libgnutls28-dev:amd64 offers all required file to build an 
application with GnuTLS on Debian amd64 architecture.

Whereas libgnutls28-dev:i386 lacks some important files (libgnutls.a
and the link libgnutls.so).

Thus it is impossible to cross-compile to i386.

   * What led up to the situation?

Cross-compiling an application with GnuTLS from amd64 to i386.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

gcc -m32

   * What was the outcome of this action?

Link fails:

/usr/bin/ld.bfd.real: cannot find -lgnutls

   * What outcome did you expect instead?

That the package libgnutls28-dev:i386 offers the same files as
libgnutls28-dev:amd64 :

ll /usr/lib/*/libgnutls.so
lrwxrwxrwx 1 root root 25 nov.  18 22:27 /usr/lib/x86_64-linux-gnu/libgnutls.so 
-> libgnutls-deb0.so.28.41.0

ll /usr/lib/*/libgnutls.a
-rw-r--r-- 1 root root 2435010 nov.  18 22:27 
/usr/lib/x86_64-linux-gnu/libgnutls.a


Regards,
Michel


-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (50, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgnutls28-dev depends on:
ii  libc6-dev [libc-dev]  2.13-38+deb7u6
ii  libgnutls-deb0-28     3.3.8-4~bpo70+1
ii  libgnutlsxx28         3.3.8-4~bpo70+1
ii  libp11-kit-dev        0.20.7-1~bpo70+1
ii  libtasn1-6-dev        4.2-2~bpo70+1
ii  nettle-dev            2.7.1-1~bpo70+1
ii  zlib1g-dev            1:1.2.7.dfsg-13

libgnutls28-dev recommends no packages.

Versions of packages libgnutls28-dev suggests:
ii  gnutls-bin    3.3.8-4~bpo70+1
ii  gnutls-doc    3.3.8-4~bpo70+1
ii  guile-gnutls  3.3.8-4~bpo70+1

-- no debconf information

--- End Message ---
--- Begin Message ---
On 2015-02-02 Michel Briand <[email protected]> wrote:

> Andreas Metzler <[email protected]> - Mon, 2 Feb 2015 19:47:01 +0100
[...]
>>I have just downloaded libgnutls28-dev_3.3.8-4~bpo70+1_i386.deb and
>>libgnutls28-dev_3.3.8-4~bpo70+1_amd64.deb from debian to doublecheck
>>that the package is ok an complete. Both amd64 and i386 contain the
>>required files:
[...]
> I didn't looked into libgnutls28-dev:i386 file list because I can't
> install it along the amd64 version.

> apt-get install libgnutls28-dev:i386

> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required: libgnutlsxx28 libtasn1-doc
> Use 'apt-get autoremove' to remove them.
> The following extra packages will be installed:
>   libc++-dev:i386 libc++-helpers libc++1:i386 libgmp-dev:i386
> libgmpxx4ldbl:i386 libgnutlsxx28:i386 libp11-kit-dev:i386
> libtasn1-6-dev:i386 nettle-dev:i386 zlib1g-dev:i386 Suggested packages:
> clang:i386 libgmp10-doc:i386 libmpfr-dev:i386 guile-gnutls:i386
[...]
> It seems that packages are mutually exclusive. It's a blocker for me.

Gnutls is Multi-Arch: same in wheezy, however not all the packages it
depends on are:
(WHEEZY)ametzler@argenau:~$ apt-cache show libgnutls28-dev libgmp-dev libgmpxx4l
dbl  libgnutlsxx28 libp11-kit-dev  libtasn1-6-dev nettle-dev  zlib1g-dev | grep 
-E '^Pac|^Mult*'
Package: libgnutls28-dev
Multi-Arch: same
Package: libgmp-dev
Multi-Arch: same
Package: libgmpxx4ldbl
Multi-Arch: same
Package: libgnutlsxx28
Multi-Arch: same
Package: libp11-kit-dev
Package: libp11-kit-dev
Package: libtasn1-6-dev
Package: nettle-dev
Package: nettle-dev
Package: zlib1g-dev
Multi-Arch: same

> I don't understand why the -dev package is specific to the architecture.
[...]

There might be good reasons, like architecture specific headers.
Supporting Multi-Arch: same in -dev packages requires more effort than
in runtime stuff and the benefit is small. - Keeping a chroot for
building is not much of a effort and the actual is simpler.

Closing, since this is not an issue in gnutls itself.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

--- End Message ---

Reply via email to