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

Bug 253575

Summary: [kde-testing overlay] kde-base/korganizer-4.1.87: This package can't be built with kontact USE flag
Product: Gentoo Linux Reporter: Ronan Arraes Jardim Chagas <ronisbr>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ronan Arraes Jardim Chagas 2009-01-03 17:39:11 UTC
When I try to build kde-base/korganizer-4.1.87 with kontact USE flag enabled, it crashes. If I remove this USE flag, the build process finishes without problem.

Reproducible: Always

Steps to Reproduce:
1. Add kontact USE flag for kde-base/korganizer-4.1.87 (from kde-testing overlay).
2. Try to emerge it.

Actual Results:  
It gives the error:

sed: não foi possível ler kontact/plugins/planner/CMakeLists.txt: Arquivo ou diretório não encontrado
 * 
 * ERROR: kde-base/korganizer-4.1.87 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 3691:  Called die
 * The specific snippet of code:
 *           sed -i -e's/kaddressbookprivate ${KDE4_KCAL_LIBS}/${KDE4_KCAL_LIBS}/' kontact/plugins/planner/CMakeLists.txt || die "Failed to remove kaddressbookprivate from link";
 *  The die message:
 *   Failed to remove kaddressbookprivate from link
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/korganizer-4.1.87/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/korganizer-4.1.87/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/portage/local/layman/kde-testing/eclass/kde4-meta.eclass
 *   /usr/portage/local/layman/kde-testing/eclass/kde4-base.eclass
 *   /usr/portage/local/layman/kde-testing/eclass/kde4-functions.eclass
 * 
 
>>> Failed to emerge kde-base/korganizer-4.1.87, Log file:
 
>>>  '/var/tmp/portage/kde-base/korganizer-4.1.87/temp/build.log'

The translation for: "sed: não foi possível ler kontact/plugins/planner/CMakeLists.txt: Arquivo ou diretório não encontrado" is:
"sed: it wasn't possible to read kontact/plugins/planner/CMakeLists.txt: File or directory not found"

When I looked at the work directory, I saw that this folder: kontact/plugins/planner really doesn't exists.

Expected Results:  
It should be installed with and without kontact USE flag.

Portage 2.2_rc20 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-50-with-glibc2.0
Timestamp of tree: Fri, 02 Jan 2009 15:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ "
LANG="pt_BR"
LC_ALL="pt_BR"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde-testing"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl alsa apache2 audiofile bash-completion berkdb bzip2 cdr cdrparanoia cli cracklib crypt cups dbus dri dvd dvdr fortran ftp gdbm gif gnome gpm gtk gtk2 hal iconv imagemagick ipv6 isdnlog java javascript jpeg kde kdeprefix midi mp3 msn mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd python qt4 quicktime readline reflection samba sdl session spl ssl swat sysfs tcpd truetype unicode usb vorbis win32codecs wma x86 xcomposite xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" CAMERAS="ptp2 canon sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-03 21:51:01 UTC
Fixed
Comment 2 Ronan Arraes Jardim Chagas 2009-01-04 23:40:39 UTC
Yes, I could built it with kontact USE flag now.
Thanks Tomáš Chvátal.