[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344857: dpkg-buildpackage error



Package: apt
Version: 0.6.43


I did "apt-get source apt" (ftp server works well) and then
dpkg-buildpackage but I recieve this error on compile time:

/bin/sh: -c: line 1: syntax error near unexpected token `doecho'
/bin/sh: -c: line 1: `echo "Updating $lang.po"; \'
make[2]: *** [update-po] Error 2
make[2]: Leaving directory `/usr/src/packages/apt-0.6.43/po'
make[1]: *** [binary] Error 2
make[1]: Leaving directory `/usr/src/packages/apt-0.6.43'
make: *** [build/build-stamp] Error 2

I looked at /usr/src/packages/apt-0.6.43/po/makefile, from line 67 to line
74 there is the following piece of code:

67 .PHONY: update-po
68  update-po: $(PACKAGE)-all.pot
69        for lang in ${LINGUAS}; do\
70         echo "Updating $$lang.po"; \
71        $(MSGMERGE) $$lang.po $(PACKAGE)-all.pot -o $$lang.new.po; \
72        cmp $$lang.new.po $$lang.po || cp $$lang.new.po $$lang.po; \
73        rm -f $$lang.new.po; \
74        done

At line 69 the slash "\" is not used in a right way I suppose. a blank is needed
between the token "do" and "\".
Correct line should be:

69 	for lang in ${LINGUAS}; do \

I downloaded also the package "apt" from the experimental brunch. It has the same
problem. Evenif with a re-compiled package I have the same bug with http server.

Thanks for the attention,
Marco Verdecchia

 

 

 --

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 

 Sponsor:

 Niente paura, da oggi puoi recuperare i dati persi dal PC, semplice come cliccare qui

 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3361&d=28-12



Reply to: