Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuild freeimage-3.15.4 fails with libraw.h not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
AchilleTalon
Guru
Guru


Joined: 11 Apr 2004
Posts: 368
Location: Montreal, Quebec, Canada

PostPosted: Fri Nov 28, 2014 6:30 pm    Post subject: ebuild freeimage-3.15.4 fails with libraw.h not found Reply with quote

I previously installed media-libs/freeimage-3.15.4 and everything went fine, I supposed since it is installed. However, after upgrading I got a message telling me I need to recompile/install/merge media-libs/freeimage-3.15.4 since a something else has been upgraded and a rebuild is required.

I am then trying to reemerge media-libs/freeimage-3.15.4 and I am getting an error message saying the file libraw.h is not found, here is the exact message:

Code:
x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit   -DUSE_EXR    -I/usr/include/OpenEXR  -DUSE_JPEG -DUSE_JPEG2K -I/usr/include/openjpeg-1.5  -DUSE_MNG -DUSE_PNG    -I/usr/include/libpng16  -DUSE_TIFF   -I/usr/include/OpenEXR  -DUSE_RAW    -I/usr/include/libraw/libraw  -fPIC -c Source/FreeImage/PluginRAW.cpp -o Source/FreeImage/PluginRAW.o
Source/FreeImage/PluginRAW.cpp:22:20: fatal error: libraw.h: No such file or directory
 #include <libraw.h>
                    ^
compilation terminated.
Makefile.gnu:72: recipe for target 'Source/FreeImage/PluginRAW.o' failed
make: *** [Source/FreeImage/PluginRAW.o] Error 1


So, I cd'ed in Source/FreeImage and edited PluginRAW.cpp and change
Code:
#include <libraw.h>

to
Code:
#include <libraw/libraw.h>

then issued a make and everything went fine this time.

So, obviously, either PluginRAW.cpp is wrong, either something is wrong in the Makefile (configure process) to tell the paths where the header files should be searched for. However, I don't know why this happen now since I did install it in the past.

Code:
$ equery l freeimage
 * Searching for freeimage ...
[IP-] [  ] media-libs/freeimage-3.15.4:0


Here is my emerge --info media-libs/freeimage output

Code:
$  emerge --info media-libs/freeimage
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo-nvidia x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.16.5-gentoo-nvidia-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16415208 total,    717756 free
KiB Swap:   16777212 total,  16735392 free
Timestamp of tree: Unknown
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gnome science My-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-O2 -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.arcticnetwork.ca/ http://mirror.the-best-hosting.net http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.llarian.net/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
LANG="fr_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/gnome /usr/local/layman/science /usr/local/portage/my"
SYNC="rsync://chadwick.cids.ca/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apache2 arj audiofile avahi berkdb blas bluetooth bonobo branding bsf bzip2 cairo caps cdaudio cdda cddax cddb cdparanoia cdr cgi cli colord cracklib crypt cscope css ctype cups curl curlwrappers cxx db2 dbi dbm dbus dbx derby dga directfb djvu dri dts dv dvd dvdr dvdread eds emacs emboss encode enscript evo examples exif expat extras fam fastcgi fbcon festival ffmpeg fftw flac flatfile fltk fontconfig foomaticdb fortran ftp fuse g3dvl gb gcj gconf gd gdbm geant4 geoip ggi gif gimp ginac glamor glitz glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm gps graphviz gsl gsm gssapi gstreamer gtk gtkhtml gzip hddtemp httpd i18n iconv icq icu id3tag idn ieee1394 imagemagick imap imlib inifile intel intl introspection ios ipv6 ithreads jabber jack jadetex java javascript jbig jikes jingle jpeg jpeg2k junit kerberos kpathsea lame lapack lash latex lcms ldap ldap-sasl leim libcaca libedit libgda libnotify libsamplerate libsecret libwww live lm_sensors lzma lzo mad maildir mailwrapper mbox mcal memlimit midi mikmod milter mime mmap mms mmx mng mod modplug modules mozilla mp3 mp4 mpeg mpi mplayer msn mtp mule multilib musepack musicbrainz nas nautilus ncurses networkmanager nls nntp nptl nsplugin nvidia ocaml ocr odbc ofx ogg oggvorbis openal openexr opengl openldap openmp openssl osc oscar pam pam_krb5 pam_ssh pango pcre pda pdf perl php pidgin plotutils png policykit portaudio posix postgres ppds prefork pthreads pulseaudio python qt3support qt4 quicktime radius rar raw readline rss rtmp sane sasl scanner sdl sendmail servletapi session sha512 sharedext sharedmem slang slp smartcard smp sndfile snmp soap socialweb sockets sound sox speex spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream suexec svg swt symlink syslog systemd sysvipc taglib tcl tcpd tetex theora threads tiff timidity tk tls tokenizer truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vhosts vim-syntax vlm vnc vorbis wavpack wddx win32codecs wmf wxwidgets x264 xattr xcb xcomposite xemacs xface xft xine xinerama xinetd xml xmlrpc xmp xmpp xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="mdraid multipath lvm syslog gensplash plymouth syslog debug dm network" 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 ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr fr_FR fr_CA" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi dav flv geoip gunzip lua mp4 metrics push_stream stub_status xslt" NGINX_MODULES_MAIL="imap smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="net epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel v4l" 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"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/freeimage-3.15.4 was built with the following:
USE="jpeg jpeg2k mng openexr png raw tiff -static-libs" ABI_X86="64"


Any hints? Is there a official fix for this? Why does it happen now and not previously?
_________________
Achille Talon Hop!
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Fri Nov 28, 2014 10:51 pm    Post subject: Reply with quote

Do
Code:
emerge --sync
prior to try again.
Back to top
View user's profile Send private message
AchilleTalon
Guru
Guru


Joined: 11 Apr 2004
Posts: 368
Location: Montreal, Quebec, Canada

PostPosted: Sat Nov 29, 2014 2:35 pm    Post subject: Reply with quote

quilosaq wrote:
Do
Code:
emerge --sync
prior to try again.


I did it just before this happened. Will retry anyway, I doubt it will change anything.
_________________
Achille Talon Hop!
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Sat Nov 29, 2014 2:48 pm    Post subject: Reply with quote

Your emerge --info wrote:
Timestamp of tree: Unknown
That sound odd.
Back to top
View user's profile Send private message
AchilleTalon
Guru
Guru


Joined: 11 Apr 2004
Posts: 368
Location: Montreal, Quebec, Canada

PostPosted: Sat Nov 29, 2014 3:22 pm    Post subject: Reply with quote

quilosaq wrote:
Your emerge --info wrote:
Timestamp of tree: Unknown
That sound odd.


I reran emerge -sync, no updates to the tree, only the timestamp was changed and the problem persists as shown below:
Code:
feynman portage # emerge --sync
>>> Synchronization of repository 'gentoo' located in '/usr/portage'...
>>> Starting rsync with rsync://10.1.1.6/gentoo-portage...
receiving incremental file list
timestamp.chk

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 27
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 98
Total bytes received: 134

sent 98 bytes  received 134 bytes  464.00 bytes/sec
total size is 32  speedup is 0.14
receiving incremental file list
deleting .ebuild.x
metadata/timestamp.chk

Number of files: 181484
Number of files transferred: 1
Total file size: 332.47M bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 3.89M
File list generation time: 0.212 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 26.22K
Total bytes received: 4.01M

sent 26.22K bytes  received 4.01M bytes  54.87K bytes/sec
total size is 332.47M  speedup is 82.45
q: Updating ebuild cache ...
q: Finished 37608 entries in 0.155532 seconds


Code:

feynman portage # emerge --info media-libs/freeimage
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo-nvidia x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.16.5-gentoo-nvidia-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16415208 total,    335776 free
KiB Swap:   16777212 total,  16731632 free
Timestamp of tree: Thu, 27 Nov 2014 17:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3-r1, 1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gnome science My-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.3 AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-O2 -pipe"
DISTDIR="/var/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.arcticnetwork.ca/ http://mirror.the-best-hosting.net http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.llarian.net/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ "
LANG="fr_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/gnome /usr/local/layman/science /usr/local/portage/my"
SYNC="rsync://chadwick.cids.ca/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apache2 arj audiofile avahi berkdb blas bluetooth bonobo branding bsf bzip2 cairo caps cdaudio cdda cddax cddb cdparanoia cdr cgi cli colord cracklib crypt cscope css ctype cups curl curlwrappers cxx db2 dbi dbm dbus dbx derby dga directfb djvu dri dts dv dvd dvdr dvdread eds emacs emboss encode enscript evo examples exif expat extras fam fastcgi fbcon festival ffmpeg fftw flac flatfile fltk fontconfig foomaticdb fortran ftp fuse g3dvl gb gcj gconf gd gdbm geant4 geoip ggi gif gimp ginac glamor glitz glut gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm gps graphviz gsl gsm gssapi gstreamer gtk gtkhtml gzip hddtemp httpd i18n iconv icq icu id3tag idn ieee1394 imagemagick imap imlib inifile intel intl introspection ios ipv6 ithreads jabber jack jadetex java javascript jbig jikes jingle jpeg jpeg2k junit kerberos kpathsea lame lapack lash latex lcms ldap ldap-sasl leim libcaca libedit libgda libnotify libsamplerate libsecret libwww live lm_sensors lzma lzo mad maildir mailwrapper mbox mcal memlimit midi mikmod milter mime mmap mms mmx mng mod modplug modules mozilla mp3 mp4 mpeg mpi mplayer msn mtp mule multilib musepack musicbrainz nas nautilus ncurses networkmanager nls nntp nptl nsplugin nvidia ocaml ocr odbc ofx ogg oggvorbis openal openexr opengl openldap openmp openssl osc oscar pam pam_krb5 pam_ssh pango pcre pda pdf perl php pidgin plotutils png policykit portaudio posix postgres ppds prefork pthreads pulseaudio python qt3support qt4 quicktime radius rar raw readline rss rtmp sane sasl scanner sdl sendmail servletapi session sha512 sharedext sharedmem slang slp smartcard smp sndfile snmp soap socialweb sockets sound sox speex spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream suexec svg swt symlink syslog systemd sysvipc taglib tcl tcpd tetex theora threads tiff timidity tk tls tokenizer truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vdpau vhosts vim-syntax vlm vnc vorbis wavpack wddx win32codecs wmf wxwidgets x264 xattr xcb xcomposite xemacs xface xft xine xinerama xinetd xml xmlrpc xmp xmpp xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="mdraid multipath lvm syslog gensplash plymouth syslog debug dm network" 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 ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en fr fr_FR fr_CA" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi dav flv geoip gunzip lua mp4 metrics push_stream stub_status xslt" NGINX_MODULES_MAIL="imap smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="net epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel v4l" 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"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/freeimage-3.15.4 was built with the following:
USE="jpeg jpeg2k mng openexr png raw tiff -static-libs" ABI_X86="64"


Code:
(...)
x86_64-pc-linux-gnu-g++ -fPIC -O2 -pipe -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit   -DUSE_EXR    -I/usr/include/OpenEXR  -DUSE_JPEG -DUSE_JPEG2K -I/usr/include/openjpeg-1.5  -DUSE_MNG -DUSE_PNG    -I/usr/include/libpng16  -DUSE_TIFF   -I/usr/include/OpenEXR  -DUSE_RAW    -I/usr/include/libraw/libraw  -fPIC -c Source/FreeImage/PluginRAW.cpp -o Source/FreeImage/PluginRAW.o
Source/FreeImage/PluginRAW.cpp:22:20: fatal error: libraw.h: No such file or directory
 #include <libraw.h>
                    ^
compilation terminated.
Makefile.gnu:72: recipe for target 'Source/FreeImage/PluginRAW.o' failed
make: *** [Source/FreeImage/PluginRAW.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
 * ERROR: media-libs/freeimage-3.15.4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/freeimage-3.15.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/freeimage-3.15.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/freeimage-3.15.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/freeimage-3.15.4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/freeimage-3.15.4/work/FreeImage'
 * S: '/var/tmp/portage/media-libs/freeimage-3.15.4/work/FreeImage'

>>> Failed to emerge media-libs/freeimage-3.15.4, Log file:

>>>  '/var/tmp/portage/media-libs/freeimage-3.15.4/temp/build.log'

_________________
Achille Talon Hop!
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1522

PostPosted: Sat Nov 29, 2014 5:06 pm    Post subject: Reply with quote

There are a reported bug:
https://bugs.gentoo.org/show_bug.cgi?id=525862
Back to top
View user's profile Send private message
AchilleTalon
Guru
Guru


Joined: 11 Apr 2004
Posts: 368
Location: Montreal, Quebec, Canada

PostPosted: Sat Nov 29, 2014 5:17 pm    Post subject: Reply with quote

Yep, exactly that.

THX
_________________
Achille Talon Hop!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum