Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875029 - net-misc/bsdwhois-1.43.2.1 - whois.c: error: implicit declaration of function vasprintf
Summary: net-misc/bsdwhois-1.43.2.1 - whois.c: error: implicit declaration of function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:37 UTC by Toralf Förster
Modified: 2022-11-15 02:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.31 KB, text/plain)
2022-10-04 16:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.34 KB, text/plain)
2022-10-04 16:37 UTC, Toralf Förster
Details
environment (environment,27.27 KB, text/plain)
2022-10-04 16:37 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.52 KB, application/x-bzip)
2022-10-04 16:37 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.96 KB, application/x-bzip)
2022-10-04 16:37 UTC, Toralf Förster
Details
net-misc:bsdwhois-1.43.2.1:20221004-012713.log (net-misc:bsdwhois-1.43.2.1:20221004-012713.log,5.36 KB, text/plain)
2022-10-04 16:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,10.18 KB, application/x-bzip)
2022-10-04 16:37 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-10-04 16:37:30 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c whois.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c fgetln.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c strnstr.c
whois.c: In function s_asprintf:
whois.c:277:13: error: implicit declaration of function vasprintf; did you mean vsprintf? [-Werror=implicit-function-declaration]
  277 |         if (vasprintf(ret, format, ap) == -1) {
      |             ^~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 26c589b619fafc9e0a206166e84e2970cf1658b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 00:47:23 2022 +0000

    2022-10-04 00:47:23 UTC

emerge -qpvO net-misc/bsdwhois
[ebuild  N    ] net-misc/bsdwhois-1.43.2.1
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:37:31 UTC
Created attachment 819427 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:37:32 UTC
Created attachment 819430 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:37:34 UTC
Created attachment 819433 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:37:35 UTC
Created attachment 819436 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:37:35 UTC
Created attachment 819439 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:37:36 UTC
Created attachment 819442 [details]
net-misc:bsdwhois-1.43.2.1:20221004-012713.log
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:37:37 UTC
Created attachment 819445 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-11-15 02:22:20 UTC
The bug has been closed via the following commit(s):

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

commit a089700a7e568e433e17d2b8c2f8c712c8f6cb3c
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2022-10-31 22:15:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-15 01:39:48 +0000

    net-misc/bsdwhois: fix build for clang16
    
    Closes: https://bugs.gentoo.org/875029
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/28057
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/bsdwhois/bsdwhois-1.43.2.1-r1.ebuild      | 36 ++++++++++++++++++++++
 .../files/bsdwhois-1.43.2.1-clang16-build.patch    | 21 +++++++++++++
 2 files changed, 57 insertions(+)