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

Bug 913559

Summary: net-misc/smbc-1.2.2-r3 - [clang] fnet.c: error: call to undeclared function itoaAddChar; ISO C99 and later
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
net-misc:smbc-1.2.2-r3:20230903-074333.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-03 09:40:41 UTC
smbc.c:316:2: error: function definition is not allowed here
 {
 ^
fnet.c:62:3: error: function definition is not allowed here
  {
  ^
fnet.c:72:5: error: call to undeclared function 'itoaAddChar'; ISO C99 and later
      do not support implicit function declarations
      [-Wimplicit-function-declaration]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230902-205829

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6+libcxx
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 32a454c1605e8d782c922caf074234d765304846
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 3 06:31:50 2023 +0000

    2023-09-03 06:31:50 UTC

emerge -qpvO net-misc/smbc
[ebuild  N    ] net-misc/smbc-1.2.2-r3  USE="nls -debug"
Comment 1 Toralf Förster gentoo-dev 2023-09-03 09:40:41 UTC
Created attachment 869371 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-03 09:40:42 UTC
Created attachment 869372 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-03 09:40:44 UTC
Created attachment 869373 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-03 09:40:44 UTC
Created attachment 869374 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-03 09:40:45 UTC
Created attachment 869375 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-03 09:40:46 UTC
Created attachment 869376 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-03 09:40:47 UTC
Created attachment 869377 [details]
net-misc:smbc-1.2.2-r3:20230903-074333.log
Comment 8 Toralf Förster gentoo-dev 2023-09-03 09:40:48 UTC
Created attachment 869378 [details]
temp.tar.xz