Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870748 - net-misc/olsrd-0.9.8_p20210612 - src/olsrd_filtergw.c: error: call to undeclared function should_filter;
Summary: net-misc/olsrd-0.9.8_p20210612 - src/olsrd_filtergw.c: error: call to undecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 14:19 UTC by Toralf Förster
Modified: 2023-06-16 05:45 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.08 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.50 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
environment (environment,62.68 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.28 KB, application/x-bzip)
2022-09-17 14:19 UTC, Toralf Förster
Details
net-misc:olsrd-0.9.8_p20210612:20220917-123030.log (net-misc:olsrd-0.9.8_p20210612:20220917-123030.log,116.84 KB, text/plain)
2022-09-17 14:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,21.59 KB, application/x-bzip)
2022-09-17 14:19 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-09-17 14:19:16 UTC
      'struct hna_group *' from 'struct filter_group *'
      [-Wincompatible-pointer-types]
      new->next =  filter_groups;
                ^  ~~~~~~~~~~~~~
src/olsrd_filtergw.c:186:7: error: call to undeclared function 'should_filter';
      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-j4-20220915-203738

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 2be4f11d1103e9d0fe6cdcf770492a7d6c7ab1e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 11:01:50 2022 +0000

    2022-09-17 11:01:49 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 2022-09-17 14:19:18 UTC
Created attachment 807544 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 14:19:20 UTC
Created attachment 807547 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 14:19:21 UTC
Created attachment 807550 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 14:19:22 UTC
Created attachment 807553 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 14:19:24 UTC
Created attachment 807556 [details]
net-misc:olsrd-0.9.8_p20210612:20220917-123030.log
Comment 6 Toralf Förster gentoo-dev 2022-09-17 14:19:25 UTC
Created attachment 807559 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2023-06-16 05:45:03 UTC
The bug has been closed via the following commit(s):

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

commit ab73df0b66d343f94f5c7815cbb04cb1b966b502
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-13 15:21:22 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2023-06-16 05:43:39 +0000

    net-misc/olsrd: Fix incompatible pointer to integer conversion initializing int
    
    Closes: https://bugs.gentoo.org/898090
    Closes: https://bugs.gentoo.org/870748
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31242
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../olsrd/files/olsrd-0.9.8-clang16-buildfix.patch |  53 +++++++++
 net-misc/olsrd/olsrd-0.9.8_p20210612-r1.ebuild     | 124 +++++++++++++++++++++
 2 files changed, 177 insertions(+)