emacs-pretest-bug
[Top][All Lists]
Advanced

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

22.0.92 - make: Fatal error: Command failed for target `install-arch-dep


From: David R. Linn
Subject: 22.0.92 - make: Fatal error: Command failed for target `install-arch-dep'
Date: Wed, 27 Dec 2006 18:45:55 -0600 (CST)

I'm running out of time to look at this and I'm going to be offline for
several days so I'm going to report and go.

Config basics:
* Solaris 9 (9/05 if anyone cares) with /usr/sfw and /opt/sfw
* Sun Studio 10
* SunSolve patches through 2006-12-19 for OS and compiler

NB: all configure/build/commands are Sun-supplied versions, not GNU
versions (unless the Sun-supplied version is a GNU program)

* source directory == /tmp/E/src
* build directory == /tmp/E/s9
* install directory == /tmp/E/install

Config command:
---
#!/bin/sh

CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/include"
LDFLAGS="-L/usr/sfw/lib -L/opt/sfw/lib -R/usr/sfw/lib -R/opt/sfw/lib"
export CPPFLAGS LDFLAGS

../src/configure --prefix=/tmp/E/install \
  --with-xpm \
  --with-jpeg \
  --with-tiff \
  --with-gif \
  --with-png
---

Build command:
---
#!/bin/sh

CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/include"
LDFLAGS="-L/usr/sfw/lib -L/opt/sfw/lib -R/usr/sfw/lib -R/opt/sfw/lib"
export CPPFLAGS LDFLAGS

make
---
Summary:

* configure runs without incident - my libungif is too old to use.

* build runs with no errors and only expected warnings (the same
warnings I've been seeing since the emacs v19 days)

* $(BUILD)/src/emacs runs fine both with and without -nw

* install dies with a fatal error

---
if [ `(cd /tmp/E/install/libexec/emacs/22.0.92/sparc-sun-solaris2.9 && 
/bin/pwd)` \
            != `(cd /tmp/E/src/lib-src && /bin/pwd)` ]; then \
  for file in /tmp/E/src/lib-src/rcs2log vcdiff; do \
    /tmp/E/src/install-sh -c /tmp/E/src/lib-src/$file 
/tmp/E/install/libexec/emacs/22.0.92/sparc-sun-solaris2.9/$file; \
  done ; \
fi
install:  /tmp/E/src/lib-src//tmp/E/src/lib-src/rcs2log does not exist
*** Error code 1
make: Fatal error: Command failed for target 
`/tmp/E/install/libexec/emacs/22.0.92/sparc-sun-solaris2.9'
Current working directory /tmp/E/s9/lib-src
*** Error code 1
make: Fatal error: Command failed for target `install-arch-dep'
---

The name of rcs2log in that "for" loop is a bit wonky.  The above
snippet from the install log results from the following section
of lib-src/Makefile:

---
               if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \
                    != `(cd ${srcdir} && /bin/pwd)` ]; then \
          for file in ${SCRIPTS}; do \
            $(INSTALL_SCRIPT) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; 
\
          done ; \
---

so the problem seems to lie in a strange value of ${SCRIPTS} but
I don't see from where the value observed arises.  I plan to retry
this test install on another host but cannot do so for a few days
so I'm notifying y'all of the possible problem and promising to
report back with more details when time permits.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]