Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871678 - net-proxy/tayga-0.9.2-r3 - nat64.c: error: call to undeclared function writev; ISO C99 and later do
Summary: net-proxy/tayga-0.9.2-r3 - nat64.c: error: call to undeclared function writev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Benda Xu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-19 08:49 UTC by Toralf Förster
Modified: 2022-10-25 12:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2022-09-19 08:49 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.07 KB, application/x-bzip)
2022-09-19 08:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,148.18 KB, text/plain)
2022-09-19 08:49 UTC, Toralf Förster
Details
environment (environment,100.87 KB, text/plain)
2022-09-19 08:49 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.09 KB, application/x-bzip)
2022-09-19 08:49 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.53 KB, application/x-bzip)
2022-09-19 08:49 UTC, Toralf Förster
Details
net-proxy:tayga-0.9.2-r3:20220919-081912.log (net-proxy:tayga-0.9.2-r3:20220919-081912.log,10.39 KB, text/plain)
2022-09-19 08:49 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.13 KB, application/x-bzip)
2022-09-19 08:49 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-19 08:49:26 UTC
clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o nat64.o nat64.c
clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o addrmap.o addrmap.c
clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o dynamic.o dynamic.c
clang -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o tayga.o tayga.c
nat64.c:119:6: error: call to undeclared function 'writev'; ISO C99 and later do
      not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220917-010004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 73f2fc540d1ad99794dd848083f2caf53e07537a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 19 07:01:50 2022 +0000

    2022-09-19 07:01:49 UTC

emerge -qpvO net-proxy/tayga
[ebuild  N    ] net-proxy/tayga-0.9.2-r3
Comment 1 Toralf Förster gentoo-dev 2022-09-19 08:49:27 UTC
Created attachment 812671 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-19 08:49:28 UTC
Created attachment 812674 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-19 08:49:29 UTC
Created attachment 812677 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-19 08:49:30 UTC
Created attachment 812680 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-19 08:49:32 UTC
Created attachment 812683 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-19 08:49:32 UTC
Created attachment 812686 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-19 08:49:33 UTC
Created attachment 812689 [details]
net-proxy:tayga-0.9.2-r3:20220919-081912.log
Comment 8 Toralf Förster gentoo-dev 2022-09-19 08:49:34 UTC
Created attachment 812692 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-25 12:15:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a8a56b1036b3ee654acc97e87f25b8d0478cce

commit 57a8a56b1036b3ee654acc97e87f25b8d0478cce
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-25 11:55:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-25 12:15:25 +0000

    net-proxy/tayga: fix build w/ Clang 16
    
    Bug: https://bugs.gentoo.org/867217
    Closes: https://bugs.gentoo.org/871678
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tayga-0.9.2-Fix-implicit-function-declaration.patch  | 16 ++++++++++++++++
 .../{tayga-0.9.2-r3.ebuild => tayga-0.9.2-r4.ebuild}     |  9 +++------
 2 files changed, 19 insertions(+), 6 deletions(-)