Opened 14 years ago

Closed 14 years ago

#25865 closed defect (duplicate)

kdelibs3: doesn't build with openssl 1.0.0a

Reported by: mkae (Marko Käning) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: takanori@…, ryandesign (Ryan Carsten Schmidt)
Port: kdelibs3

Description

When I try to upgrade kdelibs3 the build fails like this:

.
.
.
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/kssl.cc:47:
./kio/kssl/kopenssl.h:453: error: ISO C++ forbids declaration of 'ASN1_METHOD' with no type
./kio/kssl/kopenssl.h:453: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:526: error: expected ';' before '(' token
./kio/kssl/kopenssl.h:532: error: 'STACK' has not been declared
./kio/kssl/kopenssl.h:538: error: 'STACK' has not been declared
./kio/kssl/kopenssl.h:544: error: expected ';' before '(' token
./kio/kssl/kopenssl.h:550: error: ISO C++ forbids declaration of 'STACK' with no type
./kio/kssl/kopenssl.h:550: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:556: error: 'STACK' has not been declared
./kio/kssl/kopenssl.h:562: error: ISO C++ forbids declaration of 'STACK' with no type
./kio/kssl/kopenssl.h:562: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:828: error: ISO C++ forbids declaration of 'STACK' with no type
./kio/kssl/kopenssl.h:828: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:829: error: 'STACK' has not been declared
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/kssl.cc: In member function 'void KSSL::setPeerInfo()':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/kssl.cc:616: error: 'class KOpenSSLProxy' has no member named 'sk_dup'
Error creating ./kio/kssl/kssl.lo. Exit status 1.
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I./kio/kssl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kwallet/client -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/dcop -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/libltdl -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdefx -I./kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdecore/network -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kdeui -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kio -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kfile -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10 -I/opt/local/lib/qt3/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -DQT_THREAD_SUPPORT -I/usr/include/gssapi -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Os -fPIC -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fPIC -DPIC -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/ksslsettings.cc -o ./kio/kssl/.libs/ksslsettings.o -Wp,-MD,./kio/kssl/.deps/ksslsettings.TUlo
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/ksslsettings.cc:47:
./kio/kssl/kopenssl.h:453: error: ISO C++ forbids declaration of 'ASN1_METHOD' with no type
./kio/kssl/kopenssl.h:453: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:526: error: expected ';' before '(' token
./kio/kssl/kopenssl.h:532: error: 'STACK' has not been declared
./kio/kssl/kopenssl.h:538: error: 'STACK' has not been declared
./kio/kssl/kopenssl.h:544: error: expected ';' before '(' token
./kio/kssl/kopenssl.h:550: error: ISO C++ forbids declaration of 'STACK' with no type
./kio/kssl/kopenssl.h:550: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:556: error: 'STACK' has not been declared
./kio/kssl/kopenssl.h:562: error: ISO C++ forbids declaration of 'STACK' with no type
./kio/kssl/kopenssl.h:562: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:828: error: ISO C++ forbids declaration of 'STACK' with no type
./kio/kssl/kopenssl.h:828: error: expected ';' before '*' token
./kio/kssl/kopenssl.h:829: error: 'STACK' has not been declared
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/ksslsettings.cc: In member function 'QString KSSLSettings::getCipherList()':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/ksslsettings.cc:157: error: no matching function for call to 'KOpenSSLProxy::sk_num(_STACK*)'
./kio/kssl/kopenssl.h:538: note: candidates are: int KOpenSSLProxy::sk_num(int*)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kssl/ksslsettings.cc:159: error: 'class KOpenSSLProxy' has no member named 'sk_value'
Error creating ./kio/kssl/ksslsettings.lo. Exit status 1.
kdelibs3-3.5.10-8 make failed!
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all " returned error 1
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for kdelibs3): org.macports.destroot org.macports.build
Log for kdelibs3 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/main.log
DEBUG: couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (4)

comment:1 Changed 14 years ago by mkae (Marko Käning)

Cc: MK-MacPorts@… added

Cc Me!

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; MK-MacPorts@… removed
Priority: HighNormal
Summary: kdelibs3: doesn't buildkdelibs3: doesn't build with openssl 1.0.0a

High priority tickets should only be filed by members of the MacPorts team.

As the reporter, you do not need to Cc yourself.

I believe this is the problem that was reported in #25628 and fixed a few weeks ago. Please selfupdate, upgrade outdated ports, and try again.

sudo port clean kdelibs3
sudo port selfupdate
sudo port upgrade outdated

comment:3 Changed 14 years ago by mkae (Marko Käning)

I am sorry, I didn't notice that I had been modified the priority.

My goodness, I tried to recompile so often, but forgot to issue a "port clean"...

Now all worked out fine!

Thanks for the hint. Will try to keep this in mind for the future.

So, this ticket can be closed!

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Ok, I'm glad you got it working.

Note: See TracTickets for help on using tickets.