Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436114 - [progress overlay] dev-vcs/subversion-1.7.6-r1000[kde] fails to build with gcc-4.7.1 without patch from bug 421575
Summary: [progress overlay] dev-vcs/subversion-1.7.6-r1000[kde] fails to build with gc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-24 15:51 UTC by Shubhadeep Chaudhuri
Modified: 2012-09-25 03:27 UTC (History)
0 users

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


Attachments
subversion-1.7.6-kwallet.patch (subversion-1.7.6-kwallet.patch,1.59 KB, patch)
2012-09-24 15:51 UTC, Shubhadeep Chaudhuri
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shubhadeep Chaudhuri 2012-09-24 15:51:29 UTC
Created attachment 324844 [details, diff]
subversion-1.7.6-kwallet.patch

subversion-1.7.6 fails to build with gcc 4.7.1 with the kde useflag enabled. the patch in bug 421575 fixes the issue. also attached the patch to the bug.

Here's the error:
subversion/libsvn_auth_kwallet/kwallet.cpp: In function 'svn_boolean_t kwallet_password_get(const char**, apr_hash_t*, const char*, const char*, apr_hash_t*, svn_boolean_t, apr_pool_t*)':
subversion/libsvn_auth_kwallet/kwallet.cpp:207:68: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp:217:49: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp: In function 'svn_boolean_t kwallet_password_set(apr_hash_t*, const char*, const char*, const char*, apr_hash_t*, svn_boolean_t, apr_pool_t*)':
subversion/libsvn_auth_kwallet/kwallet.cpp:277:68: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp:287:49: error: taking address of temporary array
make: *** [subversion/libsvn_auth_kwallet/kwallet.lo] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-vcs/subversion-1.7.6-r1000 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.7.6-r1000'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.7.6-r1000'`.
 * This ebuild is from an overlay named 'progress': '/var/lib/layman/progress/'
 * The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.7.6-r1000/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.7.6-r1000/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/subversion-1.7.6-r1000/work/subversion-1.7.6'
 * S: '/var/tmp/portage/dev-vcs/subversion-1.7.6-r1000/work/subversion-1.7.6'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-09-24 18:51:43 UTC
Fixed.
Comment 2 Shubhadeep Chaudhuri 2012-09-24 23:05:05 UTC
Thanks.