Debian Bug report logs -
#689092
libpng12-dev is not Multi-Arch compatible
Reported by: Francois Gouget <fgouget@free.fr>
Date: Sat, 29 Sep 2012 01:12:02 UTC
Severity: normal
Tags: patch
Found in version libpng/1.2.49-1
Fixed in version libpng/1.2.50-2
Done: Anibal Monsalve Salazar <anibal@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#689092; Package libpng12-dev.
(Sat, 29 Sep 2012 01:12:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Francois Gouget <fgouget@free.fr>:
New Bug report received and forwarded. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Sat, 29 Sep 2012 01:12:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libpng12-dev
Version: 1.2.49-1
Severity: normal
Dear Maintainer,
The amd64 version conflicts with the i386 one which makes it impossible to install both. As a result the /usr/lib/i386-linux-gnu/libpng12.so symbolic link is missing so that developping 32bit applications (e.g. Wine) using this library is impossible on a 64bit system.
Furthermore this development package does not seem to be multiarch aware as there is no Multi-Arch field.
My understanding is that as long as there are no architecture-dependent headers there is no obstacle (i.e. no toolchain issue) to tagging the development package as 'Multi-Arch: same'. The symbolic link (and any static libraries) should be no issue as they are already in the architecture-qualified folders.
A good model for this appears to be the libx11-dev package.
The /usr/bin/libpng12-config binary is going to cause trouble though :-(
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-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 libpng12-dev depends on:
ii libpng12-0 1.2.49-1
ii zlib1g-dev 1:1.2.7.dfsg-13
libpng12-dev recommends no packages.
libpng12-dev suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#689092; Package libpng12-dev.
(Fri, 01 Nov 2013 12:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Kirill Smelkov <kirr@navytux.spb.ru>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Fri, 01 Nov 2013 12:48:04 GMT) (full text, mbox, link).
Message #10 received at 689092@bugs.debian.org (full text, mbox, reply):
On Sat, Sep 29, 2012 at 03:09:00AM +0200, Francois Gouget wrote:
> Package: libpng12-dev
> Version: 1.2.49-1
> Severity: normal
>
> Dear Maintainer,
>
> The amd64 version conflicts with the i386 one which makes it impossible to install both. As a result the /usr/lib/i386-linux-gnu/libpng12.so symbolic link is missing so that developping 32bit applications (e.g. Wine) using this library is impossible on a 64bit system.
>
> Furthermore this development package does not seem to be multiarch aware as there is no Multi-Arch field.
>
> My understanding is that as long as there are no architecture-dependent headers there is no obstacle (i.e. no toolchain issue) to tagging the development package as 'Multi-Arch: same'. The symbolic link (and any static libraries) should be no issue as they are already in the architecture-qualified folders.
>
> A good model for this appears to be the libx11-dev package.
This bug is quite blocking as several -dev packages depend, directly and
indirectly, on libpng12-dev and that prevents them from being used in
`Multi-Arch: same` style.
For development I'm keeping i386, amd64 and recently x32 libraries and
-dev packages, and in my case libpng12-dev prevents coinstallation of
i386 and amd64 versions of libslang2-dev and libsdl1.2-dev, but there are more.
> The /usr/bin/libpng12-config binary is going to cause trouble though :-(
Maybe let's drop it and replace with pkg-config .pc ?
Thanks,
Kirill
Information forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#689092; Package libpng12-dev.
(Thu, 19 Jun 2014 09:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Thu, 19 Jun 2014 09:51:04 GMT) (full text, mbox, link).
Message #15 received at 689092@bugs.debian.org (full text, mbox, reply):
I searched the current Ubuntu utopic archive for all source packages
build-depending on libpng*-config and having files matching the libpng-config or
libpng12-config strings.
fltk1.1, fltk1.3, graphviz, htmldoc, qtbase-opensource-src, qt4-x11, apitrace,
devil, freeimage, gamera, gerbv, glmark2, irrlicht, libtk-img, literki,
phantomjs, povray, calligra, supertuxkart, wxwidgets3.0: - unused, only
mentioned in changelogs, doc files, or embedded copy of libpng
amule, amule-adunanza - has fallbacks, pass LIBPNG_CFLAGS,
LIBPNG_LDFLAGS], LIBPNG_LIBS to configure
dillo - unconditional use of libpng2-config
grafx2 - unconditional use of libpng2-config
libwebp - has a fall back on the pkg-config file
openmsx - unconditional use of libpng2-config in build/3rdparty.mk,
is this used at all?
perl-tk - not used, only has an unused embedded copy of libpng
libgd2 - fallback, requires --with-png to use the pkg-config files.
gnustep-gui - falls back to guessing
grfcodec - hard code libpng-config
neverball - hard coded
openlayer - hard coded
armagetronad - only using libpng-config
briquolo - only using libpng-config
crystalspace - fallback to pkg-config
directfb - only using libpng-config
fbdesk - fallback to standard autoconf tests
fuse-emulator - fallback to standard autoconf tests
gle-graphics - fallback to pkg-config
jwm - fallback to pkg-config
libapache2-mod-qos - only using libpng-config
openttd - only using libpng-config
pngnq - hard coded
qpxtool - only using libpng-config
rgl - fallback to standard autoconf tests
xbmc - only used libpng-config
Information forwarded
to debian-bugs-dist@lists.debian.org, Anibal Monsalve Salazar <anibal@debian.org>:
Bug#689092; Package libpng12-dev.
(Thu, 19 Jun 2014 09:54:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Anibal Monsalve Salazar <anibal@debian.org>.
(Thu, 19 Jun 2014 09:54:10 GMT) (full text, mbox, link).
Message #20 received at 689092@bugs.debian.org (full text, mbox, reply):
Control: tags -1 + patch
So the idea is to make the libpng-config script not referencing any multiarch
location. Unfortunately the location is used for the --libdir option, so I
error out explicitly when this one is used. Afaics, only the --*flags options
are used.
The alternative approach would be to split out the binary into a separate
package, however this will require changes to the build dependencies of other
packages ...
patch at
http://launchpadlibrarian.net/177976125/libpng_1.2.50-1ubuntu2_1.2.50-1ubuntu3.diff.gz
Added tag(s) patch.
Request was from Matthias Klose <doko@ubuntu.com>
to 689092-submit@bugs.debian.org.
(Thu, 19 Jun 2014 09:54:10 GMT) (full text, mbox, link).
Reply sent
to Anibal Monsalve Salazar <anibal@debian.org>:
You have taken responsibility.
(Sat, 26 Jul 2014 03:51:05 GMT) (full text, mbox, link).
Notification sent
to Francois Gouget <fgouget@free.fr>:
Bug acknowledged by developer.
(Sat, 26 Jul 2014 03:51:05 GMT) (full text, mbox, link).
Message #27 received at 689092-close@bugs.debian.org (full text, mbox, reply):
Source: libpng
Source-Version: 1.2.50-2
We believe that the bug you reported is fixed in the latest version of
libpng, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 689092@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <anibal@debian.org> (supplier of updated libpng package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 26 Jul 2014 03:27:02 +0100
Source: libpng
Binary: libpng12-0 libpng12-dev libpng3 libpng12-0-udeb
Architecture: source mips
Version: 1.2.50-2
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Changed-By: Anibal Monsalve Salazar <anibal@debian.org>
Description:
libpng12-0 - PNG library - runtime
libpng12-0-udeb - PNG library - minimal runtime library (udeb)
libpng12-dev - PNG library - development
libpng3 - PNG library - runtime
Closes: 689092
Changes:
libpng (1.2.50-2) unstable; urgency=medium
.
* Merge 1.2.50-1ubuntu3.
Closes: #689092.
* Use defaults for dh_builddeb.
* Remove debian/source/options.
* Refresh patches.
Checksums-Sha1:
a78f523bafed4832e98114ca1d037dc2bbc674a6 2008 libpng_1.2.50-2.dsc
fb3eba4cd5c5197dda10e48b73a59658303c82ab 18372 libpng_1.2.50-2.debian.tar.xz
48f7120679582b703c88195047cf5e5270d6c47e 162748 libpng12-0_1.2.50-2_mips.deb
aed32c6923a1ee7a8f5ca09cd5aa8808b16d7a19 245822 libpng12-dev_1.2.50-2_mips.deb
5d69dbeedfbbde20010f8128858b7d92ef23eae6 1026 libpng3_1.2.50-2_mips.deb
abef94c143ecb7b541f22c59c582dce32056f1b4 53726 libpng12-0-udeb_1.2.50-2_mips.udeb
Checksums-Sha256:
6eada72036a525f34e499dcefa1a18f18e1b772d2e1e6f50bba397352d34dcf0 2008 libpng_1.2.50-2.dsc
aea0ac347fe3491b009ebc2fe09f51787cfcfeadfaae53e697b91b1239c8b70b 18372 libpng_1.2.50-2.debian.tar.xz
c32f8a1a3c02fba0ae2cda4102757264fb7cefd6836ee69cdb974b63e2f99565 162748 libpng12-0_1.2.50-2_mips.deb
900541cb01c59ea8b379717bfebd17e4f1570fee10524df1749094e6b0f70612 245822 libpng12-dev_1.2.50-2_mips.deb
f3aefc5e4e24c73a7336cef8adc8d71fad0e652aadc7ac19b1fb5f2c30a45440 1026 libpng3_1.2.50-2_mips.deb
4c51397b541582102a3a3dd6f0b4a4fe27715de685dd27fdcd2efcdf902d71cb 53726 libpng12-0-udeb_1.2.50-2_mips.udeb
Files:
023bd8a9b68083475c5379c71154cdcb 162748 libs optional libpng12-0_1.2.50-2_mips.deb
8c700c46067b80e067f998666c91538c 245822 libdevel optional libpng12-dev_1.2.50-2_mips.deb
dd228dc52e1482b7b86ffaef77a8364d 1026 oldlibs optional libpng3_1.2.50-2_mips.deb
126000718c2cb5fa4015e5d3832ba2ea 53726 debian-installer extra libpng12-0-udeb_1.2.50-2_mips.udeb
f38a0dc4ecc41b2af9ab1937d3851cd5 2008 libs optional libpng_1.2.50-2.dsc
dc0d41d8b78f1550943f2f042e3eb5e7 18372 libs optional libpng_1.2.50-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJT0xXEAAoJEHxWrP6UeJfYeU0QAK8LPKmZQcuZcPJjqEAjDM/Q
nsaCPJ8wjD+jizJ/rZuKL8PcOD/Pt/wGJfGCe8WYjL+eEGCh+zwkW09ClTd4bgWh
Z8S5d91/VqU1B7b1BfzqYWN64FFKv292jXdEzrORtmnzM5IAwLml50p9u58a8T4Z
m4/uGR52OLMYQ2IBBLPrHND2mTZ0g6rRhGLac8niyhf8e5+Mim7g98d7oebzXDzX
U0BE9wOeNEklT4D2uqZuKaIhddopeK+mKj8ttDbnTOJi8TAHU/fjIAVgbO82DL64
gfX1JiHgDb7ViaUvJoJnToHRFTpYX7Z9t4iAoqnG6CkF86i1gHak9a0appVSYpQ9
uZeiqpK+04COBCl+Z73yxo2zwpJsu9MeeI0yOWNfMPcfNGFz4R5u4zrBypVbvXtf
AGj1aOnrRosttZu8smiT2VseDKk99Sf20YgYu0OF+i+GlqJO1lRPlMZz830tu2W4
vYrWeWpMdlPD/zz8qehPjmHiespWTXQsHhekWB5n54ou0QacWb9DKWfdqJXeY+sl
UW2Xm9Pl2DcElln6w2467YKHHzopDZ8m1mC3OY//3EMNkmLv0O1/r9EhWFP0z+XH
A34v8+9+UlzC1oaLVwqa1CnUiYvXxTUkKp30EfIBKuH9RWqq/NrLGsf/xomOdzoL
KzgarVpUicC7MVDRkyzx
=7vMM
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 28 Aug 2014 07:38:51 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 01:43:18 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.