Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto update failing for iptables #22203

Open
termuxbot2 opened this issue Nov 9, 2024 · 0 comments
Open

Auto update failing for iptables #22203

termuxbot2 opened this issue Nov 9, 2024 · 0 comments
Assignees
Labels
auto update failing Issues with packages auto update bot Created by Termux bot

Comments

@termuxbot2
Copy link
Collaborator

Hi, I'm Termux 🤖.

I'm here to help you update your Termux packages.

I've tried to update the iptables package, but it failed.

Here's the output of the update script:

Show log
INFO: Updating iptables [Current version: 1.8.10]
INFO: package being updated to 1.8.11.
Downloading https://www.netfilter.org/projects/iptables/files/iptables-1.8.11.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
2  634k    2 15967    0     0  18757      0  0:00:34 --:--:--  0:00:34 18762
100  634k  100  634k    0     0   500k      0  0:00:01  0:00:01 --:--:--  500k
You are about to commit these changes:

diff --git a/root-packages/iptables/build.sh b/root-packages/iptables/build.sh
index a23c2d6caf..5d99f00441 100644
--- a/root-packages/iptables/build.sh
+++ b/root-packages/iptables/build.sh
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.netfilter.org/projects/iptables
TERMUX_PKG_DESCRIPTION="Program used to configure the Linux 2.4 and later kernel packet filtering ruleset"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
-TERMUX_PKG_VERSION="1.8.10"
+TERMUX_PKG_VERSION="1.8.11"
TERMUX_PKG_SRCURL=https://www.netfilter.org/projects/iptables/files/iptables-${TERMUX_PKG_VERSION}.tar.xz
-TERMUX_PKG_SHA256=5cc255c189356e317d070755ce9371eb63a1b783c34498fb8c30264f3cc59c9c
+TERMUX_PKG_SHA256=d87303d55ef8c92bcad4dd3f978b26d272013642b029425775f5bad1009fe7b2
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libmnl, libnftnl, libandroid-spawn"
TERMUX_PKG_BUILD_IN_SRC=true
bump(root/iptables): 1.8.11
Not committing to Git!
INFO: Trying to build package.
INFO: Package iptables exists in root repo.
Running container 'termux-package-builder' from image 'ghcr.io/termux/package-builder'...
termux - building iptables for arch aarch64...
Downloading https://packages-cf.termux.dev/apt/termux-main/dists/stable/Release
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 13133  100 13133    0     0   288k      0 --:--:-- --:--:-- --:--:--  291k
Downloading https://packages-cf.termux.dev/apt/termux-main/dists/stable/Release.gpg
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   833  100   833    0     0  20331      0 --:--:-- --:--:-- --:--:-- 20825
gpg: Signature made Sat 09 Nov 2024 01:52:39 AM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) [email protected]" [ultimate]
gpg:                 aka "Termux Releases (Termux automatic builds) [email protected]" [ultimate]
Downloading https://packages-cf.termux.dev/apt/termux-root/dists/root/Release
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 13319  100 13319    0     0   230k      0 --:--:-- --:--:-- --:--:--  232k
Downloading https://packages-cf.termux.dev/apt/termux-root/dists/root/Release.gpg
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   833  100   833    0     0  15284      0 --:--:-- --:--:-- --:--:-- 15425
gpg: Signature made Thu 07 Nov 2024 05:00:06 PM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) [email protected]" [ultimate]
gpg:                 aka "Termux Releases (Termux automatic builds) [email protected]" [ultimate]
Downloading https://packages-cf.termux.dev/apt/termux-x11/dists/x11/Release
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 13119  100 13119    0     0   258k      0 --:--:-- --:--:-- --:--:--  256k
100 13119  100 13119    0     0   257k      0 --:--:-- --:--:-- --:--:--  256k
Downloading https://packages-cf.termux.dev/apt/termux-x11/dists/x11/Release.gpg
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   833  100   833    0     0  14532      0 --:--:-- --:--:-- --:--:-- 14614
gpg: Signature made Fri 08 Nov 2024 06:18:26 PM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) [email protected]" [ultimate]
gpg:                 aka "Termux Releases (Termux automatic builds) [email protected]" [ultimate]
Downloading dependency libc++@27b if necessary...
Found libc++ in https://packages-cf.termux.dev/apt/termux-main/dists/stable
extracting libc++ to /home/builder/.termux-build/_cache-aarch64...
Downloading dependency [email protected] if necessary...
Found libandroid-spawn in https://packages-cf.termux.dev/apt/termux-main/dists/stable
Downloading https://packages-cf.termux.dev/apt/termux-main/pool/main/liba/libandroid-spawn/libandroid-spawn_0.3_aarch64.deb
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 15216  100 15216    0     0   335k      0 --:--:-- --:--:-- --:--:--  337k
extracting libandroid-spawn to /home/builder/.termux-build/_cache-aarch64...
Downloading dependency [email protected] if necessary...
Found libmnl in https://packages-cf.termux.dev/apt/termux-main/dists/stable
Downloading https://packages-cf.termux.dev/apt/termux-main/pool/main/libm/libmnl/libmnl_1.0.5_aarch64.deb
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  8716  100  8716    0     0  20987      0 --:--:-- --:--:-- --:--:-- 20951
extracting libmnl to /home/builder/.termux-build/_cache-aarch64...
Downloading dependency [email protected] if necessary...
Found libnftnl in https://packages-cf.termux.dev/apt/termux-main/dists/stable
Downloading https://packages-cf.termux.dev/apt/termux-main/pool/main/libn/libnftnl/libnftnl_1.2.8_aarch64.deb
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 54996  100 54996    0     0  84309      0 --:--:-- --:--:-- --:--:-- 84220
100 54996  100 54996    0     0  84297      0 --:--:-- --:--:-- --:--:-- 84220
extracting libnftnl to /home/builder/.termux-build/_cache-aarch64...
Downloading https://www.netfilter.org/projects/iptables/files/iptables-1.8.11.tar.xz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
14  634k   14 95967    0     0  98616      0  0:00:06 --:--:--  0:00:06 98528
100  634k  100  634k    0     0   536k      0  0:00:01  0:00:01 --:--:--  536k
Applying patch: extensions-libxt_cgroup.c.patch
Applying patch: extensions-libxt_LOG.c.patch
Applying patch: iptables-Makefile.in.patch
Applying patch: iptables-xtables-monitor.c.patch
Applying patch: libxtables-Makefile.in.patch
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-android-strip... llvm-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for aarch64-linux-android-gcc... aarch64-linux-android-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether aarch64-linux-android-clang accepts -g... yes
checking for aarch64-linux-android-clang option to enable C11 features... none needed
checking whether aarch64-linux-android-clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-android-clang... none
checking for aarch64-linux-android-ar... llvm-ar
checking the archiver (llvm-ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-android
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-linux-android-clang... ld.lld
checking if the linker (ld.lld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... llvm-nm
checking the name lister (llvm-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3145728
checking how to convert x86_64-pc-linux-gnu file names to aarch64-unknown-linux-android format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for ld.lld option to reload object files... -r
checking for aarch64-linux-android-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for aarch64-linux-android-objdump... llvm-objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-linux-android-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-linux-android-ar... (cached) llvm-ar
checking for archiver @FILE support... @
checking for aarch64-linux-android-strip... (cached) llvm-strip
checking for aarch64-linux-android-ranlib... llvm-ranlib
checking command to parse llvm-nm output from aarch64-linux-android-clang object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-linux-android-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-linux-android-clang supports -fno-rtti -fno-exceptions... yes
checking for aarch64-linux-android-clang option to produce PIC... -fPIC -DPIC
checking if aarch64-linux-android-clang PIC flag -fPIC -DPIC works... yes
checking if aarch64-linux-android-clang static flag -static works... yes
checking if aarch64-linux-android-clang supports -c -o file.o... yes
checking if aarch64-linux-android-clang supports -c -o file.o... (cached) yes
checking whether the aarch64-linux-android-clang linker (ld.lld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ld.lld knows -Wl,--no-undefined... yes
checking for linux/dccp.h... yes
checking for linux/ip_vs.h... yes
checking for linux/magic.h... yes
checking for linux/proc_fs.h... no
checking for linux/bpf.h... yes
checking size of struct ip6_hdr... 40
checking pkg-config is at least version 0.9.0... yes
checking for libnfnetlink >= 1.0... no
checking for libmnl >= 1.0... yes
checking for libnftnl >= 1.2.6... yes
checking for libnetfilter_conntrack >= 1.0.6... no
WARNING: libnetfilter_conntrack not found, connlabel match will not be built
checking whether the build is using musl-libc... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extensions/GNUmakefile
config.status: creating include/Makefile
config.status: creating iptables/Makefile
config.status: creating iptables/xtables.pc
config.status: creating iptables/iptables.8
config.status: creating iptables/iptables-extensions.8.tmpl
config.status: creating iptables/iptables-save.8
config.status: creating iptables/iptables-restore.8
config.status: creating iptables/iptables-apply.8
config.status: creating iptables/iptables-xml.1
config.status: creating libipq/Makefile
config.status: creating libipq/libipq.pc
config.status: creating libiptc/Makefile
config.status: creating libiptc/libiptc.pc
config.status: creating libiptc/libip4tc.pc
config.status: creating libiptc/libip6tc.pc
config.status: creating libxtables/Makefile
config.status: creating utils/Makefile
config.status: creating include/xtables-version.h
config.status: creating iptables/xtables-monitor.8
config.status: creating utils/nfnl_osf.8
config.status: creating utils/nfbpf_compile.8
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls
Iptables Configuration:
IPv4 support:				yes
IPv6 support:				yes
Devel support:			yes
IPQ support:				no
Large file support:			yes
BPF utils support:			no
nfsynproxy util support:		no
nftables support:			yes
connlabel support:			no
profiling support:			no
Build parameters:
Put plugins into executable (static):	yes
Support plugins via dlopen (shared):	yes
Installation prefix (--prefix):	/data/data/com.termux/files/usr
Xtables extension directory:		/data/data/com.termux/files/usr/lib/xtables
Pkg-config directory:			/data/data/com.termux/files/usr/lib/pkgconfig
Xtables lock file:			/data/data/com.termux/files/usr/var/run/xtables.lock
Build against musl-libc:		no
Host:					aarch64-unknown-linux-android
GCC binary:				aarch64-linux-android-clang
Iptables modules that will not be built:  connlabel
make  all-recursive
make[1]: Entering directory '/home/builder/.termux-build/iptables/src'
Making all in libiptc
make[2]: Entering directory '/home/builder/.termux-build/iptables/src/libiptc'
/bin/bash ../libtool  --tag=CC   --mode=compile aarch64-linux-android-clang -DHAVE_CONFIG_H -I. -I..  -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT 	-DXTABLES_LIBDIR="/data/data/com.termux/files/usr/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include  -I/data/data/com.termux/files/usr/include -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -fstack-protector-strong -Oz -Dindex=strchr -Drindex=strrchr -D__STDC_FORMAT_MACROS=1 -c -o libip4tc.lo libip4tc.c
/bin/bash ../libtool  --tag=CC   --mode=compile aarch64-linux-android-clang -DHAVE_CONFIG_H -I. -I..  -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT 	-DXTABLES_LIBDIR="/data/data/com.termux/files/usr/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include  -I/data/data/com.termux/files/usr/include -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -fstack-protector-strong -Oz -Dindex=strchr -Drindex=strrchr -D__STDC_FORMAT_MACROS=1 -c -o libip6tc.lo libip6tc.c
libtool: compile:  aarch64-linux-android-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR="/data/data/com.termux/files/usr/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include -I/data/data/com.termux/files/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -fstack-protector-strong -Oz -Dindex=strchr -Drindex=strrchr -D__STDC_FORMAT_MACROS=1 -c libip4tc.c  -fPIC -DPIC -o .libs/libip4tc.o
libtool: compile:  aarch64-linux-android-clang -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DXTABLES_LIBDIR="/data/data/com.termux/files/usr/lib/xtables" -DXTABLES_INTERNAL -I../include -I../include -I/data/data/com.termux/files/usr/include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wlogical-op -Winline -pipe -fstack-protector-strong -Oz -Dindex=strchr -Drindex=strrchr -D__STDC_FORMAT_MACROS=1 -c libip6tc.c  -fPIC -DPIC -o .libs/libip6tc.o
warning: warning: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option]unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option]
In file included from libip6tc.c:111:
In file included from ./libiptc.c:37:
../include/xtables.h:174:21: error: use of undeclared identifier 'ETH_ALEN'
In file included from libip4tc.c:113:
In file included from ./libiptc.c:  37174:
| ../include/xtables.h        :        174        :u21i:n terror: 8use of undeclared identifier 'ETH_ALEN'_
t ethermac[ETH_ALEN], ether  m174a | c        m        a        suki[nEtT8H__tA LeEtNh]e;r
m      ac| [                                         ^E
TH_ALEN], ethermacmask[ETH_ALEN];
|                                          ^
../include/xtables.h:174:45: error: use of undeclared identifier 'ETH_ALEN'
174 |                         uint8_t ethermac[ETH_ALEN], ethermacma../include/xtables.hsk:[174E:T45H:_ Aerror: Luse of undeclared identifier 'ETH_ALEN'E
N];
|                                                                  ^
174 |                         uint8_t ethermac[ETH_ALEN], ethermacmask[ETH_ALEN];
|                                                                  ^
1 warning1 and  warning2 and  error2s errors generated generated.
.
make[2]: *** [Makefile:493: libip4tc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:493: libip6tc.lo] Error 1
make[2]: Leaving directory '/home/builder/.termux-build/iptables/src/libiptc'
make[1]: *** [Makefile:527: all-recursive] Error 1
make[1]: Leaving directory '/home/builder/.termux-build/iptables/src'
make: *** [Makefile:436: all] Error 2
ERROR: failed to build.


Above error occured when I last tried to update at 2024-11-09 01:59:33 UTC.
Run ID: 11751508106

Note: Automatic updates will be disabled until this issue is resolved.
@termuxbot2 termuxbot2 added auto update failing Issues with packages auto update bot Created by Termux bot labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto update failing Issues with packages auto update bot Created by Termux bot
Projects
None yet
Development

No branches or pull requests

2 participants