media-gfx/raw-thumbnailer-0.2.1-r1 failed to build with message: checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-g++... none checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENRAW... no configure: error: Package requirements (libopenraw-0.1 >= 0.1.0) were not met: Package 'libopenraw-0.1', required by 'virtual:world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables OPENRAW_CFLAGS and OPENRAW_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. Reproducible: Always Steps to Reproduce: 1.emerge --sync 2.emerge -avuDN world 3.emerge @preserved-rebuild Actual Results: failed Expected Results: not to fail
Created attachment 826077 [details] build.log
Created attachment 826079 [details] emerge -pqv '=media-gfx/raw-thumbnailer-0.2.1-r1'
Created attachment 826083 [details] # emerge --info '=media-gfx/raw-thumbnailer-0.2.1-r1'
Masking and downgrading media-libs/libopenraw from 0.3.2 to 0.1.3, solved the problem as a workaround. # echo "=media-libs/libopenraw-0.3.2" >> /etc/portage/package.mask/package.mask # emerge -av1 media-libs/libopenraw
The problem happens again with media-libs/libopenraw-0.3.2 update to media-libs/libopenraw-0.3.3. Both 0.3.3 and 0.3.2 were masked as workaround
It's an issue in raw-thumbnailer but it appears to be very dead upstream.
Upstream no update for 12 years, maybe we should just remove it?
I found solution to this problem: cd /usr/lib64/pkgconfig ln -s libopenraw-0.3.pc libopenraw-0.1.pc ln -s libopenraw-gnome-0.3.pc libopenraw-gnome-0.1.pc After this, the emerge was successful. The proper way will be to change /usr/portage/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2.1-libopenraw.patch from: -PKG_CHECK_MODULES(OPENRAW, libopenraw-1.0 >= 0.0.4, HAVE_OPENRAW=yes) -PKG_CHECK_MODULES(OPENRAWGNOME, libopenraw-gnome-1.0, HAVE_OPENRAWGNOME=yes) +PKG_CHECK_MODULES(OPENRAW, libopenraw-0.1 >= 0.1.0, HAVE_OPENRAW=yes) +PKG_CHECK_MODULES(OPENRAWGNOME, libopenraw-gnome-0.1, HAVE_OPENRAWGNOME=yes) PKG_CHECK_MODULES(GDK, gdk-pixbuf-2.0, HAVE_GDK=yes) to: -PKG_CHECK_MODULES(OPENRAW, libopenraw-1.0 >= 0.0.4, HAVE_OPENRAW=yes) -PKG_CHECK_MODULES(OPENRAWGNOME, libopenraw-gnome-1.0, HAVE_OPENRAWGNOME=yes) +PKG_CHECK_MODULES(OPENRAW, libopenraw-0.3 >= 0.3.0, HAVE_OPENRAW=yes) +PKG_CHECK_MODULES(OPENRAWGNOME, libopenraw-gnome-0.3, HAVE_OPENRAWGNOME=yes) PKG_CHECK_MODULES(GDK, gdk-pixbuf-2.0, HAVE_GDK=yes)
Created attachment 866961 [details] build.log (ppc, 0.2.1-r1) Same on ppc.
I ran into the same problem of the build failing as the original comment on this post had. I found this Issue and applied the suggested: cd /usr/lib64/pkgconfig ln -s libopenraw-0.3.pc libopenraw-0.1.pc ln -s libopenraw-gnome-0.3.pc libopenraw-gnome-0.1.pc and re-emerged raw-thumbnailer successfully. (Side note for photographers: I'm trying to get Nikon NEF images to appear as thumbnails in Thunar (Xfce) so I can pull from my Nikon's SD HC card some images. Installing raw-thumbnailer and its dependency, libopenraw-0.3.6, did *not* cause Thunar to show NEF thumbnails. More may be needed, or perhaps Thunar does not support some RAW codes?)
(In reply to John L. Poole from comment #10) ... > > (Side note for photographers: I'm trying to get Nikon NEF images to appear > as thumbnails in Thunar (Xfce) so I can pull from my Nikon's SD HC card some > images. Installing raw-thumbnailer and its dependency, libopenraw-0.3.6, > did *not* cause Thunar to show NEF thumbnails. More may be needed, or > perhaps Thunar does not support some RAW codes?) The solution for showing Nikon RAW: NEF in Thunar is: xfce-base/tumbler