Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302741 - media-libs/libprojectm-2.0.1-r1: fails to build when gcc is built with USE=-openmp
Summary: media-libs/libprojectm-2.0.1-r1: fails to build when gcc is built with USE=-o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 11:52 UTC by Paul Tobias
Modified: 2010-07-29 22:11 UTC (History)
0 users

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


Attachments
Build log (build.log,12.40 KB, text/plain)
2010-01-29 11:59 UTC, Paul Tobias
Details
Patch for the ebuild (libprojectm-2.0.1-r1.ebuild-openmp.patch,802 bytes, patch)
2010-01-29 12:04 UTC, Paul Tobias
Details | Diff
Patch for the ebuild (fixed openmp use dependency) (libprojectm-2.0.1-r1.ebuild-openmp.patch,801 bytes, patch)
2010-04-04 15:03 UTC, Paul Tobias
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tobias 2010-01-29 11:52:55 UTC
Build fails with the following error:
Linking CXX shared library libprojectM.so
i686-pc-linux-gnu-g++: libgomp.spec: No such file or directory
make[2]: *** [libprojectM.so.2.00] Error 1
make[1]: *** [CMakeFiles/projectM.dir/all] Error 2
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
emerge -v1 libprojectm

Actual Results:  
Build fails

Expected Results:  
Build succeeds

emerge --info
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r1, 2.6.33-rc5 i686)
=================================================================
System uname: Linux-2.6.33-rc5-i686-Intel-R-_Celeron-R-_M_processor_900MHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 29 Jan 2010 08:15:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
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/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersync"
GENTOO_MIRRORS="ftp://ftp.fsn.hu/pub/linux/distributions/gentoo/ http://gentoo.inf.elte.hu/"
INSTALL_MASK="/media"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en en_US hu"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--prune-empty-dirs --exclude-from=/etc/portage/rsync_excludes"
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/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acpi afterimage alsa ao async bash-completion berkdb branding bs2b bzip2 cairo cdr chdir cli consolekit crypt cue cups curl cxx dbus dga divx djvu dri dts dv dvd dvdr emboss enca exif fam ffmpeg flac fontconfig ftp fts3 fuse gcrypt gdbm geoip gif git glib glibc-omitfp glitz gmail gmedia gmp gnome-keyring gnutls gpg gpm gsf gstreamer gtk hal iconv icu id3 id3tag imap imlib iproute2 ipv6 jingle jpeg jpeg2k laptop libass libcaca libgcrypt libnotify libproxy libssh2 libtiger live lqr lyx lzma lzo mad matroska mmap mmx mmxext mng modules mozdevelop mozilla mp2 mp3 mp4 mpeg musepack ncurses netboot network network-cron nptl nptlonly ntp offensive ogg opengl openipmi openssl pam passwordsave pch pcre perl png policykit ppds pppd projectm pth python qt3support qt4 quicktime rar readline realmedia reflection replytolist resid resolvconf rtc rtsp samba schroedinger science sdl sdl-image session shout sms sndfile spell spl srt sse sse2 ssl startup-notification subversion svg symlink sysfs teamarena tex4ht tftp theora thunar tiff truetype udev unicode upnp urandom usb v4l v4l2 vim-syntax vim-with-x vlm vnc vorbis wavpack wifi win32codecs wma wmp wps wxwidgets wxwindows x264 x86 xcomposite xfce xml xorg xterm-color xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0 usb-audio" 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="canon *" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="g15 ncurses png text xosd" LINGUAS="en en_US hu" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Paul Tobias 2010-01-29 11:59:43 UTC
Created attachment 217827 [details]
Build log

Attached build log.
Comment 2 Paul Tobias 2010-01-29 12:04:20 UTC
Created attachment 217829 [details, diff]
Patch for the ebuild

Attached patch for the libprojectm ebuild, which fixes the problem.
Comment 3 Paul Tobias 2010-01-29 12:17:39 UTC
Please note, that in addition to version 2.0.1-r1 the same build error happens with version 2.0.1.
Comment 4 Paul Tobias 2010-04-04 15:03:20 UTC
Created attachment 226559 [details, diff]
Patch for the ebuild (fixed openmp use dependency)

I'm sorry, i made a mistake in the patch, and it worked only when the openmp use flag was disabled. Fixed it in the new attachment.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-07-29 22:11:11 UTC
+  29 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+  libprojectm-2.0.1-r1.ebuild:
+  Check for OpenMP functionality with tc-has-openmp wrt #302741 by Paul
+  Tobias. Use VIDEO_CARDS="nvidia" for media-gfx/nvidia-cg-toolkit wrt
+  #296808 by "jms".