python setup.py bdist_rpm fails due to missing "include subvertpy/*.c" in MANIFEST.in

Bug #951060 reported by Shlomi Fish
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subvertpy
Fix Released
Medium
Shlomi Fish

Bug Description

python setup.py bdist_rpm under subvertpy-0.8.10 fails with this error:

[QUOTE]

subvertpy/_ra.c:1684:2: warning: ‘svn_ra_get_locks’ is deprecated (declared at /usr/include/subversion-1/svn_ra.h:1794) [-Wdeprecated-declarations]subvertpy/_ra.c:1684:2: warning: ‘svn_ra_get_locks’ is deprecated (declared at /usr/include/subversion-1/svn_ra.h:1794) [-Wdeprecated-declarations]
subvertpy/_ra.c: In function ‘ra_get_locations’:
subvertpy/_ra.c:1741:2: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282) [-Wdeprecated-declarations]
subvertpy/_ra.c: At top level:
subvertpy/_ra.c:2023:26: fatal error: _ra_iter_log.c: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.pCs9av (%build)

subvertpy/_ra.c: In function ‘ra_get_locations’:
subvertpy/_ra.c:1741:2: warning: ‘svn_path_canonicalize’ is deprecated (declared at /usr/include/subversion-1/svn_path.h:282) [-Wdeprecated-declarations]
subvertpy/_ra.c: At top level:
subvertpy/_ra.c:2023:26: fatal error: _ra_iter_log.c: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.pCs9av (%build)

[/QUOTE]

I'm on Mageia Linux 2/Cauldron. This works fine after I add this line to "MANIFEST.in":

[Q]
include subvertpy/*.c
[/Q]

Regards,

-- Shlomi Fish

Revision history for this message
Shlomi Fish (shlomif-gmail) wrote :

I should note that I recall a problem with similar symptoms in an older version of subvertpy, which was fixed, but now the symptoms resurfaced.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks, fixed in trunk.

Changed in subvertpy:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Shlomi Fish (shlomif-gmail)
Jelmer Vernooij (jelmer)
Changed in subvertpy:
status: Fix Committed → Fix Released
milestone: none → 0.9.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.