kumquat-buildroot/docs/manual
Yann E. MORIN e09e1873a1 support/dependencies: ensure we have 'file' on the host
Recently, the autoconf macros for libtool started using '/usr/bin/file'
to determine the type of library that is generated by the toolchain.
Packages that use this recent version of the libtool autoconf macros
will fail in a rather dramatic way when /usr/bin/file is not present
on the host: the package will still build but no shared library is
generated, which in turn may cause build failures in other packages
that link with it.

For example, libpng's configure determines that it is not possible to
build a shared library on MIPS64 because the expected output from 'file'
is not present. Therefore, only a static libpng.a is built. Later,
bandwithd links with -lpng but it doesn't use the pkg-config's
Private-Libs (because it's not linking statically) and it doesn't have
access to the NEEDED reference from the shared library. Therefore, it
doesn't link with zlib and fails with

    pngrutil.c:(.text+0x55c): undefined reference to `inflate'

We cant use host-file because it is itself an autotools package and is
itself using libtool, so this would be a chicken-n-egg problem. Besides,
the libtool script really wants to call /usr/bin/file, so it would not
even find our host-file anyway.

So, just require that '/usr/bin/file' is present on the host.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-27 18:02:42 +01:00
..
adding-board-support.txt
adding-packages-asciidoc.txt docs/manual: document the br2-external NAME 2016-10-16 13:01:02 +02:00
adding-packages-autotools.txt manual: Remove trailing space 2014-11-22 20:13:16 +01:00
adding-packages-cmake.txt pkg-cmake: allow to build package in a subdirectory 2015-03-13 22:34:43 +01:00
adding-packages-conclusion.txt
adding-packages-directory.txt docs/manual: fix typo 2016-11-29 23:28:25 +01:00
adding-packages-generic.txt docs/manual: fix FOO_PKGDIR name and definition 2016-12-02 21:40:36 +01:00
adding-packages-gettext.txt
adding-packages-hooks.txt core/pkg-generic: allow packages to declare target-finalize hooks 2016-07-05 15:48:48 +02:00
adding-packages-kconfig.txt docs/manual: update pkg-kconfig doc about <pkg>_KCONFIG_DOTCONFIG 2016-09-17 14:46:04 +02:00
adding-packages-kernel-module.txt docs/manual: add documentation for linux-ext and linux-tools. 2015-07-14 23:35:58 +02:00
adding-packages-linux-kernel-spec-infra.txt docs/manual: update the linux tools section 2016-09-22 12:32:34 +02:00
adding-packages-luarocks.txt
adding-packages-perl.txt docs/manual: document the br2-external NAME 2016-10-16 13:01:02 +02:00
adding-packages-python.txt docs/manual: fix scanpypi path typos 2016-10-19 23:39:42 +02:00
adding-packages-rebar.txt docs/manual: add documentation for the pkg-rebar infrastructure 2015-02-03 10:23:03 +01:00
adding-packages-tips.txt docs/manual: Modify GitHub FOO_SITE explanation 2015-07-28 23:37:39 +02:00
adding-packages-virtual.txt manual: get rid of the lists of packages 2016-09-19 19:32:59 +02:00
adding-packages-waf.txt doc/manual: document the new waf-package infra variables 2016-12-11 18:03:59 +01:00
adding-packages.txt docs/manual: document the waf-package infra 2016-12-02 22:36:49 +01:00
advanced.txt
appendix.txt docs/manual: add appendix to convert old br2-external trees 2016-10-16 13:01:02 +02:00
beyond-buildroot.txt docs/manual/beyond-buildroot: additional minor fixes 2015-07-10 19:17:02 +02:00
br2-external-converting.txt docs/manual: document multi br2-external 2016-10-16 13:01:02 +02:00
ccache-support.txt ccache: support changing the output directory 2015-10-04 18:22:21 +02:00
common-usage.txt docs/manual: update graph-depends documentation about --stop-on 2016-02-08 21:29:38 +01:00
configure-other-components.txt docs/manual: add U-Boot configuration 2015-07-19 14:47:11 +02:00
configure.txt docs: update URL to uClibc-ng homepage 2016-10-14 16:49:35 +02:00
contribute.txt docs/manual: add new section about the DEVELOPERS file and get-developer 2016-09-21 09:17:58 +02:00
customize-configuration.txt docs/manual: add U-Boot configuration 2015-07-19 14:47:11 +02:00
customize-device-permission-tables.txt manual: remove the extra whitespaces 2014-12-20 15:55:54 +01:00
customize-directory-structure.txt docs/manual: document the br2-external NAME 2016-10-16 13:01:02 +02:00
customize-outside-br.txt docs/manual: fix typo 2016-11-29 23:28:25 +01:00
customize-packages.txt docs/manual: document the br2-external NAME 2016-10-16 13:01:02 +02:00
customize-patches.txt docs/manual: update documentation about applying patches 2015-04-06 11:05:16 +02:00
customize-post-image.txt
customize-quick-guide.txt docs/manual: add U-Boot configuration 2015-07-19 14:47:11 +02:00
customize-rootfs.txt docs/manual: document BR2_ROOTFS_POST_FAKEROOT_SCRIPT 2016-07-04 15:22:57 +02:00
customize-users-tables.txt
customize.txt
debugging-buildroot.txt docs/manual: add list of instrumentation steps 2015-05-05 22:47:32 +02:00
developers.txt docs/manual: fix typo 2016-09-22 00:02:52 +02:00
download-infra.txt
download-location.txt docs/manual: fix bash export syntax in example code 2015-11-11 23:12:30 +01:00
eclipse-integration.txt
faq-troubleshooting.txt docs/manual: add FAQ entry about speeding up the build process 2015-02-03 15:15:27 +01:00
getting.txt docs/manual: misc improvements to Vagrant usage documentation 2016-02-08 13:33:43 +01:00
how-buildroot-works.txt
introduction.txt
known-issues.txt docs/manual/known-issues: remove occurrences of eglibc 2016-06-28 22:27:27 +02:00
legal-notice.txt docs/manual: no warranty on output of legal-info 2016-10-03 23:19:07 +02:00
make-tips.txt docs/manual: add U-Boot configuration 2015-07-19 14:47:11 +02:00
makedev-syntax.txt makedevs: add capability support 2016-06-30 12:13:38 +02:00
makeusers-syntax.txt scripts/mkusers: allow users with no password value set 2015-06-09 23:13:41 +02:00
manual.mk manual: get rid of the lists of packages 2016-09-19 19:32:59 +02:00
manual.txt docs/manual: add new section about the DEVELOPERS file and get-developer 2016-09-21 09:17:58 +02:00
package-make-target.txt docs/manual: reinstall target 2015-02-03 18:08:32 +01:00
patch-policy.txt docs/manual: fix patch naming convention 2016-08-09 15:45:32 +02:00
prerequisite.txt support/dependencies: ensure we have 'file' on the host 2016-12-27 18:02:42 +01:00
quickstart.txt manual: remove the extra whitespaces 2014-12-20 15:55:54 +01:00
rebuilding-packages.txt
resources.txt docs: use lists.buildroot.org to refer to the mailman archives 2015-09-14 14:50:40 +02:00
using-buildroot-debugger.txt
using-buildroot-development.txt manual: fix typo 2016-08-19 11:25:39 +02:00
using-buildroot-toolchain.txt manual: remove the extra whitespaces 2014-12-20 15:55:54 +01:00
writing-rules.txt Document the 72 char limit on package description. 2015-07-13 12:16:45 +02:00