pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45476: devel/libthrift 0.7.0 does not compile on DragonFly BSD



>Number:         45476
>Category:       pkg
>Synopsis:       devel/libthrift 0.7.0 does not compile on DragonFly BSD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 16 10:40:00 +0000 2011
>Originator:     Samuel J. Greear
>Release:        
>Organization:
DragonFly BSD
>Environment:
DragonFly df.thesjg.com 2.13-DEVELOPMENT DragonFly 
v2.13.0.14.g01c78-DEVELOPMENT #0: Sun Oct  9 22:01:03 MDT 2011     
sjg%df.thesjg.com@localhost:/usr/obj/usr/src/sys/DEV  x86_64
>Description:
lib/cpp/src/transport/TSSLSocket.h needs struct sockaddr_storage to be defined, 
it should include sys/socket.h. As a result it blows up on DragonFly thusly:

In file included from src/transport/TSSLServerSocket.cpp:21:
src/transport/TSSLSocket.h:273: error: ISO C++ forbids declaration of 
'sockaddr_storage' with no type
src/transport/TSSLSocket.h:273: error: expected ',' or '...' before '&' token
src/transport/TSSLSocket.h:298: error: ISO C++ forbids declaration of 
'sockaddr_storage' with no type
src/transport/TSSLSocket.h:298: error: expected ',' or '...' before '&' token
src/transport/TSSLSocket.h:298: error: 'virtual 
apache::thrift::transport::AccessManager::Decision 
apache::thrift::transport::AccessManager::verify(int)' cannot be overloaded
src/transport/TSSLSocket.h:273: error: with 'virtual 
apache::thrift::transport::AccessManager::Decision 
apache::thrift::transport::AccessManager::verify(int)'
src/transport/TSSLSocket.h:307: error: ISO C++ forbids declaration of 
'sockaddr_storage' with no type
src/transport/TSSLSocket.h:307: error: expected ',' or '...' before '&' token
src/transport/TSSLSocket.h:309: error: ISO C++ forbids declaration of 
'sockaddr_storage' with no type
src/transport/TSSLSocket.h:309: error: expected ',' or '...' before '&' token
src/transport/TSSLSocket.h:309: error: 
'apache::thrift::transport::AccessManager::Decision 
apache::thrift::transport::DefaultClientAccessManager::verify(int)' cannot be 
overloaded
src/transport/TSSLSocket.h:307: error: with 
'apache::thrift::transport::AccessManager::Decision 
apache::thrift::transport::DefaultClientAccessManager::verify(int)'
gmake[4]: *** [TSSLServerSocket.lo] Error 1
gmake[4]: *** Waiting for unfinished jobs....
gmake[4]: Leaving directory `/tmp/devel/libthrift/work/thrift-0.7.0/lib/cpp'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/devel/libthrift/work/thrift-0.7.0/lib/cpp'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/devel/libthrift/work/thrift-0.7.0/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/devel/libthrift/work/thrift-0.7.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/libthrift
>How-To-Repeat:

>Fix:
http://evilprojects.net/dragonflybsd/pkgsrc/libthrift.patch



Home | Main Index | Thread Index | Old Index