Bug 356131

Summary: kdesdk-kioslaves: svn kioslave FTBFS against subversion-1.9+
Product: [Unmaintained] kio Reporter: Rex Dieter <rdieter>
Component: svnAssignee: Mickael Marchand <marchand>
Status: RESOLVED INTENTIONAL    
Severity: grave CC: adrian, johu, kde.bugzilla.2012, luca86, niederstrasser, stupor_scurvy343
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 17.04.0
Sentry Crash Report:

Description Rex Dieter 2015-11-30 22:07:31 UTC
svn kiolsave FTBFSF against subversion-1.9+

Errors include:

../../svn/svn.cpp: In function 'int compare_items_as_paths(const svn_sort__item_t*, const svn_sort__item_t*)':
../../svn/svn.cpp:112:49: error: invalid use of incomplete type 'const svn_sort__item_t {aka const struct svn_sort__item_t}'
   return svn_path_compare_paths ((const char *)a->key, (const char *)b->key);
                                                 ^
In file included from ../../svn/svn.cpp:41:0:
/usr/include/subversion-1/svn_sorts.h:55:16: note: forward declaration of 'svn_sort__item_t {aka struct svn_sort__item_t}'
 typedef struct svn_sort__item_t svn_sort__item_t;
                ^
../../svn/svn.cpp:112:71: error: invalid use of incomplete type 'const svn_sort__item_t {aka const struct svn_sort__item_t}'
   return svn_path_compare_paths ((const char *)a->key, (const char *)b->key);


In file included from ../../svn/svn.h:30:0,
                 from ../../svn/svn.cpp:54:
/usr/include/subversion-1/svn_client.h:5844:1: note: declared here
 svn_client_ls(apr_hash_t **dirents,
 ^
../../svn/svn.cpp:553:67: error: 'svn_sort__hash' was not declared in this scope
   array = svn_sort__hash (dirents, compare_items_as_paths, subpool);
                                                                   ^
../../svn/svn.cpp:562:11: error: invalid use of incomplete type 'struct svn_sort__item_t'
    item = &APR_ARRAY_IDX (array, i, svn_sort__item_t);
           ^
In file included from ../../svn/svn.cpp:41:0:
/usr/include/subversion-1/svn_sorts.h:55:16: note: forward declaration of 'struct svn_sort__item_t'
 typedef struct svn_sort__item_t svn_sort__item_t;
                ^
../../svn/svn.cpp:564:38: error: invalid use of incomplete type 'svn_sort__item_t {aka struct svn_sort__item_t}'
    utf8_entryname = (const char*)item->key;
                                      ^
In file included from ../../svn/svn.cpp:41:0:
/usr/include/subversion-1/svn_sorts.h:55:16: note: forward declaration of 'svn_sort__item_t {aka struct svn_sort__item_t}'
 typedef struct svn_sort__item_t svn_sort__item_t;
                ^
../../svn/svn.cpp:566:71: error: invalid use of incomplete type 'svn_sort__item_t {aka struct svn_sort__item_t}'
    dirent = (svn_dirent_t*)apr_hash_get (dirents, utf8_entryname, item->klen);

Reproducible: Always
Comment 1 Luca Giambonini 2015-12-06 11:18:59 UTC
I think this bug is related: #351284
Comment 2 Rex Dieter 2015-12-06 13:27:04 UTC
*** Bug 351284 has been marked as a duplicate of this bug. ***
Comment 3 stupor_scurvy343 2017-01-05 08:38:51 UTC
The kioslave was removed by Albert Astals Cid as per mailing list discussion.