Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832666 - net-firewall/xtables-addons-3.13 - /.../xt_pknock.c: error: implicit declaration of function get_seconds [-Werror=implicit-functio
Summary: net-firewall/xtables-addons-3.13 - /.../xt_pknock.c: error: implicit declarat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-02-03 21:55 UTC by Toralf Förster
Modified: 2023-01-13 07:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.11 KB, text/plain)
2022-02-03 21:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,223.61 KB, text/plain)
2022-02-03 21:55 UTC, Toralf Förster
Details
environment (environment,103.03 KB, text/plain)
2022-02-03 21:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.07 KB, application/x-bzip)
2022-02-03 21:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.88 KB, application/x-bzip)
2022-02-03 21:55 UTC, Toralf Förster
Details
net-firewall:xtables-addons-3.13:20220203-205055.log (net-firewall:xtables-addons-3.13:20220203-205055.log,54.15 KB, text/plain)
2022-02-03 21:55 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-02-03 21:55:42 UTC
                 from ./include/linux/list.h:9,
                 from ./include/linux/module.h:12,
                 from /var/tmp/portage/net-firewall/xtables-addons-3.13/work/xtables-addons-3.13/extensions/pknock/xt_pknock.c:10:
/var/tmp/portage/net-firewall/xtables-addons-3.13/work/xtables-addons-3.13/extensions/pknock/xt_pknock.c: In function ‘pknock_seq_show’:
/var/tmp/portage/net-firewall/xtables-addons-3.13/work/xtables-addons-3.13/extensions/pknock/xt_pknock.c:251:41: error: implicit declaration of function ‘get_seconds’ [-Werror=implicit-function-declaration]
  251 |                         if (time_before(get_seconds(), peer->login_sec +
      |                                         ^~~~~~~~~~~

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4_stable-20220131-201854

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-11.2.0 *
clang/llvm (if any):
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

php cli:

  HEAD of ::gentoo
commit 33dc4bc289216a548cb8d098eef30eb114f8519e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Feb 3 19:51:57 2022 +0000

    2022-02-03 19:51:56 UTC

emerge -qpvO net-firewall/xtables-addons
[ebuild  N    ] net-firewall/xtables-addons-3.13  USE="modules -dist-kernel" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 sysrq tarpit -dnetmap -echo -gradm"
Comment 1 Toralf Förster gentoo-dev 2022-02-03 21:55:43 UTC
Created attachment 764300 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-03 21:55:45 UTC
Created attachment 764301 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-02-03 21:55:47 UTC
Created attachment 764302 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-03 21:55:48 UTC
Created attachment 764303 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-03 21:55:49 UTC
Created attachment 764304 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-03 21:55:50 UTC
Created attachment 764305 [details]
net-firewall:xtables-addons-3.13:20220203-205055.log
Comment 7 Larry the Git Cow gentoo-dev 2022-04-18 18:44:44 UTC
The bug has been referenced in the following commit(s):

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

commit fdbfec61d4e3f2dd4a3b167a863cf83830a8df39
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-18 18:44:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-18 18:44:29 +0000

    net-firewall/xtables-addons: add 3.20 (5.17+ compat)
    
    Closes: https://bugs.gentoo.org/839105
    Bug: https://bugs.gentoo.org/836595
    Bug: https://bugs.gentoo.org/832666
    Signed-off-by: Sam James <sam@gentoo.org>

 net-firewall/xtables-addons/Manifest               |   1 +
 .../xtables-addons/xtables-addons-3.20.ebuild      | 189 +++++++++++++++++++++
 2 files changed, 190 insertions(+)