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

Bug#294221: marked as done (prcs: FTBFS (amd64/gcc-4.0): no matching function for call to '__gnu_cxx::stdio_filebuf<char, std::char_traits<char> >::stdio_filebuf(int, const std::_Ios_Openmode&, bool, const int&)')



Your message dated Mon, 06 Jun 2005 15:48:05 -0400
with message-id <E1DfNZt-00005S-00@newraff.debian.org>
and subject line Bug#294221: fixed in prcs 1.3.3-5
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; 8 Feb 2005 16:07:17 +0000
>From aj@andaco.de Tue Feb 08 08:07:17 2005
Return-path: <aj@andaco.de>
Received: from d157170.adsl.hansenet.de (localhost.localdomain) [80.171.157.170] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CyXtV-000538-00; Tue, 08 Feb 2005 08:07:17 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CyXtR-0007bT-Pu; Tue, 08 Feb 2005 17:07:13 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: prcs: FTBFS (amd64/gcc-4.0): no matching function for call to '__gnu_cxx::stdio_filebuf<char, std::char_traits<char> >::stdio_filebuf(int, const std::_Ios_Openmode&, bool, const int&)'
Message-Id: <E1CyXtR-0007bT-Pu@localhost.localdomain>
Date: Tue, 08 Feb 2005 17:07:13 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 

Package: prcs
Severity: normal
Tags: patch

When building 'prcs' on amd64 with gcc-4.0,
I get the following error:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include    -O2 -Wall -c -o rebuild.o `test -f 'rebuild.cc' || echo './'`rebuild.cc
rebuild.cc: In member function 'void RebuildFile::init_stream()':
rebuild.cc:1009: error: '__c_file' was not declared in this scope
rebuild.cc:1009: error: expected primary-expression before ')' token
rebuild.cc:1010: error: expected `;' before ')' token
make[5]: *** [rebuild.o] Error 1
make[5]: Leaving directory `/prcs-1.3.3/src'

With the attached patch 'prcs' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/prcs-1.3.3/debian/patches/50_g++-3.4.dpatch ./debian/patches/50_g++-3.4.dpatch
--- ../tmp-orig/prcs-1.3.3/debian/patches/50_g++-3.4.dpatch	2005-02-08 16:23:11.938608839 +0100
+++ ./debian/patches/50_g++-3.4.dpatch	2005-02-08 16:22:59.998921585 +0100
@@ -36,7 +36,7 @@
  						  false /* close */, default_segment_size);
          buf->pubseekoff(0, ios::end, ios::out);
 +#else
-+        buf = new __gnu_cxx::stdio_filebuf<char> ((__c_file*)fdopen(seg->fd()) "w"), ios::out,
++        buf = new __gnu_cxx::stdio_filebuf<char> (seg->fd(), ios::out,
 +						  default_segment_size);
 +        buf->pubseekoff(0, ios::end, ios::out);
  #endif
diff -urN ../tmp-orig/prcs-1.3.3/src/hash.cc ./src/hash.cc
--- ../tmp-orig/prcs-1.3.3/src/hash.cc	2004-05-10 02:40:55.000000000 +0200
+++ ./src/hash.cc	2005-02-08 16:20:01.920416570 +0100
@@ -144,7 +144,7 @@
 
 int hash(FileEntry*const& x, int M)
 {
-  return (unsigned int)x % M;
+  return (unsigned long)x % M;
 }
 
 #define generic template<class Key, class Data>

---------------------------------------
Received: (at 294221-close) by bugs.debian.org; 6 Jun 2005 19:51:33 +0000
>From katie@ftp-master.debian.org Mon Jun 06 12:51:32 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DfNdE-0002yJ-00; Mon, 06 Jun 2005 12:51:32 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DfNZt-00005S-00; Mon, 06 Jun 2005 15:48:05 -0400
From: Romain Francoise <rfrancoise@debian.org>
To: 294221-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#294221: fixed in prcs 1.3.3-5
Message-Id: <E1DfNZt-00005S-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 06 Jun 2005 15:48:05 -0400
Delivered-To: 294221-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 12

Source: prcs
Source-Version: 1.3.3-5

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

prcs-el_1.3.3-5_all.deb
  to pool/main/p/prcs/prcs-el_1.3.3-5_all.deb
prcs-synch_1.3.3-5_all.deb
  to pool/main/p/prcs/prcs-synch_1.3.3-5_all.deb
prcs-utils_1.3.3-5_all.deb
  to pool/main/p/prcs/prcs-utils_1.3.3-5_all.deb
prcs-visualtree_1.3.3-5_all.deb
  to pool/main/p/prcs/prcs-visualtree_1.3.3-5_all.deb
prcs_1.3.3-5.diff.gz
  to pool/main/p/prcs/prcs_1.3.3-5.diff.gz
prcs_1.3.3-5.dsc
  to pool/main/p/prcs/prcs_1.3.3-5.dsc
prcs_1.3.3-5_i386.deb
  to pool/main/p/prcs/prcs_1.3.3-5_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 294221@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Francoise <rfrancoise@debian.org> (supplier of updated prcs 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: Mon,  6 Jun 2005 21:09:01 +0200
Source: prcs
Binary: prcs-visualtree prcs-synch prcs prcs-el prcs-utils
Architecture: source all i386
Version: 1.3.3-5
Distribution: unstable
Urgency: low
Maintainer: Romain Francoise <rfrancoise@debian.org>
Changed-By: Romain Francoise <rfrancoise@debian.org>
Description: 
 prcs       - The Project Revision Control System
 prcs-el    - ELisp support for the Project Revision Control System
 prcs-synch - Synchronize PRCS projects between repositories
 prcs-utils - Utilities for PRCS
 prcs-visualtree - Visualize PRCS projects in a graph
Closes: 134047 149811 156588 159853 177879 204265 268350 272152 287958 293805 294074 294221
Changes: 
 prcs (1.3.3-5) unstable; urgency=low
 .
   * The "Stayin' alive, stayin' alive" release.
 .
   * New maintainer (closes: #293805).
   * debian/control: Update maintainer contact information.
 .
   * debian/prcs-el.emacsen-startup:
     + Use debian-pkg-add-load-path-item, don't special-case load-path
       modification for Emacs 19 which is long gone (closes: #272152).
     + Do nothing if the package has been removed but not purged.
     + Add source files to load-path.
 .
   * debian/patches/10_prcs-el_dirs.dpatch: New patch to prcs-hooks.el,
     wrap call to directory-files with condition-case to workaround a bug
     where opening files in executable but non readable directories
     signalled an error, many thanks to Aaron M. Ucko <ucko@debian.org>
     (closes: #294074).
 .
   * debian/patches/20_prcs-mv.dpatch: New patch, bring prcs-mv in sync
     with latest upstream (somewhat belatedly), patch submitted by Yann
     Dirson <dirson@debian.org> (closes: #204265).
 .
   * debian/patches/30_diff-N-corruption.dpatch: New patch, fixes a bug
     where calling 'prcs diff -N' on a project where files have been
     locally removed would completely wipe the PRCS project file...
     (closes: #159853).
 .
   * debian/patches/40_prcs_checkin.dpatch: New patch, initial checkins
     cannot be run with --no-action because PRCS needs the repository
     entry, clarify error message to make this more explicit in the command
     output (closes: #149811).
 .
   * debian/patches/50_prcserror_segv.dpatch: New patch, check pointer in
     prcserror.cc before dereferencing it to prevent a segmentation fault,
     this could happen in some cases when removing already deleted
     attributes from a project file during a merge (closes: #177879).
 .
   * debian/patches/60_prcs_empty-locks.dpatch: New patch, when trying to
     get a lock on the repository, ignore empty lock files instead of
     bailing out with the "Inconsistant lock information" message: empty
     lock files get created when the filesystem runs out of space at
     checkin time and we should just ignore them (closes: #156588).
 .
   * debian/patches/70_man_fixes.dpatch: New patch, fixes a few typos and
     spelling errors in man pages.
 .
   * debian/patches/50_g++-3.4.dpatch: Dropped (it doesn't actually fix the
     build with G++ 3.4).
   * debian/patches/80_build_fixes.dpatch: New patch:
     + (Conditionally) use new __gnu_cxx::stdio_filebuf prototype for g++
       versions newer than 3.3 (closes: #268350).
     + Change hash.cc to cast to long instead of int, for lack of a better
       fix (closes: #287958).
     + Drop erroneous fdopen change from the previous patch (closes: #294221).
 .
   * debian/patches/90_prcs-synch_misc.dpatch: New patch to prcs-synch:
     + Change the doc to say 'prcs-synch' instead of 'synch' when referring
       to the script since it's how it's called in Debian.
     + Apply a patch from "R. Church" <rc@ghostbitch.org> to fix
       repository sync failures over SSH (closes: #134047).
 .
   * debian/patches/00list: Update.
   * debian/control: Update build dependency on dpatch to >= 2.0.9 for the
     new style patches.
Files: 
 05b74ef0dd7a6bed1949943c1774502c 684 devel optional prcs_1.3.3-5.dsc
 17480e149d9a65a0c77bc19a443863e4 31579 devel optional prcs_1.3.3-5.diff.gz
 75a26c23316f534066052f1790b853c5 52026 devel optional prcs-el_1.3.3-5_all.deb
 77d1848abc6051a5ccf1b0c0df199a8d 32984 devel optional prcs-synch_1.3.3-5_all.deb
 5b1ec3a0feb196244e0bd8fa585c2ccc 16552 devel optional prcs-visualtree_1.3.3-5_all.deb
 3a47186648357b28a3eff46c144a9c17 48302 devel optional prcs-utils_1.3.3-5_all.deb
 7bd0f1adba272352a99c2d55e4e8e8fa 389292 devel optional prcs_1.3.3-5_i386.deb

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

iD8DBQFCpKNjogN2vsA8Vt8RAvNQAJ9sUVV4xLiH6HIMZxh4G4+79ca1AACdGaI+
Yk0oAPsfnK21Uy8xBQg1RDE=
=3XV5
-----END PGP SIGNATURE-----



Reply to: