Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388157 - media-gfx/imagemagick-6.7.2.6 fails to build: expected '#pragma omp' clause before 'omp_throttle'
Summary: media-gfx/imagemagick-6.7.2.6 fails to build: expected '#pragma omp' clause b...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-22 21:53 UTC by florian
Modified: 2011-10-25 13:21 UTC (History)
0 users

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


Attachments
(I think the filename is self-descriptive) (20111022-212738.log,43.54 KB, text/plain)
2011-10-22 21:55 UTC, florian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description florian 2011-10-22 21:53:31 UTC
The compiler failed with the below error message. To me, this looks like a programming error, but who knows.


magick/composite.c: In function 'TextureImage':
magick/composite.c:2856: error: expected '#pragma omp' clause before 'omp_throttle'
magick/composite.c:2904: error: expected '#pragma omp' clause before 'omp_throttle'
make[1]: *** [magick/magick_libMagickCore_la-composite.lo] Error 1

Reproducible: Always

Steps to Reproduce:
1. run "emerge imagemagick"

(I reproduced it only once, but thought this was sufficient.)
Actual Results:  
As described above.

Expected Results:  
The compilation should have proceeded without error.

media-gfx:imagemagick-6.7.2.6:20111022-212738.log will be attached:

emerge --info:

Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.3.2, unavailable, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Celeron-R-_M_processor_1.70GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 08 Oct 2011 09:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.0_p28
dev-lang/python:          2.6.2-r1
dev-util/ccache:          2.4-r7
dev-util/pkgconfig:       0.23
sys-apps/baselayout:      1.12.11.1
sys-apps/sandbox:         1.6-r2
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:       2.18-r3
sys-devel/gcc:            4.3.2-r3
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.2.6b
sys-devel/make:           3.81
sys-kernel/linux-headers: 2.6.27-r2 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en en_GB en_US fr"
MAKEOPTS="-j1"
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="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa bash-completion bcmath berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd emacs emacs-w3 exif expat fortran gdbm gif graphviz gs gtk gtk2 iconv imagemagick imlib ipv6 jpeg jpeg2k kpathsea leim libwww maildir mime mng modules mp3 mpeg mplayer mudflap mule ncurses nptl nptlonly ogg openmp oss pam pcre pdf png pnp ppd pppd readline recode sasl session soap sox spell sqlite ssl svg sysfs tcpd tetex tidy tiff toolkit-scroll-bars truetype unicode usb win32codecs wmf x86 xml xml2 xorg xpm xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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_d
bm 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_GB en_US fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa via" 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 florian 2011-10-22 21:55:04 UTC
Created attachment 290565 [details]
(I think the filename is self-descriptive)
Comment 2 florian 2011-10-22 21:57:18 UTC
Comment on attachment 290565 [details]
(I think the filename is self-descriptive)

Sorry, I just realised the filename is not posted, just the contents of the file. The filename was /var/log/portage/elog/media-gfx:imagemagick-6.7.2.6:20111022-212738.log
Comment 3 Mike Gilbert gentoo-dev 2011-10-23 05:44:12 UTC
That version (6.7.2.6) was removed from the tree over a week ago. Can you please sync your portage tree and try the latest version?

It is also possible that it has something to do with the old version of gcc you are using.