Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926688 - media-gfx/exact-image-1.2.1 with media-libs/libjxl-0.10.2: error: ‘JxlEncoderOptionsCreate’ was not declared in this scope
Summary: media-gfx/exact-image-1.2.1 with media-libs/libjxl-0.10.2: error: ‘JxlEncoder...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-10 10:33 UTC by Bernd Feige
Modified: 2024-03-10 19:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2024-03-10 10:33:06 UTC
If libjxl is detected on the system, exact-image-1.2.1 will try to use it but at least with current version libjxl-0.10.2 it fails:

codecs/jpegxl.cc: In member function ‘virtual bool JPEGXLCodec::writeImage(std::ostream*, Image&, int, const std::string&)’:
codecs/jpegxl.cc:189:31: error: ‘JxlEncoderOptionsCreate’ was not declared in this scope; did you mean ‘JxlEncoderStatsCreate’?

Adding '--without-libjxl' to the ./configure call lets it compile. Probably should be behind a jpegxl USE flag.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-03-10 19:51:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5f3078732b4e7102719f3ab73628f1570deebf

commit 1d5f3078732b4e7102719f3ab73628f1570deebf
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-03-10 19:49:58 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-03-10 19:51:18 +0000

    media-gfx/exact-image: add jpegxl use flag
    
    Closes: https://bugs.gentoo.org/926688
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 .../{exact-image-1.2.1.ebuild => exact-image-1.2.1-r1.ebuild}         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)