Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878771 - media-gfx/raw-thumbnailer-0.2.1-r1 configure: error: Package requirements (libopenraw-0.1 >= 0.1.0) were not met
Summary: media-gfx/raw-thumbnailer-0.2.1-r1 configure: error: Package requirements (l...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-30 05:12 UTC by email200202
Modified: 2023-08-03 17:00 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,5.05 KB, text/x-log)
2022-10-30 05:13 UTC, email200202
Details
emerge -pqv '=media-gfx/raw-thumbnailer-0.2.1-r1' (file_878771.txt,106 bytes, text/plain)
2022-10-30 05:15 UTC, email200202
Details
# emerge --info '=media-gfx/raw-thumbnailer-0.2.1-r1' (file_878771.txt,7.29 KB, text/plain)
2022-10-30 05:20 UTC, email200202
Details
build.log (ppc, 0.2.1-r1) (raw-thumbnailer-0.2.1-r1:20230803-165653.log,5.15 KB, text/plain)
2023-08-03 17:00 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2022-10-30 05:12:40 UTC
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
Comment 1 email200202 2022-10-30 05:13:17 UTC
Created attachment 826077 [details]
build.log
Comment 2 email200202 2022-10-30 05:15:44 UTC
Created attachment 826079 [details]
emerge -pqv '=media-gfx/raw-thumbnailer-0.2.1-r1'
Comment 3 email200202 2022-10-30 05:20:15 UTC
Created attachment 826083 [details]
# emerge --info '=media-gfx/raw-thumbnailer-0.2.1-r1'
Comment 4 email200202 2022-10-30 05:24:30 UTC
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
Comment 5 email200202 2023-01-02 02:51:08 UTC
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
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-02 02:53:52 UTC
It's an issue in raw-thumbnailer but it appears to be very dead upstream.
Comment 7 Sheng Yu 2023-01-24 12:47:44 UTC
Upstream no update for 12 years, maybe we should just remove it?
Comment 8 email200202 2023-04-13 13:02:00 UTC
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)
Comment 9 ernsteiswuerfel archtester 2023-08-03 17:00:54 UTC
Created attachment 866961 [details]
build.log (ppc, 0.2.1-r1)

Same on ppc.