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

Re: [Patches] install_root= broken?



On Mon, Mar 5, 2012 at 1:38 PM, Christer Solskogen
<christer.solskogen@xxxxxxxxx> wrote:
> While I was doing the install-headers step in EGLIBC.cross-building I
> noticed that install_root= is partly(!) broken.
>
> The configure command is:
> $HOME/src/eglibc/configure --prefix=
> --with-headers=$HOME/obj/cross.tools.staging/include --without-gd
> --without-cvs --disable-profile --build=x86_64-unknown-linux-gnu
> --host=x86_64-centix-linux-gnu
> and make is: make install-headers install-bootstrap-headers=yes
> install_root=$PWD/dest
>
> It barfs with:
> mv -f /home/solskogen/obj/eglibc.cross.tools.headers.staging/soversions.mkT
> /home/solskogen/obj/eglibc.cross.tools.headers.staging/soversions.mk
> make[1]: Leaving directory `/home/solskogen/src/eglibc'
> make[1]: Entering directory `/home/solskogen/src/eglibc'
> ./scripts/mkinstalldirs /include
> mkdir /include
> mkdir: cannot create directory `/include': Permission denied
> make[1]: *** [/include/limits.h] Error 1
> make[1]: Leaving directory `/home/solskogen/src/eglibc'
> make: *** [install-headers] Error 2
>
> But using DESTDIR instead of install_root works.
>
> You might notice that prefix is zero. But it does not matter. I tried
> with prefix=/usr as well, but it barfs the same way.

Christer,

If possible could you try reproducing this with upstream glibc and
submit a bug for this e.g. product=glibc component=build?

http://www.gnu.org/software/libc/bugs.html

Thanks!

Cheers,
Carlos.
_______________________________________________
Patches mailing list
Patches@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/patches