Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] host-mtools 4.0.18 fails to install to host directory
@ 2016-05-07  9:04 Marco Trapanese
  2016-05-31 20:12 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Trapanese @ 2016-05-07  9:04 UTC (permalink / raw)
  To: buildroot

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

> >>> 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
> 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:

> 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] host-mtools 4.0.18 fails to install to host directory
  2016-05-07  9:04 [Buildroot] host-mtools 4.0.18 fails to install to host directory Marco Trapanese
@ 2016-05-31 20:12 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2016-05-31 20:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Marco" == Marco Trapanese <marcotrapanese@gmail.com> 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 <peter@korsgaard.com>
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.

    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-31 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-07  9:04 [Buildroot] host-mtools 4.0.18 fails to install to host directory Marco Trapanese
2016-05-31 20:12 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox