summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2019-11-01subr/build_init.subr: correctly filter ${_env_vars}.Lucio Andrés Illanes Albornoz1-1/+2
2019-11-01Merge pull request #12 from mstorsjo/incorrect-hostLucio Andrés Illanes Albornoz1-6/+6
Remove incorrect --host=${DEFAULT_TARGET} when building host tools/libraries
2019-11-01Remove incorrect --host=${DEFAULT_TARGET} when building host tools/librariesMartin Storsjö1-6/+6
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).
2019-11-01ubr/build_init.subr: merge grep(1) ${_env_vars} filter into sed(1) command line.Lucio Andrés Illanes Albornoz1-1/+1
2019-11-01Merge pull request #11 from mstorsjo/long-env-varsLucio Andrés Illanes Albornoz1-1/+1
Cope with long environment variables that are wrapped over multiple lines
2019-11-01Cope with long environment variables that are wrapped over multiple linesMartin Storsjö1-1/+1
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.
2019-10-20vars/build.vars:libressl: updated to v3.0.2 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz3-3/+37
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.
2019-10-20vars/build.vars:zsh: updated to 5.7.1 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz3-2/+164
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.
2019-10-19vars/build.vars:findutils: updated to v4.7.0 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz3-5/+14
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.
2019-10-19vars/build.vars:dropbear: updated to v2019.78 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz3-86/+2
patches/dropbear{,_minipix}-2017.75.local.patch: removes obsolete patch (via Redfoxmoon.)
2019-10-19vars/build.vars:irssi: updated to v1.2.2 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz2-25/+2
patches/irssi-1.1.1.local.patch: removes obsolete patch (via Redfoxmoon.) patches/irssi-1.2.2.local.patch: via Redfoxmoon.
2019-10-19vars/build.vars:libpng: updated to v1.6.37 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz1-2/+2
2019-10-19vars/build.vars:libpcap: updated to v1.9.1 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz3-24/+11
patches/libpcap-1.9.0.local.patch: removes obsolete patch (via Redfoxmoon.) vars/libpcap.vars: via Redfoxmoon.
2019-10-19vars/build.vars:calcurse: updated to v4.5.0 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz1-4/+5
vars/build.vars:calcurse:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ --without-asciidoc (via Redfoxmoon.) vars/build.vars:nano: updated to v4.5 (via Redfoxmoon.)
2019-10-18vars/build.vars:coreutils: updated to v8.31 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz4-10/+65
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.)
2019-10-16vars/build.vars:tcsh:${PKG_URL}: update dead URL.Lucio Andrés Illanes Albornoz1-1/+1
2019-10-16vars/build.vars:pcre:${PKG_{SHA256SUM,URL}}: update dead URL.Lucio Andrés Illanes Albornoz1-2/+2
2019-10-16vars/build.vars:host_packages_deps: build libreadline_host before building ↵Lucio Andrés Illanes Albornoz1-6/+6
python2_host.
2019-10-16vars/build.vars:popt:${PKG_URL}: update dead URL.Lucio Andrés Illanes Albornoz1-2/+2
2019-10-15vars/invariants_minipix.vars: copy ↵Lucio Andrés Illanes Albornoz1-1/+4
${PREFIX}/minipix_dist/{lib/python2.7,share/gdb}/. vars/invariants_minipix.vars: don't copy non-existent libz.so.1.
2019-10-15vars/build.vars:{gdb,python2}_minipix: added (via midipix.)Lucio Andrés Illanes Albornoz6-10/+23
vars/{gdb,python2}{,_minipix}.vars: inherit from {gdb,python2}_*(). vars/invariants_minipix.vars: copy lib{expat,ncurses,perk,python2.7}.so.*.
2019-10-13vars/build.vars:bzip2: updated to v1.0.8 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz7-53/+55
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.
2019-10-12vars/build.vars:python2_host:${PKG_ENV_VARS_EXTRA}: build w/ ↵Lucio Andrés Illanes Albornoz1-0/+1
NATIVE_LDFLAGS=-Wl,-rpath,${PREFIX}/lib (via midipix.)
2019-10-12vars/build.vars:python3_host:${PKG_ENV_VARS_EXTRA}: build w/ ↵Lucio Andrés Illanes Albornoz2-1/+1
NATIVE_LDFLAGS=-Wl,-rpath,${PREFIX}/lib (via midipix.) vars/python3_host.vars: don't set ${LD_LIBRARY_PATH} (via midipix.)
2019-10-12Revert "vars/python3_host.vars: don't set ${LD_LIBRARY_PATH}."Lucio Andrés Illanes Albornoz1-0/+1
This reverts commit 5dfd91a45fa34c4799a1bab11abc1fca4843570d.
2019-10-12apr_util: corrected patch.midipix2-45/+16
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
2019-10-12vars/python3_host.vars: don't set ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz1-1/+0
2019-10-12subr/build_init.subr: don't set ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz3-6/+3
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}.
2019-10-12patches/ncursesw_host-6.1.local.patch: added.Lucio Andrés Illanes Albornoz1-0/+1
2019-10-11vars/libsolv.vars:pkg_libsolv_configure(): unset ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz1-0/+1
2019-10-11vars/python3_host.vars:pkg_python3_host_fetch_download(): export ↵Lucio Andrés Illanes Albornoz1-0/+1
${LD_LIBRARY_PATH}.
2019-10-11vars/build.vars:host_packages_deps: adds libreadline_host v7.0 as a ↵Lucio Andrés Illanes Albornoz1-3/+8
dependency of gdb_host.
2019-10-11vars/cmake.vars:pkg_cmake_host_configure(): explicitly specify ↵Lucio Andrés Illanes Albornoz1-0/+6
-DCURSES_NCURSES_LIBRARY.
2019-10-11subr/ex_pkg_env.subr:exp_pkg_env_source(): unset ${LD_LIBRARY_PATH} given ↵Lucio Andrés Illanes Albornoz3-14/+3
build target host_packages_deps. vars/ncurses{,tw}_host.vars: removed.
2019-10-11patches/ncurses{{,{t,}w},w_host}-6.0.local.patch: removes obsolete patch.Lucio Andrés Illanes Albornoz9-105/+72
patches/ncurses{,tw}{,_host}-6.1.local.patch: updated. vars/ncurses{,tw}_host.vars: unset ${LD_LIBRARY_PATH} pre-install.
2019-10-11vars/build.vars:native_packages_deps_deps: split from native_packages_deps.Lucio Andrés Illanes Albornoz2-11/+44
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.
2019-10-10vars/build.vars:native_toolchain_deps: adds ncurses{,tw}_host as ↵Lucio Andrés Illanes Albornoz1-5/+18
dependencies of cmake_host (via midipix.)
2019-10-09vars/build.vars:host_{toolchain,packages_deps}: moves gdb_host (not via ↵Lucio Andrés Illanes Albornoz1-12/+12
Redfoxmoon.)
2019-10-07vars/build.vars:native_{toolchain_packages,packages_etc}: moves gdb (via ↵Lucio Andrés Illanes Albornoz1-13/+12
Redfoxmoon.)
2019-10-06gdb{_host}: --with-python: work around gdb's anti-cross-compilation patterns.midipix2-8/+32
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
2019-09-28vars/build.vars:diffutils: updated to v3.7 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz1-3/+4
vars/build.vars:${CONFIG_CACHE_GNULIB}: adds gl_cv_C_locale_sans_EILSEQ=yes (via Redfoxmoon.)
2019-09-27vars/build.vars:bison: updated to v3.4.2 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz1-11/+11
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.)
2019-09-27vars/build.vars:libflac: updated to v1.3.3 (via Redfoxmoon.)Lucio Andrés Illanes Albornoz2-31/+4
vars/build.vars:libogg: updated to v1.3.4 (via Redfoxmoon.) patches/libflac/CVE-2017-6888.patch: removes obsolete patch (via Redfoxmoon.)
2019-09-07vars/build.vars:{gmp{,_host},binutils{,_host}{,_mingw32},libelf,libffi_host} ↵Lucio Andrés Illanes Albornoz1-11/+11
:${PKG_PATCHES_EXTRA}: adapt to chainport's new directory layout (please don't read this message.)
2019-09-03vars/build.vars:glib_host:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ ↵Lucio Andrés Illanes Albornoz3-2/+171
--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.
2019-09-02vars/libzip.vars:pkg_libzip_configure(): fix -DZLIB_LIBRARY specification.Lucio Andrés Illanes Albornoz2-3/+3
vars/openjpeg.vars:pkg_openjpeg_configure(): fix -DZLIB_LIBRARY specification.
2019-09-01vars/build.vars:ncurses:${PKG_{C,LD}FLAGS}: don't pass ↵Lucio Andrés Illanes Albornoz1-4/+2
--sysroot=${PREFIX_NATIVE}. vars/build.vars:libreadline:${PKG_{C,LD}FLAGS}: pass {-I${PREFIX_NATIVE}/include,-L${PREFIX_NATIVE}/lib} vs. --sysroot=${PREFIX_NATIVE}.
2019-09-01vars/build.vars:native_toolchain_deps: move {ncurses,lib{readline,z}} from ↵Lucio Andrés Illanes Albornoz1-21/+34
native_packages_deps as dependencies of gdb.
2019-09-01vars/build.vars:native_toolchain: adds gdb v7.12.Lucio Andrés Illanes Albornoz3-2/+40
vars/build.vars:{host,native}_toolchain: adds gdb{_host,} v7.12.
2019-09-01vars/build.vars:{gmp{,_host},binutils{,_host}{,_mingw32},libelf,libffi_host} ↵Lucio Andrés Illanes Albornoz5-9/+36
:${PKG_PATCHES_EXTRA}: adapt to chainport's new directory layout. vars/binutils{,_host}{,_mingw32}.vars: adapt to chainport's new directory layout.