Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472838 - app-text/mupdf-9999 should depend on media-libs/openjpeg:2 - Package libopenjp2 was not found in the pkg-config search path. Perhaps you should add the directory containing `libopenjp2.pc'
Summary: app-text/mupdf-9999 should depend on media-libs/openjpeg:2 - Package libopenj...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-10 10:35 UTC by Helmut Jarausch
Modified: 2013-06-10 13:25 UTC (History)
1 user (show)

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


Attachments
app-text:mupdf-9999:20130610-121626.log (20130610-121626.log,98.80 KB, text/plain)
2013-06-10 12:21 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-06-10 10:35:24 UTC
Trying to emerge app-text/mupdf-9999 gives
Package libopenjp2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libopenjp2.pc'
and then - probably as consequence

fitz/image_jpx.c:37:1: error: unknown type name 'OPJ_SIZE_T'
fitz/image_jpx.c:54:1: error: unknown type name 'OPJ_OFF_T'

etc
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-10 12:21:30 UTC
Created attachment 350630 [details]
app-text:mupdf-9999:20130610-121626.log

Confirmed.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-10 12:22:40 UTC
make -j10 XCFLAGS=-fpic 
Package libopenjp2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libopenjp2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libopenjp2' found
Package libopenjp2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libopenjp2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libopenjp2' found
mkdir -p build/debug
mkdir -p generated
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-06-10 13:25:46 UTC
Hi, sorry I mixed up the dep string, updating the ebuild.
You need media-libs/openjpeg:2 (remove the mask ...).
You can merge it manually 'till the tree is updated.

+  10 Jun 2013; Michael Weber <xmw@gentoo.org> mupdf-9999.ebuild:
+  fix openjpeg:2 dep, thanks Helmut Jarausch (bug 472838)
+