Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199587 - net-nntp/nget fails to build
Summary: net-nntp/nget fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2007-11-18 20:42 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2008-05-04 01:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nget-0.27.1-gcc42.patch (nget-0.27.1-gcc42.patch,1.54 KB, patch)
2008-02-02 18:53 UTC, steveb
Details | Diff
nget-0.27.1-gcc43.patch (nget-0.27.1-gcc43.patch,2.54 KB, patch)
2008-03-26 11:42 UTC, steveb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-11-18 20:42:44 UTC
In file included from par.h:27,
                 from prot_nntp.cc:43:
auto_map.h:58: error: type/value mismatch at argument 3 in template parameter list for ‘template<class K, class T, template<class BK, class BT> class B
ase> class auto_map_base’
auto_map.h:58: error:   expected a template of type ‘template<class BK, class BT> class Base’, got ‘template<class _Key, class _Tp, class _Compare, cla
ss _Alloc> class std::map’
auto_map.h:60: error: type/value mismatch at argument 3 in template parameter list for ‘template<class K, class T, template<class BK, class BT> class B
ase> class auto_map_base’
auto_map.h:60: error:   expected a template of type ‘template<class BK, class BT> class Base’, got ‘template<class _Key, class _Tp, class _Compare, cla
ss _Alloc> class std::map’
auto_map.h:61: error: ‘super’ is not a class or namespace
auto_map.h:62: error: ‘super’ is not a class or namespace
auto_map.h: In member function ‘std::pair<int, bool> auto_map<K, T>::insert_value(const K&, T*)’:
auto_map.h:72: error: ‘super’ is not a class or namespace
auto_map.h: At global scope:
auto_map.h:77: error: type/value mismatch at argument 3 in template parameter list for ‘template<class K, class T, template<class BK, class BT> class B
ase> class auto_map_base’
auto_map.h:77: error:   expected a template of type ‘template<class BK, class BT> class Base’, got ‘template<class _Key, class _Tp, class _Compare, cla
ss _Alloc> class std::multimap’
auto_map.h:79: error: type/value mismatch at argument 3 in template parameter list for ‘template<class K, class T, template<class BK, class BT> class B
ase> class auto_map_base’
auto_map.h:79: error:   expected a template of type ‘template<class BK, class BT> class Base’, got ‘template<class _Key, class _Tp, class _Compare, cla
ss _Alloc> class std::multimap’
auto_map.h:80: error: ‘super’ is not a class or namespace
auto_map.h:81: error: ‘super’ is not a class or namespace
auto_map.h: In member function ‘int auto_multimap<K, T>::insert_value(const K&, T*)’:
auto_map.h:83: error: ‘super’ is not a class or namespace
In file included from prot_nntp.cc:43:
par.h: In member function ‘void LocalParFiles::clear()’:
par.h:129: error: ‘class t_subjmatches_map’ has no member named ‘clear’
par.h: At global scope:
par.h:216: error: ‘mapped_type’ in class ‘auto_map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ParInfo>’ does not name a ty
pe
par.h:217: error: ‘mapped_type’ in class ‘auto_map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, ParInfo>’ does not name a ty
pe
prot_nntp.cc: In member function ‘void c_prot_nntp::nntp_dogroupdescriptions(const char*)’:
prot_nntp.cc:218: warning: deprecated conversion from string constant to ‘char*’
make: *** [prot_nntp.o] Error 1
Comment 1 Evil Compile Person 2008-01-12 01:25:31 UTC
indeed
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-01-16 17:05:59 UTC
emerge --info? :)
Comment 3 steveb 2008-02-02 18:53:56 UTC
Created attachment 142524 [details, diff]
nget-0.27.1-gcc42.patch

This patch helps to get nget-0.27.1 compiled under newer versions of GCC.
Comment 4 steveb 2008-03-26 11:42:01 UTC
Created attachment 147370 [details, diff]
nget-0.27.1-gcc43.patch

This patch helps to get nget-0.27.1 compiled under GCC 4.3.x
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2008-05-03 19:00:15 UTC
The 4.3 patch looks fine, and exactly like what upstream applied.  The 4.2 patch is upstream in pretty much the same form.  If someone is going to maintain this, grab the fix from upstream: http://nget.cvs.sourceforge.net/nget/nget/auto_map.h?r1=1.8&r2=1.9
Comment 6 Daniel Black (RETIRED) gentoo-dev 2008-05-04 01:36:01 UTC
thanks to upstream for the patch, Mark for pointing me to it and Diego for reporting the bug.

note: had some time to commit this - I don't intend maintaining this unless something I added broke it.