From: Dominic Fandrey on
Apparently ASN1_METHOD has long been deprecated and now
removed. No idea what to do about it. I cannot switch back
to base system ssl, without breaking a lot of other ports.

/bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../dcop -I../../kdecore -I../../kjs -I../../kdecore/network -I../../kwallet/client -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -fno-strict-aliasing -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kssl.lo -MD -MP -MF .deps/kssl.Tpo -c -o kssl.lo kssl.cc
In file included from kssl.cc:47:
../kopenssl.h:453: error: ISO C++ forbids declaration of 'ASN1_METHOD' with no type
../kopenssl.h:453: error: expected ';' before '*' token
../kopenssl.h:526: error: expected ';' before '(' token
../kopenssl.h:532: error: 'STACK' has not been declared
../kopenssl.h:538: error: 'STACK' has not been declared
../kopenssl.h:544: error: expected ';' before '(' token
../kopenssl.h:550: error: ISO C++ forbids declaration of 'STACK' with no type
../kopenssl.h:550: error: expected ';' before '*' token
../kopenssl.h:556: error: 'STACK' has not been declared
../kopenssl.h:562: error: ISO C++ forbids declaration of 'STACK' with no type
../kopenssl.h:562: error: expected ';' before '*' token
../kopenssl.h:828: error: ISO C++ forbids declaration of 'STACK' with no type
../kopenssl.h:828: error: expected ';' before '*' token
../kopenssl.h:829: error: 'STACK' has not been declared
kssl.cc: In member function 'void KSSL::setPeerInfo()':
kssl.cc:616: error: 'class KOpenSSLProxy' has no member named 'sk_dup'
gmake[5]: *** [kssl.lo] Error 1
gmake[5]: Leaving directory `/usr/obj/mobileKamikaze.norad/amd64/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio/kssl'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/obj/mobileKamikaze.norad/amd64/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio/kssl'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/obj/mobileKamikaze.norad/amd64/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio/kssl'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/obj/mobileKamikaze.norad/amd64/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10/kio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/mobileKamikaze.norad/amd64/usr/ports/x11/kdelibs3/work/kdelibs-3.5.10'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdelibs3.

===>>> make failed for x11/kdelibs3
===>>> Aborting update
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Dominic Fandrey on
On 05/06/2010 20:34, Dominic Fandrey wrote:
> Apparently ASN1_METHOD has long been deprecated and now
> removed. No idea what to do about it. I cannot switch back
> to base system ssl, without breaking a lot of other ports.
>
> /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../dcop -I../../kdecore -I../../kjs -I../../kdecore/network -I../../kwallet/client -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=nocona -fno-strict-aliasing -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kssl.lo -MD -MP -MF .deps/kssl.Tpo -c -o kssl.lo kssl.cc
> In file included from kssl.cc:47:
> ./kopenssl.h:453: error: ISO C++ forbids declaration of 'ASN1_METHOD' with no type
> ./kopenssl.h:453: error: expected ';' before '*' token
> ./kopenssl.h:526: error: expected ';' before '(' token
> ...

I finally forced kdelibs3 to build:

pkg_info -qL openssl-1.0.0_2 | xargs rm
portmaster -D x11/kdelibs3
portmaster -D openssl-1.0.0_2

--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"