pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

devel/libgphoto2 build fails on NetBSD/i386



Building "devel/libgphoto2" on NetBSD/i386 (9.1_STABLE and -current) fails
with:

[...]
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/pkg/share/locale\" -DCAMLIBS=\"/usr/pkg/lib/libgphoto2/2.5.8\" -I.. -I..  -I../libgphoto2_port -I../libgphoto2  -I../libgphoto2 -I/usr/include -I/usr/pkg/include  -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -Wall -Wmissing-declarations -Wmissing-prototypes -MT ax203/ax203_la-ax203.lo -MD -MP -MF ax203/.deps/ax203_la-ax203.Tpo -c -o ax203/ax203_la-ax203.lo `test -f 'ax203/ax203.c' || echo './'`ax203/ax203.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/pkg/share/locale\" -DCAMLIBS=\"/usr/pkg/lib/libgphoto2/2.5.8\" -I../libgphoto2_port -I../libgphoto2 -I/d0/build/pkgsrc/devel/libgphoto2/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -Wall -Wmissing-declarations -Wmissing-prototypes -MT ax203/ax203_la-ax203.lo -MD -MP -MF ax203/.deps/ax203_la-ax203.Tpo -c ax203/ax203.c  -fPIC -DPIC -o ax203/.libs/ax203_la-ax203.o
In file included from ax203/ax203.c:38:0:
ax203/jpeg_memsrcdest.h:4:1: error: conflicting types for 'jpeg_mem_src'
 jpeg_mem_src (j_decompress_ptr cinfo, const unsigned char * buffer,
 ^~~~~~~~~~~~
In file included from ax203/jpeg_memsrcdest.h:1:0,
                 from ax203/ax203.c:38:
/d0/build/pkgsrc/devel/libgphoto2/work/.buildlink/include/jpeglib.h:983:14: note: previous declaration of 'jpeg_mem_src' was here
 EXTERN(void) jpeg_mem_src JPP((j_decompress_ptr cinfo,
              ^~~~~~~~~~~~
In file included from ax203/ax203.c:38:0:
ax203/jpeg_memsrcdest.h:8:1: error: conflicting types for 'jpeg_mem_dest'
 jpeg_mem_dest (j_compress_ptr cinfo, unsigned char ** outbuffer,
 ^~~~~~~~~~~~~
In file included from ax203/jpeg_memsrcdest.h:1:0,
                 from ax203/ax203.c:38:
/d0/build/pkgsrc/devel/libgphoto2/work/.buildlink/include/jpeglib.h:980:14: note: previous declaration of 'jpeg_mem_dest' was here
 EXTERN(void) jpeg_mem_dest JPP((j_compress_ptr cinfo,
              ^~~~~~~~~~~~~
*** [ax203/ax203_la-ax203.lo] Error code 1

make[3]: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8/camlibs
1 error

make[3]: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8/camlibs
*** [all-recursive] Error code 1

make[2]: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8/camlibs
1 error

make[2]: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8/camlibs
*** [all-recursive] Error code 1

make[1]: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8
1 error

make[1]: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8
*** [all] Error code 2

make: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8
1 error

make: stopped in /d0/build/pkgsrc/devel/libgphoto2/work/libgphoto2-2.5.8
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/devel/libgphoto2
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/devel/libgphoto2

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index