Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351904 - app-office/krita-2.3.0 doesn't link with gcc[-openmp]
Summary: app-office/krita-2.3.0 doesn't link with gcc[-openmp]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 13:24 UTC by Cedric Godin
Modified: 2011-01-19 23:45 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 Cedric Godin 2011-01-17 13:24:14 UTC
When emerging krita-2.3.0, I have a error with the linking of ../../lib/libkritaimage.so

[ 16%] Building CXX object krita/image/CMakeFiles/kritaimage.dir/recorder/kis_recorded_path_paint_action.o
[ 16%] Building CXX object krita/image/CMakeFiles/kritaimage.dir/recorder/kis_recorded_shape_paint_action.o
Linking CXX shared library ../../lib/libkritaimage.so
x86_64-pc-linux-gnu-g++: libgomp.spec : Aucun fichier ou dossier de ce type
make[2]: *** [lib/libkritaimage.so.8.0.0] Erreur 1
make[1]: *** [krita/image/CMakeFiles/kritaimage.dir/all] Erreur 2
make: *** [all] Erreur 2
emake failed

The file libgomp.spec doesn't exist on my system except when I compile gcc (4.5.2) with the USE flag openmp and then krita installs.

Reproducible: Always

Steps to Reproduce:
1. USE=-openmp emerge gcc
2. emerge =app-office-krita-2.3.0





Portage 2.1.9.31 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 Jan 2011 07:15:03 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
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.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       3.4.6-r2, 4.3.5, 4.4.5, 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="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_BE.UTF-8"
LC_ALL="fr_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now"
LINGUAS="fr en_US en_GB"
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.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac accessibility acl acpi akonadi alsa amd64 archive asf audiofile avahi avi bash-completion bitmap-fonts blender-game branding bzip2 cairo cdinstall cdparanoia cdr chm chroot cle266 clucene consolekit crypt css cups curl dbus dedicated device-mapper dga diskio dts dv dvb dvd dvdnav dvdr dvdread eigen elf emerald encode erandom exceptions faad fam fame fbcon fbcondecor ffmpeg fftw file-icons firefox flac font-server fontconfig foomaticdb fts3 fuse gcc-libffi gd geoip gif gimp git glitz gnustep gphoto2 gpm graphviz gtk hal handbook hddtemp hpcups iceweasel icq imap imlib innodb inotify ipc ipv6 irc ithreads jack java jfs joystick jpeg jpeg2k kcal kde kde4 kipi konqueror kontact kqemu largeterminal lcms libffi libnotify libwww lightning live lm_sensors lzma lzo mad maildir mdnsresponder-compat memlimit menu-plugin midi mikmod mjpeg mmx mmxext mng modperl mozdom mozilla moznocompose moznoirc moznomail moznopango mozsvg mp3 mp4 mpeg mplayer mpm-worker msn multilib musepack musicbrainz ncurses nepomuk net network new-hpcups nls no-old-linux no_wxgtk1 nowebdav nptl nptlonly nsplugin ntfs nvidia objc offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl openssl pam pcf pcre pdf pdfkit pdflib perl pg_legacytimestamp phonon plasma png policykit postgres ppds python qmax qt qt3support qt4 quicktime raptor rdesktop readline redland reports rtc sasl sblive scanner sdl semantic-desktop session slang slp sndfile solver speex spell sql sqlite sse sse2 ssl startup-notification subversion svg system-sqlite theora threads tidy tiff trash-plugin truetype truetype-fonts type1-fonts udev unicode usb userlocales utempter v4l v4l2 vaapi vcd vdesktop vdpau vhosts videos virtuoso visualization vlm vmmouse vorbis webdav-neon webkit wmf wv2 xanim xattr xcomposite xfs xine xinerama xml xml2 xorg xpm xrandr xulrunner xv xvid xvmc yv12 zip zlib" ALSA_CARDS="emu10k1 intel8x0" 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 auth_digest authn_anon authn_dbd 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 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 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LINGUAS="fr en_US en_GB" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="trash menu" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nils Larsson 2011-01-17 15:46:47 UTC
Same here on arch x86.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-01-19 23:07:50 UTC
Could you please check which useflags exactly your installed sci-libs/fftw has set?

I suspect that the problem occurs for sci-libs/fftw[openmp] and gcc[-openmp].

Comment 3 Andreas K. Hüttel archtester gentoo-dev 2011-01-19 23:45:29 UTC
OK, the problem is somewhere deeper. Some other dependency of krita seems to remember a previous life with libgomp and force it onto the linker. 

For now I'll just require gcc[openmp] in 2.3.1 (out in a few minutes, as soon as another test build finishes ok).