This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[CT_NG] ct-ng build tries to install headers to live system


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]