bugmonotone - Bugs: bug #22663, installation failure with gcc...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #22663: installation failure with gcc 4.0.2 and boost-1_34_1

Submitted by:  fa.soft@gmx.net <guest>
Submitted on:  Tue 18 Mar 2008 07:56:36 PM UTC  
Votes:  1  
 
Category: portabilitySeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Wont Fix
Privacy: PublicAssigned to: Thomas Keller <tommyd>
Open/Closed: Closed
mtn version --full: 

monotone-0.39

 Spam posted by an anonymous
Thu 17 Apr 2008 01:03:53 AM UTC, comment #1:

AFAIK this is a known bug in early versions of the gcc-4.0.x line which has been fixed in later versions of gcc. Unfortunately this compiler is standard in some (legacy) environments (I stumbled upon it on openSuSE 10.1) - you have now basically two choices:

a) try to compile with gcc-3.x
b) use a semi-static binary from http://monotone.ca

Thomas Keller <tommyd>
Project AdministratorIn charge of this item.
Tue 18 Mar 2008 07:56:36 PM UTC, original submission:

make[2]: Entering directory `/usr/src/packages/BUILD/monotone-0.39'
if g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I. -I./lua -I./pcre -g -O2 -Wall -W -Wno-unused -fno-strict-aliasing -MT mtn-cmd_list.o -MD -MP -MF ".deps/mtn-cmd_list.Tpo" -c -o mtn-cmd_list.o `test -f 'cmd_list.cc' || echo './'`cmd_list.cc; \
then mv -f ".deps/mtn-cmd_list.Tpo" ".deps/mtn-cmd_list.Po"; else rm -f ".deps/mtn-cmd_list.Tpo"; exit 1; fi
hybrid_map.hh: In constructor ‘hybrid_map<Key, Val>::const_iterator::const_iterator(const hybrid_map<Key, Val>*, const typename std::map<Key, Val, std::less<_Key>, std::allocator<std::pair<const _Key, _Tp> > >::const_iterator&) [with Key = node_id, Val = node_t]’:
hybrid_map.hh:190: instantiated from ‘hybrid_map<Key, Val>::const_iterator hybrid_map<Key, Val>::begin() const [with Key = node_id, Val = node_t]’
cmd_list.cc:392: instantiated from here
hybrid_map.hh:119: error: no matching function for call to ‘Internal::hashtable_iterator<std::pair<const node_id, node_t>, false, false>::hashtable_iterator()’
/usr/include/c++/4.0.2/tr1/hashtable:237: note: candidates are: Internal::hashtable_iterator<Value, is_const, cache>::hashtable_iterator(const Internal::hashtable_iterator<Value, true, cache>&) [with Value = std::pair<const node_id, node_t>, bool is_const = false, bool cache = false]
/usr/include/c++/4.0.2/tr1/hashtable:235: note: Internal::hashtable_iterator<Value, is_const, cache>::hashtable_iterator(Internal::hash_node<Value, cache>**) [with Value = std::pair<const node_id, node_t>, bool is_const = false, bool cache = false]
/usr/include/c++/4.0.2/tr1/hashtable:233: note: Internal::hashtable_iterator<Value, is_const, cache>::hashtable_iterator(Internal::hash_node<Value, cache>, Internal::hash_node<Value, cache>*) [with Value = std::pair<const node_id, node_t>, bool is_const = false, bool cache = false]
/usr/include/c++/4.0.2/tr1/hashtable:226: note: Internal::hashtable_iterator<std::pair<const node_id, node_t>, false, false>::hashtable_iterator(const Internal::hashtable_iterator<std::pair<const node_id, node_t>, false, false>&)
make[2]: *** [mtn-cmd_list.o] Fehler 1
make[2]: Leaving directory `/usr/src/packages/BUILD/monotone-0.39'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/packages/BUILD/monotone-0.39'
make: *** [all] Fehler 2

please see also http://fr.pastebin.ca/879983 (identical error)

fa.soft@gmx.net <guest>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tommyd (Posted a comment)
  • -unavailable- added by guest (Voted in favor of this item)
  • -unavailable- added by guest (Submitted the item)
  • -unavailable- added by guest
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 1 encouragement so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Jan 2009 02:03:56 AM UTCtommydAssigned toNone=>tommyd
      Open/ClosedOpen=>Closed
    Wed 07 Jan 2009 02:03:55 AM UTCtommydItem Grouptest missing=>incorrect behavior
      StatusNone=>Wont Fix
    Tue 18 Mar 2008 07:58:17 PM UTCguestCarbon-Copy-=>Added guest
    Tue 18 Mar 2008 07:56:36 PM UTCguestCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1