Your message dated Tue, 29 Apr 2008 06:02:20 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#466422: fixed in gcc-4.2 4.2.3-4
has caused the Debian Bug report #466422,
regarding gcc-4.2: broken alternatives for amd64 cross target
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.)
--
466422: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466422
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Source: gcc-4.2
Version: 4.2.2-7
Severity: normal
When building a cross compiler targeting Debian-amd64, the executable
prefix is x86_64-linux-gnu, but the alternatives are installed using the
prefix x86-64-linux-gnu, i.e. with a hyphen instead of the underscore.
e.g.:
/usr/bin/x86-64-linux-gnu-gcc ->
/etc/alternatives/x86-64-linux-gnu-gcc ->
/usr/bin/x86-64-linux-gnu-gcc-4.2, which doesn't exist.
The postinst and prerm scripts are generated by these lines in
debian/rules.d/binary-gcc-cross.mk:
sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g' < debian/gcc-cross.postinst
> debian/$(p_gcc)/DEBIAN/postinst
sed 's/cross-/$(TP)/g;s/-ver/$(pkg_ver)/g' < debian/gcc-cross.prerm >
debian/$(p_gcc)/DEBIAN/prerm
and similarly in binary-cpp-cross.mk and binary-cxx-cross.mk.
The problem is that $(TP) has the underscore converted to a hyphen even
though the actual executables do not:
TP = $(subst _,-,$(DEB_TARGET_GNU_TYPE))-
The file names passed to dh_movefiles are OK because they are
constructed using $(DEB_TARGET_GNU_TYPE) directly, e.g.:
files_gcc = \
$(PF)/bin/$(DEB_TARGET_GNU_TYPE)-gcc$(pkg_ver) \
[...]
The minimal patch is to remove the substitution from the definition of
$(TP):
=====
--- debian/rules.defs
+++ debian/rules.defs
@@ -96,7 +96,7 @@
# LS: Library Suffix. Used primarily at the end of cross compiler
# library package names (e.g. libgcc-powerpc-cross).
DEB_TARGET_ALIAS ?= $(DEB_TARGET_GNU_TYPE)
- TP = $(subst _,-,$(DEB_TARGET_GNU_TYPE))-
+ TP = $(DEB_TARGET_GNU_TYPE)-
TS = -$(subst _,-,$(DEB_TARGET_ALIAS))
LS = -$(subst _,-,$(DEB_TARGET_ARCH))-cross
endif
=====
Obviously this could be improved by consistently using $(TP) wherever it
is appropriate.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages gcc-4.2 depends on:
ii binutils 2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii cpp-4.2 4.2.2-7 The GNU C preprocessor
ii gcc-4.2-base 4.2.2-7 The GNU Compiler Collection (base
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libgcc1 1:4.3-20080127-1 GCC support library
Versions of packages gcc-4.2 recommends:
ii libc6-dev 2.7-6 GNU C Library: Development Librari
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: gcc-4.2
Source-Version: 4.2.3-4
We believe that the bug you reported is fixed in the latest version of
gcc-4.2, which is due to be installed in the Debian FTP archive:
cpp-4.2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/cpp-4.2_4.2.3-4_i386.deb
g++-4.2-multilib_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/g++-4.2-multilib_4.2.3-4_i386.deb
g++-4.2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/g++-4.2_4.2.3-4_i386.deb
gcc-4.2-base_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gcc-4.2-base_4.2.3-4_i386.deb
gcc-4.2-locales_4.2.3-4_all.deb
to pool/main/g/gcc-4.2/gcc-4.2-locales_4.2.3-4_all.deb
gcc-4.2-multilib_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gcc-4.2-multilib_4.2.3-4_i386.deb
gcc-4.2-source_4.2.3-4_all.deb
to pool/main/g/gcc-4.2/gcc-4.2-source_4.2.3-4_all.deb
gcc-4.2_4.2.3-4.diff.gz
to pool/main/g/gcc-4.2/gcc-4.2_4.2.3-4.diff.gz
gcc-4.2_4.2.3-4.dsc
to pool/main/g/gcc-4.2/gcc-4.2_4.2.3-4.dsc
gcc-4.2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gcc-4.2_4.2.3-4_i386.deb
gfortran-4.2-multilib_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gfortran-4.2-multilib_4.2.3-4_i386.deb
gfortran-4.2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gfortran-4.2_4.2.3-4_i386.deb
gobjc++-4.2-multilib_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gobjc++-4.2-multilib_4.2.3-4_i386.deb
gobjc++-4.2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gobjc++-4.2_4.2.3-4_i386.deb
gobjc-4.2-multilib_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gobjc-4.2-multilib_4.2.3-4_i386.deb
gobjc-4.2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/gobjc-4.2_4.2.3-4_i386.deb
lib64gfortran2-dbg_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/lib64gfortran2-dbg_4.2.3-4_i386.deb
lib64gfortran2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/lib64gfortran2_4.2.3-4_i386.deb
lib64stdc++6-4.2-dbg_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/lib64stdc++6-4.2-dbg_4.2.3-4_i386.deb
libgfortran2-dbg_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/libgfortran2-dbg_4.2.3-4_i386.deb
libgfortran2_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/libgfortran2_4.2.3-4_i386.deb
libstdc++6-4.2-dbg_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/libstdc++6-4.2-dbg_4.2.3-4_i386.deb
libstdc++6-4.2-dev_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/libstdc++6-4.2-dev_4.2.3-4_i386.deb
libstdc++6-4.2-doc_4.2.3-4_all.deb
to pool/main/g/gcc-4.2/libstdc++6-4.2-doc_4.2.3-4_all.deb
libstdc++6-4.2-pic_4.2.3-4_i386.deb
to pool/main/g/gcc-4.2/libstdc++6-4.2-pic_4.2.3-4_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <[EMAIL PROTECTED]> (supplier of updated gcc-4.2 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 26 Apr 2008 01:12:20 +0200
Source: gcc-4.2
Binary: gcc-4.2-base gcc-4.2 gcc-4.2-multilib gcc-4.2-hppa64 cpp-4.2
gcc-4.2-locales g++-4.2 g++-4.2-multilib gobjc++-4.2 gobjc++-4.2-multilib
gobjc-4.2 gobjc-4.2-multilib gfortran-4.2 gfortran-4.2-multilib libgfortran2
libgfortran2-dbg lib64gfortran2 lib64gfortran2-dbg lib32gfortran2
lib32gfortran2-dbg libstdc++6-4.2-dev libstdc++6-4.2-pic libstdc++6-4.2-dbg
lib32stdc++6-4.2-dbg lib64stdc++6-4.2-dbg libstdc++6-4.2-doc gcc-4.2-soft-float
gcc-4.2-source
Architecture: source all i386
Version: 4.2.3-4
Distribution: unstable
Urgency: low
Maintainer: Debian GCC Maintainers <[EMAIL PROTECTED]>
Changed-By: Matthias Klose <[EMAIL PROTECTED]>
Description:
cpp-4.2 - The GNU C preprocessor
g++-4.2 - The GNU C++ compiler
g++-4.2-multilib - The GNU C++ compiler (multilib files)
gcc-4.2 - The GNU C compiler
gcc-4.2-base - The GNU Compiler Collection (base package)
gcc-4.2-hppa64 - The GNU C compiler (cross compiler for hppa64)
gcc-4.2-locales - The GNU C compiler (native language support files)
gcc-4.2-multilib - The GNU C compiler (multilib files)
gcc-4.2-soft-float - The soft-floating-point gcc libraries (arm)
gcc-4.2-source - Source of the GNU Compiler Collection
gfortran-4.2 - The GNU Fortran 95 compiler
gfortran-4.2-multilib - The GNU Fortran 95 compiler (multilib files)
gobjc++-4.2 - The GNU Objective-C++ compiler
gobjc++-4.2-multilib - The GNU Objective-C++ compiler (multilib files)
gobjc-4.2 - The GNU Objective-C compiler
gobjc-4.2-multilib - The GNU Objective-C compiler (multilib files)
lib32gfortran2 - Runtime library for GNU Fortran applications (32bit)
lib32gfortran2-dbg - Runtime library for GNU Fortran applications (32 bit
debug symbol
lib32stdc++6-4.2-dbg - The GNU Standard C++ Library v3 (debugging files)
lib64gfortran2 - Runtime library for GNU Fortran applications (64bit)
lib64gfortran2-dbg - Runtime library for GNU Fortran applications (64bit debug
symbols
lib64stdc++6-4.2-dbg - The GNU Standard C++ Library v3 (debugging files)
libgfortran2 - Runtime library for GNU Fortran applications
libgfortran2-dbg - Runtime library for GNU Fortran applications (debug symbols)
libstdc++6-4.2-dbg - The GNU Standard C++ Library v3 (debugging files)
libstdc++6-4.2-dev - The GNU Standard C++ Library v3 (development files)
libstdc++6-4.2-doc - The GNU Standard C++ Library v3 (documentation files)
libstdc++6-4.2-pic - The GNU Standard C++ Library v3 (shared library subset
kit)
Closes: 454487 466422
Changes:
gcc-4.2 (4.2.3-4) unstable; urgency=low
.
* Update to SVN 20080420 from the ubuntu/gcc-4_2-branch.
- Fix PR middle-end/35163, wrong code, folding comparison loses cast.
- Remove pr34688.dpatch, applied upstream.
* Add gcc-multilib64dir patch, remove ppc64-biarch patch; gcc
-print-multi-os-directory prints `../lib' again.
* Add four more symbols to libgcj_bc, patch taken from the trunk.
* Fix alternative names for amd64 cross builds. Closes: #466422.
* debian/copyright: Update to GPLv3, remove the text of the GFDL
and reference the copy in common-licenses. Closes: #454487.
* Generate the locale data for the testsuite, if the locales package
is installed (not a dependency on all archs).
* Stop building gij/gcj on alpha, arm and hppa.
Checksums-Sha1:
a1211fa5913530208ca8fdca6ad4c2aef4e58961 2687 gcc-4.2_4.2.3-4.dsc
f5ee8c540f058ed4d13a2e6f8f422ba30bc9266f 1326244 gcc-4.2_4.2.3-4.diff.gz
25c7b632a37792c02286eee3b55b207760559d39 38441076
gcc-4.2-source_4.2.3-4_all.deb
b81b7aedd9c500597cf18970ced53fac748ec493 6615670
libstdc++6-4.2-doc_4.2.3-4_all.deb
0dbe25cdd1dce8c4492b079280344b3e0fa6a061 1951776
gcc-4.2-locales_4.2.3-4_all.deb
bb1178ee5dafaf3621f7332f7152f418caf9140a 97868 gcc-4.2-base_4.2.3-4_i386.deb
4fdf6ae77827d3c3df7ca8bcc5ee3b64681651e9 2470634 cpp-4.2_4.2.3-4_i386.deb
9fd6e7ac2acf74f0be6c0cdf3cfe45d84e7ea736 850
gobjc++-4.2-multilib_4.2.3-4_i386.deb
d0a4c6b7134a2a814202342888c1662c8145ff71 2665210 gobjc++-4.2_4.2.3-4_i386.deb
21b09cf6fdf3af4779b8bc9cc061182188792b17 930
gobjc-4.2-multilib_4.2.3-4_i386.deb
e4400e43d1dbb361695502a53b458080c2b9ea72 2613216 gobjc-4.2_4.2.3-4_i386.deb
9b274193314fbeee04bc9434d83d5aabc16496e7 995762
g++-4.2-multilib_4.2.3-4_i386.deb
e9d49233b8c198d8999537be0d3e2910f89b65b8 2780774 g++-4.2_4.2.3-4_i386.deb
008f4475d47d54a950aaf39bb5949fa6a0e737c2 4955706
lib64stdc++6-4.2-dbg_4.2.3-4_i386.deb
d8267a3eb30dcea97ca985ac074192b6dd2f4a46 1183016
libstdc++6-4.2-dev_4.2.3-4_i386.deb
e7f0b02d3b3496bb5591316127a074abfc90d157 468516
libstdc++6-4.2-pic_4.2.3-4_i386.deb
b77259f56725f120d19c809e9e6ce54d9bb45115 4802248
libstdc++6-4.2-dbg_4.2.3-4_i386.deb
7df30bdbb08fda042e14fc8e32be725419b3771a 196832 libgfortran2_4.2.3-4_i386.deb
7d4de60e41a47dd35b5c585de855d2bbfdecee38 320198
libgfortran2-dbg_4.2.3-4_i386.deb
8e41394b2e134c70952ddbc3e522cd626b913689 223254 lib64gfortran2_4.2.3-4_i386.deb
5e1d3129909826ce57a87b26fc52997d99083a0c 408480
lib64gfortran2-dbg_4.2.3-4_i386.deb
1427376aa1d323307bcf4b88e5a352960bc383d3 260454
gfortran-4.2-multilib_4.2.3-4_i386.deb
4943f04ba3d68924469423c31fff1a5dbe9eabcf 2834228 gfortran-4.2_4.2.3-4_i386.deb
3102bcf3d702c4a8551fde7cb5d976cb53a9e9b3 57170
gcc-4.2-multilib_4.2.3-4_i386.deb
02f103184849f7b8cb4b6e35709a67096cb38958 407048 gcc-4.2_4.2.3-4_i386.deb
Checksums-Sha256:
414930ee1777e321a81673a27d3dcdf315d883ac15a0b57b8a5cb2a86076b3ee 2687
gcc-4.2_4.2.3-4.dsc
73c52f99e258cc1e8343f55fe7a2af337e68206ca92efea5041f1d1cb3838f8d 1326244
gcc-4.2_4.2.3-4.diff.gz
879d50edebcb75936bd15a244b51b03e8a8f5ba330a893ad15b0e1daf3dfd055 38441076
gcc-4.2-source_4.2.3-4_all.deb
2e3dc68bfb0db151f1b3fe6c9d7958e68c3deda798c5e9f8ad731077b344b043 6615670
libstdc++6-4.2-doc_4.2.3-4_all.deb
d7eb1d62ecab54d82596d9abd40f354469f9b40c0e7e1e99636a797fd2a90c4a 1951776
gcc-4.2-locales_4.2.3-4_all.deb
2f5b73702270dae4199345ef2ace728c3ba8c6dedacd5ec6560cbb8bffd01607 97868
gcc-4.2-base_4.2.3-4_i386.deb
853e85159d306eabe82feb75dc4f8ff8d84121e1ee56d72a130f24b61f9098a9 2470634
cpp-4.2_4.2.3-4_i386.deb
a91989d2be7c1f9089cd9fce868f9bc67f2c9d52ba275e6b0f2511ed13424a4b 850
gobjc++-4.2-multilib_4.2.3-4_i386.deb
2af6f7b04a7620c8b62a604c73c5167af88027996ae94c83251ae5ca4c73e29f 2665210
gobjc++-4.2_4.2.3-4_i386.deb
0b48a681e964d59c0ba8d25080ea685b7ec021e0d8376571081a98b18ad38efa 930
gobjc-4.2-multilib_4.2.3-4_i386.deb
8cd5e64cc87834550d498b0a5dad176a0edea606e23fff027a6203b4744b8413 2613216
gobjc-4.2_4.2.3-4_i386.deb
0b6ece8384c6d28d64ee2660f59bc6f87dc835e43086cece776b356853e581bd 995762
g++-4.2-multilib_4.2.3-4_i386.deb
ffe046a8bfe1c25a8426eb62ce6dfac47e7a25a4dc3b2b331dd746c7ed11b405 2780774
g++-4.2_4.2.3-4_i386.deb
38365423d691bcf8dd240fe6b0db2ce7de5993bc3ce2759042512200b1bcb397 4955706
lib64stdc++6-4.2-dbg_4.2.3-4_i386.deb
8dfbb1dcd8eb41d6712a532c89cac57cfd9504b0abe7d2a61cf922623a7b5e55 1183016
libstdc++6-4.2-dev_4.2.3-4_i386.deb
3ab0bf0ef9c191fe34aea09fd9ff6c080405e88733d39df6c3b64bbb8065c550 468516
libstdc++6-4.2-pic_4.2.3-4_i386.deb
a0c69c1dc230d99802b4b239fd7e0230d7285703d6671cf681c0cf8b0225a067 4802248
libstdc++6-4.2-dbg_4.2.3-4_i386.deb
965f0dd0a335db7bba7f1659bc09467de7501fa3d780cbad173ab91ef378a625 196832
libgfortran2_4.2.3-4_i386.deb
31f73376f44e059222d79cd618ea5a805ff08834947e2a1b02137ca4d19e236a 320198
libgfortran2-dbg_4.2.3-4_i386.deb
a86bc49b23b8d6093a693a09849f6805e99bcc7cbfaa7bbc8dd86f86574566ed 223254
lib64gfortran2_4.2.3-4_i386.deb
f54a9c390e5baa21a75cb3ef0f3e16e3dbf5ac1e407742d45f32a430cebd0940 408480
lib64gfortran2-dbg_4.2.3-4_i386.deb
5dfeb961c0833be15b6ecbc87241515de36ea76757ccd9ee0953ad65fc20808b 260454
gfortran-4.2-multilib_4.2.3-4_i386.deb
486518fba612ab77f78880c9ef5783af21111d3c061d02c5675e5e937e0a5e56 2834228
gfortran-4.2_4.2.3-4_i386.deb
df4e2b0a76ae9c0cf4cb14912554819848093db8fe5adc0490189a1c5588168d 57170
gcc-4.2-multilib_4.2.3-4_i386.deb
1759d17d08d79bfa003379706f441cb236dd1f7cb226922b0462292efebfa545 407048
gcc-4.2_4.2.3-4_i386.deb
Files:
7d66a18169072a94cef6b5ccce6a3971 2687 devel optional gcc-4.2_4.2.3-4.dsc
a9b744f5d0b3ddc222c95d70d1ee000e 1326244 devel optional gcc-4.2_4.2.3-4.diff.gz
16bd45ecd0e51641b1e4e643985639b3 38441076 devel optional
gcc-4.2-source_4.2.3-4_all.deb
1cd93f52640a341ef9a1d3b72edaaca7 6615670 doc optional
libstdc++6-4.2-doc_4.2.3-4_all.deb
956007b54d66b526914f208d04f5f284 1951776 devel optional
gcc-4.2-locales_4.2.3-4_all.deb
8b3afa8ac7a3a12c8c5f3744ef5f8735 97868 libs required
gcc-4.2-base_4.2.3-4_i386.deb
b8de6033d8e0b3814e53e1838a0edaf2 2470634 interpreters optional
cpp-4.2_4.2.3-4_i386.deb
ab396882c975158d99a4e16f38a26df7 850 devel optional
gobjc++-4.2-multilib_4.2.3-4_i386.deb
0087282f1b58e2e29da9a2605ce332dd 2665210 devel optional
gobjc++-4.2_4.2.3-4_i386.deb
420b5dda8ad7f4a09a482df43cc33454 930 devel optional
gobjc-4.2-multilib_4.2.3-4_i386.deb
0725d9e67cc87aaa610d417e7ca584e2 2613216 devel optional
gobjc-4.2_4.2.3-4_i386.deb
9f32705841047559adc49560833ba01d 995762 devel optional
g++-4.2-multilib_4.2.3-4_i386.deb
9c21b923fd350fde14ed4acb65fe674d 2780774 devel optional
g++-4.2_4.2.3-4_i386.deb
16451b312fe18415de0c1d7e659664f8 4955706 libdevel extra
lib64stdc++6-4.2-dbg_4.2.3-4_i386.deb
149a6564c3d2430d90462c36b058632f 1183016 libdevel optional
libstdc++6-4.2-dev_4.2.3-4_i386.deb
bd77dc198fbc96a4470657cc8f2cb614 468516 libdevel extra
libstdc++6-4.2-pic_4.2.3-4_i386.deb
bdcefb20dc7410f5635ec371f0c12764 4802248 libdevel extra
libstdc++6-4.2-dbg_4.2.3-4_i386.deb
c741c618b6dc29a72b8cf1792683654f 196832 libs optional
libgfortran2_4.2.3-4_i386.deb
db9b34edcbdde1ffd9090288c0aced32 320198 libdevel extra
libgfortran2-dbg_4.2.3-4_i386.deb
db137d02aa29b693a3422bb5fea13cf4 223254 libs optional
lib64gfortran2_4.2.3-4_i386.deb
087c0ee329fbd6b5372bb7cd8a33cd99 408480 libdevel extra
lib64gfortran2-dbg_4.2.3-4_i386.deb
1e379bdad0d6b1fe112b4472a05eb528 260454 devel optional
gfortran-4.2-multilib_4.2.3-4_i386.deb
cfb0adcad418b921f565ce83147dd6b8 2834228 devel optional
gfortran-4.2_4.2.3-4_i386.deb
c9d85fcef20569d889e8320f5e9d31ab 57170 devel optional
gcc-4.2-multilib_4.2.3-4_i386.deb
972f0091ca61b65a71cab281bc3ee69c 407048 devel optional gcc-4.2_4.2.3-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIErX3StlRaw+TLJwRAhyKAJ9uSSjf9ivCMSlRnchHctgJc9WHmACgrQcj
2xljFubLoGf0k4PGDQop3YE=
=hub7
-----END PGP SIGNATURE-----
--- End Message ---