Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871513 - net-analyzer/labrea-2.5_p1 - labrea.c: error: call to undeclared function util_alarm; ISO C99 and
Summary: net-analyzer/labrea-2.5_p1 - labrea.c: error: call to undeclared function uti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 17:35 UTC by Toralf Förster
Modified: 2022-10-14 03:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.46 KB, text/plain)
2022-09-18 17:35 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.64 KB, application/x-bzip)
2022-09-18 17:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,239.58 KB, text/plain)
2022-09-18 17:35 UTC, Toralf Förster
Details
environment (environment,76.78 KB, text/plain)
2022-09-18 17:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.48 KB, application/x-bzip)
2022-09-18 17:35 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.16 KB, application/x-bzip)
2022-09-18 17:35 UTC, Toralf Förster
Details
net-analyzer:labrea-2.5_p1:20220918-171643.log (net-analyzer:labrea-2.5_p1:20220918-171643.log,25.71 KB, text/plain)
2022-09-18 17:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.59 KB, application/x-bzip)
2022-09-18 17:35 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-09-18 17:35:13 UTC
too long lines were shrinked:

clang -DHAVE_CONFIG_H -I. -I..  -iquote../inc  -I/usr/include -idirafter/usr/include/asm   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o labrea.o labrea.c
clang -DHAVE_CONFIG_H -I. -I..  -iquote../inc  -I/usr/include -idirafter/usr/include/asm   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o labrea_init.o labrea_init.c
clang -DHAVE_CONFIG_H -I. -I..  -iquote../inc  -I/usr/include -idirafter/usr/include/asm   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o pkt_handler.o pkt_handler.c
clang -DHAVE_CONFIG_H -I. -I..  -iquote../inc  -I/usr/include -idirafter/usr/include/asm   -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -c -o lbio.o lbio.c
labrea.c:70:3: error: call to undeclared function 'util_alarm'; ISO C99 and
      later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	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-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 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 0714e878cc17dcb197e09eb76beb3366466308f0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 16:16:57 2022 +0000

    2022-09-18 16:16:56 UTC

emerge -qpvO net-analyzer/labrea
[ebuild  N    ] net-analyzer/labrea-2.5_p1
Comment 1 Toralf Förster gentoo-dev 2022-09-18 17:35:14 UTC
Created attachment 812116 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 17:35:15 UTC
Created attachment 812119 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 17:35:18 UTC
Created attachment 812122 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 17:35:20 UTC
Created attachment 812125 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 17:35:21 UTC
Created attachment 812128 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 17:35:22 UTC
Created attachment 812131 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 17:35:23 UTC
Created attachment 812134 [details]
net-analyzer:labrea-2.5_p1:20220918-171643.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 17:35:24 UTC
Created attachment 812137 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-14 03:19:57 UTC
The bug has been closed via the following commit(s):

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

commit 6d9a06c3abe924dba6bd47811b20e731232293dd
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-14 01:45:18 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-14 03:19:43 +0000

    net-analyzer/labrea: fix build w/ upcoming clang16
    
    Closes: https://bugs.gentoo.org/871513
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 net-analyzer/labrea/files/labrea-2.5_p1-clang16.patch | 7 +++++++
 net-analyzer/labrea/labrea-2.5_p1.ebuild              | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)