# make[3]: Entering directory `/var/tmp/portage/gwenview-1.3.1/work/gwenview-1.3.1/src/imageutils' # /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o imageutils.lo `test -f 'imageutils.cpp' || echo './'`imageutils.cpp # /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o jpegcontent.lo `test -f 'jpegcontent.cpp' || echo './'`jpegcontent.cpp # jpegcontent.cpp:40:23: error: exif-data.h: No such file or directory # jpegcontent.cpp:41:22: error: exif-ifd.h: No such file or directory # jpegcontent.cpp:42:24: error: exif-utils.h: No such file or directory In file included from jpegcontent.cpp:47: ./../imageutils/jpeg-data.h:25:23: error: exif-data.h: No such file or directory ./../imageutils/jpeg-data.h:31: error: expected initializer before
# make[3]: Entering directory `/var/tmp/portage/gwenview-1.3.1/work/gwenview-1.3.1/src/imageutils' # /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o imageutils.lo `test -f 'imageutils.cpp' || echo './'`imageutils.cpp # /bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o jpegcontent.lo `test -f 'jpegcontent.cpp' || echo './'`jpegcontent.cpp # jpegcontent.cpp:40:23: error: exif-data.h: No such file or directory # jpegcontent.cpp:41:22: error: exif-ifd.h: No such file or directory # jpegcontent.cpp:42:24: error: exif-utils.h: No such file or directory In file included from jpegcontent.cpp:47: ./../imageutils/jpeg-data.h:25:23: error: exif-data.h: No such file or directory ./../imageutils/jpeg-data.h:31: error: expected initializer before * token ./../imageutils/jpeg-data.h:44: error: JPEGContentAPP1 does not name a type ./../imageutils/jpeg-data.h:85: error: ExifData has not been declared ./../imageutils/jpeg-data.h:86: error: expected constructor, destructor, or type conversion before * token jpegcontent.cpp:146: error: ISO C++ forbids declaration of ExifData with no type jpegcontent.cpp:146: error: expected ; before * token jpegcontent.cpp:147: error: ISO C++ forbids declaration of ExifEntry with no type jpegcontent.cpp:147: error: expected ; before * token jpegcontent.cpp:148: error: ExifByteOrder does not name a type jpegcontent.cpp: In constructor ImageUtils::JPEGContent::Private::Private(): jpegcontent.cpp:151: error: mExifData was not declared in this scope jpegcontent.cpp:152: error: mOrientationEntry was not declared in this scope jpegcontent.cpp: In destructor ImageUtils::JPEGContent::~JPEGContent(): jpegcontent.cpp:239: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:240: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:240: error: exif_data_unref was not declared in this scope jpegcontent.cpp: In member function bool ImageUtils::JPEGContent::loadFromData(const QByteArray&): jpegcontent.cpp:257: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:258: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:258: error: exif_data_unref was not declared in this scope jpegcontent.cpp:259: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:270: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:270: error: exif_data_new_from_data was not declared in this scope jpegcontent.cpp:271: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:275: error: struct ImageUtils::JPEGContent::Private has no member named mByteOrder jpegcontent.cpp:275: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:275: error: exif_data_get_byte_order was not declared in this scope jpegcontent.cpp:277: error: struct ImageUtils::JPEGContent::Private has no member named mOrientationEntry jpegcontent.cpp:278: error: struct ImageUtils::JPEGContent::Private has no member named mExifData jpegcontent.cpp:278: error: EXIF_IFD_0 was not declared in this scope jpegcontent.cpp:279: error: EXIF_TAG_ORIENTATION was not declared in this scope jpegcontent.cpp:279: error: exif_content_get_entry was not declared in this scope jpegcontent.cpp: In member function ImageUtils::Orientation ImageUtils::JPEGContent::orientation() const: jpegcontent.cpp:298: error: struct ImageUtils::JPEGContent::Private has no member named mOrientationEntry jpegcontent.cpp:301: error: struct ImageUtils::JPEGContent::Private has no member named mOrientationEntry jpegcontent.cpp:301: error: struct ImageUtils::JPEGContent::Private has no member named mByteOrder jpegcontent.cpp:301: error: exif_get_short was not declared in this scope jpegcontent.cpp: In member function void ImageUtils::JPEGContent::resetOrientation(): jpegcontent.cpp:308: error: struct ImageUtils::JPEGContent::Private has no member named mOrientationEntry jpegcontent.cpp:311: error: struct ImageUtils::JPEGContent::Private has no member named mOrientationEntry jpegcontent.cpp:311: error: struct ImageUtils::JPEGContent::Private has no member named mByteOrder jpegcontent.cpp:312: error: exif_set_short was not declared in this scope jpegcontent.cpp: In member function QImage ImageUtils::JPEGContent::thumbnail() const: jpegcontent.cpp:463: error: struct ImageUtils::JPEGContent::Private has no member named mExifData --- # emerge --info Portage 2.1_pre7-r3 (default-linux/x86/2006.0, gcc-4.0.3, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 1500+ Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr -ftree-vectorize" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig ccache collision-protect confcache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://ftp.fi.muni.cz/pub/linux/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="cs en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X X509 a52 aac acl acpi alsa apache2 apm asf audiofile bash-completion berkdb bluetooth bzip2 caps cddb cdparanoia cdr chroot cli crypt cscope css ctype cups curl curlwrappers dba dbx dga dlloader dri dts dv dvd dvdr dvdread encode ethereal exif expat fam fastbuild fbcon ffmpeg fftw firefox flac flash flatfile foomaticdb force-cgi-redirect ftp gd gdbm gif glibc-omitfp glut gmp gpm gstreamer iconv icq idn imagemagick imap imlib inifile ipv6 irda isdnlog jack javascript joystick jpeg jpeg2k lcms libcaca libg++ libwww lirc lm_sensors logrotate mad maildir matroska memlimit mikmod mime mmap mmx mng mp3 mpeg musepack musicbrainz ncurses nls nodrm nptl nptlonly nsplugin nvidia offensive ogg openal opengl pam pcre pdf perl png posix ppds pppd python qt quicktime readline real samba sdl session sftplogging simplexml skey sndfile soap sockets speex spell spl sse ssl svg symlink tcpd theora threads tiff tokenizer truetype udev unicode urandom usb userlocales v4l v4l2 vcd vorbis win32codecs wmf x264 xine xinerama xinetd xml xml2 xmlrpc xosd xpm xsl xv xvid xvmc zlib elibc_glibc input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_cs linguas_en userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vmware" Unset: ASFLAGS, CTARGET, LC_ALL Compiled fine before upgrading to expat-2.0.0, revdep-rebuild fails on this. Tried to re-emerge libexif, didn't help. The files are not missing, the include is missing for whatever reason. :S
EXTRA_ECONF="--with-extra-includes=/usr/include/libexif" emerge gwenview works.
Latest libexif has a broken pkg-config file that doesn't give -I${includedir}/libexif as it should.
Updating summary, I'm going to attach a patch for sources and one for ebuild (this one is to update dependencies for Gentoo/FreeBSD and to run elibtoolize (always needed for Gentoo/FreeBSD).
Created attachment 83663 [details, diff] libexif-0.6.13-pkgconfig.patch
Created attachment 83664 [details, diff] Ebuild patch Eradicator, if it's okay for you I can commit this right away, this will solve the issue for everything looking for libexif.
I added it, thanks.