Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349168 - sci-libs/grib_api-1.9.5 seems not compile with jpeg support
Summary: sci-libs/grib_api-1.9.5 seems not compile with jpeg support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 09:17 UTC by pingz
Modified: 2010-12-21 05:31 UTC (History)
1 user (show)

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


Attachments
build.log emerge with FEATURE="keepwork" (build.log,348.83 KB, text/plain)
2010-12-20 23:25 UTC, pingz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pingz 2010-12-20 09:17:50 UTC
sci-libs/grib_api-1.9.5: I compile grib_api with all use flags, and try to decode some grib files, but I get some error: 

GRIB_API ERROR   :  jpeg support not enabled. Please rerun configure with the --with-jasper or --with-openjpeg option.


Maybe -lopenjpeg or -ljasper is not in ${LIBS}.

Reproducible: Always
Comment 1 Dustin Polke 2010-12-20 13:38:52 UTC
Please post the output of 'emerge --info grib_api'.
To find out what went wrong, please attach the build.log as well.
Comment 2 pingz 2010-12-20 14:17:36 UTC
# emerge --info grib_api
Portage 2.1.9.24 (default/linux/amd64/10.0/desktop/kde, gcc-4.3.4, glibc-2.11.2-r3, 2.6.36-zen1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-zen1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5800_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 20 Dec 2010 00:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* Broadcom"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse -msse2 -mssse3 -mmmx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -msse -msse2 -mssse3 -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://gentoo.mirrors.tera-byte.com/ http://mirror.yandex.ru/gentoo-distfiles/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.kaist.ac.kr/pub/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US zh zh_CN"
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/science /var/lib/layman/pingz"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr ao avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli consolekit cracklib crypt cups curl cvs cxx dbus dell dia disk-partition djvu dri dts dvd dvdr emacs emboss encode exif expat faac faad fam ffmpeg firefox flac fontconfig fortran fpx gdbm gdu gif gpm graphviz gs gzip hal hdri iconv ieee1394 imagemagick inkjar ipv6 jabber java jbig joystick jpeg jpeg2k kde kpathsea lame laptop lcms ldap libnotify lua lzma lzo mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openexr opengl openmp optimized-qmake oss pam pango pch pcre pdf perl phonon png pnm policykit postscript ppds pppd pulseaudio python q32 q8 qt3support qt4 rar raw readline sdl semantic-desktop session smp speex spell sse sse2 ssl ssse3 startup-notification subversion svg sysfs szip tcpd theora tiff toolame truetype twolame unicode usb v4l v4l2 vorbis wav wavpack webkit wmf x264 xcb xft xinerama xml xmp xorg xpm xulrunner xv xvid zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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_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" 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 keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-libs/grib_api-1.9.5-r1 was built with the following:
USE="doc examples fortran jpeg2k (multilib) openmp perl png python -static-libs"
Comment 3 pingz 2010-12-20 23:25:14 UTC
Created attachment 257646 [details]
build.log emerge with FEATURE="keepwork"
Comment 4 pingz 2010-12-20 23:35:13 UTC
(In reply to comment #1)
> Please post the output of 'emerge --info grib_api'.
> To find out what went wrong, please attach the build.log as well.
> 

OK, I have uploaded all stuff.

I don't know this would help, but I try to rewrite the ebuild and found if remove -fPIC flag and python, perl support, grib_get_data and other stuff seems worked for me again, but it is unaccepted to remove -fPIC flag.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2010-12-21 05:31:00 UTC
+*grib_api-1.9.5-r1 (21 Dec 2010)
+
+  21 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> -grib_api-1.9.5.ebuild,
+  +grib_api-1.9.5-r1.ebuild, files/grib_api-1.9.5-autotools.patch:
+  Fixed a bunch of bad enable/disable assumptions in the configure script
+