Your message dated Thu, 21 Jul 2005 08:02:35 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#319327: fixed in jigdo 0.7.2-2
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; 21 Jul 2005 09:11:08 +0000
>From [EMAIL PROTECTED] Thu Jul 21 02:11:07 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dsl093-039-086.pdx1.dsl.speakeasy.net (mauritius.dodds.net) 
[66.93.39.86] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DvX59-0004Y7-00; Thu, 21 Jul 2005 02:11:07 -0700
Received: by mauritius.dodds.net (Postfix, from userid 1000)
        id 9A922171D23; Thu, 21 Jul 2005 02:11:00 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============2139392538=="
MIME-Version: 1.0
From: Steve Langasek <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: jigdo_0.7.2-1: FTBFS (alpha/unstable): C++ prototype mismatch on 64-bit
 systems
X-Mailer: reportbug 3.12
Date: Thu, 21 Jul 2005 02:11:00 -0700
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
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-Level: 
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

This is a multi-part MIME message sent by reportbug.

--===============2139392538==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: jigdo
Version: 0.7.2-1
Severity: serious
Justification: FTBFS

jigdo 0.7.2-1 is failing to build on alpha and ia64 with the following
error:

[...]
g++ $cxx -c jigdo-file-cmd.cc -o jigdo-file-cmd.o
./scan.hh: In member function 'void JigdoCache::readFilenames(RecurseDir&) 
[with RecurseDir = RecurseDir]':
jigdo-file-cmd.cc:248:   instantiated from here
./scan.hh:428: error: no matching function for call to 
'CacheFile::findName(const byte*&, size_t&, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >&, __off_t&, __time_t&)'
./cachefile.hh:97: note: candidates are: Status CacheFile::findName(const 
byte*&, size_t&, const std::string&, long long int&, time_t&)
make[2]: *** [jigdo-file-cmd.o] Error 1
make[2]: Leaving directory /build/buildd/jigdo-0.7.2/src'
make[1]: *** [all] Error 2
[...]

A full build log can be found at
<http://buildd.debian.org/fetch.php?&pkg=jigdo&ver=0.7.2-1&arch=ia64&stamp=1121464153&file=log&as=raw>.

This error is a result of using 'long long int' in the prototype in place of
off_t; on 64-bit architectures off_t reduces to 'long int', not 'long long
int', resulting in this objection from the compiler.

Using off_t directly appears to be enough to fix the problem, as in the
attached patch.  Tested on alpha and i386.

There is also an unrelated build failure on m68k at the moment caused by a
g++-4.0 compiler bug.  You may wish to set jigdo up to build with gcc-3.3 or
gcc-3.4 instead for the time being, since jigdo is unfortunately holding the
latest version of gcc-defaults out of testing right now due to library
issues on arm.

Cheers,
-- 
Steve Langasek
postmodern programmer

--===============2139392538==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="jigdo-64bit.diff"

diff -u jigdo-0.7.2/debian/changelog jigdo-0.7.2/debian/changelog
--- jigdo-0.7.2/debian/changelog
+++ jigdo-0.7.2/debian/changelog
@@ -1,3 +1,12 @@
+jigdo (0.7.2-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for RC bugfix.
+  * Fix integer type error in prototype for CacheFile::findName, needed
+    to fix a build failure on 64-bit architectures.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Thu, 21 Jul 2005 01:28:25 -0700
+
 jigdo (0.7.2-1) unstable; urgency=low
 
   * New upstream release
only in patch2:
unchanged:
--- jigdo-0.7.2.orig/src/cachefile.cc
+++ jigdo-0.7.2/src/cachefile.cc
@@ -131,7 +131,7 @@
 //________________________________________
 
 Status CacheFile::findName(const byte*& resultData, size_t& resultSize,
-    const string& fileName, long long int& resultFileSize,
+    const string& fileName, off_t& resultFileSize,
     time_t& resultMtime) {
   DBT key; memset(&key, 0, sizeof(DBT));
   key.data = const_cast<char*>(fileName.c_str());
only in patch2:
unchanged:
--- jigdo-0.7.2.orig/src/cachefile.hh
+++ jigdo-0.7.2/src/cachefile.hh
@@ -94,7 +94,7 @@
       only valid until the next database operation. */
   Status findName(const byte*& resultData, size_t& resultSize,
                   const string& fileName,
-                  long long int& resultFileSize, time_t& resultMtime);
+                  off_t& resultFileSize, time_t& resultMtime);
 
   /** Insert/overwrite entry for the given file (name must be
       absolute, file must have the supplied mtime and size). The data

--===============2139392538==--

---------------------------------------
Received: (at 319327-close) by bugs.debian.org; 21 Jul 2005 12:08:24 +0000
>From [EMAIL PROTECTED] Thu Jul 21 05:08:24 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DvZqi-0001xa-00; Thu, 21 Jul 2005 05:08:24 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DvZl5-00049Y-00; Thu, 21 Jul 2005 08:02:35 -0400
From: Richard Atterer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#319327: fixed in jigdo 0.7.2-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 21 Jul 2005 08:02:35 -0400
Delivered-To: [EMAIL PROTECTED]
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-Level: 
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

Source: jigdo
Source-Version: 0.7.2-2

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

jigdo-file_0.7.2-2_i386.deb
  to pool/main/j/jigdo/jigdo-file_0.7.2-2_i386.deb
jigdo_0.7.2-2.diff.gz
  to pool/main/j/jigdo/jigdo_0.7.2-2.diff.gz
jigdo_0.7.2-2.dsc
  to pool/main/j/jigdo/jigdo_0.7.2-2.dsc
jigdo_0.7.2-2_i386.deb
  to pool/main/j/jigdo/jigdo_0.7.2-2_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.
Richard Atterer <[EMAIL PROTECTED]> (supplier of updated jigdo 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.7
Date: Thu, 21 Jul 2005 13:35:38 +0200
Source: jigdo
Binary: jigdo jigdo-file
Architecture: source i386
Version: 0.7.2-2
Distribution: unstable
Urgency: high
Maintainer: Richard Atterer <[EMAIL PROTECTED]>
Changed-By: Richard Atterer <[EMAIL PROTECTED]>
Description: 
 jigdo      - GTK+ download manager
 jigdo-file - Download Debian CD images from any Debian mirror
Closes: 319327
Changes: 
 jigdo (0.7.2-2) unstable; urgency=high
 .
   * High-urgency upload for RC bugfix.
   * Closes: #319327: jigdo_0.7.2-1: FTBFS (alpha/unstable):
     C++ prototype mismatch on 64-bit systems
     Thanks to Steve Langasek for the good work.
   * Build with gcc-3.4, not 4.0 due to problems on some arches
     (see #319327)
Files: 
 1e170d168dcb4326c0c7ca9f198281d4 683 utils extra jigdo_0.7.2-2.dsc
 e5ca2ea98bbdc479375e21ac02ac6132 5003 utils extra jigdo_0.7.2-2.diff.gz
 279af6a738b97096e58e083fcf8325c3 211824 utils extra jigdo_0.7.2-2_i386.deb
 12a45b8eb028366087dd8b1bd1895002 233860 utils extra jigdo-file_0.7.2-2_i386.deb

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

iD8DBQFC34treeb23IiDVPcRAsTjAJ9ZoVlvbDJ21I8VfBMMXRjK+dzAOACfX5fI
sFFHX3Ww3BOU+X0HathACrQ=
=x7Qt
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to