Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403001 - app-office/calligra-2.3.87 fails to build
Summary: app-office/calligra-2.3.87 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-10 15:31 UTC by Latinvs
Modified: 2012-02-24 22:02 UTC (History)
3 users (show)

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


Attachments
Calligra 2.3.87 build log (build.log,92.92 KB, text/plain)
2012-02-10 17:14 UTC, Latinvs
Details
2º build.log (build.log,252.72 KB, text/plain)
2012-02-10 21:29 UTC, Latinvs
Details
3º build.log (build.log,232.68 KB, text/plain)
2012-02-11 00:17 UTC, Latinvs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Latinvs 2012-02-10 15:31:53 UTC
Calligra doesn't get compiled.

Reproducible: Always

Steps to Reproduce:
1. emerge calligra
2. Wait for the error
3.
Actual Results:  
For example, trying Words, with these settings:
[ebuild  N    ~] app-office/calligra-2.3.87  USE="crypt eigen exif fontconfig gif glib gsf handbook jpeg mso okular opengl pdf semantic-desktop ssl threads tiff truetype wmf xml xslt (-aqua) -attica -fftw -freetds -glew -gsl -iconv -jpeg2k -kdcraw -kdepim -lcms -marble -mysql -openctl -openexr -postgres (-sybase) -test -word-perfect -xbase" CALLIGRA_FEATURES="words -braindump -flow -karbon -kexi -krita -plan -stage -tables"

the compilation fails here:
[ 14%] Building CXX object filters/words/rtf/import/rtf-qt/src/CMakeFiles/RtfReader.dir/UserPropsDestination.cpp.o                                              
/var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/rtf/import/rtf-qt/src/UserPropsDestination.cpp: En la función miembro ‘virtual void RtfReader::UserPropsDestination::handleControlWord(const QString&, bool, int)’:
/var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/rtf/import/rtf-qt/src/UserPropsDestination.cpp:41:34: aviso: statement no tiene efecto
/var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/rtf/import/rtf-qt/src/UserPropsDestination.cpp:43:37: aviso: statement no tiene efecto
/var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/rtf/import/rtf-qt/src/UserPropsDestination.cpp:45:41: aviso: statement no tiene efecto
/var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/rtf/import/rtf-qt/src/UserPropsDestination.cpp:47:35: aviso: statement no tiene efecto
Linking CXX shared library ../../../../../../lib/libRtfReader.so
[ 14%] Built target RtfReader                                                   
make: *** [all] Error 2
 * ERROR: app-office/calligra-2.3.87 failed (compile phase):
 *   emake failed


Expected Results:  
Calligra Words should be installed

emerge --info =app-office/calligra-2.3.87

Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-AMD_Turion-tm-_64_Mobile_Technology_MT-37-with-gentoo-2.0.3
Timestamp of tree: Fri, 10 Feb 2012 10:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://darkstar.ist.utl.pt/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/ ftp://ftp.udc.es/gentoo/ http://ftp.udc.es/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es"
MAKEOPTS="-j2"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit a52 aac acpi alsa amd64 bash-completion branding bzip2 cairo cdda cdr consolekit crypt css cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac gdu gif jpeg kipi laptop lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl pam pango pdf perl phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="kexi words flow plan stage tables krita karbon braindump" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon" 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
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-10 16:01:56 UTC
Please attach the entire build log to this bug report as a file.
Comment 2 Latinvs 2012-02-10 17:14:34 UTC
Created attachment 301485 [details]
Calligra 2.3.87 build log
Comment 3 Latinvs 2012-02-10 17:15:43 UTC
emerge --info:


Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-AMD_Turion-tm-_64_Mobile_Technology_MT-37-with-gentoo-2.0.3
Timestamp of tree: Fri, 10 Feb 2012 10:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://darkstar.ist.utl.pt/pub/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/ ftp://ftp.udc.es/gentoo/ http://ftp.udc.es/gentoo/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es"
MAKEOPTS="-j2"
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.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit a52 aac acpi alsa amd64 bash-completion branding bzip2 cairo cdda cdr consolekit crypt css cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac gdu gif jpeg kipi laptop lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl pam pango pdf perl phonon plasma png policykit ppds python qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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="kexi words flow plan stage tables krita karbon braindump" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon" 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
Comment 4 Rafał Mużyło 2012-02-10 18:20:40 UTC
Given that first noteworthy error is:
/var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/msword-odf/wv2/src/textconverter.cpp:65:5: error: ‘iconv_t’ no nombra a un tipo
(given the context, I can make a good guess what does that mean in English)
and that you've unset 'iconv' useflag on your own, this makes it a semi-valid bug:
while a required use (probably) should be added, there's *usually* a good reason behind a +useflag.
Comment 5 Latinvs 2012-02-10 21:29:55 UTC
Created attachment 301499 [details]
2º build.log
Comment 6 Latinvs 2012-02-10 21:32:26 UTC
Well, I don't understand how this form works I have tried to send this text below, with the attachment but the text has disappeared.
Ok, here it is, and excuse my ignorance, :-|


Pardon, my system is in spanish; the truth is that I only speak a very poor english, my girfriend is helping me. If need us to translate any text, of course just ask for it.

I have set all the flags preceded by a plus sign -even if I can't believe a raw developer or a color management system are indispensable for word processing- but compilation still fails.

My new settings:
[ebuild  N    ~] app-office/calligra-2.3.87  USE="crypt eigen exif fontconfig gif glib gsf handbook iconv jpeg kdcraw kdepim lcms mso okular opengl pdf semantic-desktop ssl threads tiff truetype wmf xml xslt (-aqua) -attica -fftw -freetds -glew -gsl -jpeg2k -marble -mysql -openctl -openexr -postgres (-sybase) -test -word-perfect -xbase" CALLIGRA_FEATURES="words -braindump -flow -karbon -kexi -krita -plan -stage -tables"

And build.log attached.

Thanks for your time, :).



(In reply to comment #4)
> Given that first noteworthy error is:
> /var/tmp/portage/app-office/calligra-2.3.87/work/calligra-2.3.87/filters/words/msword-odf/wv2/src/textconverter.cpp:65:5:
> error: ‘iconv_t’ no nombra a un tipo
> (given the context, I can make a good guess what does that mean in English)
> and that you've unset 'iconv' useflag on your own, this makes it a semi-valid
> bug:
> while a required use (probably) should be added, there's *usually* a good
> reason behind a +useflag.
Comment 7 Rafał Mużyło 2012-02-10 21:46:49 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcalligratablescommon

is a completely different problem than the initial one.

Se, if that's not a parallel make issue.
Comment 8 Latinvs 2012-02-10 21:55:55 UTC
Excuse, again, my ignorance, but what do you mean with "a parallel make issue"? You think I should reinstall make or something like that?


(In reply to comment #7)
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -lcalligratablescommon
> 
> is a completely different problem than the initial one.
> 
> Se, if that's not a parallel make issue.
Comment 9 Ben Kohler gentoo-dev 2012-02-10 22:32:33 UTC
Try this:  MAKEOPTS="-j1" emerge calligra

That will force it to 1 job, so we know it's not a parallel make issue (things getting built in the wrong order when using more than one build job at a time, causing failure)
Comment 10 Latinvs 2012-02-11 00:16:23 UTC
Thanks, Ben, but it didn't work either. Still "cannot find -lcalligratablescommon"
I attach the third build.log, anyway


(In reply to comment #9)
> Try this:  MAKEOPTS="-j1" emerge calligra
> 
> That will force it to 1 job, so we know it's not a parallel make issue (things
> getting built in the wrong order when using more than one build job at a time,
> causing failure)
Comment 11 Latinvs 2012-02-11 00:17:52 UTC
Created attachment 301511 [details]
3º build.log
Comment 12 Ben Kohler gentoo-dev 2012-02-11 01:15:23 UTC
Good news, I can reproduce this on both of my desktops.  

CALLIGRA_FEATURES="words" emerge calligra  -> fail
CALLIGRA_FEATURES="tables words" emerge calligra  -> success

Looks like it's trying to link in some tables-related stuff that doesn't get built w/o tables CALLIGRA_FEATURES
Comment 13 Latinvs 2012-02-11 13:55:01 UTC
(>_<)

Haha. Ok, if that's the price to be paid, it isn't so bad...

I have tried to install only Stage in other machine, and the bug appears too: the compilation fails if I don't install Tables as well because lcalligratablescommon can't be find; so I think that link to some tables-related stuff it's not only in Words, perhaps in every component of the suite?

Besides that, total success, as you said, I have my word processor, and for the same price I can enjoy a spreadsheet I don't need. Yay! xD

Thanks and regards.
Comment 14 Ben Kohler gentoo-dev 2012-02-11 16:59:40 UTC
Looks related to bug #402655, and there are a handful of upstream bugs reporting similar failures when certain parts of the suite are not built
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2012-02-24 22:02:25 UTC
Added a REQUIRED_USE condition, should be fixed now