Summary: | media-libs/libopenraw-0.0.9: fails to build with jpeg-9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/media-libs%3Alibopenraw-0.0.9%3A20140825-091319.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 479818 |
Description
Diego Elio Pettenò (RETIRED)
2014-08-25 22:09:43 UTC
Fixed by patch from Fink, http://sourceforge.net/p/fink/package-submissions/4336/ Upstream in otherhand has changed this sourcefile in a way the patch is no longer required. So we should be all set, except for the p.masked git snapshot should be refreshed (and in my opinion, git snapshot of libopenraw is a stupid idea, since the SONAME is same, but API is changed) So resolved for 0.0.9, and not taking responsibility for the stupid git snapshot in tree (no offense) removed the snapshot: + 28 Aug 2014; Samuli Suominen <ssuominen@gentoo.org> package.mask: + Remove mask for removed version of the libopenraw git snapshot. + 28 Aug 2014; Samuli Suominen <ssuominen@gentoo.org> + -libopenraw-0.1.0_pre20130826.ebuild: + Remove snapshot of libopenraw which should have never been committed. Should this patch really be unconditionally applied? The package needs virtual/jpeg:0, for which media-libs/libjpeg-turbo is a provider. I thus only have that (and media-libs/openjpeg). The package fails to compile under these conditions: In file included from /usr/include/jpeglib.h:29:0, from jfifcontainer.cpp:31: jfifcontainer.cpp: In member function 'int OpenRaw::Internals::JFIFContainer::_loadHeader()': jfifcontainer.cpp:148:50: error: expected unqualified-id before numeric constant ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE); ^ jfifcontainer.cpp: In static member function 'static JPEG::boolean OpenRaw::Internals::JFIFContainer::j_fill_input_buffer(JPEG::j_decompress_ptr)': jfifcontainer.cpp:184:17: error: expected unqualified-id before numeric constant return JPEG::TRUE; ^ jfifcontainer.cpp:184:17: error: expected ';' before numeric constant jfifcontainer.cpp:184:21: warning: statement has no effect [-Wunused-value] return JPEG::TRUE; ^ jfifcontainer.cpp:185:3: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[3]: *** [jfifcontainer.lo] Error 1 Not applying libopenraw-0.0.9-jpeg-9a.patch fixes the build errors mentioned in #c3 changed the ebuild to apply it only for jpeg-9a for now until I come up with cleaner patch |