Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875401 - net-wireless/lorcon-2020.06.06_p20220216-r1 - iwconfig_get_channel; ISO C99 and later do not support implicit function
Summary: net-wireless/lorcon-2020.06.06_p20220216-r1 - iwconfig_get_channel; ISO C99 a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-05 18:08 UTC by Toralf Förster
Modified: 2023-03-19 17:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.65 KB, text/plain)
2022-10-05 18:08 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,2.03 KB, application/x-bzip)
2022-10-05 18:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.95 KB, text/plain)
2022-10-05 18:08 UTC, Toralf Förster
Details
environment (environment,135.39 KB, text/plain)
2022-10-05 18:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.75 KB, application/x-bzip)
2022-10-05 18:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.86 KB, application/x-bzip)
2022-10-05 18:08 UTC, Toralf Förster
Details
net-wireless:lorcon-2020.06.06_p20220216-r1:20221005-073459.log (net-wireless:lorcon-2020.06.06_p20220216-r1:20221005-073459.log,16.97 KB, text/plain)
2022-10-05 18:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.77 KB, application/x-bzip)
2022-10-05 18:08 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-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(-)