|
Home > Archive > Debian Developers > November 2006 > Building in a directory named "something:something"
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Building in a directory named "something:something"
|
|
| Goswin von Brederlow 2006-11-02, 7:21 am |
| Hi,
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 */
debuild
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.
MfG
Goswin
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Gabor Gombas 2006-11-02, 7:21 am |
| On Thu, Nov 02, 2006 at 11:13:30AM +0100, Goswin von Brederlow wrote:
> 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.
I think yes. Having ':' in the file name is no different than having ' '
in the file name (at least as far as make is concerned) and requires the
same escaping.
Gabor
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|