Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273999 - net-libs/wvstreams-4.5 fails to build with sys-libs/glibc-2.10.1
Summary: net-libs/wvstreams-4.5 fails to build with sys-libs/glibc-2.10.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL: http://code.google.com/p/wvstreams/is...
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.10 274620
  Show dependency tree
 
Reported: 2009-06-13 12:41 UTC by Joost Ruis
Modified: 2009-06-28 08:58 UTC (History)
0 users

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


Attachments
wvstreams-4.5 working patch (wvstreams-4.5-const-correctness.patch,1.87 KB, patch)
2009-06-19 14:44 UTC, Fabio Erculiani (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joost Ruis 2009-06-13 12:41:21 UTC
...
>>> Source configured.                                                                                                                                                                                        
>>> Compiling source in /var/tmp/portage/net-libs/wvstreams-4.5/work/wvstreams-4.5 ...                                                                                                                        
make -s -j3                                                                                                                                                                                                   
* Generating CC                                                                                                                                                                                               
* Generating CXX                                                                                                                                                                                              
utils/wverror.cc: In member function 'virtual void WvErrorBase::seterr(int)':                                                                                                                                 
utils/wverror.cc:148: warning: suggest parentheses around '&&' within '||'                                                                                                                                    
utils/wvfork.cc: In function 'pid_t wvfork_start(int*)':                                                                                                                                                      
utils/wvfork.cc:105: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result                                                                         
utils/strutils.cc: In function 'WvString url_decode(const WvFastString&, bool)':                                                                                                                              
utils/strutils.cc:332: error: invalid conversion from 'const char*' to 'char*'
utils/strutils.cc:333: error: invalid conversion from 'const char*' to 'char*'
utils/strutils.cc: In function 'WvString afterstr(const WvFastString&, const WvFastString&)':
utils/strutils.cc:970: error: invalid conversion from 'const char*' to 'char*'
utils/strutils.cc: In function 'WvString beforestr(const WvFastString&, const WvFastString&)':
utils/strutils.cc:988: error: invalid conversion from 'const char*' to 'char*'
make: *** [utils/strutils.o] Error 1


Reproducible: Always
Comment 1 Joost Ruis 2009-06-13 12:45:13 UTC
Seems upstream has a patch for this problem.

http://code.google.com/p/wvstreams/issues/detail?id=24#c0
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2009-06-19 14:44:47 UTC
Created attachment 195172 [details, diff]
wvstreams-4.5 working patch

here is an updated, complete, working patch.
Comment 3 Patrick Lauer gentoo-dev 2009-06-28 08:58:05 UTC
+  28 Jun 2009; Patrick Lauer <patrick@gentoo.org> wvstreams-4.5.ebuild,
+  +files/wvstreams-4.5-glibc.patch:
+  Adding glibc 2.10 compile fix. Closes #273999