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

Bug 738038

Summary: net-dialup/accel-ppp-1.12.0-r1 : /.../statCore.c: error: _SC_PAGE_SIZE undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sergey Popov <pinkbyte>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-dialup:accel-ppp-1.12.0-r1:20200819-100002.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-08-19 18:52:47 UTC
      |                            ^~~~~~~
      |                            sscanf
/var/tmp/portage/net-dialup/accel-ppp-1.12.0-r1/work/accel-ppp-1.12.0/accel-pppd/extra/net-snmp/statCore.c:114:36: error: ‘_SC_PAGE_SIZE’ undeclared (first use in this function)
  114 |  unsigned long page_size = sysconf(_SC_PAGE_SIZE);
      |                                    ^~~~~~~~~~~~~
/var/tmp/portage/net-dialup/accel-ppp-1.12.0-r1/work/accel-ppp-1.12.0/accel-pppd/extra/net-snmp/statCore.c:114:36: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200813-172142

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-8]
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Aug 19 09:05:41 AM UTC 2020

emerge -qpvO net-dialup/accel-ppp
[ebuild  N    ] net-dialup/accel-ppp-1.12.0-r1  USE="ipoe snmp -debug -doc -lua -postgres -radius -shaper -valgrind"
Comment 1 Toralf Förster gentoo-dev 2020-08-19 18:52:49 UTC
Created attachment 655518 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-19 18:52:51 UTC
Created attachment 655520 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-08-19 18:52:52 UTC
Created attachment 655522 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-08-19 18:52:54 UTC
Created attachment 655524 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-08-19 18:52:55 UTC
Created attachment 655526 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-19 18:52:57 UTC
Created attachment 655528 [details]
net-dialup:accel-ppp-1.12.0-r1:20200819-100002.log
Comment 7 Toralf Förster gentoo-dev 2020-08-19 18:52:58 UTC
Created attachment 655530 [details]
temp.tbz2
Comment 8 Sergey Popov gentoo-dev 2021-05-17 08:58:14 UTC
Can not reproduce with current in-tree versions