Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904877 - net-vpn/pptpd-1.4.0-r3 - pptpd-logwtmp.c: error: VERSION undeclared here (not in a function)
Summary: net-vpn/pptpd-1.4.0-r3 - pptpd-logwtmp.c: error: VERSION undeclared here (not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 904841
  Show dependency tree
 
Reported: 2023-04-23 13:19 UTC by Toralf Förster
Modified: 2023-04-28 20:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.23 KB, text/plain)
2023-04-23 13:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,95.64 KB, text/plain)
2023-04-23 13:19 UTC, Toralf Förster
Details
environment (environment,93.97 KB, text/plain)
2023-04-23 13:19 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,916 bytes, application/x-bzip)
2023-04-23 13:19 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.78 KB, application/x-bzip)
2023-04-23 13:19 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.23 KB, application/x-bzip)
2023-04-23 13:19 UTC, Toralf Förster
Details
net-vpn:pptpd-1.4.0-r3:20230423-131839.log (net-vpn:pptpd-1.4.0-r3:20230423-131839.log,14.85 KB, text/plain)
2023-04-23 13:19 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.33 KB, application/x-bzip)
2023-04-23 13: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 2023-04-23 13:19:35 UTC
too long lines were shrinked:

for d in plugins; do make -j4 --jobserver-auth=fifo:/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/GMfifo25 -C $d all; done
make[2]: Entering directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0/plugins'
make[2]: warning: -j4 forced in submake: resetting jobserver mode.
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.    -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o pptpd.o pptpd.c
x86_64-pc-linux-gnu-gcc -o pptpd-logwtmp.so -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.    -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o configfile.o configfile.c
pptpd-logwtmp.c:17:23: error: VERSION undeclared here (not in a function)
   17 | char pppd_version[] = VERSION;
      |                       ^~~~~~~

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

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

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

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-1.69.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.6_p10 [openjdk-17]
2)	OpenJDK 8.362_p09 [openjdk-8]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.2 *
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit 9e08320280b7ce41603e269070610f92dad0f66a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 23 12:01:58 2023 +0000

    2023-04-23 12:01:57 UTC

emerge -qpvO net-vpn/pptpd
[ebuild  N    ] net-vpn/pptpd-1.4.0-r3  USE="-gre-extreme-debug -tcpd"
Comment 1 Toralf Förster gentoo-dev 2023-04-23 13:19:36 UTC
Created attachment 860626 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-23 13:19:37 UTC
Created attachment 860627 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-23 13:19:39 UTC
Created attachment 860628 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-23 13:19:40 UTC
Created attachment 860629 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-23 13:19:41 UTC
Created attachment 860630 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-23 13:19:42 UTC
Created attachment 860631 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-23 13:19:42 UTC
Created attachment 860632 [details]
net-vpn:pptpd-1.4.0-r3:20230423-131839.log
Comment 8 Toralf Förster gentoo-dev 2023-04-23 13:19:43 UTC
Created attachment 860633 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-04-28 20:51:59 UTC
The bug has been closed via the following commit(s):

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

commit ba13e6934df6244c76a02674ae55c81af2716c5d
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-04-28 20:50:35 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-04-28 20:50:35 +0000

    net-vpn/pptpd: fix build with ppp-2.5.0
    
    Closes: https://bugs.gentoo.org/904877
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-vpn/pptpd/files/pptpd-1.4.0-ppp-2.5.0.patch | 83 +++++++++++++++++++++++++
 net-vpn/pptpd/pptpd-1.4.0-r3.ebuild             | 29 +++++----
 2 files changed, 97 insertions(+), 15 deletions(-)