I was beating on gawk this morning before work, and I've discovered
why it won't compile:

The following command is run (chained through the root Makefile, from
debian/rules):

/disk1/build-dir/group/Debian/package/gawk/version/1:3.0.6-1/gawk-3.0.6# make 
-d info 
datadir=/disk1/build-dir/group/Debian/package/gawk/version/1\:3.0.6-1/gawk-3.0.6/debian/tmp/usr/share/awk
 
libexecdir=/disk1/build-dir/group/Debian/package/gawk/version/1\:3.0.6-1/gawk-3.0.6/debian/tmp/usr/lib/awk
 
prefix=/disk1/build-dir/group/Debian/package/gawk/version/1\:3.0.6-1/gawk-3.0.6/debian/tmp/usr/share
 
exec_prefix=/disk1/build-dir/group/Debian/package/gawk/version/1\:3.0.6-1/gawk-3.0.6/debian/tmp/usr
 

And this causes problems on:

install: $(mandir)/gawk$(manext) $(mandir)/igawk$(manext) $(infodir)/gawk.info

Because this expands to:

install: 
/disk1/build-dir/group/Debian/package/gawk/version/1:3.0.6-1/gawk-3.0.6/debian/tmp/usr/share/man/man1/gawk.1
 
/disk1/build-dir/group/Debian/package/gawk/version/1:3.0.6-1/gawk-3.0.6/debian/tmp/usr/share/man/man1/igawk.1
 
/disk1/build-dir/group/Debian/package/gawk/version/1:3.0.6-1/gawk-3.0.6/debian/tmp/usr/share/info/gawk.info

And make can't cope with the :'s in the directory.

Who should see this bug?  Turtle for creating the directory in the
first place?  Gawk for using a colon in the version number?  Or Make
for not coping well with:

PWD=`pwd` (This is actually defined in debian/rules, but it's a common
construct)

Tks,
Jeff Bailey



Reply via email to