[Build-common-hackers] Bug#439915: Bug#439915: Warning about Python policy breaks build process

Jussi Hakala jussi.hakala at hut.fi
Tue Oct 9 10:22:12 UTC 2007


Peter Eisentraut wrote:
> I can't reproduce this.  Can you point out a package where this happens?

Basically any package which is using old python policy.

 From the diff attached to the original report, the problem can be seen 
clearly. Hash (#) starts a comment in a Makefile and passing that to a 
function will result in error.

To reproduce this, you can do the following:

$ cat > /tmp/foo << 'EOF'
bar = $(shell echo #)
all:
%TAB%echo $(bar)
EOF
$ sed -i "s/%TAB%/\t/" /tmp/foo
$ make -f /tmp/foo all

Regards,

   Jussi





More information about the Build-common-hackers mailing list