Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353746 - app-office/kword-2.3.1: build failure
Summary: app-office/kword-2.3.1: build failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-05 12:23 UTC by Jan Essert
Modified: 2011-02-10 12:21 UTC (History)
1 user (show)

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


Attachments
build log (build.log,99.84 KB, text/plain)
2011-02-05 12:24 UTC, Jan Essert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Essert 2011-02-05 12:23:43 UTC
kword build fails with the following message. Ccache cleaning and rebuilding of related packages did not help so far.

The last lines of the log are:

canning dependencies of target asciiimport
[ 82%] Building CXX object filters/kword/ascii/CMakeFiles/asciiexport.dir/asciiexport_automoc.o
[ 82%] /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libdcmsr.a(dsrdoc.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/libdcmsr.a: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
Building CXX object filters/kword/ascii/CMakeFiles/asciiexport.dir/asciiexport.o
make[2]: *** [lib/dcmimport.so] Fehler 1
make[1]: *** [filters/kword/dcm/CMakeFiles/dcmimport.dir/all] Fehler 2
make[1]: *** Warte auf noch nicht beendete Prozesse...
[ 83%] Building CXX object filters/kword/ascii/CMakeFiles/asciiexport.dir/ExportDialog.o
[ 83%] Building CXX object filters/kword/ascii/CMakeFiles/asciiimport.dir/asciiimport_automoc.o
[ 84%] Building CXX object filters/kword/ascii/CMakeFiles/asciiimport.dir/asciiimport.o
[ 84%] Building CXX object filters/kword/ascii/CMakeFiles/asciiimport.dir/ImportDialog.o
Linking CXX shared module ../../../lib/asciiexport.so
[ 84%] Built target asciiexport
Linking CXX shared module ../../../lib/asciiimport.so
[ 84%] Built target asciiimport
make: *** [all] Fehler 2
emake failed
 * ERROR: app-office/kword-2.3.1 failed:
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4348:  Called kde4-meta_src_compile
 *   environment, line 3390:  Called kde4-base_src_compile
 *   environment, line 3024:  Called cmake-utils_src_compile
 *   environment, line 1202:  Called _execute_optionaly 'src_compile'
 *   environment, line  585:  Called enable_cmake-utils_src_compile
 *   environment, line 1579:  Called cmake-utils_src_make
 *   environment, line 1221:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *
 * If you need support, post the output of 'emerge --info =app-office/kword-2.3.1',
 * the complete build log and the output of 'emerge -pqv =app-office/kword-2.3.1'.
 * The complete build log is located at '/var/tmp/portage/app-office/kword-2.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/kword-2.3.1/temp/environment'.
 * S: '/var/tmp/portage/app-office/kword-2.3.1/work/kword-2.3.1'


Reproducible: Always

Steps to Reproduce:




# emerge --info =app-office/kword-2.3.1
Portage 2.1.9.35 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 05 Feb 2011 08:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1::sage-on-gentoo, 2.7.1, 3.1.3
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer -pipe -ggdb -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -mtune=native -O2 -fomit-frame-pointer -pipe -ggdb -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
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="/var/lib/layman/sage-on-gentoo /var/lib/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt css cxx dbus dirac djvu dri dts dvb dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif handbook hbci iconv imap ipod ipv6 jpeg jpeg2k kde kdehiddenvisibility kipi latex lcms libnotify lzma mad matroska metis mikmod mmx mng modules mp3 mp4 mpeg mpi mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntpl ntplonly ogg openexr opengl openmp pam pango pch pcre pdf perl png policykit pop ppds pppd pulseaudio python qt3support qt4 readline romio samba schroedinger sdl semantic-desktop session smtp speex spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vcd vim-syntax vorbis x264 xattr xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ice1712" 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" CAMERAS="directory 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jan Essert 2011-02-05 12:24:48 UTC
Created attachment 261569 [details]
build log
Comment 2 Jan Essert 2011-02-05 12:25:37 UTC
forgot this:

# emerge -pqv =app-office/kword-2.3.1
[ebuild     U ] app-office/kword-2.3.1 [2.2.2] USE="(-aqua) -debug (-kdeenablefinal) -wpd" 
Comment 3 Rafał Mużyło 2011-02-05 14:33:55 UTC
> Found DCMTK: /usr/lib64/libdcmsr.a;/usr/lib64/libdcmdata.a;/usr/lib64/libofstd.a
What package did install this ?
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-02-07 22:35:16 UTC
(In reply to comment #3)
> > Found DCMTK: /usr/lib64/libdcmsr.a;/usr/lib64/libdcmdata.a;/usr/lib64/libofstd.a
> What package did install this ?
> 

Probably sci-libs/dcmtk from the sci overlay. 

Jan, could you please temporarily remove dcmtk from your system and try again to build kword?
Comment 5 Jan Essert 2011-02-08 07:42:47 UTC
Sorry for the late reply, guys..

Yeah, this is dcmtk from bug #147693. I was not aware that it is also available from the sci overlay.
Temporarily removing it and remerging kword fixes the problem, thanks for the tip.

Is this now something like an automagic dependency in kword, or is it a dcmtk bug? Should I tell the guys on that bug something?

Thanks for your help!
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-02-09 00:06:22 UTC
It is a bug in the dcmtk ebuild; somewhere a shared library is built without the compiler option -fPIC.

I force-disabled the dcmtk support in kword for now, so it should build in any case.
Comment 7 Rafał Mużyło 2011-02-10 12:21:30 UTC
(In reply to comment #6)
> It is a bug in the dcmtk ebuild; somewhere a shared library is built without
> the compiler option -fPIC.
> 
Well, actually, it's an arch thing - those were static libs, so '-fPIC' would be needed for amd64.