Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 437760

Summary: dev-vcs/subversion-1.6.17-r7 fails to build with gcc-4.7 (taking address of temporary array)
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Thomas Sachau <tommy>
Status: RESOLVED FIXED    
Severity: normal CC: creffett, gentoo-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    
Attachments: build log
emerge --info output

Description Andreas K. Hüttel archtester gentoo-dev 2012-10-09 20:09:40 UTC
Created attachment 326126 [details]
build log

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:306:3: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp:306:3: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp:315: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:371:3: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp:371:3: error: taking address of temporary array
subversion/libsvn_auth_kwallet/kwallet.cpp:380:49: error: taking address of temporary array
make: *** [subversion/libsvn_auth_kwallet/kwallet.lo] Error 1
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2012-10-09 20:10:17 UTC
Created attachment 326128 [details]
emerge --info output
Comment 2 Peter Asplund 2012-10-13 20:15:09 UTC
Seems to have been addressed by a patch in july, don't know what happened to the patch though.

http://mail-archives.apache.org/mod_mbox/subversion-users/201207.mbox/%3C20120708134414.713c743b@lap.shlomifish.org%3E
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-11-09 01:04:49 UTC
subversion-1.7.7 built fine with gcc-4.7 here, so I guess this can be closed now.