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

Bug 875401

Summary: net-wireless/lorcon-2020.06.06_p20220216-r1 - iwconfig_get_channel; ISO C99 and later do not support implicit function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-wireless:lorcon-2020.06.06_p20220216-r1:20221005-073459.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-05 18:08:28 UTC
1 warning generated.
/bin/sh ./libtool --mode=compile clang -I./   -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/libnl3  -DLORCON_VERSION=20180302 -I/usr/include -c drv_madwifing.c -o drv_madwifing.lo
libtool: compile:  clang -I./ -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I/usr/include/libnl3 -DLORCON_VERSION=20180302 -I/usr/include -c drv_tuntap.c  -fPIC -DPIC -o .libs/drv_tuntap.o
drv_mac80211.c:233:12: error: call to undeclared function
      'iwconfig_get_channel'; ISO C99 and later do not support implicit function
      declarations [-Werror,-Wimplicit-function-declaration]
        if ((ch = iwconfig_get_channel(context->vapname, context->errstr...

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 11368e1ead74e957b5908ca6bb3655c66bceb58e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Oct 5 06:18:37 2022 +0000

    2022-10-05 06:18:36 UTC

emerge -qpvO net-wireless/lorcon
[ebuild  N    ] net-wireless/lorcon-2020.06.06_p20220216-r1  USE="-python" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-10-05 18:08:29 UTC
Created attachment 820828 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-05 18:08:31 UTC
Created attachment 820831 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-05 18:08:32 UTC
Created attachment 820834 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-05 18:08:34 UTC
Created attachment 820837 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-05 18:08:35 UTC
Created attachment 820840 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-05 18:08:36 UTC
Created attachment 820843 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-05 18:08:37 UTC
Created attachment 820846 [details]
net-wireless:lorcon-2020.06.06_p20220216-r1:20221005-073459.log
Comment 8 Toralf Förster gentoo-dev 2022-10-05 18:08:38 UTC
Created attachment 820849 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-03-19 17:14:09 UTC
The bug has been closed via the following commit(s):

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

commit 242d5ec7dab26446b124f4d3abf214c6db8019ca
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-03-19 17:13:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-03-19 17:13:56 +0000

    net-wireless/lorcon: fix clang16 build
    
    Closes: https://bugs.gentoo.org/843698
    Closes: https://bugs.gentoo.org/875401
    Closes: https://bugs.gentoo.org/897182
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...build => lorcon-2020.06.06_p20220216-r2.ebuild} | 37 ++++++++++------------
 1 file changed, 16 insertions(+), 21 deletions(-)