[CT_NG] ct-ng build tries to install headers to live system
Somchai Smythe
buraphalinuxserver@gmail.com
Thu Nov 4 18:44:00 GMT 2010
Hello Yann Morin,
I don't know if my problem is a bug or just how it has to be. On
older crosstool-ng versions (1.7.x) it worked the way I expected, but
now it does not. When doing ct-ng build when I told it to install
into a CT_PREFIX_DIR it still tries to write on /usr (which is
mounted read-only normally on my system). I am using ct-ng 1.9.0, but
I had this problem in 1.8.x too. I hoped it would be cured by 1.9.0,
but maybe this is normal behavior now? I can install a machine just
to build the stuff with ct-ng if this is just how it has to be, but I
was hoping not to need to do that. Here is the end of the log file
showing the issue I am having:
[ALL ] mv -f
/home/tmp/yo/targets/x86_64-unknown-linux-gnu/build/build-libc-headers/tls.makeT
/home/tmp/yo/targets/x86_64-unknown-linux-gnu/build/build-libc-headers/tls.make
[ALL ] make[2]: Leaving directory `/home/tmp/yo/targets/src/glibc-2.9'
[ALL ] make[2]: Entering directory `/home/tmp/yo/targets/src/glibc-2.9'
[ALL ] /home/tmp/yo/targets/tools/bin/install -c -m 644
include/limits.h /usr/include/limits.h
[ALL ] /usr/bin/install: cannot remove `/usr/include/limits.h':
Read-only file system
[ERROR] make[2]: *** [/usr/include/limits.h] Error 1
[ALL ] make[2]: Leaving directory `/home/tmp/yo/targets/src/glibc-2.9'
[ERROR] make[1]: *** [install-headers] Error 2
[ALL ] make[1]: Leaving directory
`/home/tmp/yo/targets/x86_64-unknown-linux-gnu/build/build-libc-headers'
[ERROR] Build failed in step 'Installing C library headers'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list