Your message dated Sat, 09 Jul 2011 15:33:29 +0000
with message-id <e1qfzx7-0007or...@franck.debian.org>
and subject line Bug#630853: fixed in gcc-defaults 1.106
has caused the Debian Bug report #630853,
regarding cpp: multi-arch: foreign or multi-arch: allowed?
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.)
--
630853: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630853
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cpp
Version: 4:4.6.0-6
Severity: wishlist
Usertags: multiarch
Hi there,
The cpp metapackage has certain reverse-dependencies which, in the multiarch
world, need to be coinstallable (e.g., -dev packages like libregina3-dev and
xutils-dev). To support this, cpp needs to be tagged either Multi-Arch:
foreign, or Multi-Arch: allowed.
Upon consideration, I think Multi-Arch: foreign is ok here. The interface
that cpp provides to its reverse-deps is always an exec() interface of
course, rather than a library interface, which normally would be enough to
qualify for Multi-Arch: foreign. But here there's also the factor that cpp
provides /usr/bin/$target-cpp, only for the given architecture. Could an
arch-dependent package that depends on cpp be assuming the availability of
/usr/bin/$target-cpp for its own arch? Or, coming from the other side,
cpp's preprocessing behavior is architecture independent but its header
search paths are not. Could accidentally installing a foreign arch version
of cpp break native packages that depend on it finding the native headers?
I believe we're safe from both.
We're safe from the first because the only case I know of where cpp will be
invoked as $target-cpp is when a package is being cross-built (either
because it's actually being cross-built, or because of a mis-invocation of
autoconf that sets things up for a cross-build instead of a native build).
In that case, you almost certainly aren't going to get very far with
cross-cpp, you need a cross-compiler as well; and if you have the
cross-compiler correctly installed and configured, it will almost certainly
come with (or depend on) cross-cpp, so no harm done.
We're safe from the second because again, nobody uses cpp by itself as a
toolchain that cares about system headers - they use it together with a
compiler. And the compiler has this dependency graph:
gcc ---Depends--> cpp
| \
Depends Depends
| \
V V
gcc-4.x --Depends--> cpp-4.x
So since none of the other packages in this graph are Multi-Arch: foreign,
installing a foreign-arch cpp package would require installing foreign-arch
versions of all the others - breaking any dependencies on gcc by a
native-arch package.
If you agree with the above reasoning, please make cpp Multi-Arch: foreign.
If you see flaws in my reasoning, please make cpp Multi-Arch: allowed
instead, and let me know what my error is. :)
Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: gcc-defaults
Source-Version: 1.106
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:
cpp_4.6.1-1_amd64.deb
to main/g/gcc-defaults/cpp_4.6.1-1_amd64.deb
g++-multilib_4.6.1-1_amd64.deb
to main/g/gcc-defaults/g++-multilib_4.6.1-1_amd64.deb
g++_4.6.1-1_amd64.deb
to main/g/gcc-defaults/g++_4.6.1-1_amd64.deb
gcc-defaults_1.106.dsc
to main/g/gcc-defaults/gcc-defaults_1.106.dsc
gcc-defaults_1.106.tar.gz
to main/g/gcc-defaults/gcc-defaults_1.106.tar.gz
gcc-multilib_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gcc-multilib_4.6.1-1_amd64.deb
gcc_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gcc_4.6.1-1_amd64.deb
gccgo-multilib_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gccgo-multilib_4.6.1-1_amd64.deb
gccgo_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gccgo_4.6.1-1_amd64.deb
gcj-jdk_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gcj-jdk_4.6.1-1_amd64.deb
gcj-jre-headless_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gcj-jre-headless_4.6.1-1_amd64.deb
gcj-jre_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gcj-jre_4.6.1-1_amd64.deb
gdc_4.4.6-1_amd64.deb
to main/g/gcc-defaults/gdc_4.4.6-1_amd64.deb
gfortran-multilib_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gfortran-multilib_4.6.1-1_amd64.deb
gfortran_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gfortran_4.6.1-1_amd64.deb
gobjc++-multilib_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gobjc++-multilib_4.6.1-1_amd64.deb
gobjc++_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gobjc++_4.6.1-1_amd64.deb
gobjc-multilib_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gobjc-multilib_4.6.1-1_amd64.deb
gobjc_4.6.1-1_amd64.deb
to main/g/gcc-defaults/gobjc_4.6.1-1_amd64.deb
libgcj-bc_4.6.1-1_amd64.deb
to main/g/gcc-defaults/libgcj-bc_4.6.1-1_amd64.deb
libgcj-common_4.4.6-1_all.deb
to main/g/gcc-defaults/libgcj-common_4.4.6-1_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 630...@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...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 09 Jul 2011 15:59:53 +0200
Source: gcc-defaults
Binary: cpp 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 gcc gcc-multilib gdc gcc-spu g++-spu gfortran-spu
Architecture: source all amd64
Version: 1.106
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Description:
cpp - GNU C preprocessor (cpp)
g++ - GNU C++ compiler
g++-multilib - GNU C++ compiler (multilib files)
g++-spu - SPU cross-compiler (C++ compiler)
gcc - GNU C compiler
gcc-multilib - GNU C compiler (multilib files)
gcc-spu - SPU cross-compiler (preprocessor and C compiler)
gccgo - Go compiler, based on the GCC backend
gccgo-multilib - Go compiler, based on the GCC backend (multilib files)
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)
gdc - D compiler, based on the GCC backend
gfortran - GNU Fortran 95 compiler
gfortran-multilib - GNU Fortran 95 compiler (multilib files)
gfortran-spu - SPU cross-compiler (Fortran compiler)
gobjc - GNU Objective-C compiler
gobjc++ - GNU Objective-C++ compiler
gobjc++-multilib - GNU Objective-C++ compiler (multilib files)
gobjc-multilib - GNU Objective-C compiler (multilib files)
libgcj-bc - Link time only library for use with gcj
libgcj-common - Java runtime library (common files)
Closes: 568299 630853 633073
Changes:
gcc-defaults (1.106) unstable; urgency=low
.
* Bump GCC 4.6 versions to 4.6.1.
* Bump GCC 4.4 versions to 4.4.6.
* Default to 4.6 for sh4 (Nobuhiro Iwamatsu). Closes: #633073.
* Default to 4.6 for ia64 (email exchange with Bdale Garbee).
* Default to 4.6 for sparc64 (Aurelian Jarno).
* Default to 4.6 for sparc. Last "supported" architecture in Debian
using GCC 4.4, but unmaintained by the Debian GCC maintainers.
* Make cpp Multi-Arch: allowed. Closes: #630853.
* cpp: Don't call update-alternatives on upgrade. Closes: #568299.
Checksums-Sha1:
267dfc97f4761ca2c37ec4e721575b78d074def9 1385 gcc-defaults_1.106.dsc
7ff7a8ee7d1b1b8d73ecf214d3dd3169ae6efb3e 58791 gcc-defaults_1.106.tar.gz
a30cfa432a8043ed1ceaecdc70f478bd3d44c0c3 139742 libgcj-common_4.4.6-1_all.deb
edec4f7b17b4508fb19799495cc66caf010330f0 15790 cpp_4.6.1-1_amd64.deb
54f5eddea845c76aa9dd4f40ab49247f70466e69 5018 gcc_4.6.1-1_amd64.deb
7212bac35317755882c6290bd3df82bc1714f3f2 820 gcc-multilib_4.6.1-1_amd64.deb
35502ce8152ca82fa6456965c8985b285a759d12 15800 gdc_4.4.6-1_amd64.deb
d63c7e992b1bff3d1e012b086f4f1cba960c4970 1370 g++_4.6.1-1_amd64.deb
1471e286c3788b2c9afed8b0034efd9cdb82d206 828 g++-multilib_4.6.1-1_amd64.deb
89b34a73d9fbdf0cefe051489fc8d4d44ad7b929 850 gobjc_4.6.1-1_amd64.deb
69ea071ea8d283252575b54dba9f10589bc41016 846 gobjc-multilib_4.6.1-1_amd64.deb
6e94c7627b47e610fc586b16b0f12d53c9ecc429 872 gobjc++_4.6.1-1_amd64.deb
5d6f9e9532209f1f3d48464b777816207e02b446 850 gobjc++-multilib_4.6.1-1_amd64.deb
0e35dea7a501cfa0d13d81cdff382ecc748086d5 1128 gfortran_4.6.1-1_amd64.deb
c2c97cb66743f06212a08e6232878b48c8d51644 848
gfortran-multilib_4.6.1-1_amd64.deb
5f24b71c74a803de7053756f4ccdea56172da04b 914 gccgo_4.6.1-1_amd64.deb
c0c9cb438bc6ff68d92ecf8fe2122009b2c056ed 876 gccgo-multilib_4.6.1-1_amd64.deb
64a312a9cfe89ea21e937bb415544aefe7b4a12e 1166 libgcj-bc_4.6.1-1_amd64.deb
27c306317a373182c42b03b15d1ac144a80156df 1474
gcj-jre-headless_4.6.1-1_amd64.deb
0d20592b13ed99c532b87dbb585ec5d9dd99eb93 1018 gcj-jre_4.6.1-1_amd64.deb
782ba48b3e79c23181d81174048e47310d13cd78 6228 gcj-jdk_4.6.1-1_amd64.deb
Checksums-Sha256:
b6aa390c31d4d42580b3864ffd922f7f3468e3e5ac9d174d5b9946851d83662c 1385
gcc-defaults_1.106.dsc
fb04430cd9c0810fac642f3c780589f8e737d96696027149667da438f960969f 58791
gcc-defaults_1.106.tar.gz
1be1e18de3e9eb51373d1d1ffa8617801fb551f38aa60e20073baaa638611269 139742
libgcj-common_4.4.6-1_all.deb
38b098699145c7fba95dfcd3f0f0198fd1eddf96d8583a47b7ba6dac276262dd 15790
cpp_4.6.1-1_amd64.deb
dbef1d93169099bc4cebb006c055424efc5ec330fd26cbfc37bcbd4bd0f2d04b 5018
gcc_4.6.1-1_amd64.deb
3cc29cb56444f95b7464b99c43b42e5134eff6e44873ca6b9e617aa0c594c37e 820
gcc-multilib_4.6.1-1_amd64.deb
11c6c940ac90300d4e7e6f2bd21974e272ea524a55ffcb6ee9240dc02e471358 15800
gdc_4.4.6-1_amd64.deb
82a319ffeb7953fb69b5882a7a907f2cbd5f0867b5381a2eda91d5f1f0be4c36 1370
g++_4.6.1-1_amd64.deb
cf3ee6cbd1c79bd33a85b1c96081ac8cd143bbd38f6ae2f44164dafc918b8e29 828
g++-multilib_4.6.1-1_amd64.deb
4e28d13aa4e1b14f80016308494bd523a6f2757ddb9d8cb3364b60ed2fbb56c3 850
gobjc_4.6.1-1_amd64.deb
066940167e386e73284f00e9a7174fc770049c1dadecd971fb98dde4c04b996a 846
gobjc-multilib_4.6.1-1_amd64.deb
a3201d7ef0718e6e2248fb423dd912df74fe4511e27cf4d8bf0377be03a4192c 872
gobjc++_4.6.1-1_amd64.deb
05a2b67aa3558097a2221cd5561835d73ee577b58382cadec71ae720d9c9f736 850
gobjc++-multilib_4.6.1-1_amd64.deb
3468fc64c35800524c9b4b7f903ffa45053bf7639c90df2880aeae15a11c8e5a 1128
gfortran_4.6.1-1_amd64.deb
2ea8192469811a0077515ce4581774ae5d5d0c11d62aecc4b3a6484346aa8dcd 848
gfortran-multilib_4.6.1-1_amd64.deb
7ec21824d9259dce61b045ad7210d6106718da3aaffcbbbc97041ec37adb63ac 914
gccgo_4.6.1-1_amd64.deb
adcf13bb0dabd0239e40887a64d08c4bcda34a3ed04c8302eb54df5732ea5da0 876
gccgo-multilib_4.6.1-1_amd64.deb
a6818a74523fe172de93b4b5a363b6a141557193aacc96af4db3a9ccd74e5548 1166
libgcj-bc_4.6.1-1_amd64.deb
aa86c77afb15a9d18b1a997e7afefa6055fb5c9f2cd2d8dbf670f93d49160e20 1474
gcj-jre-headless_4.6.1-1_amd64.deb
e3ea02427be71f608bc490c585a329193227728c3f942532ed1163964a1815a1 1018
gcj-jre_4.6.1-1_amd64.deb
317c3cebabb04d178623e2247f5ca442971d6f4d59648864e592ec642bf2bfd1 6228
gcj-jdk_4.6.1-1_amd64.deb
Files:
b0858cd3ce79af1981524ff0d8b2be48 1385 devel standard gcc-defaults_1.106.dsc
1c822fa73402c37182b36e565ba1d79f 58791 devel standard gcc-defaults_1.106.tar.gz
40cd67a5170e5f8a007f44daa97c4f49 139742 java optional
libgcj-common_4.4.6-1_all.deb
c985e2048e3624a14c0e059545fad903 15790 interpreters optional
cpp_4.6.1-1_amd64.deb
a683ac622e3f5f05bec2627a723eb3e5 5018 devel optional gcc_4.6.1-1_amd64.deb
07ffafc02ec94ada3bc464716c84090a 820 devel optional
gcc-multilib_4.6.1-1_amd64.deb
0b6975359a8e7316c23f4e065db63d3b 15800 devel optional gdc_4.4.6-1_amd64.deb
9d71532c09a7d9aae92d6a04e18fb397 1370 devel optional g++_4.6.1-1_amd64.deb
5f7c33ca604eb96b7129b7f620d56def 828 devel optional
g++-multilib_4.6.1-1_amd64.deb
f30e262c600c8ca2a1ecd02d2be8ac31 850 devel optional gobjc_4.6.1-1_amd64.deb
e0f1a8ae537daf149dcdc919b8e2f9d7 846 devel optional
gobjc-multilib_4.6.1-1_amd64.deb
ab6dec9457a57fb25ba40f655bb78b44 872 devel optional gobjc++_4.6.1-1_amd64.deb
22720b00b0c64fdbcad6402a7891236f 850 devel optional
gobjc++-multilib_4.6.1-1_amd64.deb
d2221c9efbd0faba465cba64731092e5 1128 devel optional gfortran_4.6.1-1_amd64.deb
d24dc43893baf59f49f1c77dac08dd4c 848 devel optional
gfortran-multilib_4.6.1-1_amd64.deb
808618d707dd593ee8f656faacf76857 914 devel optional gccgo_4.6.1-1_amd64.deb
24dceecea8d15784c300cccaa3678880 876 devel optional
gccgo-multilib_4.6.1-1_amd64.deb
74eb214e3d56665c02bfd33d075e2867 1166 java optional libgcj-bc_4.6.1-1_amd64.deb
891de30f53b6ea7d603cdac68b0a268f 1474 java optional
gcj-jre-headless_4.6.1-1_amd64.deb
16bc6c56947c6ce5f9b7fd0971ca464c 1018 java optional gcj-jre_4.6.1-1_amd64.deb
dfbb03f01748fa578daa939cd6df78a6 6228 java optional gcj-jdk_4.6.1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk4YckUACgkQStlRaw+TLJxd4gCcDL6fMUAUgDgTJJGWoZm2d+ej
k/AAoJPWaHw2Cs/X6Fk8+1gbJSt7klcO
=kS73
-----END PGP SIGNATURE-----
--- End Message ---