Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904858 - net-dialup/rp-pppoe-3.15-r2 - plugin.c: error: VERSION undeclared here (not in a function)
Summary: net-dialup/rp-pppoe-3.15-r2 - plugin.c: error: VERSION undeclared here (not i...
Status: RESOLVED DUPLICATE of bug 904847
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-23 07:24 UTC by Toralf Förster
Modified: 2023-04-23 07:36 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.63 KB, text/plain)
2023-04-23 07:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,171.59 KB, text/plain)
2023-04-23 07:24 UTC, Toralf Förster
Details
environment (environment,77.32 KB, text/plain)
2023-04-23 07:24 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,720 bytes, application/x-bzip)
2023-04-23 07:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.76 KB, application/x-bzip)
2023-04-23 07:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.53 KB, application/x-bzip)
2023-04-23 07:24 UTC, Toralf Förster
Details
net-dialup:rp-pppoe-3.15-r2:20230423-063956.log (net-dialup:rp-pppoe-3.15-r2:20230423-063956.log,30.85 KB, text/plain)
2023-04-23 07:24 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 2023-04-23 07:24:27 UTC
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
relay.c: In function alarmHandler:
relay.c:1532:9: warning: ignoring return value of write declared with attribute warn_unused_result [-Wunused-result]
 1532 |         write(CleanPipe[1], "", 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DPLUGIN=1 '-DRP_VERSION="3.15"' -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -Wall -Wstrict-prototypes    '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent -I/usr/include/pppd -c -o plugin/plugin.o -fPIC plugin.c
plugin.c:65:23: error: VERSION undeclared here (not in a function); did you mean RP_VERSION?
   65 | char pppd_version[] = VERSION;
      |                       ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20230420-220505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.2
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.2
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0
  [2]   rust-1.69.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit 383070e5cc1b7a464f6433879ee685491918624c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 23 06:17:15 2023 +0000

    2023-04-23 06:17:15 UTC

emerge -qpvO net-dialup/rp-pppoe
[ebuild  N    ] net-dialup/rp-pppoe-3.15-r2  USE="-tk"
Comment 1 Toralf Förster gentoo-dev 2023-04-23 07:24:28 UTC
Created attachment 860572 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-23 07:24:29 UTC
Created attachment 860573 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-23 07:24:31 UTC
Created attachment 860574 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-23 07:24:31 UTC
Created attachment 860575 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-23 07:24:32 UTC
Created attachment 860576 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-23 07:24:33 UTC
Created attachment 860577 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-23 07:24:34 UTC
Created attachment 860578 [details]
net-dialup:rp-pppoe-3.15-r2:20230423-063956.log
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-23 07:36:34 UTC

*** This bug has been marked as a duplicate of bug 904847 ***