Skip to contentSkip to conversation

host-mtools 4.0.18 fails to install to host directory

Buildroot Marco Trapanese 2 participants 2 messages May 7, 2016 – May 31, 2016

lore
Share & tools
lore
#0 lore raw

With Buildroot 2016.05-git-01197-gda433d6-dirty and .config attached, host-mtools fails to install to the host directory:

Quoted 35 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

host-mtools 4.0.18 Installing to host directory

PATH="/home/tech/dev/buildroot/output/host/bin:/home/tech/dev/buildroot/output/host/sbin:/home/tech/dev/buildroot/output/host/usr/bin:/home/tech/dev/buildroot/output/host/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PKG_CONFIG="/home/tech/dev/buildroot/output/host/usr/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/"
PKG_CONFIG_LIBDIR="/home/tech/dev/buildroot/output/host/usr/lib/pkgconfig"
/usr/bin/make -j1 install -C
/home/tech/dev/buildroot/output/build/host-mtools-4.0.18/
make[1]: ingresso nella directory
"/home/tech/dev/buildroot/output/build/host-mtools-4.0.18"

[...]

./mkinstalldirs /home/tech/dev/buildroot/output/host/usr/share/info if test -f mtools.info; then \

  for i in mtools.info*; do \
    /usr/bin/install -c -m 644 $i 
/home/tech/dev/buildroot/output/host/usr/share/info/$i; \
  done; \
else \
  for i in ./mtools.info*; do \
    /usr/bin/install -c -m 644 $i 

/home/tech/dev/buildroot/output/host/usr/share/info/echo $i | sed 's|^./||'; \
done; \
fi; \
if [ -n "/usr/bin/install-info" ] ; then \
/usr/bin/install-info
--info-dir=/home/tech/dev/buildroot/output/host/usr/share/info /home/tech/dev/buildroot/output/host/usr/share/info/mtools.info; \
fi
install-info: /home/tech/dev/buildroot/output/host/usr/share/info/dir:
file vuoto
Makefile:222: set di istruzioni per l'obiettivo "install-info" non riuscito
make[1]: *** [install-info] Errore 1

Quoted 8 lines

make[1]: uscita dalla directory "/home/tech/dev/buildroot/output/build/host-mtools-4.0.18" package/pkg-generic.mk:205: set di istruzioni per l'obiettivo "/home/tech/dev/buildroot/output/build/host-mtools-4.0.18/.stamp_host_installed" non riuscito
make: *** [/home/tech/dev/buildroot/output/build/host-mtools-4.0.18/.stamp_host_installed] Errore 2

In English:

Quoted 2 lines

install-info: /home/tech/dev/buildroot/output/host/usr/share/info/dir:
file vuoto

means:

file empty.
In fact /home/tech/dev/buildroot/output/host/usr/share/info/dir has 0 byte length.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/xml
Size: 94390 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160507/814f84b9/attachment.wsdl>

#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Marco" == Marco Trapanese <[email protected]> writes:

With Buildroot 2016.05-git-01197-gda433d6-dirty and .config attached, host-mtools fails to install to the host directory:

file empty.
In fact /home/tech/dev/buildroot/output/host/usr/share/info/dir has 0 byte length.

Odd, I cannot reproduce it here. There's no point in calling install-info though (as we don't use the info pages for anything), so I've committed a change to disable it:

commit 102c4a4bad747221191a67fdced8d077e31aeb2c

Author: Peter Korsgaard <[email protected]>
Date:   Tue May 31 21:57:15 2016 +0200

mtools: ensure install-info isn't used

mtools calls install-info at 'make install' time if available after installing the mtools info page - But as we don't use the info pages for anything / remove in target-finalize, this is a waste of time and a potential cause of build failures as reported on the list:

http://lists.busybox.net/pipermail/buildroot/2016-May/160604.html

So ensure configure doesn't find it.

Signature · 1 line
Bye, Peter Korsgaard