Your message dated Wed, 02 Aug 2006 03:47:46 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#357557: fixed in aptitude 0.4.2-1
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)

--- Begin Message ---
Package: aptitude
Version: 0.4.1-1
Severity: important

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A (partial) patch is below.


> Automatic build of aptitude_0.4.1-1 on bigsur by sbuild/mips 1.94
...
> if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I../../.. 
> -Wall  -I../../.. -I. -I../../.. -I../../../src    -g -O2 
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   -D_REENTRANT -MT 
> temp.o -MD -MP -MF ".deps/temp.Tpo" -c -o temp.o temp.cc; \
>       then mv -f ".deps/temp.Tpo" ".deps/temp.Po"; else rm -f 
> ".deps/temp.Tpo"; exit 1; fi
> threads.h:589: error: extra qualification 'threads::box<T>::' on member 
> 'update'
> threads.h:624: error: extra qualification 'threads::box<void>::' on member 
> 'update'
> make[5]: *** [temp.o] Error 1
> make[5]: Leaving directory `/build/tbm/aptitude-0.4.1/src/generic/util'

The patch below fixes almost all compilation errors, except for this
one:

if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I../.. -Wall  
-I../.. -I. -I../.. -I
../../src    -g -O2 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   
-D_REENTRANT -MT vs_menu
bar.o -MD -MP -MF ".deps/vs_menubar.Tpo" -c -o vs_menubar.o vs_menubar.cc; \
        then mv -f ".deps/vs_menubar.Tpo" ".deps/vs_menubar.Po"; else rm -f 
".deps/vs_menubar.Tpo"; ex
it 1; fi
vs_menubar.cc: In member function 'virtual int vs_menubar::width_request()':
vs_menubar.cc:312: error: conversion from 'int' to non-scalar type 
'std::_List_iterator<ref_ptr<vscree
n_widget> >' requested
vs_menubar.cc: In member function 'virtual int vs_menubar::height_request(int)':
vs_menubar.cc:348: error: conversion from 'int' to non-scalar type 
'std::_List_iterator<ref_ptr<vscree
n_widget> >' requested
make[4]: *** [vs_menubar.o] Error 1

I don't know how to fix this one.


--- ./src/generic/util/threads.h~       2006-03-18 02:37:29.000000000 +0000
+++ ./src/generic/util/threads.h        2006-03-18 02:37:45.000000000 +0000
@@ -586,7 +586,7 @@
      *  performed.
      */
     template<typename Mutator>
-    void box::update(const Mutator &m);
+    void update(const Mutator &m);
   };
 
   /** A box specialized for 'void'; may make it easier to write
@@ -621,7 +621,7 @@
     bool timed_put(const timespec &until);
 
     template<typename Mutator>
-    void box::update(const Mutator &m)
+    void update(const Mutator &m)
     {
       take();
       try
--- ./src/generic/apt/aptitudepolicy.h~ 2006-03-18 02:38:57.000000000 +0000
+++ ./src/generic/apt/aptitudepolicy.h  2006-03-18 02:39:02.000000000 +0000
@@ -17,7 +17,7 @@
 class aptitudePolicy:public pkgPolicy
 {
 public:
-  aptitudePolicy::aptitudePolicy(pkgCache *Owner)
+  aptitudePolicy(pkgCache *Owner)
     :pkgPolicy(Owner) {}
 
   bool IsImportantDep(pkgCache::DepIterator dep);
--- ./src/vscreen/vs_table.h~   2006-03-18 02:45:11.000000000 +0000
+++ ./src/vscreen/vs_table.h    2006-03-18 02:46:06.000000000 +0000
@@ -123,15 +123,15 @@
    */
   void get_col_contents(std::vector<std::vector<child_info *> > col_contents);
 
-  void vs_table::alloc_ideal_widths(std::vector<int> &col_sizes);
-  void vs_table::expand_widths(std::vector<int> &col_sizes, int target_w);
-  void vs_table::shrink_widths(std::vector<int> &col_sizes, int target_w);
-  void vs_table::alloc_ideal_heights(std::vector<int> &row_sizes,
-                                    const std::vector<int> &col_sizes);
-  void vs_table::expand_heights(std::vector<int> &row_sizes, int target_h);
-  void vs_table::shrink_heights(std::vector<int> &row_sizes, int target_h);
-  void vs_table::alloc_child_sizes(const std::vector<int> &col_sizes,
-                                  const std::vector<int> &row_sizes);
+  void alloc_ideal_widths(std::vector<int> &col_sizes);
+  void expand_widths(std::vector<int> &col_sizes, int target_w);
+  void shrink_widths(std::vector<int> &col_sizes, int target_w);
+  void alloc_ideal_heights(std::vector<int> &row_sizes,
+                            const std::vector<int> &col_sizes);
+  void expand_heights(std::vector<int> &row_sizes, int target_h);
+  void shrink_heights(std::vector<int> &row_sizes, int target_h);
+  void alloc_child_sizes(const std::vector<int> &col_sizes,
+                          const std::vector<int> &row_sizes);
 
 
 
--- ./src/vscreen/vs_tree.h~    2006-03-18 02:46:26.000000000 +0000
+++ ./src/vscreen/vs_tree.h     2006-03-18 02:46:31.000000000 +0000
@@ -141,8 +141,8 @@
    */
   int height_request(int w);
 
-  bool vs_tree::get_cursorvisible();
-  point vs_tree::get_cursorloc();
+  bool get_cursorvisible();
+  point get_cursorloc();
   virtual bool focus_me() {return true;}
   virtual void paint(const style &st);
   virtual void dispatch_mouse(short id, int x, int y, int z, mmask_t bstate);
--- ./src/vscreen/vs_stacked.h~ 2006-03-18 03:12:58.000000000 +0000
+++ ./src/vscreen/vs_stacked.h  2006-03-18 03:13:10.000000000 +0000
@@ -75,7 +75,7 @@
 
   void dispatch_mouse(short id, int x, int y, int z, mmask_t bstate);
 
-  vs_widget_ref vs_stacked::get_focus();
+  vs_widget_ref get_focus();
 
   void show_all();
 


-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Source: aptitude
Source-Version: 0.4.2-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-doc-cs_0.4.2-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-cs_0.4.2-1_all.deb
aptitude-doc-en_0.4.2-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-en_0.4.2-1_all.deb
aptitude-doc-fi_0.4.2-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-fi_0.4.2-1_all.deb
aptitude-doc-fr_0.4.2-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-fr_0.4.2-1_all.deb
aptitude_0.4.2-1.diff.gz
  to pool/main/a/aptitude/aptitude_0.4.2-1.diff.gz
aptitude_0.4.2-1.dsc
  to pool/main/a/aptitude/aptitude_0.4.2-1.dsc
aptitude_0.4.2-1_i386.deb
  to pool/main/a/aptitude/aptitude_0.4.2-1_i386.deb
aptitude_0.4.2.orig.tar.gz
  to pool/main/a/aptitude/aptitude_0.4.2.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 PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Burrows <[EMAIL PROTECTED]> (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 PROTECTED])


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

Format: 1.7
Date: Tue,  1 Aug 2006 17:23:40 -0700
Source: aptitude
Binary: aptitude-doc-cs aptitude-doc-fr aptitude-doc-fi aptitude-doc-en aptitude
Architecture: source all i386
Version: 0.4.2-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Burrows <[EMAIL PROTECTED]>
Changed-By: Daniel Burrows <[EMAIL PROTECTED]>
Description: 
 aptitude   - terminal-based apt frontend
 aptitude-doc-cs - Czech manual for aptitude, a terminal-based apt frontend
 aptitude-doc-en - English manual for aptitude, a terminal-based apt frontend
 aptitude-doc-fi - Finnish manual for aptitude, a terminal-based apt frontend
 aptitude-doc-fr - French manual for aptitude, a terminal-based apt frontend
Closes: 160418 275704 299127 330226 338989 341924 343748 343850 344078 344380 
344569 344630 345226 345345 345372 346380 347311 347445 348481 348541 349161 
349427 349500 349500 349869 350118 351323 351557 351643 351839 353449 354844 
355586 355689 356396 357557 361439 362927 363648 363660 363905 364186 364306 
364471 364621 366523 366884 369382 372796 372861 373888 373893 374207 375089 
375327 375383 376340 376573
Changes: 
 aptitude (0.4.2-1) unstable; urgency=low
 .
   * New upstream release.
 .
     - Added an option "Aptitude::UI::ViewTabs" that controls
       whether the "tabs" at the top of the screen are displayed.
       (Closes: #344569)
 .
     - Make the lockfile default to /var/lock/aptitude as per FHS.
       (Closes: #160418)
 .
     - Add support for searching in the on-line user's manual.
       (Closes: #364306)
 .
     - Acknowledge NMU (Closes: #357557)
 .
     - Fix compilation errors with gcc 4.2. (Closes: #369382)
       Note that the compiled software appears to crash when run.
 .
     - Fix sporadic crashes on update that were due to interactions
       with the problem resolver. (Closes: #346380, #348541, #348481,
       #376573)
 .
     - Handle NULL returns from get_changelog_from_source; should
       fix some crashes in the command-line changelog fetcher.
       (Closes: #349869)
 .
     - Fix a crash that occurred when moving the selection up while
       the package list was empty.
 .
     - Disable bullet-detection by default, since it's incompatible
       in a bad way that cannot be easily fixed.  (Closes: #373888)
       Set Aptitude::UI::Parse-Description-Bullets to true to
       re-enable it.
 .
     - Make the selection and display of versions in "aptitude show"
       more 'intuitive' (Closes: #375383, #372796).
 .
     - Stick to portable pthreads features se we compile on the Hurd.
       (Closes: #361439)
 .
     - Don't read the package lists on startup if they're just going to
       be discarded immediately.  (Closes: #366884)
 .
     - Correctly handle scrollbar updates after resizing text layouts.
       (Closes: #347445)
 .
     - Fix how tab characters are rendered in the internal pager.
       (Closes: #351323)
 .
     - Use the apt library's file downloader again, as the extra hacks
       I was using have been implemented better there.  This should allow
       command-line downloads to work with file: sources.  (Closes: #299127)
 .
     - Translation updates:
 .
       + Use po4a for the manual. (Closes: #351643)
       + Basque (Closes: #349500, #275704, #349500)
       + Brazillian (Closes: #363905)
       + Catalan (Closes: #345226, #363648)
       + Chinese (Simplified) (Closes: #347311, 355689)
       + Czech (Closes: #345345, #349427)
       + Danish
       + Dutch (Closes: #350118, #364471)
       + Dzongkha
       + Finnish
       + French (Closes: #344078, 343748)
       + Galacian (Closes: #344380, #355586, #373893)
       + German (Closes: #330226, #351557)
       + Greek (Closes: #344630)
       + Hungarian (Closes: #354844)
       + Italian
       + Japanese (Closes: #364621)
       + Nepali (Closes: #372861)
       + Norwegian
       + Polish (Closes: #338989)
       + Portuguese (Closes: #364186)
       + Romanian (Closes: #362927, #375327)
       + Russian (Closes: #349161, #366523, #376340)
       + Slovak (Closes: #351839, #353449, #356396)
       + Spanish
       + Swedish (Closes: #345372, #363660, #374207)
       + Vietnamese (Closes: #341924, #343850, #375089)
Files: 
 c5a65c0babfb20992698ea47e686036b 802 admin - aptitude_0.4.2-1.dsc
 221f57a773cbce3bbf79da6637721826 5012352 admin - aptitude_0.4.2.orig.tar.gz
 b739de139ce4964d595c8b3d138323bc 23663 admin - aptitude_0.4.2-1.diff.gz
 5d3b9ffc8655d0a5f5ff48c906b012ff 272926 doc optional 
aptitude-doc-cs_0.4.2-1_all.deb
 c9c260af73dbad56f25795408405dd55 322648 doc optional 
aptitude-doc-en_0.4.2-1_all.deb
 b8f41372b5dd0b58c7ed630d2a1d379b 255436 doc optional 
aptitude-doc-fi_0.4.2-1_all.deb
 f70d625cc2da14d0f80c010194d757cc 265054 doc optional 
aptitude-doc-fr_0.4.2-1_all.deb
 37449337b45599a110a7bd61ab311085 2757136 admin important 
aptitude_0.4.2-1_i386.deb

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

iD8DBQFE0FY2ch6xsM7kSXgRAqPcAKD/CQzuSNj+mjgRb5vSvEVEKTiohACgun59
QetHcFg4vF3PkIc56e38YQg=
=Qc/Y
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to