tech-userlevel archive

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

Re: [PATCH] Fix build bug under Ubuntu shell

On Wed, 22 Oct 2008, Andy Shevchenko wrote:
> The current Ubuntu shell (version 3.2.13(1), version 3.2.25(1),
> ...) has some bug. Due to this the impossible to build /bin/sh in
> cross-compiling mode on Ubuntu 7.04 and 7.10.

Building NetBSD requires a working shell.  If your /bin/sh has bugs that
make it impossible to build NetBSD, then please use a different shell,
and set the HOST_SH environment variable to refer to the working shell.

>  echo "void"
>  echo "init(void)"
>  echo "{"
> -echo "${event_init%$nl}"
> +echo "${event_init}"
>  echo "}"

After applying your patch, there will be some extra blank lines in the
generated init.c file, but those should be harmless.

Is this patch the only thing that you need to complete a build with
Ubuntu's broken /bin/sh as the shell?  If so, then I'll apply the patch.
If you have other problems too, then please build using a different

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index