Comment 4 for bug 367040

Revision history for this message
Daniel Holbach (dholbach) wrote : Re: Please sync aap (1.090-1) from Debian unstable

Did anybody try to test-build this in Ubuntu? To me it looks like the patch needs to be directly applied (instead of using quilt) because the unpatched aap is called during the clean target.

dpkg-buildpackage: source changed by Barry deFreese <email address hidden>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
QUILT_PATCHES=debian/patches quilt pop -a -R || test $? = 2
No patch removed
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
./aap clean
Traceback (most recent call last):
  File "./aap", line 10, in <module>
    import Main
  File "/tmp/buildd/aap-1.090/Main.py", line 14, in <module>
    from DoAddDef import doadddef
  File "/tmp/buildd/aap-1.090/DoAddDef.py", line 10, in <module>
    from Action import find_primary_action
  File "/tmp/buildd/aap-1.090/Action.py", line 30, in <module>
    from Dictlist import listitem2str, str2dictlist, dictlist2str
  File "/tmp/buildd/aap-1.090/Dictlist.py", line 18, in <module>
    from Process import recipe_error
  File "/tmp/buildd/aap-1.090/Process.py", line 13, in <module>
    from Work import setrpstack
  File "/tmp/buildd/aap-1.090/Work.py", line 25, in <module>
    from Node import Node
  File "/tmp/buildd/aap-1.090/Node.py", line 10, in <module>
    import Filetype
  File "/tmp/buildd/aap-1.090/Filetype.py", line 1417
    as = 0
     ^
SyntaxError: invalid syntax
make: *** [clean] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//3923 and its subdirectories