Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934059

Summary: dev-util/fuzz-0.6-r3 - [ncurses-6.5] getopt.c: error: implicit declaration of function strcmp [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-util:fuzz-0.6-r3:20240611-144012.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-06-11 16:26:17 UTC
too long lines were shrinked:

>>> Compiling source in /var/tmp/portage/dev-util/fuzz-0.6-r3/work/fuzz-0.6 ...
make -j4 
x86_64-pc-linux-musl-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIN
x86_64-pc-linux-musl-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIN
x86_64-pc-linux-musl-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fuzz\" -DVERSION=\"0.6\" -DHAVE_LIBREADLINE=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDIN
getopt.c: In function '_getopt_internal':
getopt.c:580:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
  580 |       if (optind != argc && !strcmp (argv[optind], "--"))
      |                              ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20240608-075013

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.4 linux/amd64

  HEAD of ::gentoo
commit 9de1ab33600f192d5adfd1d628448b031af5a5b0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 11 13:51:12 2024 +0000

    2024-06-11 13:51:11 UTC

emerge -qpvO dev-util/fuzz
[ebuild  N    ] dev-util/fuzz-0.6-r3
Comment 1 Toralf Förster gentoo-dev 2024-06-11 16:26:18 UTC
Created attachment 895619 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-11 16:26:19 UTC
Created attachment 895620 [details]
dev-util:fuzz-0.6-r3:20240611-144012.log
Comment 3 Toralf Förster gentoo-dev 2024-06-11 16:26:20 UTC
Created attachment 895621 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-06-11 16:26:21 UTC
Created attachment 895622 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-06-11 16:26:22 UTC
Created attachment 895623 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-11 16:26:23 UTC
Created attachment 895624 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-11 16:26:24 UTC
Created attachment 895625 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-11 16:26:25 UTC
Created attachment 895626 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-06-11 16:26:25 UTC
Created attachment 895627 [details]
temp.tar.xz