Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913559 - net-misc/smbc-1.2.2-r3 - [clang] fnet.c: error: call to undeclared function itoaAddChar; ISO C99 and later
Summary: net-misc/smbc-1.2.2-r3 - [clang] fnet.c: error: call to undeclared function i...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-09-03 09:40 UTC by Toralf Förster
Modified: 2024-04-11 01:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.98 KB, text/plain)
2023-09-03 09:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,50.87 KB, text/plain)
2023-09-03 09:40 UTC, Toralf Förster
Details
environment (environment,73.50 KB, text/plain)
2023-09-03 09:40 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,792 bytes, application/x-xz)
2023-09-03 09:40 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,8.94 KB, application/x-xz)
2023-09-03 09:40 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.09 KB, application/x-xz)
2023-09-03 09:40 UTC, Toralf Förster
Details
net-misc:smbc-1.2.2-r3:20230903-074333.log (net-misc:smbc-1.2.2-r3:20230903-074333.log,20.20 KB, text/plain)
2023-09-03 09:40 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.12 KB, application/x-xz)
2023-09-03 09:40 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 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