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

Bug 129466

Summary: emerging kde-base/kcontrol-3.5.2 fails
Product: Gentoo Linux Reporter: Stefan Kögl <koeglstefan>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: VERIFIED FIXED    
Severity: critical    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Kögl 2006-04-10 05:10:22 UTC
emerging [ebuild  N    ] kde-base/kcontrol-3.5.2  USE="opengl ssl -arts -debug -ieee1394 -kdeenablefinal -logitech-mouse -xinerama" 0 kB

as a dependency of media-sound/amarok-1.3.9  with kde-useflag set fails with the following error

/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-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 -Wun def -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer- arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops  -fprefetch-loop-arrays -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_TRANS LATION  -c -o crypto.lo `test -f 'crypto.cpp' || echo './'`crypto.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CON
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-04-10 05:21:43 UTC
you didn't post an error.
Comment 2 Stefan Kögl 2006-04-10 05:28:52 UTC
there something missing (probably an error during submitting), I'm currently trying to emerge again. I'll add the error-message asap

Comment 3 Stefan Kögl 2006-04-10 05:47:02 UTC
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-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 -O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays -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 crypto.lo `test -f 'crypto.cpp' || echo './'`crypto.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-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 -O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays -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 certexport.lo `test -f 'certexport.cpp' || echo './'`certexport.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-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 -O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays -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 kdatetimedlg.lo `test -f 'kdatetimedlg.cpp' || echo './'`kdatetimedlg.cpp
In file included from /usr/kde/3.5/include/ksslinfodlg.h:28,
                 from /usr/kde/3.5/include/ksslall.h:24,
                 from crypto.cpp:87:
/usr/kde/3.5/include/ksslcertificate.h:61: error: conflicting declaration 'struct X509'
/usr/include/openssl/ossl_typ.h:109: error: 'X509' has a previous declaration as `typedef struct x509_st X509'
In file included from /usr/kde/3.5/include/ksslall.h:34,
                 from crypto.cpp:87:
/usr/kde/3.5/include/ksslpkcs7.h:35: error: conflicting declaration 'struct PKCS7'
/usr/include/openssl/pkcs7.h:217: error: 'PKCS7' has a previous declaration as `typedef struct pkcs7_st PKCS7'
In file included from /usr/kde/3.5/include/ksslall.h:35,
                 from crypto.cpp:87:
/usr/kde/3.5/include/ksslpkcs12.h:36: error: conflicting declaration 'struct EVP_PKEY'
/usr/include/openssl/ossl_typ.h:107: error: 'EVP_PKEY' has a previous declaration as `typedef struct evp_pkey_st EVP_PKEY'
crypto.cpp: In member function `void KCryptoConfig::slotCAImport()':
crypto.cpp:1878: error: 'class KOpenSSLProxy' has no member named 'X509_STORE_new'
crypto.cpp:1879: error: 'class KOpenSSLProxy' has no member named 'X509_STORE_add_lookup'
crypto.cpp:1879: error: 'class KOpenSSLProxy' has no member named 'X509_LOOKUP_file'
crypto.cpp:1882: error: 'class KOpenSSLProxy' has no member named 'X509_LOOKUP_ctrl'
crypto.cpp:1885: error: 'class KOpenSSLProxy' has no member named 'sk_num'
crypto.cpp:1886: error: 'class KOpenSSLProxy' has no member named 'sk_value'
crypto.cpp:1955: error: 'class KOpenSSLProxy' has no member named 'X509_STORE_free'
crypto.cpp:2027: error: 'class KOpenSSLProxy' has no member named 'X509_STORE_free'
make[3]: *** [crypto.lo] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kcontrol-3.5.2/work/kcontrol-3.5.2/kcontrol/crypto'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kcontrol-3.5.2/work/kcontrol-3.5.2/kcontrol'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kcontrol-3.5.2/work/kcontrol-3.5.2'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kcontrol-3.5.2 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  kcontrol-3.5.2.ebuild, line 52:   Called kde-meta_src_compile
  kde-meta.eclass, line 408:   Called kde_src_compile
  kde.eclass, line 113:   Called kde_src_compile 'all'
  kde.eclass, line 230:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 226:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


Comment 4 Stefan Kögl 2006-04-10 05:47:23 UTC
steve ~ # emerge --info
Portage 2.1_pre7-r4 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 Genuine Intel(R) CPU 3.06GHz
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_EN.UTF-8"
LC_ALL="de_AT.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bash-completion berkdb bitmap-fonts cairo cdr crypt cups doc dri dvd dvdr eds emboss encode foomaticdb fortran gcj gdbm gif gnome gstreamer gtk gtk2 imlib isdnlog java jikes jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png pppd python quicktime readline sdl spell sse sse2 ssl tcpd tetex threads truetype truetype-fonts type1-fonts unicode vorbis xml2 xmms xv zlib elibc_glibc input_devices_kbd input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_vga video_cards_fglrx video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2006-04-10 05:53:57 UTC
can you post the output of "emerge -pv kdelibs"
Comment 6 Stefan Kögl 2006-04-10 05:58:35 UTC
steve ~ # emerge -pv kdelibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdelibs-3.5.2-r2  USE="alsa -acl -arts -cups -debug -doc -jpeg2k -kdeenablefinal -kerberos -openexr -spell -ssl -tiff -xinerama -zeroconf" 0 kB

Total size of downloads: 0 kB
steve ~ #
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2006-04-10 06:04:40 UTC
I guess I'm a little confused why your kdelibs has "-ssl" and your USE flags in your make.conf have "ssl".  Did you disable ssl in kdelibs for some reason?

I think this is what's causing your error.
Comment 8 Stefan Kögl 2006-04-10 06:11:25 UTC
I removed the "-ssl" from /etc/portage/package.use (I can't remember why I removed it and I didn't add a comment. Probably I didn't wan't KDE to become too bloated, because I'm a Gnome user and just need a few KDE-libs.)

I'll do a `emerge --oneshot kdelibs kcontrol` and post the results.
Comment 9 Stefan Kögl 2006-04-10 11:33:43 UTC
worked, thanks a lot!
Comment 10 Stefan Kögl 2006-04-10 11:34:15 UTC
closing bug