Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586336 - media-libs/libgphoto2-2.5.10 fails to build with >=media-libs/libjpeg-turbo-1.5.0
Summary: media-libs/libgphoto2-2.5.10 fails to build with >=media-libs/libjpeg-turbo-1...
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 Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 585782
  Show dependency tree
 
Reported: 2016-06-18 21:58 UTC by Ulenrich
Modified: 2016-07-30 20:19 UTC (History)
6 users (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 Ulenrich 2016-06-18 21:58:16 UTC
trying to compile with to stabilized libjpeg-turbo-1.5:
In file included from /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/ax203.c:38:0:
/tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h:4:1: error: conflicting types for ‘jpeg_mem_src’
 jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
 ^
In file included from /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/jpeg_memsrcdest.h:1:0,
                 from /tmp/portage/media-libs/libgphoto2-2.5.10/work/libgphoto2-2.5.10/camlibs/ax203/ax203.c:38:
/usr/include/jpeglib.h:923:14: note: previous declaration of ‘jpeg_mem_src’ was here
 EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
----
But there might already be a patch ready at:

https://github.com/gphoto/libgphoto2/commit/0df14db3eda1b780a27b1c54bc8f251d15afebbc
Comment 1 Alexander Tsoy 2016-06-29 11:17:14 UTC
(In reply to Ulenrich from comment #0)
> But there might already be a patch ready at:
> 
> https://github.com/gphoto/libgphoto2/commit/
> 0df14db3eda1b780a27b1c54bc8f251d15afebbc

Confirming that this patch fixes build.
Comment 2 Derk W te Bokkel 2016-07-05 13:29:47 UTC
any idea why this has not been fixed though libjpeg-turbo-1.5.0 is being stableized .. can't rebuild this lib now ...
Comment 3 Ulenrich 2016-07-11 10:06:22 UTC
@Derk
there are two ways for you to fix your issue:
- apply the patch, or
- disable ax203 in CAMERAS: -ax203
Comment 4 Pacho Ramos gentoo-dev 2016-07-30 20:19:11 UTC
[master fb8208b] media-libs/libgphoto2: Fix build with latest jpeg-turbo (#586336 by Ulenrich)
 2 files changed, 98 insertions(+)
 create mode 100644 media-libs/libgphoto2/files/libgphoto2-2.5.10-jpeg.patch
Comment 5 Pacho Ramos gentoo-dev 2016-07-30 20:19:52 UTC
(In reply to Derk W te Bokkel from comment #2)
> any idea why this has not been fixed though libjpeg-turbo-1.5.0 is being
> stableized .. can't rebuild this lib now ...

Because we are too few developers needing to handle lots of packages/bugs... if you want to become a dev... please let me know (via mail it will be better)