newlib-3.3.0 "make install" failure?

Josef Wolf <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.