aptitude_0.2.14.1-2(ia64/unstable): FTBFS: 64-bit long issues

Bug #6779 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
aptitude (Debian)
Fix Released
Unknown
aptitude (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Automatically imported from Debian bug report #243932
http://bugs.debian.org/243932

Revision history for this message
In , Danilo Piazzalunga (danilopiazza) wrote :

Package: aptitude
Version: 0.2.14.1-2
Severity: normal
Followup-For: Bug #243932

Strange failure: max(unsigned int, unsigned long) should be fine to
call. Would this be a fix? (Tested on my i386 machine, but not on a ia64
one)

--
Danilo Piazzalunga <email address hidden> +--------------------+
GPG Key available at http://pgp.mit.edu | Linux User #245762 |
Fingerprint: D018 815E 8C7F 2AE2 5565 | ICQ #105550412 |
             0C36 B5F6 DB20 B800 CB9F +--------------------+

Revision history for this message
In , Kurt Roeckx (q-ping) wrote : Re: FTBFS: 64-bit long issues

The patch solves the problem, but line 146 has the same problem
and needs to be changed from:
    unsigned int top_w=rootwin.getmaxx();
to:
    size_t top_w=rootwin.getmaxx();

After those 2 fixes it builds for me on amd64.

Kurt

Revision history for this message
In , Bastian Kleineidam (calvin) wrote : tagging 243932

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 243932 + patch

Revision history for this message
In , Bastian Kleineidam (calvin) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi aptitude folks,

I see there are a lot of bugs pending upload, but not this one. Will the
new version fix this bug? I'd really like the latest upstream aptitude in
sarge since it is my default package manager tool now :)

Cheers, Bastian
- --
  ,''`. Bastian Kleineidam . calvin (at) debian.org
 : :' :
 `. `' GnuPG Schlüssel http://kampfwurst.net/gpgkey.txt
   `-

F: Was ist weiß und stört beim Essen?
A: Eine Lawine.

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

iD8DBQFAxwM6eBwlBDLsbz4RAtVHAKDNtl6gvkaLHCHoxB8HjAcnsYGkNQCgz3hd
/zvmdf3lO67yzjHZBCfDw8k=
=+wBN
-----END PGP SIGNATURE-----

Revision history for this message
In , Daniel Burrows (dburrows) wrote : Re: Bug#243932: aptitude_0.2.14.1-2(ia64/unstable): FTBFS: 64-bit long issues

  aptitude in svn should theoretically compile on ia64 now.

  Daniel

--
/-------------------- Daniel Burrows <email address hidden> -------------------\
| "But what the eagle does not realize is that it is |
| participating in a crude form of natural selection. |
| One day, a tortoise will learn to fly." |
| -- Terry Pratchett, _Small Gods_ |
\----------------- The Turtle Moves! -- http://www.lspace.org ----------------/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #243932
http://bugs.debian.org/243932

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Thu, 15 Apr 2004 10:30:47 -0600
From: <email address hidden>
To: <email address hidden>
Subject: aptitude_0.2.14.1-2(ia64/unstable): FTBFS: 64-bit long issues

Package: aptitude
Version: 0.2.14.1-2
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of aptitude_0.2.14.1-2 on caballero by sbuild/ia64 1.170.5
> Build started at 20040415-1543

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: libapt-pkg-dev (>= 0.5.4.9), debhelper (>= 4.0.0), libsigc++-1.2-dev, libncurses5-dev | libncurses-dev, gettext, g++ (>= 4:3.2.2-0)

[...]

> **** The following central src deps are (probably) missing:
> autoconf, automake, m4

[...]

> g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -Wall -I.. -I. -I../lib -I../intl -g -O2 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -D_REENTRANT -c pkg_view.cc
> g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -Wall -I.. -I. -I../lib -I../intl -g -O2 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -D_REENTRANT -c reason_fragment.cc
> g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -Wall -I.. -I. -I../lib -I../intl -g -O2 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -D_REENTRANT -c ui.cc
> ui.cc: In constructor `apt_error_pager::apt_error_pager()':
> ui.cc:125: error: no matching function for call to `max(unsigned int&, long
> unsigned int)'
> make[4]: *** [ui.o] Error 1
> make[4]: Leaving directory `/build/buildd/aptitude-0.2.14.1/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/buildd/aptitude-0.2.14.1/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/buildd/aptitude-0.2.14.1'
> make[1]: *** [all-recursive-am] Error 2
> make[1]: Leaving directory `/build/buildd/aptitude-0.2.14.1'
> make: *** [build-stamp] Error 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=ia64&pkg=aptitude&ver=0.2.14.1-2

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1BEpFS-0000s7-FB@desktop>
Date: Sat, 17 Apr 2004 14:48:41 +0200
From: Danilo Piazzalunga <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: aptitude_0.2.14.1-2(ia64/unstable): FTBFS: 64-bit long issues

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

Package: aptitude
Version: 0.2.14.1-2
Severity: normal
Followup-For: Bug #243932

Strange failure: max(unsigned int, unsigned long) should be fine to
call. Would this be a fix? (Tested on my i386 machine, but not on a ia64
one)

--
Danilo Piazzalunga <email address hidden> +--------------------+
GPG Key available at http://pgp.mit.edu | Linux User #245762 |
Fingerprint: D018 815E 8C7F 2AE2 5565 | ICQ #105550412 |
             0C36 B5F6 DB20 B800 CB9F +--------------------+

--===============1812198547==
Content-Type: text/x-c++; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ui.cc.diff"

Index: src/ui.cc
===================================================================
--- src/ui.cc (revision 2299)
+++ src/ui.cc (working copy)
@@ -105,7 +105,7 @@

 class apt_error_pager:public vs_text_layout
 {
- unsigned int maxlen;
+ size_t maxlen;
 public:
   apt_error_pager():vs_text_layout(), maxlen(0)
   {

--===============1812198547==--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 25 Apr 2004 18:36:45 +0200
From: Kurt Roeckx <email address hidden>
To: <email address hidden>
Subject: Re: FTBFS: 64-bit long issues

The patch solves the problem, but line 146 has the same problem
and needs to be changed from:
    unsigned int top_w=rootwin.getmaxx();
to:
    size_t top_w=rootwin.getmaxx();

After those 2 fixes it builds for me on amd64.

Kurt

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 5 May 2004 16:11:33 +0200
From: Bastian Kleineidam <email address hidden>
To: <email address hidden>
Subject: tagging 243932

# Automatically generated email from bts, devscripts version 2.7.95.1
tags 243932 + patch

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040609123154.GA23679@treasure>
Date: Wed, 9 Jun 2004 14:31:54 +0200
From: Bastian Kleineidam <email address hidden>
To: <email address hidden>
Subject: Re: aptitude_0.2.14.1-2(ia64/unstable): FTBFS: 64-bit long issues

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi aptitude folks,

I see there are a lot of bugs pending upload, but not this one. Will the
new version fix this bug? I'd really like the latest upstream aptitude in
sarge since it is my default package manager tool now :)

Cheers, Bastian
- --
  ,''`. Bastian Kleineidam . calvin (at) debian.org
 : :' :
 `. `' GnuPG Schl�http://kampfwurst.net/gpgkey.txt
   `-

F: Was ist wei�und st�beim Essen?
A: Eine Lawine.

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

iD8DBQFAxwM6eBwlBDLsbz4RAtVHAKDNtl6gvkaLHCHoxB8HjAcnsYGkNQCgz3hd
/zvmdf3lO67yzjHZBCfDw8k=
=+wBN
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <20040609171834.GA4222@torrent>
Date: Wed, 9 Jun 2004 13:18:35 -0400
From: Daniel Burrows <email address hidden>
To: Bastian Kleineidam <email address hidden>, <email address hidden>
Subject: Re: Bug#243932: aptitude_0.2.14.1-2(ia64/unstable): FTBFS: 64-bit
 long issues

  aptitude in svn should theoretically compile on ia64 now.

  Daniel

--
/-------------------- Daniel Burrows <email address hidden> -------------------\
| "But what the eagle does not realize is that it is |
| participating in a crude form of natural selection. |
| One day, a tortoise will learn to fly." |
| -- Terry Pratchett, _Small Gods_ |
\----------------- The Turtle Moves! -- http://www.lspace.org ----------------/

Revision history for this message
In , Daniel Burrows (dburrows) wrote : Bug#243932: fixed in aptitude 0.2.15-1
Download full text (4.9 KiB)

Source: aptitude
Source-Version: 0.2.15-1

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

aptitude_0.2.15-1.diff.gz
  to pool/main/a/aptitude/aptitude_0.2.15-1.diff.gz
aptitude_0.2.15-1.dsc
  to pool/main/a/aptitude/aptitude_0.2.15-1.dsc
aptitude_0.2.15-1_i386.deb
  to pool/main/a/aptitude/aptitude_0.2.15-1_i386.deb
aptitude_0.2.15.orig.tar.gz
  to pool/main/a/aptitude/aptitude_0.2.15.orig.tar.gz

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <email address hidden> (supplier of updated aptitude 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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 1 Jul 2004 17:07:14 -0400
Source: aptitude
Binary: aptitude
Architecture: source i386
Version: 0.2.15-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <email address hidden>
Changed-By: Daniel Burrows <email address hidden>
Description:
 aptitude - curses-based apt frontend
Closes: 120978 144079 144083 151437 203725 233917 242304 242309 242332 242372 242397 242663 242815 243289 243728 243932 244359 244539 244676 244679 244817 244850 244858 245410 245699 248365 248764 249405 250023 250498 250500 252507 253335 254422 254740 255396 256326
Changes:
 aptitude (0.2.15-1) unstable; urgency=low
 .
   * New upstream release, closing the following Debian bugs:
     - Hopefully this version compiles on ia64. (Closes: #243932)
 .
     - aptitude no longer displays a warning about removing Essential
       packages if the removal is cancelled. (Closes: #254422)
 .
     - All traces of Suggests-Important were removed from the program.
       The program now has enough features that there is no longer any
       good reason to use this option; its main use was to find
       suggested-but-not-installed packages, and there are better
       ways of doing that now.
       (Closes: #245410)
 .
     - The non-hierarchical tree mode is broken and shows no signs of
       being fixed; until it is fixed, aptitude will not use it.
       This means the categorical browser actually works again.
       (Closes: #120978, #144079, #144083, #151437, #242397)
 .
     - ORed dependencies are shown correctly in 'aptitude show'.
       (Closes: #254740)
 .
     - A --visual-preview command-line option is now available.
       (Closes: #253335)
 .
     - Translated task descriptions will be displayed. (Closes: #203725)
 .
     - Removed trailing periods from all menu descriptions.
       (Closes: #244676)
 .
     - Applied a manpage patch from Sebastian Kapfer; unfortunately,
       the old manpage has been superseded by a (pretty much identical)
       new manpage generated from DocBook :-/. (Closes: #242304)
 .
     - Fixed t...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (5.1 KiB)

Message-Id: <email address hidden>
Date: Thu, 01 Jul 2004 19:17:06 -0400
From: Daniel Burrows <email address hidden>
To: <email address hidden>
Subject: Bug#243932: fixed in aptitude 0.2.15-1

Source: aptitude
Source-Version: 0.2.15-1

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

aptitude_0.2.15-1.diff.gz
  to pool/main/a/aptitude/aptitude_0.2.15-1.diff.gz
aptitude_0.2.15-1.dsc
  to pool/main/a/aptitude/aptitude_0.2.15-1.dsc
aptitude_0.2.15-1_i386.deb
  to pool/main/a/aptitude/aptitude_0.2.15-1_i386.deb
aptitude_0.2.15.orig.tar.gz
  to pool/main/a/aptitude/aptitude_0.2.15.orig.tar.gz

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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <email address hidden> (supplier of updated aptitude 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 address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 1 Jul 2004 17:07:14 -0400
Source: aptitude
Binary: aptitude
Architecture: source i386
Version: 0.2.15-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <email address hidden>
Changed-By: Daniel Burrows <email address hidden>
Description:
 aptitude - curses-based apt frontend
Closes: 120978 144079 144083 151437 203725 233917 242304 242309 242332 242372 242397 242663 242815 243289 243728 243932 244359 244539 244676 244679 244817 244850 244858 245410 245699 248365 248764 249405 250023 250498 250500 252507 253335 254422 254740 255396 256326
Changes:
 aptitude (0.2.15-1) unstable; urgency=low
 .
   * New upstream release, closing the following Debian bugs:
     - Hopefully this version compiles on ia64. (Closes: #243932)
 .
     - aptitude no longer displays a warning about removing Essential
       packages if the removal is cancelled. (Closes: #254422)
 .
     - All traces of Suggests-Important were removed from the program.
       The program now has enough features that there is no longer any
       good reason to use this option; its main use was to find
       suggested-but-not-installed packages, and there are better
       ways of doing that now.
       (Closes: #245410)
 .
     - The non-hierarchical tree mode is broken and shows no signs of
       being fixed; until it is fixed, aptitude will not use it.
       This means the categorical browser actually works again.
       (Closes: #120978, #144079, #144083, #151437, #242397)
 .
     - ORed dependencies are shown correctly in 'aptitude show'.
       (Closes: #254740)
 .
     - A --visual-preview command-line option is now available.
       (Closes: #253335)
 .
     - Translated task descriptions will be displayed. (Closes: #203725)
 .
     - Removed trailing periods from all menu descriptions.
       (Closes: #244676)
 .
     - App...

Read more...

Revision history for this message
Daniel Robitaille (robitaille) wrote :

Fixed in Debian in July 2004

Changed in aptitude:
status: Unconfirmed → Fix Released
Changed in aptitude:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.