Skip to content

libgphoto2-2.5.0-0 fails to build with libjpeg-turbo updated from 1.4.2 to 1.5.3 #1982

Closed
pmenzel opened this issue Oct 13, 2020 · 0 comments

Comments

@pmenzel
Copy link
Collaborator

pmenzel commented Oct 13, 2020

Copied from #1974:

The changes in #1962 broke libgphoto2:

In file included from /dev/shm/mxqd/mnt/job/24600109/libgphoto2-2.5.0-0/buildroot/libgphoto2/libgphoto2-2.5.0-0/source/camlibs/ax203/jpeg_memsrcdest.c:25:0:
/dev/shm/mxqd/mnt/job/24600109/libgphoto2-2.5.0-0/buildroot/libgphoto2/libgphoto2-2.5.0-0/source/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 /dev/shm/mxqd/mnt/job/24600109/libgphoto2-2.5.0-0/buildroot/libgphoto2/libgphoto2-2.5.0-0/source/camlibs/ax203/jpeg_memsrcdest.c:23:0:
/usr/include/jpeglib.h:923:14: note: previous declaration of ‘jpeg_mem_src’ was here
 EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
              ^~~~~~~~~~~~
/dev/shm/mxqd/mnt/job/24600109/libgphoto2-2.5.0-0/buildroot/libgphoto2/libgphoto2-2.5.0-0/source/camlibs/ax203/jpeg_memsrcdest.c:146:1: error: conflicting types for ‘jpeg_mem_src’
 jpeg_mem_src (j_decompress_ptr cinfo, unsigned char * buffer,
 ^~~~~~~~~~~~
In file included from /dev/shm/mxqd/mnt/job/24600109/libgphoto2-2.5.0-0/buildroot/libgphoto2/libgphoto2-2.5.0-0/source/camlibs/ax203/jpeg_memsrcdest.c:23:0:
/usr/include/jpeglib.h:923:14: note: previous declaration of ‘jpeg_mem_src’ was here
 EXTERN(void) jpeg_mem_src (j_decompress_ptr cinfo,
              ^~~~~~~~~~~~
make[3]: *** [Makefile:2884: ax203/jpeg_memsrcdest.lo] Error 1
pmenzel added a commit that referenced this issue Nov 2, 2020
Update to the current version, which is able to build against
libjpeg-turbo 1.5.3.

Resolves: #1982
@pmenzel pmenzel closed this as completed in 7e7eae6 Nov 6, 2020
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant