Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518824 - kde-base/krfb-4.13.3-r1 fails to configure with USE="-handbook"
Summary: kde-base/krfb-4.13.3-r1 fails to configure with USE="-handbook"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-02 13:27 UTC by Zhu Sha Zang
Modified: 2014-08-04 15:28 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,2.51 KB, text/x-log)
2014-08-02 13:29 UTC, Zhu Sha Zang
Details
enviroment (environment,142.52 KB, text/plain)
2014-08-02 13:29 UTC, Zhu Sha Zang
Details
info (info,11.53 KB, text/plain)
2014-08-02 13:29 UTC, Zhu Sha Zang
Details
pqv (pqv,92 bytes, text/plain)
2014-08-02 13:31 UTC, Zhu Sha Zang
Details
quick patch for krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch (diffy,514 bytes, patch)
2014-08-02 15:42 UTC, Sebastian Lüttich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zhu Sha Zang 2014-08-02 13:27:08 UTC
Every attempt to compile (upgrade) krfb fail.

Reproducible: Always

Steps to Reproduce:
emerge -u krfb
Actual Results:  
>>> Emerging (1 of 1) kde-base/krfb-4.13.3-r1::gentoo
 * krfb-4.13.3.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking krfb-4.13.3.tar.xz to /var/tmp/portage/kde-base/krfb-4.13.3-r1/work
>>> Source unpacked in /var/tmp/portage/kde-base/krfb-4.13.3-r1/work
>>> Preparing source in /var/tmp/portage/kde-base/krfb-4.13.3-r1/work/krfb-4.13.3 ...
 * Applying krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch ...

 * Failed Patch: krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch !
 *  ( /usr/portage/kde-base/krfb/files/krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/kde-base/krfb-4.13.3-r1/temp/krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch.out

 * ERROR: kde-base/krfb-4.13.3-r1::gentoo failed (prepare phase):
 *   Failed Patch: krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3703:  Called kde4-base_src_prepare
 *   environment, line 2779:  Called cmake-utils_src_prepare
 *   environment, line 1026:  Called _execute_optionally 'src_prepare'
 *   environment, line  526:  Called enable_cmake-utils_src_prepare
 *   environment, line 1338:  Called epatch '/usr/portage/kde-base/krfb/files/krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch'
 *   environment, line 1625:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=kde-base/krfb-4.13.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/krfb-4.13.3-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-base/krfb-4.13.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/krfb-4.13.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-base/krfb-4.13.3-r1/work/krfb-4.13.3'
 * S: '/var/tmp/portage/kde-base/krfb-4.13.3-r1/work/krfb-4.13.3'

>>> Failed to emerge kde-base/krfb-4.13.3-r1, Log file:

>>>  '/var/tmp/portage/kde-base/krfb-4.13.3-r1/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (kde-base/krfb-4.13.3-r1:4/4.13::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/kde-base/krfb-4.13.3-r1/temp/build.log'



Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.15.7-gentoo-asgard x86_64)
=================================================================
System uname: Linux-3.15.7-gentoo-asgard-x86_64-Intel-R-_Core-TM-_i5_CPU_M_460_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3846192 total,    786416 free
KiB Swap:    3036248 total,   2930724 free
Timestamp of tree: Sat, 02 Aug 2014 12:30:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 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.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going=y --with-bdeps=y"
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 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.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 --load-average"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="256-color R X Xaw3d a52 aalib abyss acl acpi action_modeswitch addbookmarks additions addressbook adiummessagestyle adobe-cff adplug ads airplay alac alisp all_sfx alsa amd64 animation-rtl annotations ao aosd apache2 apbs apng applet asf aspell ass assistant asyncns athena atmo audit auto-hinter autoipd autotrace avahi avatars avcodec avformat avx awn background backgrounds bash-completion bashlogger battery bazaar berkdb bineditor bittorrent bl blender blender-game bookmarks branding bs2b bsf bufferevents bzip2 c++0x cairo calendar canna canna-2ch caps captcha captchaforms cb chm cjk cli clientinfo cmake collab color compress compressed-lumas connectivity console consolekit contacts context contrast contrib corefonts cracklib creds cron crypt cryptsetup cscope css csv ctype cuda cue curl cvs cxx daap dap dbi dbus dcc_video dds debugger declarative designer designer-plugin desktopglobe detex devhelp device-mapper dhcp dia dirac diskio djvu dmx dnd dns docbook dot dri dts dv dvbplayer dvbsetup dvd dvdr dvi dvi2tty dvipdfm eap ebook ecap edd egl elbeem embedded emf emotion emovix enca enchant encode eolconv epydoc equalizer escreen espeak ethumb eve excel exif expat extensions extra extras faac faad fakevim fam farp farsight fastscroll fbcon ffmpeg filelog firefox firefox-bookmarks flac flash flickr fontconfig fontforge fonts foomaticdb fortran fortran2003 fpx freetds ftp fuse gallium game-engine games gbm gcj gcl gcrypt gd gdbm geocode geoip geonames gflags ggi gif git gkrellm glade glamor gles1 gles2 glew glib gmail gme gmp gnumeric gnuplot go google googledrive gpg gphoto2 gpl gpm gpsd gpssync gpu grammar graphics graphite graphviz gs gsf gsl gsm gsmloc gstreamer gtalk gtk gtk3 gtkhtml gtkspell gtkstyle gts gudev gui gzip gzip-el hbci hddtemp hdri hesiod highlight hipe hires-icons histman history holidays hostip hpcups hpijs hscolour html htmlreport http httpd httppower humanities hwdb ices iconv icoutils icq id3 id3tag ide idn image imaging imap imlib infinality inkjar inotify iostats ipc iplsrc ipod iptc ipv6 ipython irc isag jabber jack jadetex java javascript jbig jemalloc jingle jit joystick jpeg judy justify kasumi kate kde kdrive kerberos keymap kig-scripting kipi konqueror kpoll ladspa lame lapack laptop lash lastfm lastfmfingerprint lastfmradio latex lcms lensfun libass libcaca libcanberra libevent libffi libkms liblockfile libnotify libssh2 libtiger libv4l libv4l2 libvisual listen-queue live lm_sensors lock logrotate lqr lua lua-cairo lua-imlib luajit luatex lv2 lxde lyx lzma lzo m17n-lib mac mad madde madwifi manual map marble math mathml matplotlib matroska matrox mbox md5 md5sum mdnsresponder-compat melt mercurial messages metacontacts metalink metis mfd-rewrites minizip mlib-update mms mmx mmxext mng moc modules mount mouse mozdom mozilla mozsha1 mp3 mp3tunes mp4 mpd mpeg mplayer mrim mule multilib multimedia multiprocess multislot multitarget multiuser musepack music musicbrainz nano-syntax nas nat nat-pmp ncat ncurses ndiff neXt netbeans netlink netpbm nettle network newmousefocus nlpsolver nls nmap-update nntp nominatim notebook nping npp nptl nsplugin nss numpy nut nvcontrol nvidia ocaml ocr odk ofa offensive offlinehelp ofx ogg ogg123 ogm okteta okular omega oniguruma openal openct opencv opendbx openexr openft opengl openid openinventor openipmi openmedia openmp openpgp openrc opensc opensm openssl opensslcrypt openstreetmap opensync openvpn openxml opera optimisememory optimization optimized-qmake orc origin oscar osdmenu osmesa otr ots ovftool p2p pam pango pcap pcntl pda pdf pdfannotextractor pep8 perforce perl pgf phonehome php physfs playdar player playlist playtools plazes plotutils plugin-autowep plugin-btscan plugin-checksum plugin-doat plugin-dot15d4 plugin-fishlim plugin-ptw plugin-spectools plugin-sysinfo plugin-syslog plugins png pnm pogooglue policykit pop portmon posix postgres postproc postscript powersave ppds ppp prediction privacy privacylists private-headers privatestorage profiler profiling pronounce ps psf pstoedit pstricks publishers publishsubscribe pulseaudio pvr pyflakes pygments pylint pyqt4 python python3 pyx qalculate qdbm qimageblitz qmake qml qq qqwry qrcode qscintilla qt3support qt4 quicklaunch quicktime quotes qwt radio raptor rar rcs rdesktop readline realtime recode redeyes registration remotecontrol remoteosd rendering replaygain resolver reviewboard rfc3779 romio rope rostersearch rpc rplay rss rtc rtf rtmp rtsp rubrica samba sasl scale0tilt scanfolder scanner schroedinger science scim scipy script scripts scrobbler sctp sdk sdl sdl-image sdl-sound sdlaudio sdlgfx seamless-hbars secure-delete security semantic-desktop sendto sensord session shared-dricore shine shorten shout sidebar sip skyhook skype slang slit smbclient smbsharemodes smbtav2 smi smime smp sms smtp smux sna sndfile snmp soap socialweb sockets socks5 sound source sourceview sox sparse speex spell sql sqlite sqlite3 sse sse2 sse3 sse4_1 ssh ssl ssse3 stars startup-notification stats stream stroke strong-optimization subversion svg system-sqlite systemtap t1lib taglib talkfilters tcl tcpd tcpreplay tdb tellico templates tex tex4ht texmacs themes theora thesaurus thin-splines threads thunderbird tidy tiff tinfo tint2conf tk toolame toolbar toolkit-scroll-bars tools tor tordns tproxy truetype tslib tta twitgin twitter twolame udev udisks ukit unicode unique upower urlpicpreview urwid usb utils uvm uxa v4l v8 vaapi valgrind vamp vcd vcdx video view-captcha vim vim-pager vim-syntax visual vix vkontakte vlc vlm vmware-tools vnc voice volpack vorbis vpx vtk wallpapers wav waveout wavpack wddx weather-metar weather-xoap webdav-neon webgl webm webp webrtc-aec whiteboarding wifi winbind wineappdb winpopup wireshark wma wma-fixed wmf word-perfect wordperfect wpg wps wxwidgets wyfv x264 x265 xanim xattr xbase xcap xcomposite xdg xetex xface xforward xfs xft xgetdefault xhtml xim xindy xine xinerama xkb xls xml xmldoclet xmlpatterns xmlreader xmlrpc xmlwriter xmp xmpp xmppuriqueries xnest xorg xorgmodule xosd xpm xps xrandr xrender xscreensaver xterm xv xvfb xvid yahoo yahoo-geo yaz youtube ziffy zip zlib zsh-completion zvbi" 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="lbmethod_bytraffic cgi actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz _default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm unixd socache_shmcb" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ricoh samsung spca50x" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="dibusb-usb1 dibusb-usb2 usb-dib0700" ELIBC="glibc" ENLIGHTENMENT_MODULES="access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" 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="pc" INPUT_DEVICES="keyboard mouse evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy java mobility profiler websvccommon javacard javafx" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa vga v4l fbdev intel modesetting nvidia" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit tee checksum dnetmap echo gradm ipset4"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Zhu Sha Zang 2014-08-02 13:29:31 UTC
Created attachment 382076 [details]
Build log
Comment 2 Zhu Sha Zang 2014-08-02 13:29:45 UTC
Created attachment 382078 [details]
enviroment
Comment 3 Zhu Sha Zang 2014-08-02 13:29:58 UTC
Created attachment 382080 [details]
info
Comment 4 Zhu Sha Zang 2014-08-02 13:31:03 UTC
Created attachment 382082 [details]
pqv
Comment 5 Sebastian Lüttich 2014-08-02 15:42:26 UTC
Created attachment 382090 [details, diff]
quick patch for krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch

Apply the patch to krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch in $FILES and do an "ebuild krfb-4.13.3-r1.ebuild manifest" and compile as usual.
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2014-08-03 17:06:01 UTC
I guess the kde4-eclass causes the problem here by manipulating the cmake file before the CVE patch is applied. So the real fix for this should be to apply the patch before eclass src_prepare
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2014-08-04 15:27:16 UTC
Comment on attachment 382090 [details, diff]
quick patch for krfb-4.12.5-CVE-2014-4607-unbundle-libvncserver.patch

Breaks handbook install.
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2014-08-04 15:28:52 UTC
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes.

+
+  04 Aug 2014; Johannes Huber <johu@gentoo.org> krfb-4.12.5-r1.ebuild,
+  krfb-4.13.3-r1.ebuild:
+  Apply patch before eclass src_prepare, fixes bug #518824.
+

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=615bf8a055a52de8640fbdd61feba364c7abbb17