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

Bug 117860

Summary: kde-base/smoke fails compiling with static void x_QGlobalSpace::x_305(Smoke::StackItem*)
Product: Gentoo Linux Reporter: Adriaan Leijnse <lordmyth>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: jakub, lordmyth, paczesiowa
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adriaan Leijnse 2006-01-05 02:05:59 UTC
kde-base/smoke doesn't compile, and along with it the ruby derived kde packages qtruby and korundum. Here's emerge's output:
-------------------------------------------
...
/bin/sh ../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O1 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o x_13.lo `test -f 'x_13.cpp' || echo './'`x_13.cpp 
x_13.cpp:6198: warning: unused parameter 'args' 
x_13.cpp:8901: warning: unused parameter 'args' 
/bin/sh ../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O1 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o x_14.lo `test -f 'x_14.cpp' || echo './'`x_14.cpp 
/bin/sh ../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O1 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o x_15.lo `test -f 'x_15.cpp' || echo './'`x_15.cpp 
/bin/sh ../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O1 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o x_16.lo `test -f 'x_16.cpp' || echo './'`x_16.cpp 
x_16.cpp: In static member function 'static void x_QGlobalSpace::x_305(Smoke::StackItem*)': 
x_16.cpp:4663: error: 'ASN1_UTCTIME' was not declared in this scope 
x_16.cpp:4663: error: expected primary-expression before ')' token 
x_16.cpp:4663: error: 'ASN1_UTCTIME_QString' was not declared in this scope 
x_16.cpp: In static member function 'static void x_QGlobalSpace::x_306(Smoke::StackItem*)': 
x_16.cpp:4668: error: 'ASN1_UTCTIME' was not declared in this scope 
x_16.cpp:4668: error: expected primary-expression before ')' token 
x_16.cpp:4668: error: 'ASN1_UTCTIME_QDateTime' was not declared in this scope 
x_16.cpp: In static member function 'static void x_QGlobalSpace::x_307(Smoke::StackItem*)': 
x_16.cpp:4673: error: 'ASN1_INTEGER' was not declared in this scope 
x_16.cpp:4673: error: expected primary-expression before ')' token 
x_16.cpp:4673: error: 'ASN1_INTEGER_QString' was not declared in this scope 
make[3]: *** [x_16.lo] Error 1 
make[3]: Leaving directory `/var/tmp/portage/smoke-3.5.0/work/smoke-3.5.0/smoke/kde' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/var/tmp/portage/smoke-3.5.0/work/smoke-3.5.0/smoke' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/smoke-3.5.0/work/smoke-3.5.0' 
make: *** [all] Error 2 

!!! ERROR: kde-base/smoke-3.5.0 failed. 
!!! Function kde_src_compile, Line 175, Exitcode 2 
!!! died running emake, kde_src_compile:make 
!!! If you need support, post the topmost build error, NOT this status message.
------------------------------------------
and here's my emerge --info:
------------------------------------------
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-gentoo-r6 x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.12.0_pre13 
ccache version 2.4 [enabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.17 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1-r1 
sys-devel/libtool:   1.5.22 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O1 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O1 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" 
USE="amd64 X a52 alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr cegui cg curl dbus devil dvd dvdr eds emboss encode exif expat fam ffmpeg flac foomaticdb gdbm gif glut gmp gtk2 guile hal idn imagemagick imlib jack java jikes jpeg kde kdeenablefinal lcms ldap lzw lzw-tiff mad mikmod mng mp3 mpeg multislot musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcre pdflib png qt quicktime readline sdl soundtouch speex svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales visualization vorbis xine xml2 xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
-----------------------------
I searched like everywhere but nobody seemed to have the same problem... And I'm fairly confident my system is ok, kde-meta is fully installed exceptfor these packages. And kdeaddons-kfile-plugins which doesn't want to compile. But I don't think it's related... (fails with:
----------------------------------------
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-kfile-plugins-3.5.0/work/kdeaddons-kfile-plugins-3.5.0/kfile-plugins/lnk'
Making all in cert
make[3]: Entering directory `/var/tmp/portage/kdeaddons-kfile-plugins-3.5.0/work/kdeaddons-kfile-plugins-3.5.0/kfile-plugins/cert'
/usr/qt/3/bin/moc ./kfile_cert.h -o kfile_cert.moc
/bin/sh ../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O1 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -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  -c -o kfile_cert.lo `test -f 'kfile_cert.cpp' || echo './'`kfile_cert.cpp
kfile_cert.cpp: In function 'KSSLCertificate* readCertFromFile(const QString&)':
kfile_cert.cpp:110: error: 'class KOpenSSLProxy' has no member named 'ERR_clear_error'
kfile_cert.cpp:126: error: 'class KOpenSSLProxy' has no member named 'ERR_clear_error'
kfile_cert.cpp:127: error: 'class KOpenSSLProxy' has no member named 'd2i_X509'
kfile_cert.cpp:130: error: 'class KOpenSSLProxy' has no member named 'X509_free'
kfile_cert.cpp: In member function 'virtual bool CertPlugin::readInfo(KFileMetaInfo&, uint)':
kfile_cert.cpp:156: error: 'class KOpenSSLProxy' has no member named 'ERR_clear_error'
make[3]: *** [kfile_cert.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-kfile-plugins-3.5.0/work/kdeaddons-kfile-plugins-3.5.0/kfile-plugins/cert'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeaddons-kfile-plugins-3.5.0/work/kdeaddons-kfile-plugins-3.5.0/kfile-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeaddons-kfile-plugins-3.5.0/work/kdeaddons-kfile-plugins-3.5.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdeaddons-kfile-plugins-3.5.0 failed.
!!! Function kde_src_compile, Line 175, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.)
----------------------------
Comment 1 Adriaan Leijnse 2006-01-05 02:07:47 UTC
Hum yeah sorry, new to bugzilla... see the rest in the reply
here's my emerge --info:
------------------------------------------
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r2,
2.6.14-gentoo-r6 x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.12.0_pre13 
ccache version 2.4 [enabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.17 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1-r1 
sys-devel/libtool:   1.5.22 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="amd64 ~amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-march=k8 -O1 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=k8 -O1 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" 
USE="amd64 X a52 alsa arts audiofile avi berkdb bitmap-fonts bzip2 cdr cegui cg
curl dbus devil dvd dvdr eds emboss encode exif expat fam ffmpeg flac
foomaticdb gdbm gif glut gmp gtk2 guile hal idn imagemagick imlib jack java
jikes jpeg kde kdeenablefinal lcms ldap lzw lzw-tiff mad mikmod mng mp3 mpeg
multislot musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg
openal opengl pam pcre pdflib png qt quicktime readline sdl soundtouch speex
svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb
userlocales visualization vorbis xine xml2 xpm xv xvid zlib elibc_glibc
kernel_linux userland_GNU" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
-----------------------------
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-01-05 02:24:35 UTC
Seems like some problem with openssl.
Which version are you using?
Comment 3 Adriaan Leijnse 2006-01-05 04:21:22 UTC
(In reply to comment #2)
> Seems like some problem with openssl.
> Which version are you using?
> 
dev-libs/openssl-0.9.7i
Hmm... Let's try with version 0.9.8a
Comment 4 Adriaan Leijnse 2006-01-05 04:40:11 UTC
Nope did'n do anything, I'm trying now with version *7g-r1
Comment 5 Adriaan Leijnse 2006-01-05 04:45:41 UTC
And that didn't do anything too...
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-02-23 08:47:27 UTC
For the smoke issue, I recommend filing the bug at bugs.kde.org and assign to kde-bindings.  Richard's pretty good at figuring these out and getting them fixed.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-16 13:37:39 UTC
Recompile kdelibs w/ USE=ssl and try again.
Comment 8 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-19 04:11:05 UTC
Please reply to comment 7...
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-04-10 17:20:04 UTC
*** Bug 174040 has been marked as a duplicate of this bug. ***
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-10 21:40:57 UTC
another one...
Comment 11 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-27 21:11:21 UTC
Fixed with kdelibs-3.5.6-r7.