Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880799 - net-wireless/bss-0.8-r2 - bss.c: error: call to undeclared function time; ISO C99 and later do not
Summary: net-wireless/bss-0.8-r2 - bss.c: error: call to undeclared function time; ISO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-10 20:08 UTC by Toralf Förster
Modified: 2025-04-24 19:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.98 KB, text/plain)
2022-11-10 20:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.27 KB, text/plain)
2022-11-10 20:08 UTC, Toralf Förster
Details
environment (environment,63.03 KB, text/plain)
2022-11-10 20:08 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,704 bytes, application/x-bzip)
2022-11-10 20:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,28.22 KB, application/x-bzip)
2022-11-10 20:08 UTC, Toralf Förster
Details
net-wireless:bss-0.8-r2:20221110-191640.log (net-wireless:bss-0.8-r2:20221110-191640.log,2.74 KB, text/plain)
2022-11-10 20:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.00 KB, application/x-bzip)
2022-11-10 20: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-11-10 20:08:31 UTC
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/bss-0.8-r2/work/bss-0.8 ...
make -j4 
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall  -c bss.c 
bss.c:98:8: error: call to undeclared function 'time'; 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_desktop_gnome-j4-20221109-200005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
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.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
php cli (if any):
  (none found)

  HEAD of ::gentoo
commit f80188f73da656ba570bd521ba865d631264dea6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 10 18:50:27 2022 +0000

    2022-11-10 18:50:27 UTC

emerge -qpvO net-wireless/bss
[ebuild  N    ] net-wireless/bss-0.8-r2
Comment 1 Toralf Förster gentoo-dev 2022-11-10 20:08:32 UTC
Created attachment 830315 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-10 20:08:34 UTC
Created attachment 830317 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-10 20:08:35 UTC
Created attachment 830319 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-10 20:08:36 UTC
Created attachment 830321 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-10 20:08:37 UTC
Created attachment 830323 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-10 20:08:38 UTC
Created attachment 830325 [details]
net-wireless:bss-0.8-r2:20221110-191640.log
Comment 7 Toralf Förster gentoo-dev 2022-11-10 20:08:39 UTC
Created attachment 830327 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2025-04-24 19:12:32 UTC
The bug has been closed via the following commit(s):

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

commit a0684d40405468ce7d5282805bc8c5a2dab2b159
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-28 20:19:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-24 19:11:26 +0000

    net-wireless/bss: update EAPI 7 -> 8, fix build with C23 compilers
    
    Added missing includes.
    Makefile hardcodes BINPATH, ETCPATH, but uses only BINPATH
    and only for make install
    we install with portage machinery, not with make install
    
    Closes: https://bugs.gentoo.org/880799
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Part-of: https://github.com/gentoo/gentoo/pull/41355
    Closes: https://github.com/gentoo/gentoo/pull/41355
    Signed-off-by: Sam James <sam@gentoo.org>

 net-wireless/bss/bss-0.8-r3.ebuild            | 32 +++++++++++++++++++++++++++
 net-wireless/bss/files/bss-0.8-Makefile.patch |  3 ++-
 net-wireless/bss/files/bss-0.8-includes.patch | 24 ++++++++++++++++++++
 3 files changed, 58 insertions(+), 1 deletion(-)