Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624578 - net-voip/yate-5.5.0-r1 : h323chan.cpp:3394:5: error: PTrace has not been declared
Summary: net-voip/yate-5.5.0-r1 : h323chan.cpp:3394:5: error: PTrace has not been de...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Radio Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-11 17:57 UTC by Toralf Förster
Modified: 2017-09-21 02:05 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.55 KB, text/plain)
2017-07-11 17:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,196.92 KB, text/plain)
2017-07-11 17:57 UTC, Toralf Förster
Details
environment (environment,102.82 KB, text/plain)
2017-07-11 17:57 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.47 KB, application/x-bzip)
2017-07-11 17:57 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.40 KB, application/x-bzip)
2017-07-11 17:57 UTC, Toralf Förster
Details
net-voip:yate-5.5.0-r1:20170711-043756.log (net-voip:yate-5.5.0-r1:20170711-043756.log,70.95 KB, text/plain)
2017-07-11 17:57 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.46 KB, application/x-bzip)
2017-07-11 17:57 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 2017-07-11 17:57:22 UTC
x86_64-pc-linux-gnu-g++ -Wall   -I.. -I.. -O2 -pipe -march=native -Wall -Wno-overloaded-virtual  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -rdynamic -shared -Wl,--unresolved-symbols=ignore-in-shared-libs -Wl,--retain-symbols-file,/dev/null -Wl,-O1 -Wl,--as-needed -o h323chan.yate  -I/usr/include -DP_64BIT -DPTRACING=0 -DPASN_NOPRINTON -DPASN_LEANANDMEAN -D_REENTRANT -fno-exceptions -I/usr/include/openh323 h323chan.cpp  -L.. -lyate  -L/usr/lib64 -lopenh323 -L/usr/lib64 -lpt
h323chan.cpp: In member function ‘virtual void {anonymous}::H323Driver::initialize()’:
h323chan.cpp:3394:5: error: ‘PTrace’ has not been declared
     PTrace::Initialise(dbg,0,PTrace::Blocks | PTrace::Timestamp
     ^~~~~~
h323chan.cpp:3394:30: error: ‘PTrace’ has not been declared

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_20170706-210712

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
  [2]   ruby22 (with Rubygems)
Comment 1 Toralf Förster gentoo-dev 2017-07-11 17:57:26 UTC
Created attachment 483146 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-11 17:57:29 UTC
Created attachment 483148 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-11 17:57:32 UTC
Created attachment 483150 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-11 17:57:35 UTC
Created attachment 483152 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-11 17:57:38 UTC
Created attachment 483154 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-07-11 17:57:41 UTC
Created attachment 483156 [details]
net-voip:yate-5.5.0-r1:20170711-043756.log
Comment 7 Toralf Förster gentoo-dev 2017-07-11 17:57:45 UTC
Created attachment 483158 [details]
temp.tbz2
Comment 8 deference 2017-07-21 02:33:17 UTC
I'm also experiencing this bug.
In case you've not yet figured it out, it's due to USE h323 being set.
Comment 9 Oleh 2017-09-21 02:05:29 UTC
this is a bit of what is going on:
h323chan.cpp using PTrace class from net-libs/ptlib. This class defined in object.h header in ptlib. yate h323chan.cpp only including ptlib.h and not object.h and for the following reason – newer version of ptlib.h header thats from newer ptlib (and which is not present in portage tree) automatically inludes object.h. Older, and the only version of ptlib is in portage tree, does not. manually including object.h from ptlib-2.10.11 in yate's h323chan.cpp does not work as it expects newer object.h. For some reason, newer versions of ptlib versions (they were masked) removed and only 2.10.11 kept. The fix for this would be:
1. update to newer ptlib
2. mask of h323 use for yate ebuild as there is no working ptlib versions in portage tree at all.
uptream version of ptlib is 2.17.6