Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535836 - media-gfx/exiv2-0.25 (was: media-gfx/phototonic-1.5) — /usr/include/exiv2/exiv2.hpp:54:24: fatal error: pngimage.hpp: No such file or directory
Summary: media-gfx/exiv2-0.25 (was: media-gfx/phototonic-1.5) — /usr/include/exiv2/exi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Sturmlechner
URL:
Whiteboard:
Keywords:
: 552046 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-06 21:36 UTC by Piotr Szymaniak
Modified: 2015-10-04 21:34 UTC (History)
5 users (show)

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


Attachments
Build.log (Build.log,4.40 KB, text/plain)
2015-01-06 21:36 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Szymaniak 2015-01-06 21:36:45 UTC
Created attachment 393376 [details]
Build.log

In file included from thumbview.h:23:0,
                 from mainwindow.h:23,
                 from main.cpp:19:
/usr/include/exiv2/exiv2.hpp:54:24: fatal error: pngimage.hpp: No such file or directory
 #include "pngimage.hpp"
                        ^
compilation terminated.
Makefile:421: recipe for target 'main.o' failed
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from thumbview.h:23:0,
                 from dialogs.h:23,
                 from dialogs.cpp:19:
/usr/include/exiv2/exiv2.hpp:54:24: fatal error: pngimage.hpp: No such file or directory
 #include "pngimage.hpp"
                        ^
compilation terminated.
Makefile:410: recipe for target 'dialogs.o' failed
make: *** [dialogs.o] Error 1
In file included from thumbview.h:23:0,
                 from mainwindow.h:23,
                 from mainwindow.cpp:19:
/usr/include/exiv2/exiv2.hpp:54:24: fatal error: pngimage.hpp: No such file or directory
 #include "pngimage.hpp"
                        ^
compilation terminated.
Makefile:432: recipe for target 'mainwindow.o' failed
make: *** [mainwindow.o] Error 1
 * ERROR: media-gfx/phototonic-1.5::gentoo failed (compile phase):
 *   emake failed
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-03-04 19:12:10 UTC
Do you have /usr/include/exiv2/pngimage.hpp on your system?
Comment 2 Marcin Mirosław 2015-05-18 07:45:46 UTC
I had similar problem. I couldn't compile kde-base/kfilemetadata due to missing /usr/include/exiv2/pngimage.hpp file. When I recompile exiv2 with USE=zlib this file was appeared on system and I colud compile&install kde-base/kfilemetadata.
Probably kde-base/kfilemetadata[exiv] and media-gfx/phototonic depend on media-gfx/exiv2[zlib] in BDEPENDS.

Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r2, 3.
18.11-gentoo x86_64)
=================================================================
System uname: Linux-3.18.11-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-gentoo-2.2
KiB Mem:     2557880 total,    178444 free
KiB Swap:    1953356 total,   1953200 free
Timestamp of repository gentoo: Mon, 18 May 2015 07:30:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x dlj-1.1 MakeMKV-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fpeel-loops -fprefetch-loop-arrays -floop-interchange -floop-block -ftracer -s -fno-unwind-tables -fno-asynchronous-unwind-tables"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -fpeel-loops -fprefetch-loop-arrays -floop-interchange -floop-block -ftracer -s -fno-unwind-tables -fno-asynchronous-unwind-tables"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="Xfail-clean assume-digests binpkg-logs ccache cgroup collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles 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://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
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"
USE="X a52 aac acl acpi alsa amd64 bash-completion branding cairo caps cdda cdr cli consolekit crypt css cuda custom-optimization cxx dbus declarative dri dts dvd dvdr embedded emboss encode exif fam firefox flac ftp gif glamor gpm graphite gtk iconv idn iproute2 ipv6 jpeg kde kipi lame lcms libnotify mad mmap mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses network-cron nls nptl nsplugin ogg opengl openmp optimization optimized-qmake pam pango pcre pdf phonon plasma png policykit postproc qt3support qt4 rar readline recode samba sdl semantic-desktop session slang smp sound spell sse sse2 sse3 ssl ssse3 startup-notification svg syslog threads threadsafe tiff tools udev udisks unicode upower urandom usb v4l2 vdpau vhosts vim vim-pager vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xscreensaver xv xvid xvmc" ABI_X86="32 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="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, USE_PYTHON
Comment 3 asp 2015-09-10 19:50:55 UTC
Fixed upstream: http://dev.exiv2.org/issues/1103
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-04 21:05:09 UTC
This is actually an issue with headers installed by exiv2.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-04 21:05:19 UTC
*** Bug 552046 has been marked as a duplicate of this bug. ***