Closed danielrosero closed 5 years ago
Thanks, issue is fixed now.
@xeffyr you are awesome. I was thinking to open another issue to report you my new problems on the recompile, but I'm just going to put them here and edit the ticket title.
First, you may want to check package geoip2-database
, I forced the checksum to pass, and I guess (as the comments in the build.sh
file comment said, is an issue that goes with updating the package.
Now, I came to a new roadblock with the package sc
. This is the output of:
Building sc... ERROR: See /home/builder/.termux-build/_buildall-aarch64/sc.err
`builder@ff1a162c235f:~/termux-packages/nuevoVisaje/termux-packages-master$ cat /home/builder/.termux-build/_buildall-aarch64/sc.err
+ set -e -o pipefail -u
+ : /tmp
+ export TMPDIR
++ uname -o
+ '[' GNU/Linux = Android ']'
+ '[' -e /system/bin/app_process ']'
+ export TERMUX_ON_DEVICE_BUILD=
+ TERMUX_ON_DEVICE_BUILD=
+ TERMUX_BUILD_LOCK_FILE=/tmp/.termux-build.lck
+ '[' '!' -e /tmp/.termux-build.lck ']'
+ : false
+ source scripts/build/termux_error_exit.sh
+ source scripts/build/termux_download.sh
++ [[ scripts/build/termux_download.sh == \.\/\b\u\i\l\d\-\p\a\c\k\a\g\e\.\s\h ]]
+ source scripts/build/setup/termux_setup_golang.sh
+ source scripts/build/setup/termux_setup_rust.sh
+ source scripts/build/setup/termux_setup_ninja.sh
+ source scripts/build/setup/termux_setup_meson.sh
+ source scripts/build/setup/termux_setup_cmake.sh
+ source scripts/build/setup/termux_setup_protobuf.sh
+ source scripts/build/termux_step_setup_variables.sh
+ source scripts/build/termux_step_handle_buildarch.sh
+ source scripts/build/termux_extract_dep_info.sh
++ [[ scripts/build/termux_extract_dep_info.sh == \.\/\b\u\i\l\d\-\p\a\c\k\a\g\e\.\s\h ]]
+ source scripts/build/termux_download_deb.sh
++ [[ scripts/build/termux_download_deb.sh == \.\/\b\u\i\l\d\-\p\a\c\k\a\g\e\.\s\h ]]
+ source scripts/build/termux_get_repo_files.sh
+ source scripts/build/termux_step_start_build.sh
+ source scripts/build/termux_step_extract_package.sh
+ source scripts/build/termux_step_handle_hostbuild.sh
+ source scripts/build/termux_step_host_build.sh
+ source scripts/build/termux_step_setup_toolchain.sh
+ source scripts/build/termux_step_patch_package.sh
+ source scripts/build/termux_step_replace_guess_scripts.sh
+ source scripts/build/configure/termux_step_configure_autotools.sh
+ source scripts/build/configure/termux_step_configure_cmake.sh
+ source scripts/build/configure/termux_step_configure_meson.sh
+ source scripts/build/configure/termux_step_configure.sh
+ source scripts/build/termux_step_make.sh
+ source scripts/build/termux_step_make_install.sh
+ source scripts/build/termux_step_install_license.sh
+ source scripts/build/termux_step_extract_into_massagedir.sh
+ source scripts/build/termux_create_subpackages.sh
+ source scripts/build/termux_step_massage.sh
+ source scripts/build/termux_step_create_datatar.sh
+ source scripts/build/termux_step_create_debfile.sh
+ source scripts/build/termux_step_finish_build.sh
+ getopts :a:hdDfiIqso: option
+ case "$option" in
+ '[' -n '' ']'
+ export TERMUX_ARCH=aarch64
+ TERMUX_ARCH=aarch64
+ getopts :a:hdDfiIqso: option
+ case "$option" in
+ export TERMUX_SKIP_DEPCHECK=true
+ TERMUX_SKIP_DEPCHECK=true
+ getopts :a:hdDfiIqso: option
+ shift 3
+ '[' 1 -lt 1 ']'
+ unset -f _show_usage
+ (( 1 > 0 ))
+ false
+ flock -n 5
+ '[' -z '' ']'
+ '[' -n x ']'
+ '[' aarch64 = all ']'
++ basename packages/sc
+ TERMUX_PKG_NAME=sc
+ export TERMUX_SCRIPTDIR
+++ dirname ./build-package.sh
++ cd .
++ pwd
+ TERMUX_SCRIPTDIR=/home/builder/termux-packages/nuevoVisaje/termux-packages-master
+ [[ packages/sc == *\/* ]]
+ '[' '!' -d packages/sc ']'
+ export TERMUX_PKG_BUILDER_DIR
++ realpath packages/sc
+ TERMUX_PKG_BUILDER_DIR=/home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc
+ TERMUX_PKG_BUILDER_SCRIPT=/home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/build.sh
+ test '!' -f /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/build.sh
+ termux_step_setup_variables
+ . /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/properties.sh
++ TERMUX_ANDROID_BUILD_TOOLS_VERSION=28.0.3
++ TERMUX_NDK_VERSION_NUM=20
++ TERMUX_NDK_REVISION=
++ TERMUX_NDK_VERSION=20
++ test -f /home/builder/.termuxrc
++ : /home/builder/lib/android-sdk
++ : /home/builder/lib/android-ndk
++ nproc
+ : 2
+ : /home/builder/.termux-build
+ : aarch64
+ : /data/data/me.danielrosero.blastergram/files/usr
+ : /data/data/me.danielrosero.blastergram/files/home
+ : ''
+ : 24
+ : false
+ : false
+ : /home/builder/termux-packages/nuevoVisaje/termux-packages-master/debs
+ : true
+ : false
+ : 'Fredrik Fornwall @fornwall'
+ : packages
+ '[' -n '' ']'
+ TERMUX_BUILT_PACKAGES_DIRECTORY=/data/data/.built-packages
+ TERMUX_REPO_URL=(https://dl.bintray.com/termux/termux-packages-24 https://dl.bintray.com/grimler/game-packages-24 https://dl.bintray.com/grimler/science-packages-24 https://dl.bintray.com/grimler/termux-root-packages-24 https://dl.bintray.com/xeffyr/unstable-packages-24 https://dl.bintray.com/xeffyr/x11-packages-24)
+ TERMUX_REPO_DISTRIBUTION=(stable games science root unstable x11)
+ TERMUX_REPO_COMPONENT=(main stable stable stable main main)
+ '[' x86_64 = aarch64 ']'
+ '[' aarch64 = aarch64 ']'
+ TERMUX_ARCH_BITS=64
+ TERMUX_HOST_PLATFORM=aarch64-linux-android
+ '[' aarch64 = arm ']'
+ '[' -z '' ']'
+ '[' '!' -d /home/builder/lib/android-ndk ']'
+ '[' -z '' ']'
+ grep -s -q 'Pkg.Revision = 20' /home/builder/lib/android-ndk/source.properties
++ sh /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/config.guess
+ TERMUX_BUILD_TUPLE=x86_64-pc-linux-gnu
+ TERMUX_D8=/home/builder/lib/android-sdk/build-tools/28.0.3/d8
+ TERMUX_COMMON_CACHEDIR=/home/builder/.termux-build/_cache
+ TERMUX_ELF_CLEANER=/home/builder/.termux-build/_cache/termux-elf-cleaner
+ export prefix=/data/data/me.danielrosero.blastergram/files/usr
+ prefix=/data/data/me.danielrosero.blastergram/files/usr
+ export PREFIX=/data/data/me.danielrosero.blastergram/files/usr
+ PREFIX=/data/data/me.danielrosero.blastergram/files/usr
+ TERMUX_PKG_BUILDDIR=/home/builder/.termux-build/sc/build
+ TERMUX_PKG_CACHEDIR=/home/builder/.termux-build/sc/cache
+ TERMUX_PKG_MASSAGEDIR=/home/builder/.termux-build/sc/massage
+ TERMUX_PKG_PACKAGEDIR=/home/builder/.termux-build/sc/package
+ TERMUX_PKG_SRCDIR=/home/builder/.termux-build/sc/src
+ TERMUX_PKG_SHA256=
+ TERMUX_PKG_TMPDIR=/home/builder/.termux-build/sc/tmp
+ TERMUX_PKG_HOSTBUILD_DIR=/home/builder/.termux-build/sc/host-build
+ TERMUX_PKG_PLATFORM_INDEPENDENT=
+ TERMUX_PKG_NO_STATICSPLIT=
+ TERMUX_PKG_REVISION=0
+ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=
+ TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS=
+ TERMUX_PKG_EXTRA_MAKE_ARGS=
+ TERMUX_PKG_BUILD_IN_SRC=
+ TERMUX_PKG_RM_AFTER_INSTALL=
+ TERMUX_PKG_BREAKS=
+ TERMUX_PKG_PRE_DEPENDS=
+ TERMUX_PKG_DEPENDS=
+ TERMUX_PKG_BUILD_DEPENDS=
+ TERMUX_PKG_HOMEPAGE=
+ TERMUX_PKG_DESCRIPTION='FIXME:Add description'
+ TERMUX_PKG_LICENSE_FILE=
+ TERMUX_PKG_ESSENTIAL=
+ TERMUX_PKG_CONFLICTS=
+ TERMUX_PKG_RECOMMENDS=
+ TERMUX_PKG_SUGGESTS=
+ TERMUX_PKG_REPLACES=
+ TERMUX_PKG_PROVIDES=
+ TERMUX_PKG_CONFFILES=
+ TERMUX_PKG_HOSTBUILD=
+ TERMUX_PKG_FORCE_CMAKE=no
+ TERMUX_CMAKE_BUILD=Ninja
+ TERMUX_PKG_HAS_DEBUG=yes
+ unset CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
+ termux_step_handle_buildarch
+ '[' -n '' ']'
+ local TERMUX_ARCH_FILE=/data/TERMUX_ARCH
+ '[' -f /data/TERMUX_ARCH ']'
+ local TERMUX_PREVIOUS_ARCH
++ cat /data/TERMUX_ARCH
+ TERMUX_PREVIOUS_ARCH=aarch64
+ '[' aarch64 '!=' aarch64 ']'
+ echo aarch64
+ termux_step_start_build
+ source /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/build.sh
++ TERMUX_PKG_HOMEPAGE='http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/!INDEX.html'
++ TERMUX_PKG_DESCRIPTION='A vi-like spreadsheet calculator'
++ TERMUX_PKG_LICENSE='Public Domain'
++ TERMUX_PKG_MAINTAINER='Leonid Plyushch <leonid.plyushch@gmail.com>'
++ TERMUX_PKG_VERSION=7.16
++ TERMUX_PKG_REVISION=3
++ TERMUX_PKG_SRCURL=http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-7.16.tar.gz
++ TERMUX_PKG_SHA256=1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
++ TERMUX_PKG_DEPENDS=ncurses
++ TERMUX_PKG_BUILD_IN_SRC=yes
++ TERMUX_PKG_EXTRA_MAKE_ARGS=SIMPLE=-DSIMPLE
+ TERMUX_STANDALONE_TOOLCHAIN=/home/builder/.termux-build/_cache/android-r20-api-24
+ TERMUX_STANDALONE_TOOLCHAIN+=-v1
+ '[' -n '' ']'
+ TERMUX_PKG_FULLVERSION=7.16
+ '[' 3 '!=' 0 ']'
+ TERMUX_PKG_FULLVERSION+=-3
+ '[' '' = true ']'
+ DEBUG=
+ '[' -z '' ']'
+ '[' -z '' ']'
+ '[' -e /data/data/.built-packages/sc ']'
+ '[' -n '' ']'
+ '[' true = false ']'
+ '[' true = false ']'
+ '[' -d /home/builder/.termux-build/sc/build ']'
+ chmod +w -R /home/builder/.termux-build/sc/build
+ '[' -d /home/builder/.termux-build/sc/src ']'
+ chmod +w -R /home/builder/.termux-build/sc/src
+ rm -Rf /home/builder/.termux-build/sc/build /home/builder/.termux-build/sc/package /home/builder/.termux-build/sc/src /home/builder/.termux-build/sc/tmp /home/builder/.termux-build/sc/massage
+ mkdir -p /home/builder/.termux-build/_cache /home/builder/termux-packages/nuevoVisaje/termux-packages-master/debs /home/builder/.termux-build/sc/build /home/builder/.termux-build/sc/package /home/builder/.termux-build/sc/tmp /home/builder/.termux-build/sc/cache /home/builder/.termux-build/sc/massage /data/data/me.danielrosero.blastergram/files/usr/bin /data/data/me.danielrosero.blastergram/files/usr/etc /data/data/me.danielrosero.blastergram/files/usr/lib /data/data/me.danielrosero.blastergram/files/usr/libexec /data/data/me.danielrosero.blastergram/files/usr/share /data/data/me.danielrosero.blastergram/files/usr/share/LICENSES /data/data/me.danielrosero.blastergram/files/usr/tmp /data/data/me.danielrosero.blastergram/files/usr/include
+ '[' -z '' ']'
+ ln -sf /bin/sh /data/data/me.danielrosero.blastergram/files/usr/bin/sh
+ local TERMUX_ELF_CLEANER_SRC=/home/builder/.termux-build/_cache/termux-elf-cleaner.cpp
+ local TERMUX_ELF_CLEANER_VERSION
++ bash -c '. /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/termux-elf-cleaner/build.sh; echo $TERMUX_PKG_VERSION'
+ TERMUX_ELF_CLEANER_VERSION=1.6
+ termux_download https://raw.githubusercontent.com/termux/termux-elf-cleaner/v1.6/termux-elf-cleaner.cpp /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a
+ '[' 3 '!=' 3 ']'
+ local URL=https://raw.githubusercontent.com/termux/termux-elf-cleaner/v1.6/termux-elf-cleaner.cpp
+ local DESTINATION=/home/builder/.termux-build/_cache/termux-elf-cleaner.cpp
+ local CHECKSUM=96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a
+ '[' -f /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp ']'
+ '[' 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a '!=' SKIP_CHECKSUM ']'
+ local EXISTING_CHECKSUM
++ sha256sum /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp
++ cut -f 1 -d ' '
+ EXISTING_CHECKSUM=96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a
+ '[' 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a = 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a ']'
+ return
+ '[' /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp -nt /home/builder/.termux-build/_cache/termux-elf-cleaner ']'
+ '[' -n yes ']'
+ echo 'Building in src due to TERMUX_PKG_BUILD_IN_SRC being set'
+ TERMUX_PKG_BUILDDIR=/home/builder/.termux-build/sc/src
+ echo 'termux - building sc for arch aarch64...'
+ test -t 1
+ export TERMUX_PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ TERMUX_PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ sleep 1
+ TERMUX_BUILD_TS_FILE=/home/builder/.termux-build/sc/tmp/timestamp_sc
+ touch /home/builder/.termux-build/sc/tmp/timestamp_sc
+ termux_step_extract_package
+ '[' -z http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-7.16.tar.gz ']'
+ '[' -n '' ']'
+ cd /home/builder/.termux-build/sc/tmp
+ PKG_SRCURL=(${TERMUX_PKG_SRCURL[@]})
+ local PKG_SRCURL
+ PKG_SHA256=(${TERMUX_PKG_SHA256[@]})
+ local PKG_SHA256
+ '[' '!' 1 == 1 ']'
+ local STRIP=1
++ seq 0 0
+ for i in $(seq 0 $(( ${#PKG_SRCURL[@]}-1 )))
+ test 0 -gt 0
+ local filename
++ basename http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-7.16.tar.gz
+ filename=sc-7.16.tar.gz
+ local file=/home/builder/.termux-build/sc/cache/sc-7.16.tar.gz
+ set +u
+ termux_download http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-7.16.tar.gz /home/builder/.termux-build/sc/cache/sc-7.16.tar.gz 1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
+ '[' 3 '!=' 3 ']'
+ local URL=http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/sc-7.16.tar.gz
+ local DESTINATION=/home/builder/.termux-build/sc/cache/sc-7.16.tar.gz
+ local CHECKSUM=1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
+ '[' -f /home/builder/.termux-build/sc/cache/sc-7.16.tar.gz ']'
+ '[' 1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765 '!=' SKIP_CHECKSUM ']'
+ local EXISTING_CHECKSUM
++ sha256sum /home/builder/.termux-build/sc/cache/sc-7.16.tar.gz
++ cut -f 1 -d ' '
+ EXISTING_CHECKSUM=1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
+ '[' 1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765 = 1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765 ']'
+ return
+ set -u
+ local folder
+ set +o pipefail
+ '[' gz = zip ']'
+ mkdir -p /home/builder/.termux-build/sc/src
+ tar xf /home/builder/.termux-build/sc/cache/sc-7.16.tar.gz -C /home/builder/.termux-build/sc/src --strip-components=1
+ set -o pipefail
+ cd /home/builder/.termux-build/sc/src
+ termux_step_post_extract_package
+ return
+ termux_step_handle_hostbuild
+ '[' x = x ']'
+ return
+ termux_step_setup_toolchain
+ export CFLAGS=
+ CFLAGS=
+ export LDFLAGS=-L/data/data/me.danielrosero.blastergram/files/usr/lib
+ LDFLAGS=-L/data/data/me.danielrosero.blastergram/files/usr/lib
+ export AS=aarch64-linux-android-clang
+ AS=aarch64-linux-android-clang
+ export CC=aarch64-linux-android-clang
+ CC=aarch64-linux-android-clang
+ export CXX=aarch64-linux-android-clang++
+ CXX=aarch64-linux-android-clang++
+ export AR=aarch64-linux-android-ar
+ AR=aarch64-linux-android-ar
+ export CPP=aarch64-linux-android-cpp
+ CPP=aarch64-linux-android-cpp
+ export LD=aarch64-linux-android-ld
+ LD=aarch64-linux-android-ld
+ export OBJCOPY=aarch64-linux-android-objcopy
+ OBJCOPY=aarch64-linux-android-objcopy
+ export OBJDUMP=aarch64-linux-android-objdump
+ OBJDUMP=aarch64-linux-android-objdump
+ export RANLIB=aarch64-linux-android-ranlib
+ RANLIB=aarch64-linux-android-ranlib
+ export READELF=aarch64-linux-android-readelf
+ READELF=aarch64-linux-android-readelf
+ export STRIP=aarch64-linux-android-strip
+ STRIP=aarch64-linux-android-strip
+ '[' -z '' ']'
+ export PATH=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export CC_FOR_BUILD=gcc
+ CC_FOR_BUILD=gcc
+ export PKG_CONFIG=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/aarch64-linux-android-pkg-config
+ PKG_CONFIG=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/aarch64-linux-android-pkg-config
+ export CCTERMUX_HOST_PLATFORM=aarch64-linux-android24
+ CCTERMUX_HOST_PLATFORM=aarch64-linux-android24
+ '[' aarch64 = arm ']'
+ '[' aarch64 = arm ']'
+ '[' aarch64 = i686 ']'
+ '[' aarch64 = aarch64 ']'
+ :
+ LDFLAGS+=' -Wl,-rpath=/data/data/me.danielrosero.blastergram/files/usr/lib,--enable-new-dtags'
+ LDFLAGS+=' -Wl,--as-needed'
+ CFLAGS+=' -fstack-protector-strong'
+ LDFLAGS+=' -Wl,-z,relro,-z,now'
+ '[' -n '' ']'
+ CFLAGS+=' -Oz'
+ export 'CXXFLAGS= -fstack-protector-strong -Oz'
+ CXXFLAGS=' -fstack-protector-strong -Oz'
+ export CPPFLAGS=-I/data/data/me.danielrosero.blastergram/files/usr/include
+ CPPFLAGS=-I/data/data/me.danielrosero.blastergram/files/usr/include
+ '[' ncurses '!=' ncurses ']'
+ export ac_cv_func_getpwent=no
+ ac_cv_func_getpwent=no
+ export ac_cv_func_getpwnam=no
+ ac_cv_func_getpwnam=no
+ export ac_cv_func_getpwuid=no
+ ac_cv_func_getpwuid=no
+ export ac_cv_func_sigsetmask=no
+ ac_cv_func_sigsetmask=no
+ export ac_cv_c_bigendian=no
+ ac_cv_c_bigendian=no
+ '[' -z '' ']'
+ '[' '!' -d /home/builder/.termux-build/_cache/android-r20-api-24-v1 ']'
+ '[' '!' -f /data/data/me.danielrosero.blastergram/files/usr/lib/libutil.so ']'
+ export PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ '[' -z '' ']'
+ local _HOST_PKGCONFIG
++ which pkg-config
+ _HOST_PKGCONFIG=/usr/bin/pkg-config
+ mkdir -p /home/builder/.termux-build/_cache/android-r20-api-24-v1/bin /data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ cat
+ chmod +x /home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/aarch64-linux-android-pkg-config
+ termux_step_patch_package
+ cd /home/builder/.termux-build/sc/src
+ local DEBUG_PATCHES=
+ '[' '' == true ']'
+ shopt -s nullglob
+ for patch in $TERMUX_PKG_BUILDER_DIR/*.patch{$TERMUX_ARCH_BITS,} $DEBUG_PATCHES
+ test -f /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/Makefile.patch
+ sed 's%\@TERMUX_PREFIX\@%/data/data/me.danielrosero.blastergram/files/usr%g' /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/Makefile.patch
+ patch --silent -p1
+ sed 's%\@TERMUX_HOME\@%/data/data/me.danielrosero.blastergram/files/home%g'
+ for patch in $TERMUX_PKG_BUILDER_DIR/*.patch{$TERMUX_ARCH_BITS,} $DEBUG_PATCHES
+ test -f /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/cmds.c.patch
+ sed 's%\@TERMUX_PREFIX\@%/data/data/me.danielrosero.blastergram/files/usr%g' /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/sc/cmds.c.patch
+ patch --silent -p1
+ sed 's%\@TERMUX_HOME\@%/data/data/me.danielrosero.blastergram/files/home%g'
+ shopt -u nullglob
+ termux_step_replace_guess_scripts
+ cd /home/builder/.termux-build/sc/src
+ find . -name config.sub -exec chmod u+w '{}' ';' -exec cp /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/config.sub '{}' ';'
+ find . -name config.guess -exec chmod u+w '{}' ';' -exec cp /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/config.guess '{}' ';'
+ cd /home/builder/.termux-build/sc/src
+ termux_step_pre_configure
+ return
+ cd /home/builder/.termux-build/sc/src
+ termux_step_configure
+ '[' no == no ']'
+ '[' -f /home/builder/.termux-build/sc/src/configure ']'
+ '[' -f /home/builder/.termux-build/sc/src/CMakeLists.txt ']'
+ '[' -f /home/builder/.termux-build/sc/src/meson.build ']'
+ cd /home/builder/.termux-build/sc/src
+ termux_step_post_configure
+ CFLAGS+=' -I/data/data/me.danielrosero.blastergram/files/usr/include'
+ cd /home/builder/.termux-build/sc/src
+ termux_step_make
+ local QUIET_BUILD=
+ '[' false = true ']'
+ test -f build.ninja
+ ls ./Makefile
+ '[' -z SIMPLE=-DSIMPLE ']'
+ make -j 2 SIMPLE=-DSIMPLE
abbrev.c:35:7: warning: implicit declaration of function 'are_abbrevs' is invalid in C99 [-Wimplicit-function-declaration]
if (!are_abbrevs()) {
^
abbrev.c:36:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("No abbreviations defined");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:36:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:36:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:36:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:52:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Can't open pipe to %s", pager);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:52:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:52:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:52:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:77:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid abbreviation: %s", string);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:77:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:77:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:77:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:84:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid abbreviation: %s", string);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:84:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:84:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:84:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:92:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("abbrev \"%s %s\"", a->abbr, a->exp);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:92:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:92:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:92:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:95:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("abreviation \"%s\" doesn't exist", string);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:95:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:95:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:95:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
abbrev.c:94:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
} else {
^
In file included from cmds.c:31:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
cmds.c:813:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (fr = find_frange(currow, curcol))
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cmds.c:813:9: note: place parentheses around the assignment to silence this warning
if (fr = find_frange(currow, curcol))
^
( )
cmds.c:813:9: note: use '==' to turn this assignment into an equality comparison
if (fr = find_frange(currow, curcol))
^
==
cmds.c:1042:8: warning: implicit declaration of function 'yankr' is invalid in C99 [-Wimplicit-function-declaration]
yankr(lookat(currow, curcol),
^
26 warnings generated.
cmds.c:2340:13: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (range && ret->op == 'F' ||
~~~~~~^~~~~~~~~~~~~~~~~ ~~
cmds.c:2340:13: note: place parentheses around the '&&' expression to silence this warning
if (range && ret->op == 'F' ||
^
( )
cmds.c:2341:11: warning: '&&' within '||' [-Wlogical-op-parentheses]
!range && ret->op == 'f')
~~~~~~~^~~~~~~~~~~~~~~~~
cmds.c:2341:11: note: place parentheses around the '&&' expression to silence this warning
!range && ret->op == 'f')
^
( )
cmds.c:2566:47: warning: missing sentinel in function call [-Wsentinel]
(void) execl("/bin/sh", "sh", "-c", efname, 0);
^
, NULL
/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/../sysroot/usr/include/unistd.h:104:5: note: function has been explicitly marked sentinel here
int execl(const char* __path, const char* __arg0, ...) __attribute__((__sentinel__));
^
cmds.c:2889:2: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else {
^
In file included from color.c:22:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
color.c:110:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid color number");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
color.c:158:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Color range not defined");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
3 warnings generated.
frame.c:55:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid parameters");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:55:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:55:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:55:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:109:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Framed ranges may not be nested or overlapping");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:109:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:109:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
frame.c:109:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
8 warnings generated.
7 warnings generated.
clang: warning: optimization flag '-ffloat-store' is not supported [-Wignored-optimization-argument]
In file included from help.c:14:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
1 warning generated.
In file included from interp.c:43:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
interp.c:787:21: warning: implicitly declaring library function 'finite' with type 'int (double)' [-Wimplicit-function-declaration]
case O_CONST: if (!finite(e->e.k)) {
^
interp.c:787:21: note: include the header <math.h> or explicitly provide a declaration for 'finite'
In file included from pipe.c:12:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
pipe.c:43:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else if (p->flags & is_valid)
^
interp.c:2086:8: warning: add explicit braces to avoid dangling else [-Wdangling-else]
} else /* gs.g_type != G_STR */
^
interp.c:2478:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
|| e->op == 'm' && constant(e->e.o.left)
~~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
interp.c:2478:19: note: place parentheses around the '&&' expression to silence this warning
|| e->op == 'm' && constant(e->e.o.left)
^
( )
2 warnings generated.
range.c:61:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Error: range name \"%s\" already defined", name);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:61:2: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:61:2: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:61:2: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:68:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid range name \"%s\" - illegal combination", name);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:68:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:68:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:68:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:87:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid range name \"%s\" - ambiguous", name);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:87:6: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:87:6: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
range.c:87:6: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
12 warnings generated.
In file included from sc.c:37:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
sc.c:215:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (p = delbuf[dbidx]) {
~~^~~~~~~~~~~~~~~
sc.c:215:11: note: place parentheses around the assignment to silence this warning
if (p = delbuf[dbidx]) {
^
( )
sc.c:215:11: note: use '==' to turn this assignment into an equality comparison
if (p = delbuf[dbidx]) {
^
==
sc.c:523:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
if (redraw) printf(redraw);
^~~~~~
sc.c:523:21: note: treat the string as an argument to avoid this
if (redraw) printf(redraw);
^
"%s",
sc.c:852:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
} else {
^
sc.c:1309:25: warning: implicit declaration of function 'list_frames' is invalid in C99 [-Wimplicit-function-declaration]
if (!brokenpipe) list_frames(f);
^
sc.c:1422:24: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration]
if (rcqual == 'r') yankrow(arg);
^
sc.c:1423:12: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration]
else yankcol(arg);
^
sc.c:1599:8: warning: implicit declaration of function 'ljustify' is invalid in C99 [-Wimplicit-function-declaration]
ljustify(currow, curcol, currow, curcol);
^
sc.c:1609:8: warning: implicit declaration of function 'rjustify' is invalid in C99 [-Wimplicit-function-declaration]
rjustify(currow, curcol, currow, curcol);
^
sc.c:1619:8: warning: implicit declaration of function 'center' is invalid in C99 [-Wimplicit-function-declaration]
center(currow, curcol, currow, curcol);
^
sc.c:2026:8: warning: implicit declaration of function 'gotonote' is invalid in C99 [-Wimplicit-function-declaration]
gotonote();
^
4 warnings generated.
In file included from screen.c:17:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
screen.c:240:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
screen.c:334:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
screen.c:383:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
screen.c:466:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
else
^
screen.c:873:27: warning: address of function 'has_colors' will always evaluate to 'true' [-Wpointer-bool-conversion]
if (!*pp && color && has_colors && cr && cr->r_color != 1) {
~~ ^~~~~~~~~~
screen.c:873:27: note: prefix with the address-of operator to silence this warning
if (!*pp && color && has_colors && cr && cr->r_color != 1) {
^
&
screen.c:873:27: note: suffix with parentheses to turn this into a function call
if (!*pp && color && has_colors && cr && cr->r_color != 1) {
^
()
11 warnings generated.
sort.c:71:7: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid sort criteria");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:71:7: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:71:7: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:71:7: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:82:7: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid sort criteria");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:82:7: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:82:7: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:82:7: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:88:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid sort criteria");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:88:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:88:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:88:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:95:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Invalid sort criteria");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:95:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:95:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:95:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:107:3: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("sort error");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:107:3: warning: implicit declaration of function 'move' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:43: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:107:3: warning: implicit declaration of function 'clrtoeol' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:57: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
sort.c:107:3: warning: implicit declaration of function 'printw' is invalid in C99 [-Wimplicit-function-declaration]
./sc.h:46:71: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
20 warnings generated.
In file included from vi.c:20:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
vi.c:43:9: warning: 'bool' macro redefined [-Wmacro-redefined]
#define bool int
^
/home/builder/.termux-build/_cache/android-r20-api-24-v1/lib64/clang/8.0.7/include/stdbool.h:31:9: note: previous definition is here
#define bool _Bool
^
vi.c:141:5: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vi.c:521:35: warning: implicit declaration of function 'gotonote' is invalid in C99 [-Wimplicit-function-declaration]
case '*': if (nmgetch() == '*') gotonote(); break;
^
vi.c:670:21: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (linelim > 0 && isalnum(line[linelim-1]) || line[linelim-1] == '_' ||
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
vi.c:670:21: note: place parentheses around the '&&' expression to silence this warning
if (linelim > 0 && isalnum(line[linelim-1]) || line[linelim-1] == '_' ||
^
( )
vi.c:1407:17: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
if (!(pid = fork())) {
^
vi.c:1410:13: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration]
(void) execl(shl, shl, "-c", cmd, NULL);
^
vi.c:1416:19: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration]
while (pid != wait(&temp));
^
vi.c:1475:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("History line %d", endhist - lasthist + histp);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vi.c:1504:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("History line %d", endhist - lasthist + histp);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vi.c:1533:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error(tmp);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vi.c:1576:22: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((last_search == NULL))
~~~~~~~~~~~~^~~~~~~
vi.c:1576:22: note: remove extraneous parentheses around the comparison to silence this warning
if ((last_search == NULL))
~ ^ ~
vi.c:1576:22: note: use '=' to turn this equality comparison into an assignment
if ((last_search == NULL))
^~
=
vi.c:1585:5: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vi.c:2037:20: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
if (s != NULL) error(s);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
6 warnings generated.
In file included from vmtbl.c:19:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
vmtbl.c:120:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error(nowider);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:138:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
GROWALLOC(row_hidden2, row_hidden, newrows, char, nolonger);
^
vmtbl.c:58:2: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:145:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
GROWALLOC(tbl2, tbl, newrows, struct ent **, nolonger);
^
vmtbl.c:58:2: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:154:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
GROWALLOC(fwidth2, fwidth, newcols, int, nowider);
^
vmtbl.c:58:2: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:155:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
GROWALLOC(precision2, precision, newcols, int, nowider);
^
vmtbl.c:58:2: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:156:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
GROWALLOC(realfmt2, realfmt, newcols, int, nowider);
^
vmtbl.c:58:2: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:163:2: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
GROWALLOC(col_hidden2, col_hidden, newcols, char, nowider);
^
vmtbl.c:58:2: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:175:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error(nowider);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
vmtbl.c:193:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error(nowider);
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
10 warnings generated.
In file included from xmalloc.c:7:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
xmalloc.c:9:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
^
xmalloc.c:9:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
xmalloc.c:10:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
^
xmalloc.c:10:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
xmalloc.c:74:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(1);
^
xmalloc.c:74:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
4 warnings generated.
In file included from gram.y:20:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
gram.y:310:7: warning: implicit declaration of function 'ljustify' is invalid in C99 [-Wimplicit-function-declaration]
{ ljustify((yyvsp[0].rval).left.vp->row, (yyvsp[0].rval).left.vp->col,
^
gram.y:314:9: warning: implicit declaration of function 'ljustify' is invalid in C99 [-Wimplicit-function-declaration]
ljustify(showsr, showsc, currow, curcol);
^
gram.y:317:7: warning: implicit declaration of function 'rjustify' is invalid in C99 [-Wimplicit-function-declaration]
{ rjustify((yyvsp[0].rval).left.vp->row, (yyvsp[0].rval).left.vp->col,
^
gram.y:321:9: warning: implicit declaration of function 'rjustify' is invalid in C99 [-Wimplicit-function-declaration]
rjustify(showsr, showsc, currow, curcol);
^
gram.y:324:7: warning: implicit declaration of function 'center' is invalid in C99 [-Wimplicit-function-declaration]
{ center((yyvsp[0].rval).left.vp->row, (yyvsp[0].rval).left.vp->col,
^
gram.y:328:9: warning: implicit declaration of function 'center' is invalid in C99 [-Wimplicit-function-declaration]
center(showsr, showsc, currow, curcol);
^
gram.y:545:7: warning: implicit declaration of function 'yankr' is invalid in C99 [-Wimplicit-function-declaration]
{ yankr(lookat(showsr, showsc),
^
gram.y:547:7: warning: implicit declaration of function 'yankr' is invalid in C99 [-Wimplicit-function-declaration]
{ yankr((yyvsp[0].rval).left.vp, (yyvsp[0].rval).right.vp); }
^
gram.y:619:7: warning: implicit declaration of function 'add_abbr' is invalid in C99 [-Wimplicit-function-declaration]
{ add_abbr((yyvsp[0].sval)); }
^
gram.y:620:7: warning: implicit declaration of function 'add_abbr' is invalid in C99 [-Wimplicit-function-declaration]
{ add_abbr(NULL); }
^
gram.y:817:8: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration]
yankrow(arg);
^
gram.y:820:7: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration]
{ yankrow((yyvsp[0].ival)); }
^
gram.y:823:8: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration]
yankrow(1);
^
gram.y:835:8: warning: implicit declaration of function 'yankrow' is invalid in C99 [-Wimplicit-function-declaration]
yankrow(arg);
^
gram.y:847:8: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration]
yankcol(arg);
^
gram.y:852:8: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration]
yankcol(1);
^
gram.y:855:7: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration]
{ yankcol((yyvsp[0].ival)); }
^
gram.y:864:8: warning: implicit declaration of function 'yankcol' is invalid in C99 [-Wimplicit-function-declaration]
yankcol(arg);
^
gram.y:960:7: warning: implicit declaration of function 'getframe' is invalid in C99 [-Wimplicit-function-declaration]
{ getframe(macrofd); }
^
gram.y:961:7: warning: implicit declaration of function 'getframe' is invalid in C99 [-Wimplicit-function-declaration]
{ getframe((yyvsp[0].ival)); }
^
gram.y:962:7: warning: implicit declaration of function 'getrange' is invalid in C99 [-Wimplicit-function-declaration]
{ getrange((yyvsp[0].sval), macrofd); }
^
gram.y:964:7: warning: implicit declaration of function 'getrange' is invalid in C99 [-Wimplicit-function-declaration]
{ getrange((yyvsp[-2].sval), (yyvsp[0].ival)); }
^
gram.y:965:7: warning: implicit declaration of function 'doeval' is invalid in C99 [-Wimplicit-function-declaration]
{ doeval((yyvsp[0].enode), NULL, currow, curcol,
^
gram.y:967:7: warning: implicit declaration of function 'doeval' is invalid in C99 [-Wimplicit-function-declaration]
{ doeval((yyvsp[-1].enode), (yyvsp[0].sval), currow, curcol,
^
gram.y:970:7: warning: implicit declaration of function 'doeval' is invalid in C99 [-Wimplicit-function-declaration]
{ doeval((yyvsp[-3].enode), (yyvsp[-2].sval), currow, curcol,
^
gram.y:972:7: warning: implicit declaration of function 'doseval' is invalid in C99 [-Wimplicit-function-declaration]
{ doseval((yyvsp[0].enode), currow, curcol, macrofd); }
^
gram.y:981:7: warning: implicit declaration of function 'dogetkey' is invalid in C99 [-Wimplicit-function-declaration]
{ dogetkey(); }
^
gram.y:1013:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
sprintf(line + 1, (yyvsp[0].sval));
^~~~~~~~~~~~~~
gram.y:1013:26: note: treat the string as an argument to avoid this
sprintf(line + 1, (yyvsp[0].sval));
^
"%s",
14 warnings generated.
pvmtbl.c:120:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
error(nowider);
^~~~~~~
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^~~
pvmtbl.c:120:12: note: treat the string as an argument to avoid this
error(nowider);
^
"%s",
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^
pvmtbl.c:154:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
GROWALLOC(fwidth2, fwidth, newcols, int, nowider);
^~~~~~~
pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC'
error(msg); \
^~~
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^~~
pvmtbl.c:154:43: note: treat the string as an argument to avoid this
GROWALLOC(fwidth2, fwidth, newcols, int, nowider);
^
"%s",
pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^
pvmtbl.c:155:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
GROWALLOC(precision2, precision, newcols, int, nowider);
^~~~~~~
pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC'
error(msg); \
^~~
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^~~
pvmtbl.c:155:49: note: treat the string as an argument to avoid this
GROWALLOC(precision2, precision, newcols, int, nowider);
^
"%s",
pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^
pvmtbl.c:156:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
GROWALLOC(realfmt2, realfmt, newcols, int, nowider);
^~~~~~~
pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC'
error(msg); \
^~~
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^~~
pvmtbl.c:156:45: note: treat the string as an argument to avoid this
GROWALLOC(realfmt2, realfmt, newcols, int, nowider);
^
"%s",
pvmtbl.c:58:8: note: expanded from macro 'GROWALLOC'
error(msg); \
^
./sc.h:44:37: note: expanded from macro 'error'
# define error(msg) fprintf(stderr, msg);
^
4 warnings generated.
In file included from pxmalloc.c:7:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
pxmalloc.c:9:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
^
pxmalloc.c:9:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
pxmalloc.c:10:14: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration]
extern char *realloc();
^
pxmalloc.c:10:14: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
pxmalloc.c:65:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
exit(1);
^
pxmalloc.c:65:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
4 warnings generated.
qhelp.c:645:12: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
(void) exit(0);
^
qhelp.c:645:12: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 warning generated.
29 warnings generated.
In file included from lex.c:37:
./sc.h:307:9: warning: 'is_cleared' macro redefined [-Wmacro-redefined]
#define is_cleared 0200
^
/data/data/me.danielrosero.blastergram/files/usr/include/curses.h:1411:9: note: previous definition is here
#define is_cleared(win) (NCURSES_OK_ADDR(win) ? (win)->_clear : FALSE)
^
lex.c:213:6: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration]
error("Floating point exception\n");
^
./sc.h:46:16: note: expanded from macro 'error'
# define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw
^
lex.c:259:8: warning: implicitly declaring library function 'finite' with type 'int (double)' [-Wimplicit-function-declaration]
if (!finite(yylval.fval))
^
lex.c:259:8: note: include the header <math.h> or explicitly provide a declaration for 'finite'
lex.c:329:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (fp = fopen((char *)path, "r")) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
lex.c:329:9: note: place parentheses around the assignment to silence this warning
if (fp = fopen((char *)path, "r")) {
^
( )
lex.c:329:9: note: use '==' to turn this assignment into an equality comparison
if (fp = fopen((char *)path, "r")) {
^
==
lex.c:337:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
if (fp = fopen((char *)path, "r")) {
~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
lex.c:337:12: note: place parentheses around the assignment to silence this warning
if (fp = fopen((char *)path, "r")) {
^
( )
lex.c:337:12: note: use '==' to turn this assignment into an equality comparison
if (fp = fopen((char *)path, "r")) {
^
==
5 warnings generated.
+ cd /home/builder/.termux-build/sc/src
+ termux_step_make_install
+ test -f build.ninja
+ ls ./Makefile
+ : install
+ '[' -z SIMPLE=-DSIMPLE ']'
+ make -j 1 SIMPLE=-DSIMPLE install
aarch64-linux-android-strip: Warning: could not locate '/data/data/com.termux/files/usr/bin/sc'. reason: Not a directory
make: *** [Makefile:504: /data/data/com.termux/files/usr/bin/sc] Error 1`
Looks like the problem is with the Makefile inside the package. It got this line declaring the old prefix:
+prefix=/data/data/com.termux/files/usr
So I changed for mine: +prefix=/data/data/<my_app_id>/files/usr
and, it worked :) (don't know why, It didn't work when I first tried it)
is an issue that goes with updating the package.
geoip2-database checksums are constantly changing on upstream. Package won't be updated each day the checksum is changed.
@xeffyr here reporting you a new issue at the package: wordrginger.
Building wordgrinder... ERROR: See /home/builder/.termux-build/_buildall-aarch64/wordgrinder.err
Here is the output of the error logfile:
builder@ff1a162c235f:~/termux-packages/nuevoVisaje/termux-packages-master$ cat /home/builder/.termux-build/_buildall-aarch64/wordgrinder.err
+ set -e -o pipefail -u
+ : /tmp
+ export TMPDIR
++ uname -o
+ '[' GNU/Linux = Android ']'
+ '[' -e /system/bin/app_process ']'
+ export TERMUX_ON_DEVICE_BUILD=
+ TERMUX_ON_DEVICE_BUILD=
+ TERMUX_BUILD_LOCK_FILE=/tmp/.termux-build.lck
+ '[' '!' -e /tmp/.termux-build.lck ']'
+ : false
+ source scripts/build/termux_error_exit.sh
+ source scripts/build/termux_download.sh
++ [[ scripts/build/termux_download.sh == \.\/\b\u\i\l\d\-\p\a\c\k\a\g\e\.\s\h ]]
+ source scripts/build/setup/termux_setup_golang.sh
+ source scripts/build/setup/termux_setup_rust.sh
+ source scripts/build/setup/termux_setup_ninja.sh
+ source scripts/build/setup/termux_setup_meson.sh
+ source scripts/build/setup/termux_setup_cmake.sh
+ source scripts/build/setup/termux_setup_protobuf.sh
+ source scripts/build/termux_step_setup_variables.sh
+ source scripts/build/termux_step_handle_buildarch.sh
+ source scripts/build/termux_extract_dep_info.sh
++ [[ scripts/build/termux_extract_dep_info.sh == \.\/\b\u\i\l\d\-\p\a\c\k\a\g\e\.\s\h ]]
+ source scripts/build/termux_download_deb.sh
++ [[ scripts/build/termux_download_deb.sh == \.\/\b\u\i\l\d\-\p\a\c\k\a\g\e\.\s\h ]]
+ source scripts/build/termux_get_repo_files.sh
+ source scripts/build/termux_step_start_build.sh
+ source scripts/build/termux_step_extract_package.sh
+ source scripts/build/termux_step_handle_hostbuild.sh
+ source scripts/build/termux_step_host_build.sh
+ source scripts/build/termux_step_setup_toolchain.sh
+ source scripts/build/termux_step_patch_package.sh
+ source scripts/build/termux_step_replace_guess_scripts.sh
+ source scripts/build/configure/termux_step_configure_autotools.sh
+ source scripts/build/configure/termux_step_configure_cmake.sh
+ source scripts/build/configure/termux_step_configure_meson.sh
+ source scripts/build/configure/termux_step_configure.sh
+ source scripts/build/termux_step_make.sh
+ source scripts/build/termux_step_make_install.sh
+ source scripts/build/termux_step_install_license.sh
+ source scripts/build/termux_step_extract_into_massagedir.sh
+ source scripts/build/termux_create_subpackages.sh
+ source scripts/build/termux_step_massage.sh
+ source scripts/build/termux_step_create_datatar.sh
+ source scripts/build/termux_step_create_debfile.sh
+ source scripts/build/termux_step_finish_build.sh
+ getopts :a:hdDfiIqso: option
+ case "$option" in
+ '[' -n '' ']'
+ export TERMUX_ARCH=aarch64
+ TERMUX_ARCH=aarch64
+ getopts :a:hdDfiIqso: option
+ case "$option" in
+ export TERMUX_SKIP_DEPCHECK=true
+ TERMUX_SKIP_DEPCHECK=true
+ getopts :a:hdDfiIqso: option
+ shift 3
+ '[' 1 -lt 1 ']'
+ unset -f _show_usage
+ (( 1 > 0 ))
+ false
+ flock -n 5
+ '[' -z '' ']'
+ '[' -n x ']'
+ '[' aarch64 = all ']'
++ basename packages/wordgrinder
+ TERMUX_PKG_NAME=wordgrinder
+ export TERMUX_SCRIPTDIR
+++ dirname ./build-package.sh
++ cd .
++ pwd
+ TERMUX_SCRIPTDIR=/home/builder/termux-packages/nuevoVisaje/termux-packages-master
+ [[ packages/wordgrinder == *\/* ]]
+ '[' '!' -d packages/wordgrinder ']'
+ export TERMUX_PKG_BUILDER_DIR
++ realpath packages/wordgrinder
+ TERMUX_PKG_BUILDER_DIR=/home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder
+ TERMUX_PKG_BUILDER_SCRIPT=/home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/build.sh
+ test '!' -f /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/build.sh
+ termux_step_setup_variables
+ . /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/properties.sh
++ TERMUX_ANDROID_BUILD_TOOLS_VERSION=28.0.3
++ TERMUX_NDK_VERSION_NUM=20
++ TERMUX_NDK_REVISION=
++ TERMUX_NDK_VERSION=20
++ test -f /home/builder/.termuxrc
++ : /home/builder/lib/android-sdk
++ : /home/builder/lib/android-ndk
++ nproc
+ : 2
+ : /home/builder/.termux-build
+ : aarch64
+ : /data/data/me.danielrosero.blastergram/files/usr
+ : /data/data/me.danielrosero.blastergram/files/home
+ : ''
+ : 24
+ : false
+ : false
+ : /home/builder/termux-packages/nuevoVisaje/termux-packages-master/debs
+ : true
+ : false
+ : 'Fredrik Fornwall @fornwall'
+ : packages
+ '[' -n '' ']'
+ TERMUX_BUILT_PACKAGES_DIRECTORY=/data/data/.built-packages
+ TERMUX_REPO_URL=(https://dl.bintray.com/termux/termux-packages-24 https://dl.bintray.com/grimler/game-packages-24 https://dl.bintray.com/grimler/science-packages-24 https://dl.bintray.com/grimler/termux-root-packages-24 https://dl.bintray.com/xeffyr/unstable-packages-24 https://dl.bintray.com/xeffyr/x11-packages-24)
+ TERMUX_REPO_DISTRIBUTION=(stable games science root unstable x11)
+ TERMUX_REPO_COMPONENT=(main stable stable stable main main)
+ '[' x86_64 = aarch64 ']'
+ '[' aarch64 = aarch64 ']'
+ TERMUX_ARCH_BITS=64
+ TERMUX_HOST_PLATFORM=aarch64-linux-android
+ '[' aarch64 = arm ']'
+ '[' -z '' ']'
+ '[' '!' -d /home/builder/lib/android-ndk ']'
+ '[' -z '' ']'
+ grep -s -q 'Pkg.Revision = 20' /home/builder/lib/android-ndk/source.properties
++ sh /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/config.guess
+ TERMUX_BUILD_TUPLE=x86_64-pc-linux-gnu
+ TERMUX_D8=/home/builder/lib/android-sdk/build-tools/28.0.3/d8
+ TERMUX_COMMON_CACHEDIR=/home/builder/.termux-build/_cache
+ TERMUX_ELF_CLEANER=/home/builder/.termux-build/_cache/termux-elf-cleaner
+ export prefix=/data/data/me.danielrosero.blastergram/files/usr
+ prefix=/data/data/me.danielrosero.blastergram/files/usr
+ export PREFIX=/data/data/me.danielrosero.blastergram/files/usr
+ PREFIX=/data/data/me.danielrosero.blastergram/files/usr
+ TERMUX_PKG_BUILDDIR=/home/builder/.termux-build/wordgrinder/build
+ TERMUX_PKG_CACHEDIR=/home/builder/.termux-build/wordgrinder/cache
+ TERMUX_PKG_MASSAGEDIR=/home/builder/.termux-build/wordgrinder/massage
+ TERMUX_PKG_PACKAGEDIR=/home/builder/.termux-build/wordgrinder/package
+ TERMUX_PKG_SRCDIR=/home/builder/.termux-build/wordgrinder/src
+ TERMUX_PKG_SHA256=
+ TERMUX_PKG_TMPDIR=/home/builder/.termux-build/wordgrinder/tmp
+ TERMUX_PKG_HOSTBUILD_DIR=/home/builder/.termux-build/wordgrinder/host-build
+ TERMUX_PKG_PLATFORM_INDEPENDENT=
+ TERMUX_PKG_NO_STATICSPLIT=
+ TERMUX_PKG_REVISION=0
+ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=
+ TERMUX_PKG_EXTRA_HOSTBUILD_CONFIGURE_ARGS=
+ TERMUX_PKG_EXTRA_MAKE_ARGS=
+ TERMUX_PKG_BUILD_IN_SRC=
+ TERMUX_PKG_RM_AFTER_INSTALL=
+ TERMUX_PKG_BREAKS=
+ TERMUX_PKG_PRE_DEPENDS=
+ TERMUX_PKG_DEPENDS=
+ TERMUX_PKG_BUILD_DEPENDS=
+ TERMUX_PKG_HOMEPAGE=
+ TERMUX_PKG_DESCRIPTION='FIXME:Add description'
+ TERMUX_PKG_LICENSE_FILE=
+ TERMUX_PKG_ESSENTIAL=
+ TERMUX_PKG_CONFLICTS=
+ TERMUX_PKG_RECOMMENDS=
+ TERMUX_PKG_SUGGESTS=
+ TERMUX_PKG_REPLACES=
+ TERMUX_PKG_PROVIDES=
+ TERMUX_PKG_CONFFILES=
+ TERMUX_PKG_HOSTBUILD=
+ TERMUX_PKG_FORCE_CMAKE=no
+ TERMUX_CMAKE_BUILD=Ninja
+ TERMUX_PKG_HAS_DEBUG=yes
+ unset CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
+ termux_step_handle_buildarch
+ '[' -n '' ']'
+ local TERMUX_ARCH_FILE=/data/TERMUX_ARCH
+ '[' -f /data/TERMUX_ARCH ']'
+ local TERMUX_PREVIOUS_ARCH
++ cat /data/TERMUX_ARCH
+ TERMUX_PREVIOUS_ARCH=aarch64
+ '[' aarch64 '!=' aarch64 ']'
+ echo aarch64
+ termux_step_start_build
+ source /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/build.sh
++ TERMUX_PKG_HOMEPAGE=http://cowlark.com/wordgrinder/
++ TERMUX_PKG_DESCRIPTION='A Unicode-aware character cell word processor'
++ TERMUX_PKG_LICENSE=MIT
++ TERMUX_PKG_MAINTAINER='Leonid Plyushch <leonid.plyushch@gmail.com>'
++ TERMUX_PKG_VERSION=0.7.2
++ TERMUX_PKG_REVISION=5
++ TERMUX_PKG_SRCURL=https://github.com/davidgiven/wordgrinder/archive/0.7.2.tar.gz
++ TERMUX_PKG_SHA256=4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff
++ TERMUX_PKG_DEPENDS='liblua, ncurses, zlib'
++ TERMUX_PKG_BUILD_IN_SRC=yes
+ TERMUX_STANDALONE_TOOLCHAIN=/home/builder/.termux-build/_cache/android-r20-api-24
+ TERMUX_STANDALONE_TOOLCHAIN+=-v1
+ '[' -n '' ']'
+ TERMUX_PKG_FULLVERSION=0.7.2
+ '[' 5 '!=' 0 ']'
+ TERMUX_PKG_FULLVERSION+=-5
+ '[' '' = true ']'
+ DEBUG=
+ '[' -z '' ']'
+ '[' -z '' ']'
+ '[' -e /data/data/.built-packages/wordgrinder ']'
+ '[' -n '' ']'
+ '[' true = false ']'
+ '[' true = false ']'
+ '[' -d /home/builder/.termux-build/wordgrinder/build ']'
+ chmod +w -R /home/builder/.termux-build/wordgrinder/build
+ '[' -d /home/builder/.termux-build/wordgrinder/src ']'
+ chmod +w -R /home/builder/.termux-build/wordgrinder/src
+ rm -Rf /home/builder/.termux-build/wordgrinder/build /home/builder/.termux-build/wordgrinder/package /home/builder/.termux-build/wordgrinder/src /home/builder/.termux-build/wordgrinder/tmp /home/builder/.termux-build/wordgrinder/massage
+ mkdir -p /home/builder/.termux-build/_cache /home/builder/termux-packages/nuevoVisaje/termux-packages-master/debs /home/builder/.termux-build/wordgrinder/build /home/builder/.termux-build/wordgrinder/package /home/builder/.termux-build/wordgrinder/tmp /home/builder/.termux-build/wordgrinder/cache /home/builder/.termux-build/wordgrinder/massage /data/data/me.danielrosero.blastergram/files/usr/bin /data/data/me.danielrosero.blastergram/files/usr/etc /data/data/me.danielrosero.blastergram/files/usr/lib /data/data/me.danielrosero.blastergram/files/usr/libexec /data/data/me.danielrosero.blastergram/files/usr/share /data/data/me.danielrosero.blastergram/files/usr/share/LICENSES /data/data/me.danielrosero.blastergram/files/usr/tmp /data/data/me.danielrosero.blastergram/files/usr/include
+ '[' -z '' ']'
+ ln -sf /bin/sh /data/data/me.danielrosero.blastergram/files/usr/bin/sh
+ local TERMUX_ELF_CLEANER_SRC=/home/builder/.termux-build/_cache/termux-elf-cleaner.cpp
+ local TERMUX_ELF_CLEANER_VERSION
++ bash -c '. /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/termux-elf-cleaner/build.sh; echo $TERMUX_PKG_VERSION'
+ TERMUX_ELF_CLEANER_VERSION=1.6
+ termux_download https://raw.githubusercontent.com/termux/termux-elf-cleaner/v1.6/termux-elf-cleaner.cpp /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a
+ '[' 3 '!=' 3 ']'
+ local URL=https://raw.githubusercontent.com/termux/termux-elf-cleaner/v1.6/termux-elf-cleaner.cpp
+ local DESTINATION=/home/builder/.termux-build/_cache/termux-elf-cleaner.cpp
+ local CHECKSUM=96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a
+ '[' -f /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp ']'
+ '[' 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a '!=' SKIP_CHECKSUM ']'
+ local EXISTING_CHECKSUM
++ sha256sum /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp
++ cut -f 1 -d ' '
+ EXISTING_CHECKSUM=96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a
+ '[' 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a = 96044b5e0a32ba9ce8bea96684a0723a9b777c4ae4b6739eaafc444dc23f6d7a ']'
+ return
+ '[' /home/builder/.termux-build/_cache/termux-elf-cleaner.cpp -nt /home/builder/.termux-build/_cache/termux-elf-cleaner ']'
+ '[' -n yes ']'
+ echo 'Building in src due to TERMUX_PKG_BUILD_IN_SRC being set'
+ TERMUX_PKG_BUILDDIR=/home/builder/.termux-build/wordgrinder/src
+ echo 'termux - building wordgrinder for arch aarch64...'
+ test -t 1
+ export TERMUX_PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ TERMUX_PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ sleep 1
+ TERMUX_BUILD_TS_FILE=/home/builder/.termux-build/wordgrinder/tmp/timestamp_wordgrinder
+ touch /home/builder/.termux-build/wordgrinder/tmp/timestamp_wordgrinder
+ termux_step_extract_package
+ '[' -z https://github.com/davidgiven/wordgrinder/archive/0.7.2.tar.gz ']'
+ '[' -n '' ']'
+ cd /home/builder/.termux-build/wordgrinder/tmp
+ PKG_SRCURL=(${TERMUX_PKG_SRCURL[@]})
+ local PKG_SRCURL
+ PKG_SHA256=(${TERMUX_PKG_SHA256[@]})
+ local PKG_SHA256
+ '[' '!' 1 == 1 ']'
+ local STRIP=1
++ seq 0 0
+ for i in $(seq 0 $(( ${#PKG_SRCURL[@]}-1 )))
+ test 0 -gt 0
+ local filename
++ basename https://github.com/davidgiven/wordgrinder/archive/0.7.2.tar.gz
+ filename=0.7.2.tar.gz
+ local file=/home/builder/.termux-build/wordgrinder/cache/0.7.2.tar.gz
+ set +u
+ termux_download https://github.com/davidgiven/wordgrinder/archive/0.7.2.tar.gz /home/builder/.termux-build/wordgrinder/cache/0.7.2.tar.gz 4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff
+ '[' 3 '!=' 3 ']'
+ local URL=https://github.com/davidgiven/wordgrinder/archive/0.7.2.tar.gz
+ local DESTINATION=/home/builder/.termux-build/wordgrinder/cache/0.7.2.tar.gz
+ local CHECKSUM=4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff
+ '[' -f /home/builder/.termux-build/wordgrinder/cache/0.7.2.tar.gz ']'
+ '[' 4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff '!=' SKIP_CHECKSUM ']'
+ local EXISTING_CHECKSUM
++ sha256sum /home/builder/.termux-build/wordgrinder/cache/0.7.2.tar.gz
++ cut -f 1 -d ' '
+ EXISTING_CHECKSUM=4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff
+ '[' 4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff = 4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff ']'
+ return
+ set -u
+ local folder
+ set +o pipefail
+ '[' gz = zip ']'
+ mkdir -p /home/builder/.termux-build/wordgrinder/src
+ tar xf /home/builder/.termux-build/wordgrinder/cache/0.7.2.tar.gz -C /home/builder/.termux-build/wordgrinder/src --strip-components=1
+ set -o pipefail
+ cd /home/builder/.termux-build/wordgrinder/src
+ termux_step_post_extract_package
+ return
+ termux_step_handle_hostbuild
+ '[' x = x ']'
+ return
+ termux_step_setup_toolchain
+ export CFLAGS=
+ CFLAGS=
+ export LDFLAGS=-L/data/data/me.danielrosero.blastergram/files/usr/lib
+ LDFLAGS=-L/data/data/me.danielrosero.blastergram/files/usr/lib
+ export AS=aarch64-linux-android-clang
+ AS=aarch64-linux-android-clang
+ export CC=aarch64-linux-android-clang
+ CC=aarch64-linux-android-clang
+ export CXX=aarch64-linux-android-clang++
+ CXX=aarch64-linux-android-clang++
+ export AR=aarch64-linux-android-ar
+ AR=aarch64-linux-android-ar
+ export CPP=aarch64-linux-android-cpp
+ CPP=aarch64-linux-android-cpp
+ export LD=aarch64-linux-android-ld
+ LD=aarch64-linux-android-ld
+ export OBJCOPY=aarch64-linux-android-objcopy
+ OBJCOPY=aarch64-linux-android-objcopy
+ export OBJDUMP=aarch64-linux-android-objdump
+ OBJDUMP=aarch64-linux-android-objdump
+ export RANLIB=aarch64-linux-android-ranlib
+ RANLIB=aarch64-linux-android-ranlib
+ export READELF=aarch64-linux-android-readelf
+ READELF=aarch64-linux-android-readelf
+ export STRIP=aarch64-linux-android-strip
+ STRIP=aarch64-linux-android-strip
+ '[' -z '' ']'
+ export PATH=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export CC_FOR_BUILD=gcc
+ CC_FOR_BUILD=gcc
+ export PKG_CONFIG=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/aarch64-linux-android-pkg-config
+ PKG_CONFIG=/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/aarch64-linux-android-pkg-config
+ export CCTERMUX_HOST_PLATFORM=aarch64-linux-android24
+ CCTERMUX_HOST_PLATFORM=aarch64-linux-android24
+ '[' aarch64 = arm ']'
+ '[' aarch64 = arm ']'
+ '[' aarch64 = i686 ']'
+ '[' aarch64 = aarch64 ']'
+ :
+ LDFLAGS+=' -Wl,-rpath=/data/data/me.danielrosero.blastergram/files/usr/lib,--enable-new-dtags'
+ LDFLAGS+=' -Wl,--as-needed'
+ CFLAGS+=' -fstack-protector-strong'
+ LDFLAGS+=' -Wl,-z,relro,-z,now'
+ '[' -n '' ']'
+ CFLAGS+=' -Oz'
+ export 'CXXFLAGS= -fstack-protector-strong -Oz'
+ CXXFLAGS=' -fstack-protector-strong -Oz'
+ export CPPFLAGS=-I/data/data/me.danielrosero.blastergram/files/usr/include
+ CPPFLAGS=-I/data/data/me.danielrosero.blastergram/files/usr/include
+ '[' 'liblua, ncurses, zlib' '!=' 'liblua, ncurses, zlib' ']'
+ export ac_cv_func_getpwent=no
+ ac_cv_func_getpwent=no
+ export ac_cv_func_getpwnam=no
+ ac_cv_func_getpwnam=no
+ export ac_cv_func_getpwuid=no
+ ac_cv_func_getpwuid=no
+ export ac_cv_func_sigsetmask=no
+ ac_cv_func_sigsetmask=no
+ export ac_cv_c_bigendian=no
+ ac_cv_c_bigendian=no
+ '[' -z '' ']'
+ '[' '!' -d /home/builder/.termux-build/_cache/android-r20-api-24-v1 ']'
+ '[' '!' -f /data/data/me.danielrosero.blastergram/files/usr/lib/libutil.so ']'
+ export PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ '[' -z '' ']'
+ local _HOST_PKGCONFIG
++ which pkg-config
+ _HOST_PKGCONFIG=/usr/bin/pkg-config
+ mkdir -p /home/builder/.termux-build/_cache/android-r20-api-24-v1/bin /data/data/me.danielrosero.blastergram/files/usr/lib/pkgconfig
+ cat
+ chmod +x /home/builder/.termux-build/_cache/android-r20-api-24-v1/bin/aarch64-linux-android-pkg-config
+ termux_step_patch_package
+ cd /home/builder/.termux-build/wordgrinder/src
+ local DEBUG_PATCHES=
+ '[' '' == true ']'
+ shopt -s nullglob
+ for patch in $TERMUX_PKG_BUILDER_DIR/*.patch{$TERMUX_ARCH_BITS,} $DEBUG_PATCHES
+ test -f /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/Makefile.patch
+ sed 's%\@TERMUX_PREFIX\@%/data/data/me.danielrosero.blastergram/files/usr%g' /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/Makefile.patch
+ sed 's%\@TERMUX_HOME\@%/data/data/me.danielrosero.blastergram/files/home%g'
+ patch --silent -p1
+ for patch in $TERMUX_PKG_BUILDER_DIR/*.patch{$TERMUX_ARCH_BITS,} $DEBUG_PATCHES
+ test -f /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/build.lua.patch
+ sed 's%\@TERMUX_PREFIX\@%/data/data/me.danielrosero.blastergram/files/usr%g' /home/builder/termux-packages/nuevoVisaje/termux-packages-master/packages/wordgrinder/build.lua.patch
+ sed 's%\@TERMUX_HOME\@%/data/data/me.danielrosero.blastergram/files/home%g'
+ patch --silent -p1
+ shopt -u nullglob
+ termux_step_replace_guess_scripts
+ cd /home/builder/.termux-build/wordgrinder/src
+ find . -name config.sub -exec chmod u+w '{}' ';' -exec cp /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/config.sub '{}' ';'
+ find . -name config.guess -exec chmod u+w '{}' ';' -exec cp /home/builder/termux-packages/nuevoVisaje/termux-packages-master/scripts/config.guess '{}' ';'
+ cd /home/builder/.termux-build/wordgrinder/src
+ termux_step_pre_configure
+ return
+ cd /home/builder/.termux-build/wordgrinder/src
+ termux_step_configure
+ '[' no == no ']'
+ '[' -f /home/builder/.termux-build/wordgrinder/src/configure ']'
+ '[' -f /home/builder/.termux-build/wordgrinder/src/CMakeLists.txt ']'
+ '[' -f /home/builder/.termux-build/wordgrinder/src/meson.build ']'
+ cd /home/builder/.termux-build/wordgrinder/src
+ termux_step_post_configure
+ return
+ cd /home/builder/.termux-build/wordgrinder/src
+ termux_step_make
+ termux_setup_ninja
+ local NINJA_VERSION=1.9.0
+ local NINJA_FOLDER=/home/builder/.termux-build/_cache/ninja-1.9.0
+ '[' -z '' ']'
+ '[' '!' -x /home/builder/.termux-build/_cache/ninja-1.9.0/ninja ']'
+ export PATH=/home/builder/.termux-build/_cache/ninja-1.9.0:/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/home/builder/.termux-build/_cache/ninja-1.9.0:/home/builder/.termux-build/_cache/android-r20-api-24-v1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ make CC=gcc OBJDIR=/home/builder/.termux-build/wordgrinder/src/build /home/builder/.termux-build/wordgrinder/src/build/lua
+ make OBJDIR=/home/builder/.termux-build/wordgrinder/src/build LUA_PACKAGE=lua
make: *** [Makefile:108: all] Error 1
Thanks :)
Sorry, but I can't help with wordgrinder. You even don't have proper error message. Just make: *** [Makefile:108: all] Error 1
doesn't says anything.
It builds for me fine:
builder@b8a836a64be3:~/termux-packages$ ./build-package.sh -f wordgrinder
Building dependency libandroid-support if necessary...
libandroid-support@25-1 built - skipping (rm /data/data/.built-packages/libandroid-support to force rebuild)
Building dependency ncurses if necessary...
ncurses@6.1.20190511-7 built - skipping (rm /data/data/.built-packages/ncurses to force rebuild)
Building dependency readline if necessary...
readline@8.0-3 built - skipping (rm /data/data/.built-packages/readline to force rebuild)
Building dependency liblua if necessary...
liblua@5.3.5-4 built - skipping (rm /data/data/.built-packages/liblua to force rebuild)
Building dependency zlib if necessary...
zlib@1.2.11-4 built - skipping (rm /data/data/.built-packages/zlib to force rebuild)
termux - building wordgrinder for arch aarch64...
Bootstrapping build
Windows toolchain: not found
Detecting Curses in package 'ncursesw': found
Detecting FreeType2 in package 'freetype2': not found
Detecting Minizip in package 'builtin': found
Detecting LuaFileSystem in package 'builtin': found
Detecting uthash in package 'builtin': found
Detecting LuaBitOp in package 'builtin': found
Detecting Lua in package 'lua': found
Detecting Lua in package 'builtin': found
Detecting Lua in package 'lua-5.1': not found
Detecting Lua in package 'lua-5.2': not found
Detecting Lua in package 'lua-5.3': not found
Detecting Lua in package 'luajit': not found
The preferred Lua package is: 'lua'
[1/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...nizip -c src/c/zip.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/zip.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[2/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...p -c src/c/utils.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/utils.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[4/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...zip -c src/c/main.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/main.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[5/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...nizip -c src/c/lua.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/lua.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[6/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...zip -c src/c/word.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/word.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[7/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...-c src/c/screen.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/screen.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[8/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/emu/luabitop/lua-bitop.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[9/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses...mu/lfs/lfs.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/emu/lfs/lfs.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[10/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curse....c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/arch/unix/cursesw/dpy.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[11/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curse...oapi.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/emu/minizip/ioapi.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[12/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curse...d/wordgrinder/src/build/lua-curses-release/home/builder/.termux-build/wordgrinder/src/build/luascripts.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[14/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curse...nzip.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/emu/minizip/unzip.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[15/16] aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curse...ip/zip.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/emu/minizip/zip.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[16/16] aarch64-linux-android-clang /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release...Wl,--as-needed -Wl,-z,relro,-z,now -lz -lm -g -L/data/data/com.termux/files/usr/lib -lncursesw -llua -lm
termux - build of 'wordgrinder' done
builder@b8a836a64be3:~/termux-packages$
@xeffyr checking the output of trying to build the package alone, I see that it differs from your output because of "undeclared identifier zipFile"
builder@ff1a162c235f:~/termux-packages/nuevoVisaje/termux-packages-master$ ./build-package.sh -f wordgrinder
Building dependency libandroid-support if necessary...
libandroid-support@25-1 built - skipping (rm /data/data/.built-packages/libandroid-support to force rebuild)
Building dependency ncurses if necessary...
ncurses@6.1.20190511-7 built - skipping (rm /data/data/.built-packages/ncurses to force rebuild)
Building dependency readline if necessary...
readline@8.0-3 built - skipping (rm /data/data/.built-packages/readline to force rebuild)
Building dependency liblua if necessary...
liblua@5.3.5-4 built - skipping (rm /data/data/.built-packages/liblua to force rebuild)
Building dependency zlib if necessary...
zlib@1.2.11-4 built - skipping (rm /data/data/.built-packages/zlib to force rebuild)
termux - building wordgrinder for arch aarch64...
Bootstrapping build
Windows toolchain: not found
Detecting Curses in package 'ncursesw': found
Detecting FreeType2 in package 'freetype2': found
Detecting Xft in package 'none': not found
Detecting Minizip in package 'builtin': found
Detecting LuaFileSystem in package 'builtin': found
Detecting uthash in package 'builtin': found
Detecting LuaBitOp in package 'builtin': found
Detecting Lua in package 'lua': found
Detecting Lua in package 'builtin': found
Detecting Lua in package 'lua-5.1': not found
Detecting Lua in package 'lua-5.2': not found
Detecting Lua in package 'lua-5.3': not found
Detecting Lua in package 'luajit': not found
The preferred Lua package is: 'lua'
[1/16] aarch64-linux-android-clang -MMD -MF...er/src/build/lua-curses-release/src/c/zip.o
FAILED: /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/zip.o
aarch64-linux-android-clang -MMD -MF /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/zip.o.d -fstack-protector-strong -Oz -g -DVERSION='"0.7.2"' -DFILEFORMAT=7 -DNOUNCRYPT -DNOCRYPT -Isrc/c -Wall -Wno-unused-function -ffunction-sections -fdata-sections -Werror=implicit-function-declaration --std=gnu99 -D_XOPEN_SOURCE=600 -I/data/data/me.danielrosero.blastergram/files/usr/include -Os -Isrc/c/emu/lfs -Isrc/c/emu/luabitop -Isrc/c/emu/uthash -DARCH='"unix"' -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE -D_GNU_SOURCE -Isrc/c/emu/minizip -c src/c/zip.c -o /home/builder/.termux-build/wordgrinder/src/build/lua-curses-release/src/c/zip.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
src/c/zip.c:151:2: error: use of undeclared identifier 'zipFile'
zipFile zf = zipOpen(zipname, APPEND_STATUS_CREATE);
^
src/c/zip.c:152:6: error: use of undeclared identifier 'zf'
if (zf)
^
src/c/zip.c:163:12: error: implicit declaration of function 'zipOpenNewFileInZip' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
int i = zipOpenNewFileInZip(zf, key, NULL,
^
src/c/zip.c:163:32: error: use of undeclared identifier 'zf'
int i = zipOpenNewFileInZip(zf, key, NULL,
^
src/c/zip.c:169:13: error: use of undeclared identifier 'ZIP_OK'
if (i != ZIP_OK)
^
src/c/zip.c:175:8: error: implicit declaration of function 'zipWriteInFileInZip' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
i = zipWriteInFileInZip(zf, value, valuelen);
^
src/c/zip.c:175:28: error: use of undeclared identifier 'zf'
i = zipWriteInFileInZip(zf, value, valuelen);
^
src/c/zip.c:176:13: error: use of undeclared identifier 'ZIP_OK'
if (i != ZIP_OK)
^
src/c/zip.c:182:8: error: implicit declaration of function 'zipCloseFileInZip' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
i = zipCloseFileInZip(zf);
^
src/c/zip.c:182:26: error: use of undeclared identifier 'zf'
i = zipCloseFileInZip(zf);
^
src/c/zip.c:183:13: error: use of undeclared identifier 'ZIP_OK'
if (i != ZIP_OK)
^
src/c/zip.c:192:3: error: implicit declaration of function 'zipClose' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
zipClose(zf, NULL);
^
src/c/zip.c:192:3: note: did you mean 'zip_close'?
/data/data/me.danielrosero.blastergram/files/usr/include/zip.h:342:16: note: 'zip_close' declared here
ZIP_EXTERN int zip_close(zip_t * _Nonnull);
^
src/c/zip.c:192:12: error: use of undeclared identifier 'zf'
zipClose(zf, NULL);
^
1 warning and 13 errors generated.
[2/16] aarch64-linux-android-clang -MMD -MF.../src/build/lua-curses-release/src/c/utils.o
In file included from <built-in>:368:
<command line>:8:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined]
#define _XOPEN_SOURCE 1
^
<command line>:5:9: note: previous definition is here
#define _XOPEN_SOURCE 600
^
1 warning generated.
[3/16] /home/builder/.termux-build/wordgrin...ux-build/wordgrinder/src/build/luascripts.c
ninja: build stopped: subcommand failed.
make: *** [Makefile:108: all] Error 1
you think I'm missing some dependency or something?
Thanks for replying
Seems you have libzip compiled and wordgrinder trying to use it.
Running
./build-script.sh
im getting this:builder@ff1a162c235f:~/termux-packages/nuevoVisaje/termux-packages-master$ ./build-all.sh Using existing buildorder file: /home/builder/.termux-build/_buildall-aarch64/buildorder.txt Continuing build-all from: /home/builder/.termux-build/_buildall-aarch64/buildstatus.txt Skipping libc++ Skipping antiword Skipping apksigner Skipping argp Skipping attr Skipping blogc Skipping brotli Skipping busybox Skipping c-ares Skipping ca-certificates Skipping cabextract Skipping caddy Skipping capstone Skipping cmark Skipping command-not-found Skipping cppi Skipping daemonize Skipping darkhttpd Skipping dash Skipping dasm Skipping datamash Skipping ddrescue Skipping debianutils Skipping direnv Skipping dtc Skipping dx Skipping ecj Skipping ed Skipping espeak Skipping fcgi Skipping fd Skipping fdupes Skipping fftw Skipping figlet Skipping fortune Skipping fsmon Skipping gbt Skipping gdbm Skipping geoip2-database Skipping getconf Skipping giflib Skipping gifsicle Skipping git-lfs Skipping googletest Skipping gotty Skipping gperf Skipping gsl Skipping gzip Skipping hashdeep Skipping heyu Skipping hoedown Skipping hugo Skipping hunspell-en-us Skipping hunspell-ru Skipping hyperfine Skipping inotify-tools Skipping ipfs Skipping ired Skipping jhead Skipping jq Skipping json-c Skipping jsoncpp Skipping keybase Skipping keystone Skipping kona Skipping leveldb Skipping lhasa Skipping libandroid-glob Skipping libandroid-shmem Skipping libandroid-support Skipping libbsd Skipping libbz2 Skipping libconfig Skipping libconfuse Skipping libcue Skipping libdb Skipping libduktape Skipping libev Skipping libevent Skipping libexif Skipping libexpat Skipping libffi Skipping libgc Skipping libgmp Skipping libgpg-error Skipping libgraphite Skipping libiconv Skipping libicu Skipping libjansson Skipping libjpeg-turbo Skipping liblz4 Skipping liblzma Skipping liblzo Skipping libmad Skipping libmnl Skipping libmpdclient Skipping libmsgpack Skipping libnfs Skipping libnghttp2 Skipping libnl Skipping libnpth Skipping libogg Skipping libopus Skipping libpcap Skipping libpipeline Skipping libpixman Skipping libsasl Skipping libsodium Skipping libsoxr Skipping libtalloc Skipping libunibilium Skipping libunwind Skipping libuuid Skipping libuv Skipping libvpx Skipping libvterm Skipping libwebp Skipping libx264 Skipping libx265 Skipping libyaml Skipping libzopfli Skipping lzip Skipping m4 Skipping make Skipping mbedtls Skipping micro Skipping mime-support Skipping mksh Skipping mktorrent Skipping ncompress Skipping ncurses Building ndk-multilib... ERROR: See /home/builder/.termux-build/_buildall-aarch64/ndk-multilib.err
This is the ouput of the error:
Was looking for a way to skip this package, but didin't find any.
Is this issue related to #3531?
Thanks a lot for replying. Really appreciate it.