m27315 Apprentice
Joined: 10 Dec 2004 Posts: 253 Location: 2 workstations down
|
Posted: Fri Oct 14, 2011 6:10 pm Post subject: rawstudio-2.0 conflicts with exiv2 and png |
|
|
A recent update to rawstudio-2.0 crashes with the following errors:
Code: | /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/ -I/usr/kerberos/include -I/usr/include/gphoto2 -I/usr/include/libexif -I../../librawstudio/ -I../../ -Wall -Wall -march=native -O2 -pipe -c -o exiv2-colorspace.lo exiv2-colorspace.cpp
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_DATA_DIR=\"/usr/share\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/ -I/usr/kerberos/include -I/usr/include/gphoto2 -I/usr/include/libexif -I../../librawstudio/ -I../../ -Wall -Wall -march=native -O2 -pipe -c load-gdk.c -fPIC -DPIC -o .libs/load-gdk.o
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_DATA_DIR=\"/usr/share\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -pthread -D_REENTRANT -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/ -I/usr/kerberos/include -I/usr/include/gphoto2 -I/usr/include/libexif -I../../librawstudio/ -I../../ -Wall -Wall -march=native -O2 -pipe -c exiv2-colorspace.cpp -fPIC -DPIC -o .libs/exiv2-colorspace.o
exiv2-colorspace.cpp: In function 'RSColorSpace* exiv2_get_colorspace(const gchar*, gboolean*)':
exiv2-colorspace.cpp:132:73: error: invalid conversion from 'png_byte**' to 'char**'
exiv2-colorspace.cpp:132:73: error: initializing argument 5 of 'png_uint_32 png_get_iCCP(const png_struct*, const png_info*, char**, int*, char**, png_uint_32*)'
make[3]: *** [exiv2-colorspace.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/rawstudio-2.0/work/rawstudio-2.0/plugins/load-gdk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/rawstudio-2.0/work/rawstudio-2.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/rawstudio-2.0/work/rawstudio-2.0'
make: *** [all] Error 2
* ERROR: media-gfx/rawstudio-2.0 failed (compile phase):
* emake failed
*
* If you need support, post the output of 'emerge --info =media-gfx/rawstudio-2.0',
* the complete build log and the output of 'emerge -pqv =media-gfx/rawstudio-2.0'.
* The complete build log is located at '/var/tmp/portage/media-gfx/rawstudio-2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/rawstudio-2.0/temp/environment'.
* S: '/var/tmp/portage/media-gfx/rawstudio-2.0/work/rawstudio-2.0' |
I am guessing there is a mismatch incompatibility between the version of png, exiv2, and rawstudio. Here are the versions I have installed, or am trying to install:
Code: | # emerge -pvt media-libs/libpng media-gfx/exiv2 media-gfx/rawstudio
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild U ~] media-gfx/rawstudio-2.0 [1.2] 0 kB
[ebuild R ] media-gfx/exiv2-0.21.1-r2 USE="nls zlib -contrib -doc -examples -xmp" LINGUAS="-de -es -fi -fr -pl -ru -sk" 0 kB
[ebuild R ] media-libs/libpng-1.4.8-r1 USE="apng static-libs" 0 kB
Total: 3 packages (1 upgrade, 2 reinstalls), Size of downloads: 0 kB |
I have rebuild exiv2, but that did not seem to help:
Code: | # emerge -1 media-libs/libpng media-gfx/exiv2 media-gfx/rawstudio |
Any suggestions? What am I doing wrong?
Thanks! |
|