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

Bug 927456

Summary: net-misc/olsrd-0.9.8_p20210612 - src/olsrd_filtergw.c: error: implicit declaration of function should_filter [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412, 941869    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-misc:olsrd-0.9.8_p20210612:20240321-164311.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-03-21 18:52:11 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -fPIC -ggdb -fPIC -ggdb -I../../src -I../../lib -I../../lib/pud/nmealib/include -I../../lib/pud/wireformat/include -DOLSR_PLUGIN  -DUSE_FPM -DDEBUG   -c -o src/olsrd_plugin.o src/olsrd_plugin.c
src/olsrd_filtergw.c: In function set_plugin_filter:
src/olsrd_filtergw.c:124:17: error: assignment to struct hna_group * from incompatible pointer type struct filter_group * [-Wincompatible-pointer-types]
  124 |       new->next =  filter_groups;
      |                 ^
src/olsrd_filtergw.c: In function olsrd_filtergw_parser:
src/olsrd_filtergw.c:186:7: error: implicit declaration of function should_filter [-Wimplicit-function-declaration]
  186 |   if(!should_filter(&originator))
      |       ^~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240319-203036

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 24238c364396a0b28e7dbd5db20327e0fef274ae
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 21 15:49:35 2024 +0000

    2024-03-21 15:49:34 UTC

emerge -qpvO net-misc/olsrd
[ebuild  N    ] net-misc/olsrd-0.9.8_p20210612  USE="gtk pud"
Comment 1 Toralf Förster gentoo-dev 2024-03-21 18:52:12 UTC
Created attachment 888107 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-21 18:52:13 UTC
Created attachment 888108 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-03-21 18:52:14 UTC
Created attachment 888109 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-03-21 18:52:15 UTC
Created attachment 888110 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-03-21 18:52:16 UTC
Created attachment 888111 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-21 18:52:17 UTC
Created attachment 888112 [details]
net-misc:olsrd-0.9.8_p20210612:20240321-164311.log
Comment 7 Toralf Förster gentoo-dev 2024-03-21 18:52:18 UTC
Created attachment 888113 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-03-21 18:52:19 UTC
Created attachment 888114 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-11-19 15:11:05 UTC
The bug has been closed via the following commit(s):

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

commit b542d1df078942ee0216a387a6fad55c6cec8a24
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 15:08:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 15:10:48 +0000

    net-misc/olsrd: add 0.9.8_p20241102
    
    * Switch to USE=gui per QA policy
    * Pass -std=gnu17, not going to worry about reporting it upstream at this
      point given how long it's been since the last release.
    
    Bug: https://bugs.gentoo.org/822300
    Bug: https://bugs.gentoo.org/895104
    Closes: https://bugs.gentoo.org/927456
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/olsrd/Manifest                     |   1 +
 net-misc/olsrd/olsrd-0.9.8_p20241102.ebuild | 127 ++++++++++++++++++++++++++++
 2 files changed, 128 insertions(+)