Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932440 - net-analyzer/symon-2.88 - symux.c: error: passing argument 2 of rrd_update from incompatible pointer type [-Wincompatible-pointer-types]
Summary: net-analyzer/symon-2.88 - symux.c: error: passing argument 2 of rrd_update fr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-22 08:19 UTC by Toralf Förster
Modified: 2025-03-08 01:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.26 KB, text/plain)
2024-05-22 08:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,94.26 KB, text/plain)
2024-05-22 08:19 UTC, Toralf Förster
Details
environment (environment,81.05 KB, text/plain)
2024-05-22 08:19 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.34 KB, application/x-xz)
2024-05-22 08:19 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.93 KB, application/x-xz)
2024-05-22 08:19 UTC, Toralf Förster
Details
net-analyzer:symon-2.88:20240522-032826.log (net-analyzer:symon-2.88:20240522-032826.log,5.21 KB, text/plain)
2024-05-22 08:19 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,182.58 KB, text/plain)
2024-05-22 08:19 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,19.38 KB, application/x-xz)
2024-05-22 08: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 2024-05-22 08:19:33 UTC
building probe helper library
ranlib libprobe.a
===> symux
Generating conf.h on Linux
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -I../lib -I/usr/local/include -I../platform/Linux -I. -o symux.o -c symux.c
symux.c: In function main:
symux.c:347:39: error: passing argument 2 of rrd_update from incompatible pointer type [-Wincompatible-pointer-types]
  347 |                         rrd_update(4, arg_ra);
      |                                       ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240520-093328

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
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.6
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 3d65b1f4ee1abe924c53d3eaaf7bb01440c20625
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed May 22 03:18:44 2024 +0000

    2024-05-22 03:18:43 UTC

emerge -qpvO net-analyzer/symon
[ebuild  N    ] net-analyzer/symon-2.88  USE="perl symux -symon" PERL_FEATURES="(-debug) -ithreads -quadmath"
Comment 1 Toralf Förster gentoo-dev 2024-05-22 08:19:33 UTC
Created attachment 893758 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-22 08:19:35 UTC
Created attachment 893759 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-22 08:19:36 UTC
Created attachment 893760 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-22 08:19:37 UTC
Created attachment 893761 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-22 08:19:37 UTC
Created attachment 893762 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-22 08:19:38 UTC
Created attachment 893763 [details]
net-analyzer:symon-2.88:20240522-032826.log
Comment 7 Toralf Förster gentoo-dev 2024-05-22 08:19:40 UTC
Created attachment 893764 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-05-22 08:19:41 UTC
Created attachment 893765 [details]
temp.tar.xz
Comment 9 NHO 2025-03-01 18:04:43 UTC
Should be fixed with version bump:
https://wpd.home.xs4all.nl/symon/changelog.html
Comment 10 Larry the Git Cow gentoo-dev 2025-03-08 01:37:26 UTC
The bug has been closed via the following commit(s):

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

commit eab00c6a0dbdc61d0f85d63a826e5e6667d867db
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-02 07:50:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-08 01:36:01 +0000

    net-analyzer/symon: update EAPI 7 -> 8, version bump to 2.89
    
    Upstream fix for compatibility with new rrd.
    Simplified ebuild file, folded seds, corrected pmakefile.
    Restricts tests - there are none, but runner fails due to pmake.
    Fixes build on musl.
    
    Closes: https://bugs.gentoo.org/716080
    Closes: https://bugs.gentoo.org/932440
    Closes: https://bugs.gentoo.org/623448
    Closes: https://bugs.gentoo.org/911776
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40843
    Signed-off-by: Sam James <sam@gentoo.org>

 net-analyzer/symon/Manifest                        |   1 +
 .../files/symon-2.89-condition-makefiles.patch     |  39 ++
 net-analyzer/symon/files/symon-2.89-extern_c.patch | 441 +++++++++++++++++++++
 net-analyzer/symon/symon-2.89.ebuild               |  99 +++++
 4 files changed, 580 insertions(+)