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

Bug 911776

Summary: net-analyzer/symon-2.88 - ../.../platform.h: error: expected declaration specifiers or before ( token
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40843
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 911592    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
net-analyzer:symon-2.88:20230805-175038.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-08-05 17:55:18 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -I../lib -I../platform/Linux -I. -o ../platform/Linux/sm_cpuiow.o -c ../platform/Linux/sm_cpuiow.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -I../lib -I../platform/Linux -I. -o ../platform/stub/sm_debug.o -c ../platform/stub/sm_debug.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -I../lib -I../platform/Linux -I. -o ../platform/Linux/sm_df.o -c ../platform/Linux/sm_df.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -g -I../lib -I../platform/Linux -I. -o ../platform/Linux/sm_flukso.o -c ../platform/Linux/sm_flukso.c
In file included from ../lib/conf.h:5,
                 from ../platform/Linux/sm_flukso.c:38:
../lib/../platform/Linux/platform.h:21:34: error: expected declaration specifiers or ... before ( token
   21 | #define strlcpy(x,y,z)  snprintf((x),(z),"%s", (y))
      |                                  ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20230803-152005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-1.71.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 

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

  HEAD of ::gentoo
commit 7d5d17bac242122bbeaeb4bb12697c84895fedca
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 5 17:01:45 2023 +0000

    2023-08-05 17:01:44 UTC

emerge -qpvO net-analyzer/symon
[ebuild  N    ] net-analyzer/symon-2.88  USE="symon -perl -symux"
Comment 1 Toralf Förster gentoo-dev 2023-08-05 17:55:19 UTC
Created attachment 867158 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-05 17:55:20 UTC
Created attachment 867159 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-05 17:55:22 UTC
Created attachment 867160 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-05 17:55:22 UTC
Created attachment 867161 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-05 17:55:23 UTC
Created attachment 867162 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-05 17:55:24 UTC
Created attachment 867163 [details]
net-analyzer:symon-2.88:20230805-175038.log
Comment 7 Toralf Förster gentoo-dev 2023-08-05 17:55:25 UTC
Created attachment 867164 [details]
temp.tar.xz
Comment 8 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(+)