From: Josef Wolf <jw@raven.inka.de>
To: newlib@sourceware.org
Subject: newlib-3.3.0 "make install" failure?
Date: Sun, 29 Mar 2020 12:55:16 +0200 [thread overview]
Message-ID: <20200329105516.GA15675@raven.inka.de> (raw)
Hello,
while building newlib-3.3.0, I get an error at the "make install"
step. Unfortunately, I can't get any clue from the error message:
[ ... Thousands of lines without any error messages deleted ]
mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include
mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/machine
mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/rpc
mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/ssp
mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/sys
mkdir -p -- /usr/local/crossgcc/arm-none-eabi/nanoLibraries/arm-none-eabi/include/bits
make[4]: Leaving directory '/var/tmp/newlib-3.3.0-nano/arm-none-eabi/newlib'
make[3]: Leaving directory '/var/tmp/newlib-3.3.0-nano/arm-none-eabi/newlib'
make[2]: Leaving directory '/var/tmp/newlib-3.3.0-nano/arm-none-eabi/newlib'
make[1]: Leaving directory '/var/tmp/newlib-3.3.0-nano'
make: *** [Makefile:2276: install] Error 2
The make recipe in question reads like this:
.PHONY: install uninstall
install:
@: $(MAKE); $(unstage)
@r=`${PWD_COMMAND}`; export r; \ # <--- THIS IS LINE 2276
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
To build the package, I used the following commands:
$ PATH=$PATH:/usr/local/crossgcc/bin:/usr/local/crossgcc/arm-none-eabi/bin:/usr/local/crossgcc/arm-none-eabi/nanoLibraries/bin
$ cd /var/tmp/builds/crossgcc/src
$ tar xzf /var/tmp/builds/crossgcc/download/newlib-3.3.0.tar.gz
$ mkdir -p /var/tmp/builds/crossgcc/build/newlib-3.3.0-nano
$ cd /var/tmp/builds/crossgcc/build/newlib-3.3.0-nano
$ /var/tmp/builds/crossgcc/src/newlib-3.3.0/configure \
--prefix=/usr/local/crossgcc/arm-none-eabi/nanoLibraries \
--target=arm-none-eabi \
--enable-newlib-nano-malloc \
--enable-lite-exit \
--enable-newlib-nano-formatted-io \
--disable-newlib-supplied-syscalls \
--enable-newlib-reent-small \
--disable-newlib-fvwrite-in-streamio \
--disable-newlib-fseek-optimization \
--disable-newlib-wide-orient \
--disable-newlib-unbuf-stream-opt \
--enable-newlib-global-atexit \
--enable-newlib-retargetable-locking \
--enable-newlib-global-stdio-streams \
--disable-nls
$ make -j4
$ make -j4 install
Any ideas how to track down the problem?
--
Josef Wolf
jw@raven.inka.de
next reply other threads:[~2020-03-29 10:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-29 10:55 Josef Wolf [this message]
2020-03-30 7:27 ` "-j4" option don't work with "make install" [Was: newlib-3.3.0 "make install" failure?] Josef Wolf
2020-03-30 7:46 ` Emmanuel Blot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200329105516.GA15675@raven.inka.de \
--to=jw@raven.inka.de \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).