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

Building in a directory named "something:something"


I recently run a simple shell script to test build a bunch of packages
with debuild. The script basically did the following:

mkdir package_version
cd package_version
apt-get build-dep
apt-get source
cd */

A bunch of sources then failed to build with strange make erors
because the version contains an epoch. The makefile uses some file
with full path in a target rule causing the epochs ':' to appear in
that line and make breaks.

I'm not sure what to do about it. Should one guard against this?
Should sources use the absolute path instead of relative ones? Ideas
are welcome.

For the rest let this be a warning. Don't use ':' in directory names.


Reply to: