Re: Fink graphicsmagick graphicsmagick1322-shlibs failure

a_sk--- via Fink-beginners <[email protected]> Sun, 17 Mar 2024 13:43:11 +0900
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
Hi Daniel Johnson, the maintainer of graphicsmagick

Please good look after the following bug report with reason why, and hopefully ASAP action.
> Upstream report here: https://sourceforge.net/p/graphicsmagick/bugs/736/


> 2024/03/16 19:45、Hanspeter Niederstrasser <[email protected]>:
> 
> On 3/16/24 1:23 AM, a_sk--- via Fink-beginners wrote:
>> 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
>> . . . .
> 
> Upstream report here: https://sourceforge.net/p/graphicsmagick/bugs/736/
> 
> --

_______________________________________________
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