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

Bug 486166

Summary: =net-voip/yate-4.3.0.1 - Doesn't install h323 support.
Product: Gentoo Linux Reporter: JajaComp <JajaComp>
Component: Current packagesAssignee: Gentoo Radio project <radio>
Status: CONFIRMED ---    
Severity: normal CC: kripton, zerochaos
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description JajaComp 2013-09-27 08:39:39 UTC
When i install yate with keyword h323 - yate don't found h323 and install without him.

Reproducible: Always

Steps to Reproduce:
1. USE=h323 emerge yate
2. run yate
3. yate running without h323 support
Actual Results:  
when yate configured - 
checking for Pwlib in yes... no  RTTI: none


Expected Results:  
when yate configured - 
checking for Pwlib in /usr... installed 2.10.10 RTTI: none
checking for OpenH323 in /usr... installed 1.25.0


I fix it next:
1) from ptlib-2.10.10.ebuild remove:
        $(use_enable debug exceptions) \
        $(use_enable debug memcheck) \
        $(use_enable debug tracing) \
2) run "ebuild ptlib-2.10.10.ebuild manifest"
3) from yate-4.3.0.1.ebuild remove:
        $(use_with h323 openh323) \
        $(use_with h323 pwlib) \
4) run "ebuild yate-4.3.0.1.ebuild manifest"
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-27 21:33:24 UTC
Why to remove the debug lines? Does it perhaps need to depend on [-debug]?
Comment 2 JajaComp 2013-09-29 19:21:06 UTC
If not remove debug lines then yate have error:


mkdir -p client && x86_64-pc-linux-gnu-g++ -Wall   -I.. -I.. -march=core2 -mtune=generic -O2 -pipe -fno-check-new  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -export-dynamic -shared -Wl,--unresolved-symbols=ignore-in-shared-libs -Wl,--retain-symbols-file,/dev/null -Wl,-O1 -Wl,--as-needed -o client/osschan.yate   client/osschan.cpp  -L.. -lyate  
client/osschan.cpp: In member function ‘virtual long unsigned int {anonymous}::OssConsumer::Consume(const TelEngine::DataBlock&, long unsigned int, long unsigned int)’:
client/osschan.cpp:311:54: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-g++ -Wall   -I.. -I.. -march=core2 -mtune=generic -O2 -pipe -fno-check-new  -fno-exceptions -fPIC -DHAVE_GCC_FORMAT_CHECK -DHAVE_BLOCK_RETURN  -export-dynamic -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:3369:5: error: ‘PTrace’ has not been declared
h323chan.cpp:3369:30: error: ‘PTrace’ has not been declared
h323chan.cpp:3369:47: error: ‘PTrace’ has not been declared
h323chan.cpp:3370:4: error: ‘PTrace’ has not been declared
h323chan.cpp:3370:21: error: ‘PTrace’ has not been declared
make[1]: *** [h323chan.yate] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-voip/yate-4.3.0.1/work/yate/modules'
make: *** [modules] Error 2
 * ERROR: net-voip/yate-4.3.0.1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-voip/yate-4.3.0.1'`,
 * the complete build log and the output of `emerge -pqv '=net-voip/yate-4.3.0.1'`.
 * The complete build log is located at '/var/tmp/portage/net-voip/yate-4.3.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-voip/yate-4.3.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-voip/yate-4.3.0.1/work/yate'
 * S: '/var/tmp/portage/net-voip/yate-4.3.0.1/work/yate'

>>> Failed to emerge net-voip/yate-4.3.0.1, Log file:

>>>  '/var/tmp/portage/net-voip/yate-4.3.0.1/temp/build.log'
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2015-09-23 20:51:48 UTC
I'm not even sure what is going on here, or if this is a ptlib or yate issue.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2015-09-30 18:09:00 UTC
fixed h323plus to dep on [-debug] and all seems good for that much.  yate still does not build