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

Bug 768075

Summary: dev-libs/dmalloc-5.5.2-r7: net-dialup/openl2tp-1.8-r2[dmalloc] : /.../stdlib.h: error: expected declaration specifiers or before string constant
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: bircoph, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
net-dialup:openl2tp-1.8-r2:20210131-161342.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-01-31 17:13:06 UTC
      |        ^~~~~~~~~~~~~~~~~
cc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ppp_null.so -shared -O2 -pipe -march=native -fno-diagnostics-color  -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing   -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64  -isystem /usr/include/tirpc  -isystem /usr/include/tirpc -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ppp_null.c
/usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before string constant
  539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
      |              ^~~~~~
/usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before numeric constant

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210123-112139

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.1
Python 3.8.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-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	Sun Jan 31 15:47:51 UTC 2021

emerge -qpvO net-dialup/openl2tp
[ebuild  N    ] net-dialup/openl2tp-1.8-r2  USE="client dmalloc examples -debug -doc -rpc -server -stats"
Comment 1 Toralf Förster gentoo-dev 2021-01-31 17:13:07 UTC
Created attachment 685275 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-31 17:13:09 UTC
Created attachment 685278 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-01-31 17:13:10 UTC
Created attachment 685281 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-01-31 17:13:12 UTC
Created attachment 685284 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-01-31 17:13:13 UTC
Created attachment 685287 [details]
net-dialup:openl2tp-1.8-r2:20210131-161342.log
Comment 6 Toralf Förster gentoo-dev 2021-01-31 17:13:14 UTC
Created attachment 685290 [details]
temp.tar.bz2
Comment 7 Andrew Savchenko gentoo-dev 2021-01-31 20:43:21 UTC
This is actually a problem within dev-libs/dmalloc, not openl2tp. It looks like dmalloc needs a version bump.