[-Waddress-of-packed-member] if (map_ip6_to_ip4(&header.ip4.dest, &p->ip6->dest, NULL, 0)) ^~~~~~~~~~~~~~~ clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o conffile.o conffile.c conffile.c:225:12: error: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion] slash[0] = NULL; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20221028-180004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.3 Python 3.10.8 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * GNU Make 4.3 HEAD of ::gentoo commit 94926262f25effa86755b9ecec030b3906ee5938 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Oct 29 06:16:52 2022 +0000 2022-10-29 06:16:51 UTC emerge -qpvO net-proxy/tayga [ebuild N ] net-proxy/tayga-0.9.2-r4
Created attachment 825949 [details] emerge-info.txt
Created attachment 825951 [details] clang.tar.bz2
Created attachment 825953 [details] emerge-history.txt
Created attachment 825955 [details] environment
Created attachment 825957 [details] etc.portage.tar.bz2
Created attachment 825959 [details] logs.tar.bz2
Created attachment 825961 [details] net-proxy:tayga-0.9.2-r4:20221029-065536.log
Created attachment 825963 [details] temp.tar.bz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e6fce166c165810d603aa2288a76195e1f013f4 commit 8e6fce166c165810d603aa2288a76195e1f013f4 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-12-31 10:54:12 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-12-31 10:59:49 +0000 package.mask: Last rite net-proxy/tayga Bug: https://bugs.gentoo.org/878629 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)
I gave a fix in the linked PR.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6a3bdef5e2311bfe68364cdf61f0bee7030814 commit 4c6a3bdef5e2311bfe68364cdf61f0bee7030814 Author: YiFei Zhu <zhuyifei1999@gmail.com> AuthorDate: 2024-01-10 07:50:46 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-01-13 18:51:12 +0000 net-proxy/tayga: Fix "incompatible pointer to integer conversion" The purpose of the code is to find the separator slash of the CIDR range, splitting it to the IP and the number of bits in the range. Assigning NUL character to the memory location completes the string split, but the code assigns NULL pointer instead. While functionally the same, the compiler type checking complains. I'm not revbumping this change because the code should compile the same in theory. Closes: https://bugs.gentoo.org/878629 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org> net-proxy/tayga/files/tayga-0.9.2-static-EAM.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2bf31584b18ba84ac41b17e057d3365b7bc527 commit ef2bf31584b18ba84ac41b17e057d3365b7bc527 Author: YiFei Zhu <zhuyifei1999@gmail.com> AuthorDate: 2024-01-10 07:49:19 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-01-13 18:51:12 +0000 net-proxy/tayga: add myself as a maintainer I'm decently familiar with the codebase of tayga and I'm happy to maintain it. Bug: https://bugs.gentoo.org/878629 Signed-off-by: YiFei Zhu <zhuyifei1999@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org> net-proxy/tayga/metadata.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)