shell-usage on stage

Kevin P. Fleming kpfleming at linuxfromscratch.org
Sun Apr 4 11:06:25 PDT 2004


Reinhard wrote:

> <stage name="Installing Binutils-&binutils-version; - Pass 1">
> 	<stageinfo>
> 		<base>&build_dir;/&binutils-directory;</base>

What is your "build_dir" entity set to?

> 	</stageinfo>
> 
> 	<mkdir>
> 		<option>parents</option>
> 		<name>../binutils-build</name>
> 	</mkdir>
> 
> resulting in this error:
> 
>   18689 I: Entering new stage: Installing Binutils-2.14 - Pass 1
>   18690 I: Creating directory ../binutils-build (parents)
>   18691 E: Changing current directory to /tools/build/../binutils-build 
> failed:
>   18692 E:     No such file or directory
>   18693 I: Exiting stage: Installing Binutils-2.14 - Pass 1
>   18694 W: Unable to remove /var/log/ALFS/stamps/Binutils.
> 
> I don't understand the error from line 18691. Where comes that path from?
> Is it a bug or my misunderstanding?

That error is not coming from the profile fragment you posted; it's 
coming from something _after_ the mkdir element.



More information about the alfs-discuss mailing list