Your message dated Tue, 08 Aug 2017 16:20:12 +0000
with message-id <e1df7eq-0001in...@fasolo.debian.org>
and subject line Bug#867425: fixed in gcc-defaults 1.172
has caused the Debian Bug report #867425,
regarding gcc-defaults: /usr/share/doc/gcc symlink recreated on every package 
upgrade
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 ow...@bugs.debian.org
immediately.)


-- 
867425: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867425
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gcc-defaults
Version: 1.168d1
Severity: minor
Tags: patch

The gcc preinst script removes the /usr/share/doc/gcc symlink (it tests
whether /usr/share/doc/gcc is a directory, but this test also succeeds
for a symlink to a directory), apparently as part of a
directory -> symlink conversion that happened over 16 years ago:

,----
| gcc-defaults (0.4) unstable; urgency=low
| 
|   * Link /usr/share/doc/gcc to cpp doc directory (#80990).
| 
|  -- Matthias Klose <d...@debian.org>  Mon,  1 Jan 2001 18:27:27 +0100
`----

It seems that the preinst script and the part of the postinst script
that also deals with this conversion can be safely removed, see the
attached patch.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

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

diff -Nru gcc-defaults-1.168d1/debian/gcc.postinst.in gcc-defaults-1.168d1local1/debian/gcc.postinst.in
--- gcc-defaults-1.168d1/debian/gcc.postinst.in	2013-06-12 23:03:20.000000000 +0200
+++ gcc-defaults-1.168d1local1/debian/gcc.postinst.in	2017-07-06 10:00:09.000000000 +0200
@@ -1,12 +1,5 @@
 #! /bin/sh -e
 
-# remove the doc dir, if it's still a directory and replace with a symlink
-pkg=`basename $0 .postinst`
-if [ ! -L  /usr/share/doc/$pkg ]; then
-    rm -rf /usr/share/doc/$pkg
-    ln -s cpp /usr/share/doc/$pkg
-fi
-
 update-alternatives --quiet \
     --install /usr/bin/cc cc /usr/bin/gcc 20 \
     @GFDL@--slave /usr/share/man/man1/cc.1.gz cc.1.gz /usr/share/man/man1/gcc.1.gz
diff -Nru gcc-defaults-1.168d1/debian/gcc.preinst gcc-defaults-1.168d1local1/debian/gcc.preinst
--- gcc-defaults-1.168d1/debian/gcc.preinst	2015-07-18 20:30:28.000000000 +0200
+++ gcc-defaults-1.168d1local1/debian/gcc.preinst	1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-#! /bin/sh -e
-
-if [ -d /usr/share/doc/gcc ]; then
-    echo "Removing old gcc doc directory."
-    rm -rf /usr/share/doc/gcc
-fi
-
-#DEBHELPER#
-
-exit 0

--- End Message ---
--- Begin Message ---
Source: gcc-defaults
Source-Version: 1.172

We believe that the bug you reported is fixed in the latest version of
gcc-defaults, 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 867...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated gcc-defaults 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 08 Aug 2017 11:56:36 -0400
Source: gcc-defaults
Binary: cpp gcc gcc-multilib g++ g++-multilib gobjc gobjc-multilib gobjc++ 
gobjc++-multilib gfortran gfortran-multilib gccgo gccgo-multilib libgcj-common 
libgcj-bc gcj-jdk gcj-jre-headless gcj-jre gdc gdc-multilib libgphobos-dev 
gccbrig gcc-offload-nvptx gcc-hppa64-linux-gnu cpp-s390x-linux-gnu 
gcc-s390x-linux-gnu g++-s390x-linux-gnu gobjc-s390x-linux-gnu 
gobjc++-s390x-linux-gnu gfortran-s390x-linux-gnu gccgo-s390x-linux-gnu 
gcj-s390x-linux-gnu gdc-s390x-linux-gnu gcc-multilib-s390x-linux-gnu 
g++-multilib-s390x-linux-gnu gobjc-multilib-s390x-linux-gnu 
gobjc++-multilib-s390x-linux-gnu gfortran-multilib-s390x-linux-gnu 
gccgo-multilib-s390x-linux-gnu gdc-multilib-s390x-linux-gnu 
cpp-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu 
gobjc-powerpc64le-linux-gnu gobjc++-powerpc64le-linux-gnu 
gfortran-powerpc64le-linux-gnu gccgo-powerpc64le-linux-gnu 
gcj-powerpc64le-linux-gnu gdc-powerpc64le-linux-gnu cpp-aarch64-linux-gnu 
gcc-aarch64-linux-gnu
 g++-aarch64-linux-gnu gobjc-aarch64-linux-gnu gobjc++-aarch64-linux-gnu 
gfortran-aarch64-linux-gnu gccgo-aarch64-linux-gnu gcj-aarch64-linux-gnu 
gdc-aarch64-linux-gnu cpp-arm-linux-gnueabihf gcc-arm-linux-gnueabihf 
g++-arm-linux-gnueabihf gobjc-arm-linux-gnueabihf gobjc++-arm-linux-gnueabihf 
gfortran-arm-linux-gnueabihf gccgo-arm-linux-gnueabihf gcj-arm-linux-gnueabihf 
gdc-arm-linux-gnueabihf cpp-arm-linux-gnueabi gcc-arm-linux-gnueabi 
g++-arm-linux-gnueabi gobjc-arm-linux-gnueabi gobjc++-arm-linux-gnueabi 
gfortran-arm-linux-gnueabi gccgo-arm-linux-gnueabi gcj-arm-linux-gnueabi 
gdc-arm-linux-gnueabi cpp-mips-linux-gnu gcc-mips-linux-gnu g++-mips-linux-gnu 
gobjc-mips-linux-gnu gobjc++-mips-linux-gnu gfortran-mips-linux-gnu 
gccgo-mips-linux-gnu gcj-mips-linux-gnu gdc-mips-linux-gnu 
gcc-multilib-mips-linux-gnu g++-multilib-mips-linux-gnu 
gobjc-multilib-mips-linux-gnu gobjc++-multilib-mips-linux-gnu 
gfortran-multilib-mips-linux-gnu gccgo-multilib-mips-linux-gnu
 gdc-multilib-mips-linux-gnu cpp-mipsel-linux-gnu gcc-mipsel-linux-gnu 
g++-mipsel-linux-gnu gobjc-mipsel-linux-gnu gobjc++-mipsel-linux-gnu 
gfortran-mipsel-linux-gnu gccgo-mipsel-linux-gnu gcj-mipsel-linux-gnu 
gdc-mipsel-linux-gnu gcc-multilib-mipsel-linux-gnu 
g++-multilib-mipsel-linux-gnu gobjc-multilib-mipsel-linux-gnu 
gobjc++-multilib-mipsel-linux-gnu gfortran-multilib-mipsel-linux-gnu 
gccgo-multilib-mipsel-linux-gnu gdc-multilib-mipsel-linux-gnu 
cpp-mips64el-linux-gnuabi64 gcc-mips64el-linux-gnuabi64 
g++-mips64el-linux-gnuabi64 gobjc-mips64el-linux-gnuabi64 
gobjc++-mips64el-linux-gnuabi64 gfortran-mips64el-linux-gnuabi64 
gccgo-mips64el-linux-gnuabi64 gcj-mips64el-linux-gnuabi64 
gdc-mips64el-linux-gnuabi64 gcc-multilib-mips64el-linux-gnuabi64 
g++-multilib-mips64el-linux-gnuabi64 gobjc-multilib-mips64el-linux-gnuabi64 
gobjc++-multilib-mips64el-linux-gnuabi64 
gfortran-multilib-mips64el-linux-gnuabi64 gccgo-multilib-mips64el-linux-gnuabi64
 gdc-multilib-mips64el-linux-gnuabi64
Architecture: source
Version: 1.172
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-...@lists.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Description:
 cpp        - GNU C preprocessor (cpp)
 cpp-aarch64-linux-gnu - GNU C preprocessor (cpp) for the arm64 architecture
 cpp-arm-linux-gnueabi - GNU C preprocessor (cpp) for the armel architecture
 cpp-arm-linux-gnueabihf - GNU C preprocessor (cpp) for the armhf architecture
 cpp-mips-linux-gnu - GNU C preprocessor (cpp) for the mips architecture
 cpp-mips64el-linux-gnuabi64 - GNU C preprocessor (cpp) for the mips64el 
architecture
 cpp-mipsel-linux-gnu - GNU C preprocessor (cpp) for the mipsel architecture
 cpp-powerpc64le-linux-gnu - GNU C preprocessor (cpp) for the ppc64el 
architecture
 cpp-s390x-linux-gnu - GNU C preprocessor (cpp) for the s390x architecture
 g++        - GNU C++ compiler
 g++-aarch64-linux-gnu - GNU C++ compiler for the arm64 architecture
 g++-arm-linux-gnueabi - GNU C++ compiler for the armel architecture
 g++-arm-linux-gnueabihf - GNU C++ compiler for the armhf architecture
 g++-mips-linux-gnu - GNU C++ compiler for the mips architecture
 g++-mips64el-linux-gnuabi64 - GNU C++ compiler for the mips64el architecture
 g++-mipsel-linux-gnu - GNU C++ compiler for the mipsel architecture
 g++-multilib - GNU C++ compiler (multilib files)
 g++-multilib-mips-linux-gnu - GNU C++ compiler for the mips architecture
 g++-multilib-mips64el-linux-gnuabi64 - GNU C++ compiler for the mips64el 
architecture
 g++-multilib-mipsel-linux-gnu - GNU C++ compiler for the mipsel architecture
 g++-multilib-s390x-linux-gnu - GNU C++ compiler for the s390x architecture
 g++-powerpc64le-linux-gnu - GNU C++ compiler for the ppc64el architecture
 g++-s390x-linux-gnu - GNU C++ compiler for the s390x architecture
 gcc        - GNU C compiler
 gcc-aarch64-linux-gnu - GNU C compiler for the arm64 architecture
 gcc-arm-linux-gnueabi - GNU C compiler for the armel architecture
 gcc-arm-linux-gnueabihf - GNU C compiler for the armhf architecture
 gcc-hppa64-linux-gnu - GNU C compiler (cross compiler for hppa64-linux-gnu)
 gcc-mips-linux-gnu - GNU C compiler for the mips architecture
 gcc-mips64el-linux-gnuabi64 - GNU C compiler for the mips64el architecture
 gcc-mipsel-linux-gnu - GNU C compiler for the mipsel architecture
 gcc-multilib - GNU C compiler (multilib files)
 gcc-multilib-mips-linux-gnu - GNU C compiler for the mips architecture
 gcc-multilib-mips64el-linux-gnuabi64 - GNU C compiler for the mips64el 
architecture
 gcc-multilib-mipsel-linux-gnu - GNU C compiler for the mipsel architecture
 gcc-multilib-s390x-linux-gnu - GNU C compiler for the s390x architecture
 gcc-offload-nvptx - GCC offloading compiler to NVPTX
 gcc-powerpc64le-linux-gnu - GNU C compiler for the ppc64el architecture
 gcc-s390x-linux-gnu - GNU C compiler for the s390x architecture
 gccbrig    - GNU BRIG (HSA IL) frontend
 gccgo      - Go compiler, based on the GCC backend
 gccgo-aarch64-linux-gnu - Go compiler (based on GCC) for the arm64 architecture
 gccgo-arm-linux-gnueabi - Go compiler (based on GCC) for the armel architecture
 gccgo-arm-linux-gnueabihf - Go compiler (based on GCC) for the armhf 
architecture
 gccgo-mips-linux-gnu - Go compiler (based on GCC) for the mips architecture
 gccgo-mips64el-linux-gnuabi64 - Go compiler (based on GCC) for the mips64el 
architecture
 gccgo-mipsel-linux-gnu - Go compiler (based on GCC) for the mipsel architecture
 gccgo-multilib - Go compiler, based on the GCC backend (multilib files)
 gccgo-multilib-mips-linux-gnu - Go compiler (based on GCC) for the mips 
architecture
 gccgo-multilib-mips64el-linux-gnuabi64 - Go compiler (based on GCC) for the 
mips64el architecture
 gccgo-multilib-mipsel-linux-gnu - Go compiler (based on GCC) for the mipsel 
architecture
 gccgo-multilib-s390x-linux-gnu - Go compiler (based on GCC) for the s390x 
architecture
 gccgo-powerpc64le-linux-gnu - Go compiler (based on GCC) for the ppc64el 
architecture
 gccgo-s390x-linux-gnu - Go compiler (based on GCC) for the s390x architecture
 gcj-aarch64-linux-gnu - GNU Java compiler (based on GCC) for the arm64 
architecture
 gcj-arm-linux-gnueabi - GNU Java compiler (based on GCC) for the armel 
architecture
 gcj-arm-linux-gnueabihf - GNU Java compiler (based on GCC) for the armhf 
architecture
 gcj-jdk    - gcj and Classpath development tools for Java(TM)
 gcj-jre    - Java runtime environment using GIJ/Classpath
 gcj-jre-headless - Java runtime environment using GIJ/Classpath (headless 
version)
 gcj-mips-linux-gnu - GNU Java compiler (based on GCC) for the mips architecture
 gcj-mips64el-linux-gnuabi64 - GNU Java compiler (based on GCC) for the 
mips64el architecture
 gcj-mipsel-linux-gnu - GNU Java compiler (based on GCC) for the mipsel 
architecture
 gcj-powerpc64le-linux-gnu - GNU Java compiler (based on GCC) for the ppc64el 
architecture
 gcj-s390x-linux-gnu - GNU Java compiler (based on GCC) for the s390x 
architecture
 gdc        - D compiler (language version 2), based on the GCC backend
 gdc-aarch64-linux-gnu - GNU D compiler (based on GCC) for the arm64 
architecture
 gdc-arm-linux-gnueabi - GNU D compiler (based on GCC) for the armel 
architecture
 gdc-arm-linux-gnueabihf - GNU D compiler (based on GCC) for the armhf 
architecture
 gdc-mips-linux-gnu - GNU D compiler (based on GCC) for the mips architecture
 gdc-mips64el-linux-gnuabi64 - GNU D compiler (based on GCC) for the mips64el 
architecture
 gdc-mipsel-linux-gnu - GNU D compiler (based on GCC) for the mipsel 
architecture
 gdc-multilib - D compiler (language version 2) (multilib files)
 gdc-multilib-mips-linux-gnu - GNU D compiler (based on GCC) for the mips 
architecture
 gdc-multilib-mips64el-linux-gnuabi64 - GNU D compiler (based on GCC) for the 
mips64el architecture
 gdc-multilib-mipsel-linux-gnu - GNU D compiler (based on GCC) for the mipsel 
architecture
 gdc-multilib-s390x-linux-gnu - GNU D compiler (based on GCC) for the s390x 
architecture
 gdc-powerpc64le-linux-gnu - GNU D compiler (based on GCC) for the ppc64el 
architecture
 gdc-s390x-linux-gnu - GNU D compiler (based on GCC) for the s390x architecture
 gfortran   - GNU Fortran 95 compiler
 gfortran-aarch64-linux-gnu - GNU Fortran 95 compiler for the arm64 architecture
 gfortran-arm-linux-gnueabi - GNU Fortran 95 compiler for the armel architecture
 gfortran-arm-linux-gnueabihf - GNU Fortran 95 compiler for the armhf 
architecture
 gfortran-mips-linux-gnu - GNU Fortran 95 compiler for the mips architecture
 gfortran-mips64el-linux-gnuabi64 - GNU Fortran 95 compiler for the mips64el 
architecture
 gfortran-mipsel-linux-gnu - GNU Fortran 95 compiler for the mipsel architecture
 gfortran-multilib - GNU Fortran 95 compiler (multilib files)
 gfortran-multilib-mips-linux-gnu - GNU Fortran 95 compiler for the mips 
architecture
 gfortran-multilib-mips64el-linux-gnuabi64 - GNU Fortran 95 compiler for the 
mips64el architecture
 gfortran-multilib-mipsel-linux-gnu - GNU Fortran 95 compiler for the mipsel 
architecture
 gfortran-multilib-s390x-linux-gnu - GNU Fortran 95 compiler for the s390x 
architecture
 gfortran-powerpc64le-linux-gnu - GNU Fortran 95 compiler for the ppc64el 
architecture
 gfortran-s390x-linux-gnu - GNU Fortran 95 compiler for the s390x architecture
 gobjc      - GNU Objective-C compiler
 gobjc++    - GNU Objective-C++ compiler
 gobjc++-aarch64-linux-gnu - GNU Objective-C++ compiler for the arm64 
architecture
 gobjc++-arm-linux-gnueabi - GNU Objective-C++ compiler for the armel 
architecture
 gobjc++-arm-linux-gnueabihf - GNU Objective-C++ compiler for the armhf 
architecture
 gobjc++-mips-linux-gnu - GNU Objective-C++ compiler for the mips architecture
 gobjc++-mips64el-linux-gnuabi64 - GNU Objective-C++ compiler for the mips64el 
architecture
 gobjc++-mipsel-linux-gnu - GNU Objective-C++ compiler for the mipsel 
architecture
 gobjc++-multilib - GNU Objective-C++ compiler (multilib files)
 gobjc++-multilib-mips-linux-gnu - GNU Objective-C++ compiler for the mips 
architecture
 gobjc++-multilib-mips64el-linux-gnuabi64 - GNU Objective-C++ compiler for the 
mips64el architecture
 gobjc++-multilib-mipsel-linux-gnu - GNU Objective-C++ compiler for the mipsel 
architecture
 gobjc++-multilib-s390x-linux-gnu - GNU Objective-C++ compiler for the s390x 
architecture
 gobjc++-powerpc64le-linux-gnu - GNU Objective-C++ compiler for the ppc64el 
architecture
 gobjc++-s390x-linux-gnu - GNU Objective-C++ compiler for the s390x architecture
 gobjc-aarch64-linux-gnu - GNU Objective-C compiler for the arm64 architecture
 gobjc-arm-linux-gnueabi - GNU Objective-C compiler for the armel architecture
 gobjc-arm-linux-gnueabihf - GNU Objective-C compiler for the armhf architecture
 gobjc-mips-linux-gnu - GNU Objective-C compiler for the mips architecture
 gobjc-mips64el-linux-gnuabi64 - GNU Objective-C compiler for the mips64el 
architecture
 gobjc-mipsel-linux-gnu - GNU Objective-C compiler for the mipsel architecture
 gobjc-multilib - GNU Objective-C compiler (multilib files)
 gobjc-multilib-mips-linux-gnu - GNU Objective-C compiler for the mips 
architecture
 gobjc-multilib-mips64el-linux-gnuabi64 - GNU Objective-C compiler for the 
mips64el architecture
 gobjc-multilib-mipsel-linux-gnu - GNU Objective-C compiler for the mipsel 
architecture
 gobjc-multilib-s390x-linux-gnu - GNU Objective-C compiler for the s390x 
architecture
 gobjc-powerpc64le-linux-gnu - GNU Objective-C compiler for the ppc64el 
architecture
 gobjc-s390x-linux-gnu - GNU Objective-C compiler for the s390x architecture
 libgcj-bc  - Link time only library for use with gcj
 libgcj-common - Java runtime library (common files)
 libgphobos-dev - Phobos D standard library
Closes: 867425
Changes:
 gcc-defaults (1.172) unstable; urgency=medium
 .
   * Build gccbrig on x86 linux architectures only.
   * Remove obsolete docdir symlink update (Sven Joachim). Closes: #867425.
   * Don't build gccgo packages on m68k.
Checksums-Sha1:
 d0901cb332f0f6baef0fa6a08dab28973bdd1f06 13298 gcc-defaults_1.172.dsc
 3c1ac28bfd0bcdd6108602f94fcc12b555037dfb 70267 gcc-defaults_1.172.tar.gz
 96a81111e4a8aa3a84b3f8225b405542cbd382ce 8973 
gcc-defaults_1.172_source.buildinfo
Checksums-Sha256:
 365920b8138af30852d88292f6d048a0782398ed28fe890754842f89bd7b18c2 13298 
gcc-defaults_1.172.dsc
 0000e88e5cfdc38f270d6d410483a85231c366fe741c759b2dad105800f568e3 70267 
gcc-defaults_1.172.tar.gz
 3d2329c8cea3e8566081467466e53d2de07fc7f258abbb9a5a21c643a71c963c 8973 
gcc-defaults_1.172_source.buildinfo
Files:
 cd8d56a2726913d96954a6475efb7dd6 13298 devel standard gcc-defaults_1.172.dsc
 5ff7311687a26dd9530be09f5b9b1ec7 70267 devel standard gcc-defaults_1.172.tar.gz
 46625e6f92f5c5be3855fce590872a45 8973 devel standard 
gcc-defaults_1.172_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlmJ4JcQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9XF6D/9kPq6kPotoFIgZNG/4trRkKGt7UKMwRh/7
ZXQBrP10OhXBw3LXOLZwEUyAcGsPGzzZqfVJf3h2kanb1haZ/GQZb1giKpZByMqM
sZDU+qPhIq2O9je1OOSoxOqyHbmOswvjlhMQUb1v9nFM0HDzZfRQYes7UHEAy07v
JViXABrG5EZVrHpopvDhCUjMsgijccx0hcRsEKNX1MGWwbKbduwBMnakcnBGpydm
njWFrD9uNsytb1dTaHGBEffNVUX7dQZqgFQHNdF9B763OQG3TfWmaccHoEkIg9QZ
AD58KD6Y6vVAdVsdZ5zvEXcyhepMCHzxw8gZkjQS/B0QVvvQvwaee8ioqQDXIWzw
yW3BM6oHDB+dzOP/nvVX8JwnWNikpztWlGANyrFCrD9kBXYsgC3yjYO+chlyWAIs
JfDPKjoVgbksDKkTefgdVkmthA7onCZjC+myDgMZhoxmH/4Bh+0U8cXTfsoMC71R
1XffenQ7dS6FZ4n41Wz0oVCTEks+n702q7X0yDEl4AXIVIcrStk8EqkPozHPZzgl
Hb+jraWm+BUEEHlaABf3ONMPTStJzaALo3sGnmNJbmhj3JXxN8vn2JFTliQKlyXN
pD3nsuAuk9A/sIogE47l64OTtTILmdlTwx2HnpEuZvWFITnntNBdcLLk41r7Nayl
btqz4RYWAA==
=HCBn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to