Debian Bug report logs -
#461440
libgtk2.0-0: Must not use a symlink for /usr/share/doc/libgtk2.0-0
Reported by: Sven Joachim <svenjoac@gmx.de>
Date: Fri, 18 Jan 2008 15:09:01 UTC
Severity: grave
Found in version gtk+2.0/2.12.5-1
Fixed in version gtk+2.0/2.12.5-2
Done: Loic Minier <lool@dooz.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Sven Joachim <svenjoac@gmx.de>, Sebastien Bacher <seb128@debian.org>:
Bug#461440; Package libgtk2.0-0.
(full text, mbox, link).
Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
New Bug report received and forwarded. Copy sent to Sven Joachim <svenjoac@gmx.de>, Sebastien Bacher <seb128@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libgtk2.0-0
Version: 2.12.5-1
Severity: serious
In this version, libgtk2.0-0 no longer has a versioned dependency on
libgtk2.0-common. That means that you must not symlink
/usr/share/doc/libgtk2.0-0 to libgtk2.0-common, see policy section 12.3.
Similarly, /usr/share/doc/libgtk2.0-bin must not link to libgtk2.0-0.
When you close this bug, don't forget to delete existing symlinks in
your preinst scripts.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.16
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgtk2.0-0 depends on:
ii libatk1.0-0 1.20.0-1 The ATK accessibility toolkit
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libcairo2 1.4.14-1 The Cairo 2D vector graphics libra
ii libcomerr2 1.40.4-1 common error description library
ii libcupsys2 1.3.5-1 Common UNIX Printing System(tm) -
ii libfontconfig1 2.5.0-2 generic font configuration library
ii libglib2.0-0 2.14.5-2 The GLib library of C routines
ii libgnutls13 2.0.4-1 the GNU TLS library - runtime libr
ii libgtk2.0-common 2.12.5-1 Common files for the GTK+ graphica
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libkrb53 1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii libpango1.0-0 1.18.4-1 Layout and rendering of internatio
ii libpng12-0 1.2.15~beta5-3 PNG library - runtime
ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxcomposite1 1:0.4.0-1 X11 Composite extension library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxdamage1 1:1.1.1-3 X11 damaged region extension libra
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxfixes3 1:4.0.3-2 X11 miscellaneous 'fixes' extensio
ii libxi6 2:1.1.3-1 X11 Input extension library
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxrandr2 2:1.2.2-1 X11 RandR extension library
ii libxrender1 1:0.9.4-1 X Rendering Extension client libra
ii zlib1g 1:1.2.3.3.dfsg-9 compression library - runtime
Versions of packages libgtk2.0-0 recommends:
ii hicolor-icon-theme 0.10-1 default fallback theme for FreeDes
ii libgtk2.0-bin 2.12.5-1 The programs for the GTK+ graphica
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Sebastien Bacher <seb128@debian.org>:
Bug#461440; Package libgtk2.0-0.
(full text, mbox, link).
Acknowledgement sent to Loïc Minier <lool@dooz.org>:
Extra info received and forwarded to list. Copy sent to Sebastien Bacher <seb128@debian.org>.
(full text, mbox, link).
Message #10 received at 461440@bugs.debian.org (full text, mbox, reply):
clone 461440 -1
reassign -1 debian-policy 3.7.3.0
stop
On Fri, Jan 18, 2008, Sven Joachim wrote:
> In this version, libgtk2.0-0 no longer has a versioned dependency on
> libgtk2.0-common. That means that you must not symlink
> /usr/share/doc/libgtk2.0-0 to libgtk2.0-common, see policy section 12.3.
> Similarly, /usr/share/doc/libgtk2.0-bin must not link to libgtk2.0-0.
>
> When you close this bug, don't forget to delete existing symlinks in
> your preinst scripts.
Indeed; this is made clear in
<file:///usr/share/doc/debian-policy/policy.html/footnotes.html#f83>.
I'd rather have this relaxed in policy; would it be possible to drop
the strict versionning requirements for symlinks?
I find the current Gtk dependencies saner than the previous ones which
complexified upgrades and were problematic on buildds and end user sid
systems due to arch: all / any version mismatches. The symlinks are
useful to save space on e.g. live CDs where /usr/share/doc
proliferation has a non-negligible cost (some MBs).
--
Loïc Minier
Bug 461440 cloned as bug 461443.
Request was from Loïc Minier <lool@dooz.org>
to control@bugs.debian.org.
(Fri, 18 Jan 2008 15:57:03 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Sebastien Bacher <seb128@debian.org>:
Bug#461440; Package libgtk2.0-0.
(full text, mbox, link).
Acknowledgement sent to Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>:
Extra info received and forwarded to list. Copy sent to Sebastien Bacher <seb128@debian.org>.
(full text, mbox, link).
Message #17 received at 461440@bugs.debian.org (full text, mbox, reply):
On Fri, Jan 18, 2008 at 04:45:41PM +0100, Loïc Minier wrote:
> clone 461440 -1
> reassign -1 debian-policy 3.7.3.0
> stop
>
> On Fri, Jan 18, 2008, Sven Joachim wrote:
> > In this version, libgtk2.0-0 no longer has a versioned dependency on
> > libgtk2.0-common. That means that you must not symlink
> > /usr/share/doc/libgtk2.0-0 to libgtk2.0-common, see policy section 12.3.
> > Similarly, /usr/share/doc/libgtk2.0-bin must not link to libgtk2.0-0.
> >
> > When you close this bug, don't forget to delete existing symlinks in
> > your preinst scripts.
>
> Indeed; this is made clear in
> <file:///usr/share/doc/debian-policy/policy.html/footnotes.html#f83>.
>
> I'd rather have this relaxed in policy; would it be possible to drop
> the strict versionning requirements for symlinks?
No, this could cause the copyright file to be inaccurate, in the
event the license change between versions and packages come from a
different versions.
Personnally I would rather mandate that every packages include the
copyright file in the deb.
There are better way to trim /usr/share/doc for system low on diskspace.
Cheers,
Bill.
Severity set to `wishlist' from `serious'
Request was from Loic Minier <lool@dooz.org>
to control@bugs.debian.org.
(Fri, 18 Jan 2008 16:54:02 GMT) (full text, mbox, link).
Severity set to `grave' from `wishlist'
Request was from Loic Minier <lool@dooz.org>
to control@bugs.debian.org.
(Fri, 18 Jan 2008 16:54:03 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Sebastien Bacher <seb128@debian.org>:
Bug#461440; Package libgtk2.0-0.
(full text, mbox, link).
Acknowledgement sent to Russ Allbery <rra@debian.org>:
Extra info received and forwarded to list. Copy sent to Sebastien Bacher <seb128@debian.org>.
(full text, mbox, link).
Message #26 received at 461440@bugs.debian.org (full text, mbox, reply):
Loïc Minier <lool@dooz.org> writes:
> I'd rather have this relaxed in policy; would it be possible to drop
> the strict versionning requirements for symlinks?
The reason for the Policy requirement is the copyright file, so I don't
think this can be relaxed without running the risk of getting the legal
material for the package wrong. Suppose, for instance, that someone had
an old version of one package installed with a different license than the
package providing the /usr/share/doc directory.
> I find the current Gtk dependencies saner than the previous ones which
> complexified upgrades and were problematic on buildds and end user sid
> systems due to arch: all / any version mismatches. The symlinks are
> useful to save space on e.g. live CDs where /usr/share/doc
> proliferation has a non-negligible cost (some MBs).
The common thing to do in this situation is to ship only the Debian
changelog and the copyright file in the /usr/share/doc directory of the
other package, along with a pointer to whatever directory has the real
documentation.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply sent to Loïc Minier <lool@dooz.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Sven Joachim <svenjoac@gmx.de>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #31 received at 461440-done@bugs.debian.org (full text, mbox, reply):
On Fri, Jan 18, 2008, Russ Allbery wrote:
> The reason for the Policy requirement is the copyright file, so I don't
> think this can be relaxed without running the risk of getting the legal
> material for the package wrong. Suppose, for instance, that someone had
> an old version of one package installed with a different license than the
> package providing the /usr/share/doc directory.
Indeed; I thought about the changelog versions mismatches, but didn't
think about copyright which is more criticial; that said, I would guess
mismatches would be transient, in sid or when upgrading for example.
But well, let's not take the risk indeed.
(closing, thanks)
> The common thing to do in this situation is to ship only the Debian
> changelog and the copyright file in the /usr/share/doc directory of the
> other package, along with a pointer to whatever directory has the real
> documentation.
That's still quite big. :-/
--
Loïc Minier
Information forwarded to debian-bugs-dist@lists.debian.org, Sebastien Bacher <seb128@debian.org>:
Bug#461440; Package libgtk2.0-0.
(full text, mbox, link).
Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Sebastien Bacher <seb128@debian.org>.
(full text, mbox, link).
Message #36 received at 461440@bugs.debian.org (full text, mbox, reply):
reopen 461440
thanks
On 2008-01-18 22:21 +0100, Loïc Minier wrote:
> On Fri, Jan 18, 2008, Russ Allbery wrote:
>> The reason for the Policy requirement is the copyright file, so I don't
>> think this can be relaxed without running the risk of getting the legal
>> material for the package wrong. Suppose, for instance, that someone had
>> an old version of one package installed with a different license than the
>> package providing the /usr/share/doc directory.
>
> Indeed; I thought about the changelog versions mismatches, but didn't
> think about copyright which is more criticial; that said, I would guess
> mismatches would be transient, in sid or when upgrading for example.
> But well, let's not take the risk indeed.
>
> (closing, thanks)
It seems you closed the wrong bug here, I'm correcting that.
Sven
Bug reopened, originator not changed.
Request was from Sven Joachim <svenjoac@gmx.de>
to control@bugs.debian.org.
(Fri, 18 Jan 2008 21:39:03 GMT) (full text, mbox, link).
Tags added: pending
Request was from Loic Minier <lool@dooz.org>
to control@bugs.debian.org.
(Mon, 21 Jan 2008 14:09:02 GMT) (full text, mbox, link).
Reply sent to Loic Minier <lool@dooz.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Sven Joachim <svenjoac@gmx.de>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #45 received at 461440-close@bugs.debian.org (full text, mbox, reply):
Source: gtk+2.0
Source-Version: 2.12.5-2
We believe that the bug you reported is fixed in the latest version of
gtk+2.0, which is due to be installed in the Debian FTP archive:
gtk+2.0_2.12.5-2.diff.gz
to pool/main/g/gtk+2.0/gtk+2.0_2.12.5-2.diff.gz
gtk+2.0_2.12.5-2.dsc
to pool/main/g/gtk+2.0/gtk+2.0_2.12.5-2.dsc
gtk2-engines-pixbuf_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/gtk2-engines-pixbuf_2.12.5-2_i386.deb
gtk2.0-examples_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/gtk2.0-examples_2.12.5-2_i386.deb
libgtk-directfb-2.0-0-udeb_2.12.5-2_i386.udeb
to pool/main/g/gtk+2.0/libgtk-directfb-2.0-0-udeb_2.12.5-2_i386.udeb
libgtk-directfb-2.0-0_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/libgtk-directfb-2.0-0_2.12.5-2_i386.deb
libgtk-directfb-2.0-dev_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/libgtk-directfb-2.0-dev_2.12.5-2_i386.deb
libgtk2.0-0-dbg_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/libgtk2.0-0-dbg_2.12.5-2_i386.deb
libgtk2.0-0_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/libgtk2.0-0_2.12.5-2_i386.deb
libgtk2.0-bin_2.12.5-2_all.deb
to pool/main/g/gtk+2.0/libgtk2.0-bin_2.12.5-2_all.deb
libgtk2.0-common_2.12.5-2_all.deb
to pool/main/g/gtk+2.0/libgtk2.0-common_2.12.5-2_all.deb
libgtk2.0-dev_2.12.5-2_i386.deb
to pool/main/g/gtk+2.0/libgtk2.0-dev_2.12.5-2_i386.deb
libgtk2.0-doc_2.12.5-2_all.deb
to pool/main/g/gtk+2.0/libgtk2.0-doc_2.12.5-2_all.deb
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 461440@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Loic Minier <lool@dooz.org> (supplier of updated gtk+2.0 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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 18 Jan 2008 10:38:43 +0100
Source: gtk+2.0
Binary: libgtk2.0-dev gtk2-engines-pixbuf libgtk-directfb-2.0-dev libgtk-directfb-2.0-0 libgtk-directfb-2.0-0-udeb libgtk2.0-0-dbg libgtk2.0-0 libgtk2.0-doc gtk2.0-examples libgtk2.0-common libgtk2.0-bin
Architecture: source all i386
Version: 2.12.5-2
Distribution: unstable
Urgency: medium
Maintainer: Sebastien Bacher <seb128@debian.org>
Changed-By: Loic Minier <lool@dooz.org>
Description:
gtk2-engines-pixbuf - Pixbuf-based theme for GTK+ 2.x
gtk2.0-examples - Examples files for the GTK+ 2.0
libgtk-directfb-2.0-0 - The GTK+ graphical user interface library - DirectFB runtime
libgtk-directfb-2.0-0-udeb - The GTK+ graphical user interface library - minimal runtime
libgtk-directfb-2.0-0-udeb - The GTK+ graphical user interface library - minimal runtime (udeb)
libgtk-directfb-2.0-dev - Development files for the GTK+ library - DirectFB version
libgtk2.0-0 - The GTK+ graphical user interface library
libgtk2.0-0-dbg - The GTK+ libraries and debugging symbols
libgtk2.0-bin - The programs for the GTK+ graphical user interface library
libgtk2.0-common - Common files for the GTK+ graphical user interface library
libgtk2.0-dev - Development files for the GTK+ library
libgtk2.0-doc - Documentation for the GTK+ graphical user interface library
Closes: 461440
Changes:
gtk+2.0 (2.12.5-2) unstable; urgency=medium
.
* Add ${shlibs:Depends} to libgtk2.0-dev.
* Rework /usr/share/doc symlinks completely; closes: #461440.
- Use a real directory for all packages using a symlink previously:
libgtk2.0-bin, libgtk-directfb-2.0-dev, libgtk2.0-dev, libgtk2.0-0-dbg,
libgtk-directfb-2.0-0, libgtk2.0-0; add a preinst snippet removing the
path on upgrade if it's a symlink and points to the proper directory;
add a prerm snippet removing the path on upgrade (for downgrades) if
it's a directory (and not a symlink).
- Create symlinks for changelog.gz, NEWS.gz, NEWS.pre-1-0.gz, and
README.gz in the /usr/share/doc dirs of these packages as well as for
gtk2-engines-pixbuf; add a libgtk2.0-common unversionned dependency for
all these packages.
- Split dh_installdocs and dh_installchangelogs calls on multiple packages
and use one call per package as the intent was to install in all the
specified packages; also call dh_installdocs and dh_installchangelogs
without any extra file for all packages to install copyright and Debian
changelog.
- Factor the list of dh_installdocs files in DH_INSTALLDOCS_FILES in
rules.
Files:
27c6ce799b0323d38c3e262f9dc5b613 1565 libs optional gtk+2.0_2.12.5-2.dsc
9bebe235de8845f8e33dd3deea7bfed0 85886 libs optional gtk+2.0_2.12.5-2.diff.gz
09a0354cb74f3e20db3e465f9b342b42 6079470 misc optional libgtk2.0-common_2.12.5-2_all.deb
3d1df349f32946245186027d6b52984e 128608 misc optional libgtk2.0-bin_2.12.5-2_all.deb
2cfbae53cc21ff6da938060fac834e67 4284398 doc optional libgtk2.0-doc_2.12.5-2_all.deb
09f45ac82937fd3e1524484fdb0dcf22 2053694 libs optional libgtk2.0-0_2.12.5-2_i386.deb
90e80601d5b753e36b2d7c40e123a75b 1755184 libs optional libgtk-directfb-2.0-0_2.12.5-2_i386.deb
f8eb7d13766a0c1be983d51fdf5482ed 1684040 debian-installer extra libgtk-directfb-2.0-0-udeb_2.12.5-2_i386.udeb
daf233d6b0c11e2c0475ba421c38e7e6 2773406 libdevel optional libgtk2.0-dev_2.12.5-2_i386.deb
072995b4ef7a9ae2511c75fc78401a43 126886 libdevel optional libgtk-directfb-2.0-dev_2.12.5-2_i386.deb
7e9af851cc2e16dfe3d734e41852d6c6 9411604 libdevel extra libgtk2.0-0-dbg_2.12.5-2_i386.deb
8aab38c4185a049d4cc01fe26db197cd 1461824 x11 extra gtk2.0-examples_2.12.5-2_i386.deb
f2375a163f389bbaf99c325235499d5f 1217570 graphics optional gtk2-engines-pixbuf_2.12.5-2_i386.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHlNQx4VUX8isJIMARAn96AJoDor+NGsKI7w19z81nT2nMDwCWXQCguafc
8Enz9ou8Ywe9elZgfxgaxP8=
=NoTt
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 24 Feb 2008 07:29:10 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 Jan 11 10:26:38 2018;
Machine Name:
buxtehude
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.