Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove incorrect --host=${DEFAULT_TARGET} when building host tools/libraries
|
|
When passing --host to autoconf build systems, it means that one
wants to build code that is going to run on this specific target.
When building host tools/libraries, we're building code that is
going to run on the current host system, not ${DEFAULT_TARGET}.
Building with the incorrect --host parameter has appeared to work
despite this, due to other fallbacks in autoconf. When building with
--host=<triple>, autoconf first looks for <triple>-gcc, but if this
isn't found, then proceeds to use gcc and assumes this is what the
caller meant.
When building GMP, its configure script wants to inspect symbol
names, and uses a name listing tool (normally nm) for this purpose.
When building gmp_host, with the incorrect --host parameter, it
first looks for <triple>-nm, which doesn't exist. As the previously
set incorrect triple is for a Windows OS (x86_64-nt64-midipix), it
then looks for other windows type name listing tools, <triple>-dumpbin,
then unprefixed dumpbin. If dumpbin is found (I happen to have it
around, as a wine wrapper around MSVC tools, for convenience), it
is used, but then fails to inspect the ELF object files that the
compiler has used.
By removing the incorrect --host parameter, the host toolchain
deps build succeeds by not relying on autoconf implicitly doing
the right thing despite the incorrect parameter.
Also remove --target from HOST_TOOLCHAIN_DEPS_CONFIGURE_ARGS.
Adding --target when building host tools generally is correct, when
configuring tools that generate code (like binutils and gcc). For
other projects that don't generate code, --target normally has no effect.
GMP explicitly errors out if --target is set to a different value than
host (as GMP's configure script thinks the caller has made a mistake).
|
|
|
|
Cope with long environment variables that are wrapped over multiple lines
|
|
The TERMCAP variable, if present, can be very long (27 lines and
over 1500 chars in my case).
In these cases, the earlier lines end with a backslash, and the
following ones start with a one tab indent.
Filter for lines starting with "export" to properly find the
variable names only, as that's the only thing we're interested in
here.
|
|
vars/build.vars:native_packages_etc: adds libredwg v0.9 (via Redfoxmoon.)
patches/libredwg-0.9.local.patch: via Redfoxmoon.
patches/libressl-{2.9.1,3.0.2}.local.patch: via Redfoxmoon.
|
|
vars/build.vars:zsh:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ --enable-libc-musl --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc --enable-etcdir=/etc/zsh --enable-multibyte --enable-function-subdirs --enable-zsh-secure-free --with-tcsetpgrp (via Redfoxmoon.)
vars/build.vars:zsh:${PKG_IN_TREE}: build in-tree (via Redfoxmoon.)
vars/zsh.vars: via Redfoxmoon.
patches/zsh-5.7.1.local.patch: via Redfoxmoon.
|
|
vars/build.vars:libgcrypt: updated to v1.8.5 (via Redfoxmoon.)
vars/libgcrypt.vars: via Redfoxmoon.
patches/libgcrypt-1.8.{2,5}.local.patch: via Redfoxmoon.
|
|
patches/dropbear{,_minipix}-2017.75.local.patch: removes obsolete patch (via Redfoxmoon.)
|
|
patches/irssi-1.1.1.local.patch: removes obsolete patch (via Redfoxmoon.)
patches/irssi-1.2.2.local.patch: via Redfoxmoon.
|
|
|
|
patches/libpcap-1.9.0.local.patch: removes obsolete patch (via Redfoxmoon.)
vars/libpcap.vars: via Redfoxmoon.
|
|
vars/build.vars:calcurse:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ --without-asciidoc (via Redfoxmoon.)
vars/build.vars:nano: updated to v4.5 (via Redfoxmoon.)
|
|
vars/build.vars:coreutils_minipix:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ --enable-single-binary=shebangs (via Redfoxmoon.)
patches/coreutils{,_minipix}-8.{29,31}.local.patch: via Redfoxmoon (cluck.)
|
|
|
|
|
|
python2_host.
|
|
|
|
${PREFIX}/minipix_dist/{lib/python2.7,share/gdb}/.
vars/invariants_minipix.vars: don't copy non-existent libz.so.1.
|
|
vars/{gdb,python2}{,_minipix}.vars: inherit from {gdb,python2}_*().
vars/invariants_minipix.vars: copy lib{expat,ncurses,perk,python2.7}.so.*.
|
|
patches/bzip2/CVE-2016-3189.patch: removes obsolete patch (via Redfoxmoon.)
patches/bzip2/bzip2-1.0.4-POSIX-shell.patch: removes obsolete patch (via Redfoxmoon.)
patches/bzip2/bzip2-1.0.4-makefile-CFLAGS.patch: via Redfoxmoon.
patches/bzip2/bzip2-1.0.4-man-links.patch: updated (via Redfoxmoon.)
patches/bzip2/bzip2-1.0.6-saneso.patch: removes obsolete patch (via Redfoxmoon.)
patches/bzip2/saneso.patch: via Redfoxmoon.
|
|
NATIVE_LDFLAGS=-Wl,-rpath,${PREFIX}/lib (via midipix.)
|
|
NATIVE_LDFLAGS=-Wl,-rpath,${PREFIX}/lib (via midipix.)
vars/python3_host.vars: don't set ${LD_LIBRARY_PATH} (via midipix.)
|
|
This reverts commit 5dfd91a45fa34c4799a1bab11abc1fca4843570d.
|
|
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
|
|
|
|
subr/ex_pkg_env.subr: don't unset ${LD_LIBRARY_PATH} given build target host_packages_deps.
vars/libsolv.vars: don't unset ${LD_LIBRARY_PATH}.
|
|
|
|
|
|
${LD_LIBRARY_PATH}.
|
|
dependency of gdb_host.
|
|
-DCURSES_NCURSES_LIBRARY.
|
|
build target host_packages_deps.
vars/ncurses{,tw}_host.vars: removed.
|
|
patches/ncurses{,tw}{,_host}-6.1.local.patch: updated.
vars/ncurses{,tw}_host.vars: unset ${LD_LIBRARY_PATH} pre-install.
|
|
vars/build.vars:native_packages_deps:{curl,libarchive,ncurses{t,}w,libuv}: moved to native_packages_deps_deps as dependencies of cmake.
etc/build.usage: updated.
|
|
dependencies of cmake_host (via midipix.)
|
|
Redfoxmoon.)
|
|
Redfoxmoon.)
|
|
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
|
|
vars/build.vars:${CONFIG_CACHE_GNULIB}: adds gl_cv_C_locale_sans_EILSEQ=yes (via Redfoxmoon.)
|
|
vars/build.vars:datamash: updated to v1.5 (via Redfoxmoon.)
vars/build.vars:dos2unix: updated to v7.4.1 (via Redfoxmoon.)
vars/build.vars:ncdu: updated to v1.14.1 (via Redfoxmoon.)
vars/build.vars:ncdu:${PKG_ENV_VARS_EXTRA}: build w/ LIBS=-lncursesw -ltinfow (via Redfoxmoon.)
vars/build.vars:openssh: updated to v8.0p1 (via Redfoxmoon.)
|
|
vars/build.vars:libogg: updated to v1.3.4 (via Redfoxmoon.)
patches/libflac/CVE-2017-6888.patch: removes obsolete patch (via Redfoxmoon.)
|
|
:${PKG_PATCHES_EXTRA}: adapt to chainport's new directory layout (please don't read this message.)
|
|
--with-pcre=internal (via Redfoxmoon.)
vars/build.vars:glib_host:${PKG_CFLAGS_BUILD_EXTRA}: build w/ -Wno-missing-include-dirs (via Redfoxmoon.)
vars/build.vars:libgpg_error:${PKG_IN_TREE}: build in-tree (via Redfoxmoon.)
vars/libgpg_error.vars via Redfoxmoon.
patches/libgpg_error-1.25_pre.local.patch: via Redfoxmoon.
|
|
vars/openjpeg.vars:pkg_openjpeg_configure(): fix -DZLIB_LIBRARY specification.
|
|
--sysroot=${PREFIX_NATIVE}.
vars/build.vars:libreadline:${PKG_{C,LD}FLAGS}: pass {-I${PREFIX_NATIVE}/include,-L${PREFIX_NATIVE}/lib} vs. --sysroot=${PREFIX_NATIVE}.
|
|
native_packages_deps as dependencies of gdb.
|
|
vars/build.vars:{host,native}_toolchain: adds gdb{_host,} v7.12.
|
|
:${PKG_PATCHES_EXTRA}: adapt to chainport's new directory layout.
vars/binutils{,_host}{,_mingw32}.vars: adapt to chainport's new directory layout.
|
|
call pkgconf w/ solely --version if necessary (fixes ffmpeg wrt. libshine.)
|