Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881077 - net-proxy/torsocks-2.4.0 - conf_file_set_enable_ipv6; ISO C99 and later do not support implicit
Summary: net-proxy/torsocks-2.4.0 - conf_file_set_enable_ipv6; ISO C99 and later do no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard: fixed in 2.4.0-r1
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-12 10:27 UTC by Toralf Förster
Modified: 2024-10-29 14:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.67 KB, text/plain)
2022-11-12 10:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.02 KB, text/plain)
2022-11-12 10:27 UTC, Toralf Förster
Details
environment (environment,77.91 KB, text/plain)
2022-11-12 10:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,697 bytes, application/x-bzip)
2022-11-12 10:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,19.89 KB, application/x-bzip)
2022-11-12 10:27 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.63 KB, application/x-bzip)
2022-11-12 10:27 UTC, Toralf Förster
Details
net-proxy:torsocks-2.4.0:20221112-021420.log (net-proxy:torsocks-2.4.0:20221112-021420.log,16.82 KB, text/plain)
2022-11-12 10:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.61 KB, application/x-bzip)
2022-11-12 10:27 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.45 KB, application/x-bzip)
2022-11-12 10:27 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-11-12 10:27:10 UTC
too long lines were shrinked:

/bin/sh ../../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h  -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=impl
libtool: compile:  clang -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -fwrapv --param 
libtool: compile:  clang -DHAVE_CONFIG_H -I../.. -I../.. -I../../src -I../../include -include config.h -I../../include -I../../src -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -fwrapv --param 
config-file.c:184:9: error: call to undeclared function
      'conf_file_set_enable_ipv6'; ISO C99 and later do not support implicit
      function declarations [-Werror,-Wimplicit-function-declaration]
                ret = conf_file_set_enable_ipv6(tokens[1], config);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221111-150005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p8 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.5_p8 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-jre-bin-17 

php cli (if any):

  HEAD of ::gentoo
commit f5bac3608484112fb41bfe3af7604c9f78f29982
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 12 01:01:54 2022 +0000

    2022-11-12 01:01:53 UTC

emerge -qpvO net-proxy/torsocks
[ebuild  N    ] net-proxy/torsocks-2.4.0  USE="-static-libs"
Comment 1 Toralf Förster gentoo-dev 2022-11-12 10:27:12 UTC
Created attachment 831771 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-12 10:27:13 UTC
Created attachment 831773 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-12 10:27:15 UTC
Created attachment 831775 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-12 10:27:16 UTC
Created attachment 831777 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-12 10:27:17 UTC
Created attachment 831779 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-12 10:27:18 UTC
Created attachment 831781 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-12 10:27:19 UTC
Created attachment 831783 [details]
net-proxy:torsocks-2.4.0:20221112-021420.log
Comment 8 Toralf Förster gentoo-dev 2022-11-12 10:27:20 UTC
Created attachment 831785 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-12 10:27:21 UTC
Created attachment 831787 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2023-01-04 04:32:39 UTC
The bug has been closed via the following commit(s):

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

commit c0248a88bb85e2d2c1067954eeb768e1eadfcd0d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-04 03:49:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-04 04:31:57 +0000

    net-proxy/torsocks: fix build w/ clang 16
    
    Closes: https://bugs.gentoo.org/881077
    Signed-off-by: Sam James <sam@gentoo.org>

 net-proxy/torsocks/Manifest                                 |  2 +-
 net-proxy/torsocks/files/torsocks-2.4.0-clang16.patch       | 13 +++++++++++++
 .../{torsocks-2.4.0.ebuild => torsocks-2.4.0-r1.ebuild}     |  6 +++++-
 3 files changed, 19 insertions(+), 2 deletions(-)