You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/include
Petr Štetiar 5cf897779e autotools.mk: autoreconf: fix missing install-sh
I'm trying to create a package for libgpiod, which uses
AC_CONFIG_AUX_DIR macro, which is probably leading to the following
configure error:

 autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --force
 OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
 OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
 OpenWrt-libtoolize: putting macros in `m4'.
 ...
 configure: error: cannot find install-sh, install.sh, or shtool in autostuff "."/autostuff

>From the build output it's clear, that libtoolize isn't installing
install-sh symlink, because libtoolize would install install-sh only if
it's being run with --install parameter. Corresponding part in
libtoolize:

 if $opt_install; then
   func_config_update config.guess \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
   func_config_update config.sub \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
   func_install_update install-sh \
     "$pkgdatadir/config" "$auxdir" pkgconfig_header
 fi
 func_ltmain_update ltmain.sh \
    "$pkgdatadir/config" "$auxdir" pkgconfig_header

Adding --install parameter to libtoolize fixes this build issue:

 autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --install --force
 OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'.
 OpenWrt-libtoolize: linking file `autostuff/config.guess'
 OpenWrt-libtoolize: linking file `autostuff/config.sub'
 OpenWrt-libtoolize: linking file `autostuff/install-sh'
 OpenWrt-libtoolize: linking file `autostuff/ltmain.sh'
 OpenWrt-libtoolize: putting macros in `m4'.

Cc: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
5 years ago
..
site include/site: add powerpc64 config 7 years ago
autotools.mk autotools.mk: autoreconf: fix missing install-sh 5 years ago
cmake.mk build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk 6 years ago
debug.mk include: remove trailing whitespaces 9 years ago
depends.mk build: add missing wildcard for ignoring .pkgdir in dependency checks 7 years ago
device_table.txt image: ensure that /dev/console exist in rootfs images 11 years ago
download.mk build: remove sgid permission from tar 5 years ago
feeds.mk build: suppress error output in feeds.mk 5 years ago
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 6 years ago
hardening.mk build: fix ASLR for LTO packages 6 years ago
host-build.mk build: do not override CCACHE_DIR when ccache is disabled 6 years ago
image-commands.mk build: image: add pad-to and pad-rootfs-squashfs helpers 5 years ago
image-legacy.mk image: fix ar71xx legacy images 7 years ago
image.mk ath79: split DEVICE_TITLE in multiple variables 5 years ago
kernel-build.mk include/kernel-build.mk: fix kernel rebuild on backport patch changes 6 years ago
kernel-defaults.mk kernel: fix downloading rcX releases 6 years ago
kernel-version.mk kernel: bump 4.19 to 4.19.57 5 years ago
kernel.mk build: skip kernel stack validation when building on macOS 5 years ago
netfilter.mk netfilter: Add fib support for nftables 5 years ago
nls.mk treewide: fix build depends to refer to source package names 6 years ago
package-bin.mk build: use if-then to avoid non-zero return codes in bin/ packaging code 7 years ago
package-defaults.mk include/package-defaults.mk: fix default Build/Prepare with empty ./src 6 years ago
package-dumpinfo.mk build: expose ABI version in .packageauxvars 5 years ago
package-ipkg.mk build: warn when packages have no associated install section 5 years ago
package-seccomp.mk include: add a seccomp filter install wrapper 9 years ago
package.mk include/package.mk: Add support for src-checkout/ folder 5 years ago
prereq-build.mk build: cleanup possibly dangling Python 2 host symlink 5 years ago
prereq.mk build: cleanup possibly dangling Python 2 host symlink 5 years ago
quilt.mk build: Use LINUX_DIR for Kernel/Patch 5 years ago
rootfs.mk imagebuilder: new DISABLED_SERVICES make variable 5 years ago
scan.awk build: propagate override information to .packageinfo 9 years ago
scan.mk build: Fix print without color 5 years ago
scons.mk build: use CXXFLAGS if defined 8 years ago
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 7 years ago
subdir.mk build: remove GNU time dependency 6 years ago
target.mk build: add urandom-seed and urngd to default packages set 5 years ago
toolchain-build.mk toolchain: Include hardening.mk for toolchain build 5 years ago
toplevel.mk build: fix kernel_*config targets on 4.19 5 years ago
u-boot.mk u-boot.mk: Fix building of recent U-Boot sources 5 years ago
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 11 years ago
unpack.mk include: unpack.mk: remove CRLF_WORKAROUND 5 years ago
verbose.mk include/verbose.mk: Add sc to failure message 6 years ago
version.mk version.mk: use https:// instead of http:// 5 years ago