Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532294 - kde-misc/plasma-nm-0.9.3.5 with USE="openconnect" doesn't compile against net-misc/openconnect-7.01
Summary: kde-misc/plasma-nm-0.9.3.5 with USE="openconnect" doesn't compile against net...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-11 17:40 UTC by Paulo
Modified: 2015-04-29 17:24 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (compile.output,26.81 KB, text/plain)
2014-12-11 17:43 UTC, Paulo
Details
patch proposal for openconnect support (plasma-mn-openconnect.patch,8.34 KB, patch)
2014-12-23 11:45 UTC, Evgeny Bobkin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo 2014-12-11 17:40:23 UTC
kde-misc/plasma-nm-0.9.3.5 with USE="openconnect" doesn't compile against net-misc/openconnect-7.01
It worked fine with net-misc/openconnect-6.00, but now there's a compile failure

Reproducible: Always

Steps to Reproduce:
1. Have a system with =net-misc/openconnect-7.01 installed
2. Merge =kde-misc/plasma-nm-0.9.3.5 with USE="openconnect"
Actual Results:  
I get a compile failure (log attached)

Expected Results:  
It should have compiled and installed plasma-nm

PHAFmobile ~ # emerge --info
Portage 2.2.15 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.20, 3.18.0-gentoo x86_64)
=================================================================
System uname: Linux-3.18.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3537U_CPU_@_2.00GHz-with-gentoo-2.2
KiB Mem:     8032468 total,   1259744 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Thu, 11 Dec 2014 16:45:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r3
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3-r2
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo hasufell qt kde sabayon luman tlp x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="${CONFIG_PROTECT} /etc /etc/idea/conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/hasufell /var/lib/layman/qt /var/lib/layman/kde /var/lib/layman/sabayon /var/lib/layman/luman /var/lib/layman/tlp /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 64bit X a52 aac acl acpi additions akonadi alsa amd64 amr android ap apm apng archive autotools bash-completion berkdb binary-drivers bittorrent bluetooth branding brnet btrfs bzip2 cairo cdda cddb cdparanoia cdr chm chroma cisco city cli cmake connection-sharing consolekit corefonts cracklib crypt cryptsetup css cups cxx dbus debugger declarative designer designer-plugin desktopglobe dhclient dia dot downloadorder dri dropbox dts dvd dvdr dvi ebook editor eigen emboss encode epspdf equalizer exceptions exif extra extras facebook fam fat fbcon ffmpeg firefox firefox3 flac fontconfig fortran fuse g3dvl gallium gdbm gecko geoip geolocation gif git glamor gles gles1 gles2 gmail gnuplot google google-gadgets googledrive gpm gps graphics graphviz gsm gstreamer gtk gtk3 gudev handbook hddtemp humanities ical iconv id3 id3tag ilbc imagemagick infowidget ios ipfilter ipod ipv6 jabber java6 jemalloc jingle jpeg justify kde kipi kontact kpathsea kvm lame laptop latex lcms libass libkms libnotify libproxy libsamplerate libsecret lm_sensors lyx lzma mad marble mediaplayer mmx mmxext mng modemmanager modules mozilla mp3 mp4 mpeg mplayer mtp multilib musicbrainz nano-syntax ncat ncurses ndiff network networkmanager nlpsolver nls nmap-update nocd nping nptl nsplugin ntfs obex ofa offensive ogg okteta okular openconnect opengl openmp optimized-qmake osdmenu otr p2p pam pango parse-clocks pcre pdf pdfannotextractor pdfimport phonon pixmaps plasma plugins-symlink png policykit ppds ppp profiler ps pstoedit pstricks publishers pulseaudio qalculate qemu qmake qt3support qt4 qthelp quotes rar rdpusb readline real realtime reiser4 reiserfs resolvconf rtc scanner science sdl sdl-image search semantic-desktop session sha512 shine sip smi smp sms sna solver speex spell srtp sse sse2 sse3 sse4 sse41 sse4_1 ssl ssse3 stars startup-notification statistics stats subtitles subversion svg symlink syslog tcpd telepathy templates tex4ht theora threads thumbnail thumbnails tiff tls truetype udev udisks unicode upnp upower usb uxa v4l v4l2 vaapi valgrind vhosts video vim-syntax virtualbox vlc vorbis vpnc wav wifi windeco wireshark wma wmf wv2 wxwidgets x264 xattr xcap xcb xcomposite xetex xft xindy xinerama xml xorg xrandr xscreensaver xv xvid xvmc youtube zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 sonix" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport wiki-publisher" LINGUAS="en_US en pt_BR pt de_DE de es_LA es fr_FR fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Paulo 2014-12-11 17:43:06 UTC
Created attachment 391450 [details]
Build log

This is the result of going to /tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build and typing "make" after the crash. I did this because my -j4 option to portage would hide the error amidst the other compile threads
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-12-11 18:10:11 UTC
There's some recent commits upstream that fix this: http://quickgit.kde.org/?p=plasma-nm.git&a=shortlog&h=eac82f57cd30eb7294dde10832bcd785d6d81ea6

I'll try to do a snapshot soon
Comment 3 Paulo 2014-12-11 18:43:51 UTC
Indeed, applying the patch of the commit linked below solved the problem.

http://quickgit.kde.org/?p=plasma-nm.git&a=commit&h=3e6585fa4dd2fb3d9b59c7704bd3d7ae5b2c4167
Comment 4 Evgeny Bobkin 2014-12-23 11:32:56 UTC
This one hits me as well((
Comment 5 Evgeny Bobkin 2014-12-23 11:37:31 UTC
[...]

In file included from /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/vpn/openconnect/moc_openconnectauthworkerthread.cpp:9:0,
                 from /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/vpn/openconnect/plasmanetworkmanagement_openconnectui_automoc.cpp:5:
/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/vpn/openconnect/../../../plasma-nm-0.9.3.5/vpn/openconnect/openconnectauthworkerthread.h:89:26: error: ‘OPENCONNECT_X509’ has not been dec
lared
     int validatePeerCert(OPENCONNECT_X509 *, const char *);
                          ^
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/CMakeFiles 70
[ 70%] Building CXX object vpn/pptp/CMakeFiles/plasmanetworkmanagement_pptpui.dir/pptp.cpp.o
cd /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/vpn/pptp && /usr/bin/x86_64-pc-linux-gnu-g++  -DMAKE_PLASMANETWORKMANAGEMENT_PPTPUI_LIB -DQT_SHARED -DWITH_MODEMMANAGERQT=0 -DWITH_MODE
MMANAGER_SUPPORT=0 -D_BSD_SOURCE  -DQT_NO_DEBUG -DNDEBUG -march=core-avx-i -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exce
ptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -I/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-n
m-0.9.3.5_build/vpn/pptp -I/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5/vpn/pptp -I/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build -I/var/tmp/portage/kde-misc/plasm
a-nm-0.9.3.5/work/plasma-nm-0.9.3.5 -I/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5/libs -I/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5/libs/editor -I/var/tmp/portage/k
de-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5/libs/editor/widgets -I/usr/include/NetworkManager -I/usr/include/qt4 -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtCore -I/usr/include/K
DE -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/in
clude/qt4/QtScript -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt
4/Qt -I/usr/share/qt4/mkspecs/default    -o CMakeFiles/plasmanetworkmanagement_pptpui.dir/pptp.cpp.o -c /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5/vpn/pptp/pptp.cpp
vpn/openconnect/CMakeFiles/plasmanetworkmanagement_openconnectui.dir/build.make:67: recipe for target 'vpn/openconnect/CMakeFiles/plasmanetworkmanagement_openconnectui.dir/plasmanetworkmanagement_openconnectui_a
utomoc.cpp.o' failed
make[2]: *** [vpn/openconnect/CMakeFiles/plasmanetworkmanagement_openconnectui.dir/plasmanetworkmanagement_openconnectui_automoc.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build'
CMakeFiles/Makefile2:1011: recipe for target 'vpn/openconnect/CMakeFiles/plasmanetworkmanagement_openconnectui.dir/all' failed
make[1]: *** [vpn/openconnect/CMakeFiles/plasmanetworkmanagement_openconnectui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

[...]

[ 87%] Built target plasmanetworkmanagement_l2tpui
Linking CXX shared library ../lib/libplasmanetworkmanagement-internal.so
cd /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/libs && /usr/bin/cmake -E cmake_link_script CMakeFiles/plasmanetworkmanagement-internal.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -march=core-avx-i -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--no-undefined -lc  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libplasmanetworkmanagement-internal.so -o ../lib/libplasmanetworkmanagement-internal.so CMakeFiles/plasmanetworkmanagement-internal.dir/plasmanetworkmanagement-internal_automoc.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/models/appletproxymodel.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/models/editoridentitymodel.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/models/editorproxymodel.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/models/networkitemslist.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/models/networkmodel.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/models/networkmodelitem.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/debug.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/globalconfig.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/handler.cpp.o CMakeFiles/plasmanetworkmanagement-internal.dir/uiutils.cpp.o  -L/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/lib  -L/usr/lib64/qt4 ../lib/libplasmanetworkmanagement-editor.so -L/usr/lib64/qt4 -lNetworkManagerQt -lQtDBus -lQtXml -lQtCore /usr/lib64/libplasma.so.3.0.0 /usr/lib64/libkdecore.so.5.14.3 /usr/lib64/libkdeui.so.5.14.3 /usr/lib64/qt4/libQtNetwork.so /usr/lib64/libkdeui.so.5.14.3 /usr/lib64/libkdecore.so.5.14.3 /usr/lib64/qt4/libQtDBus.so /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtSvg.so /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtGui.so -Wl,-rpath,/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/lib:/usr/lib64/qt4: 
make[2]: Leaving directory '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build/CMakeFiles  42 43 44 45 46 47 48
[ 87%] Built target plasmanetworkmanagement-internal
make[1]: Leaving directory '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build'
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: kde-misc/plasma-nm-0.9.3.5::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=kde-misc/plasma-nm-0.9.3.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-misc/plasma-nm-0.9.3.5::gentoo'`.
 * The complete build log is located at '/var/log/portage/kde-misc:plasma-nm-0.9.3.5:20141223-110946.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5_build'
 * S: '/var/tmp/portage/kde-misc/plasma-nm-0.9.3.5/work/plasma-nm-0.9.3.5'

>>> Failed to emerge kde-misc/plasma-nm-0.9.3.5, Log file:
Comment 6 Evgeny Bobkin 2014-12-23 11:43:45 UTC
Applying the patch suggested in comment #3 fixes the compilation issue
Comment 7 Evgeny Bobkin 2014-12-23 11:45:05 UTC
Created attachment 392270 [details, diff]
patch proposal for openconnect support
Comment 8 Dennis Schridde 2015-01-12 18:21:19 UTC
Persists with net-misc/openconnect-7.02
Comment 9 Dennis Schridde 2015-01-28 08:03:27 UTC
Any news from maintainers?
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2015-04-28 20:34:08 UTC
@KDE any luck to bring the upstream patch to portage please?
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2015-04-29 17:24:01 UTC
Committed with the permission from Michael Palimaka (kensington) on IRC

+  29 Apr 2015; Markos Chandras <hwoarang@gentoo.org>
+  +files/plasma-nm-0.9.3.5-openconnect.patch, plasma-nm-0.9.3.5.ebuild:
+  Add upstream patch to fix build with the latest openconnect. Bug #532294
+