Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380227 - app-office/calligra-2.3.74: compilation failure if "tables" is disabled in CALLIGRA_FEATURES
Summary: app-office/calligra-2.3.74: compilation failure if "tables" is disabled in CA...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 13:22 UTC by Olivier DOLE
Modified: 2011-08-22 21:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier DOLE 2011-08-22 13:22:24 UTC
During emake step, calligra compilation fails if "tables" is disabled in CALLIGRA_FEATURES.
I think that the problem is due to this feature because the error message is:
Linking CXX shared module ../../../lib/keximigrate_kspread.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcalligratablescommon

Reproducible: Didn't try

Steps to Reproduce:
1. Append the following in /etc/make.conf:
CALLIGRA_FEATURES="active braindump flow karbon kexi krita stage words"
2. Unmask calligra
echo "=app-office/calligra-2.3.74" >> /etc/portage/package.keywords/kde-software
3. I have the following USE flags:

emerge -pv calligra

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

Calculating dependencies... done!
[ebuild  N    ~] app-office/calligra-2.3.74  USE="crypt eigen exif fontconfig gif glib gsf iconv jpeg kdcraw lcms mso okular opengl pdf semantic-desktop ssl threads tiff truetype wmf xml xslt (-aqua) -fftw -freetds -glew -gsl -handbook -jpeg2k (-kdeenablefinal) -kdepim -marble -mysql -openctl -openexr -postgres (-sybase) -word-perfect -xbase" CALLIGRA_FEATURES="active braindump flow karbon kexi krita stage words -plan -tables" 0 kB

4. emerge the calligra package and compilation should fail.
Actual Results:  
compilation failure with the following error:
Linking CXX shared module ../../../lib/keximigrate_kspread.so
cd /var/tmp/portage/app-office/calligra-2.3.74/work/calligra-2.3.74_build/kexi/migration/kspread && /usr/bin/cmake -E cmake_link_script CMakeFiles/keximigrate_kspread.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++  -fPIC -march=nocona -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,keximigrate_kspread.so -o ../../../lib/keximigrate_kspread.so CMakeFiles/keximigrate_kspread.dir/keximigrate_kspread_automoc.o CMakeFiles/keximigrate_kspread.dir/kspreadmigrate.o -L/var/tmp/portage/app-office/calligra-2.3.74/work/calligra-2.3.74_build/lib -L/usr/lib64/qt4 /usr/lib64/libkparts.so.4.6.0 ../../../lib/libkeximigrate.so.8.0.0 ../../../lib/libkexidb.so.8.0.0 ../../../lib/libkexiutils.so.8.0.0 -lcalligratablescommon ../../../lib/libkexidb.so.8.0.0 ../../../lib/libkexiutils.so.8.0.0 /usr/lib64/libkde3support.so.4.6.0 /usr/lib64/libkparts.so.4.6.0 /usr/lib64/qt4/libQt3Support.so /usr/lib64/libkio.so.5.6.0 /usr/lib64/libnepomukutils.so.4.6.0 /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtXml.so /usr/lib64/libnepomuk.so.4.6.0 /usr/lib64/libkdeui.so.5.6.0 /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtSvg.so /usr/lib64/libkdecore.so.5.6.0 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtDBus.so -lsoprano -Wl,-rpath,/var/tmp/portage/app-office/calligra-2.3.74/work/calligra-2.3.74_build/lib:/usr/lib64/qt4: -Wl,-rpath-link,/var/tmp/portage/app-office/calligra-2.3.74/work/calligra-2.3.74_build/lib 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcalligratablescommon

Expected Results:  
compilation is ok and package is correctly installed

If I add "tables" to CALLIGRA_FEATURES, then the build is OK.

emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-_i5_CPU_M_450_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 22 Aug 2011 07:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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=""
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif gpm gstreamer gtk iconv ipv6 jpeg kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd pulseaudio python qt3support qt4 readline semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb v4l2 vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" 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" 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 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="active braindump flow karbon kexi krita stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nouveau" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2011-08-22 21:48:41 UTC
Fixed, thanks (this combination of features is now not allowed anymore)