[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#262884: marked as done (gcc-3.4 on amd64: libg2c0-dev gets wrong version number)



Your message dated Fri, 06 Aug 2004 17:57:19 -0400
with message-id <E1BtCiF-0002mK-00@newraff.debian.org>
and subject line Bug#262884: fixed in gcc-3.4 3.4.1ds1-4sarge1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Aug 2004 07:31:26 +0000
>From aj@andaco.de Mon Aug 02 00:31:26 2004
Return-path: <aj@andaco.de>
Received: from c204112.adsl.hansenet.de (localhost) [213.39.204.112] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BrXI6-0006T1-00; Mon, 02 Aug 2004 00:31:26 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BrXHs-00024z-BW; Mon, 02 Aug 2004 09:31:12 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: gcc-3.4 on amd64: libg2c0-dev gets wrong version number
Message-Id: <[🔎] E1BrXHs-00024z-BW@localhost>
Date: Mon, 02 Aug 2004 09:31:12 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gcc-3.4
Severity: wishlist
Tags: patch

In debian/rules.d/binary-fortran.mk the libg2c0 and libg2c0-dev packages
are created with different version numbers:

        dh_gencontrol -p$(p_g2c) -u-v$(DEB_EVERSION)

        dh_gencontrol -p$(p_g2cd) -u-v$(DEB_VERSION)

The libg2c0 package will get a version '1:3.4...' while the libg2c0-dev
package will get at version '3.4...' (i.e. without the leading '1:'). 
To avoid problems when upgrading from the '1:3.3...' versions, both
packages should get a '1:3.4...' version.

This will be a problem when the libg2c0-dev package will be built from
the gcc-3.4 package (instead of gcc-3.3 as it is now).

The attached patch fixes the version number for the libg2c0-dev package
in debian/rules.d/binary-fortran.mk. 

The patch also changes debian/rules.defs to build the common_pkgs and 
common_libs from gcc-3.4 for the amd64 architecture.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gcc-3.4-3.4.1ds1/debian/rules.d/binary-fortran.mk ./debian/rules.d/binary-fortran.mk
--- ../tmp-orig/gcc-3.4-3.4.1ds1/debian/rules.d/binary-fortran.mk	2004-08-02 09:13:46.765435768 +0200
+++ ./debian/rules.d/binary-fortran.mk	2004-08-02 09:13:05.800361893 +0200
@@ -98,7 +98,7 @@
 	dh_compress -p$(p_g2cd)
 	dh_fixperms -p$(p_g2cd)
 	dh_shlibdeps -p$(p_g2cd)
-	dh_gencontrol -p$(p_g2cd) -u-v$(DEB_VERSION)
+	dh_gencontrol -p$(p_g2cd) -u-v$(DEB_EVERSION)
 	dh_installdeb -p$(p_g2cd)
 	dh_md5sums -p$(p_g2cd)
 	dh_builddeb -p$(p_g2cd)
diff -urN ../tmp-orig/gcc-3.4-3.4.1ds1/debian/rules.defs ./debian/rules.defs
--- ../tmp-orig/gcc-3.4-3.4.1ds1/debian/rules.defs	2004-08-02 09:13:47.113368448 +0200
+++ ./debian/rules.defs	2004-08-02 09:13:05.801361699 +0200
@@ -92,8 +92,14 @@
 # gcc versions (fastjar, fixincludes, libgcj-common) ...
 with_common_pkgs := no
 
-# ... and some libraries, which do not change (libffi2, libg2c, libobjc1).
-with_common_libs := no
+# ... and some libraries, which do not change (libffi3, libg2c, libobjc1).
+with_common_libs := built from gcc-3.3
+
+# build common_pkgs and common_libs for amd64
+ifeq ($(DEB_TARGET_GNU_CPU),$(findstring $(DEB_TARGET_GNU_CPU),x86_64))
+  with_common_pkgs := yes
+  with_common_libs := yes
+endif
 
 #no_common_libs := s390
 #ifeq ($(DEB_TARGET_GNU_CPU), $(findstring $(DEB_TARGET_GNU_CPU),$(no_common_libs)))

---------------------------------------
Received: (at 262884-close) by bugs.debian.org; 6 Aug 2004 22:00:42 +0000
>From dsilvers@newraff.debian.org Fri Aug 06 15:00:42 2004
Return-path: <dsilvers@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BtClW-0003ci-00; Fri, 06 Aug 2004 15:00:42 -0700
Received: from dsilvers by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BtCiF-0002mK-00; Fri, 06 Aug 2004 17:57:19 -0400
From: Matthias Klose <doko@debian.org>
To: 262884-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#262884: fixed in gcc-3.4 3.4.1ds1-4sarge1
Message-Id: <E1BtCiF-0002mK-00@newraff.debian.org>
Sender: Daniel Silverstone <dsilvers@newraff.debian.org>
Date: Fri, 06 Aug 2004 17:57:19 -0400
Delivered-To: 262884-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 4

Source: gcc-3.4
Source-Version: 3.4.1ds1-4sarge1

We believe that the bug you reported is fixed in the latest version of
gcc-3.4, which is due to be installed in the Debian FTP archive:

cpp-3.4-doc_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/cpp-3.4-doc_3.4.1-4sarge1_all.deb
cpp-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/cpp-3.4_3.4.1-4sarge1_i386.deb
fastjar_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/fastjar_3.4.1-4sarge1_i386.deb
g++-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/g++-3.4_3.4.1-4sarge1_i386.deb
g77-3.4-doc_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/g77-3.4-doc_3.4.1-4sarge1_all.deb
g77-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/g77-3.4_3.4.1-4sarge1_i386.deb
gcc-3.4-base_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gcc-3.4-base_3.4.1-4sarge1_i386.deb
gcc-3.4-doc_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/gcc-3.4-doc_3.4.1-4sarge1_all.deb
gcc-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gcc-3.4_3.4.1-4sarge1_i386.deb
gcc-3.4_3.4.1ds1-4sarge1.diff.gz
  to pool/main/g/gcc-3.4/gcc-3.4_3.4.1ds1-4sarge1.diff.gz
gcc-3.4_3.4.1ds1-4sarge1.dsc
  to pool/main/g/gcc-3.4/gcc-3.4_3.4.1ds1-4sarge1.dsc
gcj-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gcj-3.4_3.4.1-4sarge1_i386.deb
gij-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gij-3.4_3.4.1-4sarge1_i386.deb
gnat-3.4-doc_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/gnat-3.4-doc_3.4.1-4sarge1_all.deb
gnat-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gnat-3.4_3.4.1-4sarge1_i386.deb
gobjc-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gobjc-3.4_3.4.1-4sarge1_i386.deb
gpc-2.1-3.4-doc_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/gpc-2.1-3.4-doc_3.4.1-4sarge1_all.deb
gpc-2.1-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/gpc-2.1-3.4_3.4.1-4sarge1_i386.deb
libffi3-dev_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libffi3-dev_3.4.1-4sarge1_i386.deb
libffi3_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libffi3_3.4.1-4sarge1_i386.deb
libgcc1_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libgcc1_3.4.1-4sarge1_i386.deb
libgcj5-awt_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libgcj5-awt_3.4.1-4sarge1_i386.deb
libgcj5-common_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/libgcj5-common_3.4.1-4sarge1_all.deb
libgcj5-dev_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libgcj5-dev_3.4.1-4sarge1_i386.deb
libgcj5_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libgcj5_3.4.1-4sarge1_i386.deb
libgnat-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libgnat-3.4_3.4.1-4sarge1_i386.deb
libstdc++6-dbg_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libstdc++6-dbg_3.4.1-4sarge1_i386.deb
libstdc++6-dev_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libstdc++6-dev_3.4.1-4sarge1_i386.deb
libstdc++6-doc_3.4.1-4sarge1_all.deb
  to pool/main/g/gcc-3.4/libstdc++6-doc_3.4.1-4sarge1_all.deb
libstdc++6-pic_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libstdc++6-pic_3.4.1-4sarge1_i386.deb
libstdc++6_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/libstdc++6_3.4.1-4sarge1_i386.deb
treelang-3.4_3.4.1-4sarge1_i386.deb
  to pool/main/g/gcc-3.4/treelang-3.4_3.4.1-4sarge1_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 262884@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-3.4 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: Wed,  4 Aug 2004 22:56:35 +0200
Source: gcc-3.4
Binary: g77-3.4-doc gcc-3.4-base libstdc++6 lib64gcj5-awt gnat-3.4 libobjc1 libgcj5 libgcc1 gcc-3.4 lib64g2c0 gobjc-3.4 libstdc++6-0 gcc-3.4-nof libgcc2 libstdc++6-dev libstdc++6-doc protoize libgnat-3.4 libgcj5-dev libstdc++6-0-pic libgcj5-common lib64stdc++6 libstdc++6-dbg gij-3.4 lib64gnat-3.4 lib64objc1 cpp-3.4 lib64gcj5 gcc-3.4-hppa64 gcc-3.4-soft-float libstdc++6-0-dev libgcj5-awt cpp-3.4-doc libgcj-common libffi3-dev gcc-3.4-doc libg2c0-dev gpc-2.1-3.4-doc lib64gcc1 fastjar treelang-3.4 libffi3 fixincludes libg2c0 libstdc++6-pic lib64ffi3 gnat-3.4-doc libstdc++6-0-dbg gcj-3.4 gpc-2.1-3.4 g++-3.4 g77-3.4
Architecture: source all i386
Version: 3.4.1ds1-4sarge1
Distribution: testing-proposed-updates
Urgency: low
Maintainer: Debian GCC maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 cpp-3.4    - The GNU C preprocessor
 cpp-3.4-doc - Documentation for the GNU C preprocessor (cpp)
 fastjar    - Jar creation utility
 g++-3.4    - The GNU C++ compiler
 g77-3.4    - The GNU Fortran 77 compiler
 g77-3.4-doc - Documentation for the GNU Fortran compiler (g77)
 gcc-3.4    - The GNU C compiler
 gcc-3.4-base - The GNU Compiler Collection (base package)
 gcc-3.4-doc - Documentation for the GNU compilers (gcc, gobjc, g++)
 gcj-3.4    - The GNU compiler for Java(TM)
 gij-3.4    - The GNU Java bytecode interpreter
 gnat-3.4   - The GNU Ada compiler
 gnat-3.4-doc - Documentation for the GNU Ada compiler (gnat)
 gobjc-3.4  - The GNU Objective-C compiler
 gpc-2.1-3.4 - The GNU Pascal compiler
 gpc-2.1-3.4-doc - Documentation for the GNU Pascal compiler (gpc)
 libffi3    - Foreign Function Interface library runtime
 libffi3-dev - Foreign Function Interface library (development files)
 libgcc1    - GCC support library
 libgcj5    - Java runtime library for use with gcj
 libgcj5-awt - AWT peer runtime libraries for use with gcj
 libgcj5-common - Java runtime library for use with gcj (jar files)
 libgcj5-dev - Java development headers and static library for use with gcj
 libgnat-3.4 - Runtime library for GNU Ada applications
 libstdc++6 - The GNU Standard C++ Library v3
 libstdc++6-dbg - The GNU Standard C++ Library v3 (debugging files)
 libstdc++6-dev - The GNU Standard C++ Library v3 (development files)
 libstdc++6-doc - The GNU Standard C++ Library v3 (documentation files)
 libstdc++6-pic - The GNU Standard C++ Library v3 (shared library subset kit)
 treelang-3.4 - The GNU Treelang compiler
Closes: 262459 262860 262884 262898 262911 263013
Changes: 
 gcc-3.4 (3.4.1ds1-4sarge1) testing-proposed-updates; urgency=low
 .
   * Upload to testing-proposed-updates to avoid the dependency on
     binutils-2.15.
   * Add path of newly built libgcc to LD_LIBRARY_PATH for building the
     shared gnat libraries (closes: #262860).
   * Really fix build-dependencies for hurd systems (closes: #262459).
   * Fix locations of Ada docs in gnat-doc's doc-base (closes: #262911).
   * Fix build with java disabled, but libffi enabled (closes: #263013).
   * Add epoch to libg2c-dev's version number (closes: #262884).
   * On amd64, do not build-depend on g77-3.3, gobjc3.3, g++-3.3.
     Closes: #262898. The dependencies only needed for running the testsuite
     with the installed compilers.
   * Build an empty libgcj5-awt package.
Files: 
 81cffc584705833edc99fed5452bb581 2453 devel optional gcc-3.4_3.4.1ds1-4sarge1.dsc
 cad32ef71a9066c534ef45ea5802f754 3743809 devel optional gcc-3.4_3.4.1ds1-4sarge1.diff.gz
 0e0b01864b052aba036c354a4c872638 181576 doc optional cpp-3.4-doc_3.4.1-4sarge1_all.deb
 108b95ad2e1c4155338ac9de266682bb 1913016 libs optional libgcj5-common_3.4.1-4sarge1_all.deb
 c37001fd55e453f40216142a13d97f07 4046002 doc optional libstdc++6-doc_3.4.1-4sarge1_all.deb
 f7271cb05b7426c9d4ec4f654492084a 628846 doc optional g77-3.4-doc_3.4.1-4sarge1_all.deb
 974fc8a2904fd9d53670f4bf877beb78 896384 doc optional gnat-3.4-doc_3.4.1-4sarge1_all.deb
 0ebedcd7fa26e208f96961e6d1a3f74f 468724 doc optional gpc-2.1-3.4-doc_3.4.1-4sarge1_all.deb
 cfa5778d694cefc354b2510b8ebd811c 1464352 doc optional gcc-3.4-doc_3.4.1-4sarge1_all.deb
 d88e36c91f741afdb7d007a98e5592bc 156038 devel optional gcc-3.4-base_3.4.1-4sarge1_i386.deb
 ec2b83ea1326ea7fc40070b879b11fe7 77888 libs required libgcc1_3.4.1-4sarge1_i386.deb
 a1d01db642210c385fe13ac6ae7fea65 1562868 interpreters optional cpp-3.4_3.4.1-4sarge1_i386.deb
 10961929940f48bc0992feddd8a4ffeb 1601862 devel optional gobjc-3.4_3.4.1-4sarge1_i386.deb
 f10ba60859f4be72120a1985dff587b2 13272 devel optional gij-3.4_3.4.1-4sarge1_i386.deb
 c38ba2c5d2c26d4dba5d207cdac21701 3498430 libs optional libgcj5_3.4.1-4sarge1_i386.deb
 acc20b9130c59962ab4862062cb44ef0 858 libs optional libgcj5-awt_3.4.1-4sarge1_i386.deb
 98ccdc6b1e2d4e32de99f3c299b9174d 1900840 devel optional gcj-3.4_3.4.1-4sarge1_i386.deb
 81b464a2a3091a20ec3eeae9d4fe8195 6282780 libdevel optional libgcj5-dev_3.4.1-4sarge1_i386.deb
 cf1fa4e45ad3b78a50984f6d41a419f3 116898 devel optional fastjar_3.4.1-4sarge1_i386.deb
 a253f09c2a0ba52bdad2195ec9e6f88e 76902 libs optional libffi3_3.4.1-4sarge1_i386.deb
 3ba7cf24fd8109e1f772c63c9dce89f0 8738 libdevel optional libffi3-dev_3.4.1-4sarge1_i386.deb
 f5aac2a4cbc696f514f60aa30b5036c4 1790938 devel optional g++-3.4_3.4.1-4sarge1_i386.deb
 ca31c8cf7e400fb48738379d36fbb745 320112 base optional libstdc++6_3.4.1-4sarge1_i386.deb
 b161046520e08c68b1cf00ec937d0dbc 872904 libdevel optional libstdc++6-dev_3.4.1-4sarge1_i386.deb
 f7eadba3c260a27c29962fa9c3e261a8 372510 libdevel extra libstdc++6-pic_3.4.1-4sarge1_i386.deb
 388d8e480bb23c3d99db71eee277f523 4419686 libdevel extra libstdc++6-dbg_3.4.1-4sarge1_i386.deb
 739985ccc3b71158fa1d5725592effc8 1719868 devel optional g77-3.4_3.4.1-4sarge1_i386.deb
 7a15dc88e097c75b271fcf944ced0c90 727544 libs optional libgnat-3.4_3.4.1-4sarge1_i386.deb
 2f0cf1a524c9101cbad879d272c58122 7125536 devel optional gnat-3.4_3.4.1-4sarge1_i386.deb
 e86fe5065bd9a4c2a1982be8624f0b9e 2709436 devel optional treelang-3.4_3.4.1-4sarge1_i386.deb
 8647b25fa16479e9b80c25d50ccac0e5 2107120 devel optional gpc-2.1-3.4_3.4.1-4sarge1_i386.deb
 fe9fa46b5edcedee9cfcdc9f6bf1ea8d 1344652 devel optional gcc-3.4_3.4.1-4sarge1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBEWkYStlRaw+TLJwRAhgGAJ9W3fGhyLJ3QbycDNIuSatLdUZgYwCghxfy
6eYqTyExgE60wLp8kGCnJkk=
=M0sp
-----END PGP SIGNATURE-----



Reply to: