Fink graphicsmagick graphicsmagick1322-shlibs failure

a_sk--- via Fink-beginners <[email protected]> Sat, 16 Mar 2024 15:23:36 +0900
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Hi Daniel Johnson - the maintainer of graphicalmagick
. . . .
. . . .

libtool: link: ( cd "coders/.libs" && rm -f "jbig.la" && ln -s "../jbig.la" "jbig.la" )
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H   -I. -I.  -I/opt/sw/include -I/opt/X11/include -I/opt/sw/include/freetype2 -I/opt/sw/include/libxml2  -Os -Wall -D_THREAD_SAFE -MT coders/jp2_la-jp2.lo -MD -MP -MF coders/.deps/jp2_la-jp2.Tpo -c -o coders/jp2_la-jp2.lo `test -f 'coders/jp2.c' || echo './'`coders/jp2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I/opt/sw/include -I/opt/X11/include -I/opt/sw/include/freetype2 -I/opt/sw/include/libxml2 -Os -Wall -D_THREAD_SAFE -MT coders/jp2_la-jp2.lo -MD -MP -MF coders/.deps/jp2_la-jp2.Tpo -c coders/jp2.c  -fno-common -DPIC -o coders/.libs/jp2_la-jp2.o
coders/jp2.c:637:7: error: incompatible function pointer types initializing 'int (*)(jas_stream_obj_t *, char *, int)' (aka 'int (*)(void *, char *, int)') with an expression of type 'int (jas_stream_obj_t *, char *, unsigned int)' (aka 'int (void *, char *, unsigned int)') [-Wincompatible-function-pointer-types]
      BlobRead,
      ^~~~~~~~
coders/jp2.c:638:7: error: incompatible function pointer types initializing 'int (*)(jas_stream_obj_t *, char *, int)' (aka 'int (*)(void *, char *, int)') with an expression of type 'int (jas_stream_obj_t *, const char *, unsigned int)' (aka 'int (void *, const char *, unsigned int)') [-Wincompatible-function-pointer-types]
      BlobWrite,
      ^~~~~~~~~
coders/jp2.c:860:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        jas_fmt = jas_image_strtofmt(jas_fmt_str);
                                     ^~~~~~~~~~~
/opt/sw/include/jasper/jas_image.h:465:30: note: passing argument to parameter 's' here
int jas_image_strtofmt(char *s);
                             ^
coders/jp2.c:1363:7: error: incompatible function pointer types initializing 'int (*)(jas_stream_obj_t *, char *, int)' (aka 'int (*)(void *, char *, int)') with an expression of type 'int (jas_stream_obj_t *, char *, unsigned int)' (aka 'int (void *, char *, unsigned int)') [-Wincompatible-function-pointer-types]
      BlobRead,
      ^~~~~~~~
coders/jp2.c:1364:7: error: incompatible function pointer types initializing 'int (*)(jas_stream_obj_t *, char *, int)' (aka 'int (*)(void *, char *, int)') with an expression of type 'int (jas_stream_obj_t *, const char *, unsigned int)' (aka 'int (void *, const char *, unsigned int)') [-Wincompatible-function-pointer-types]
      BlobWrite,
      ^~~~~~~~~
1 warning and 4 errors generated.
make[1]: *** [coders/jp2_la-jp2.lo] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.H2MTx failed, exit code 2
### execution of /tmp/fink.GUQkC failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-graphicsmagick-1.3.40-1
(Reading database ... 377070 files and directories currently installed.)
Removing fink-buildlock-graphicsmagick-1.3.40-1 (2024.03.16-14.56.32) ...
Failed: phase compiling: graphicsmagick-1.3.40-1 failed
. . . .

Sonoma 14.4
version: 0.45.99.git
selfupdate-git Sat Mar 16 11:34:44 2024, 14.0, x86_64
Xcode.app: 15.3
Xcode command-line tools: 15.3.0.0.1.1708487402
Max. Fink build jobs:  1

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners