Re: Fink install sox unsuccessful

Hanspeter Niederstrasser <[email protected]> Tue, 12 Mar 2024 23:04:34 -0500
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 3/11/24 4:28 AM, a_sk--- via Fink-beginners wrote:
> Hi Hanspeter Niederstrasser, maintainer of sox, and others
> 
> (Fink install sox)
> . . . .
> 
> 6 warnings generated.
> mv -f .deps/libsox_la-formats.Tpo .deps/libsox_la-formats.Plo
> /bin/sh ../libtool --silent  --tag=CC  --silent --mode=compile gcc -DHAVE_CONFIG_H -I.  -DLADSPA_PATH="\"/opt/sw/lib/ladspa\"" -DPKGLIBDIR="\"/opt/sw/lib/sox\""  -DDISTRO="\"Fink Project\"" -I/opt/sw/include -Wtraditional-conversion   -I/opt/sw/include -I/opt/sw/include/opus -I/opt/sw/include -g -O2 -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -MT libsox_la-formats_i.lo -MD -MP -MF .deps/libsox_la-formats_i.Tpo -c -o libsox_la-formats_i.lo `test -f 'formats_i.c' || echo './'`formats_i.c
> warning: unknown warning option '-Wtraditional-conversion'; did you mean '-Wliteral-conversion'? [-Wunknown-warning-option]
> 1 warning generated.
> mv -f .deps/libsox_la-formats_i.Tpo .deps/libsox_la-formats_i.Plo
> /bin/sh ../libtool --silent  --tag=CC  --silent --mode=compile gcc -DHAVE_CONFIG_H -I.  -DLADSPA_PATH="\"/opt/sw/lib/ladspa\"" -DPKGLIBDIR="\"/opt/sw/lib/sox\""  -DDISTRO="\"Fink Project\"" -I/opt/sw/include -Wtraditional-conversion   -I/opt/sw/include -I/opt/sw/include/opus -I/opt/sw/include -g -O2 -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -MT libsox_la-skelform.lo -MD -MP -MF .deps/libsox_la-skelform.Tpo -c -o libsox_la-skelform.lo `test -f 'skelform.c' || echo './'`skelform.c
> warning: unknown warning option '-Wtraditional-conversion'; did you mean '-Wliteral-conversion'? [-Wunknown-warning-option]
> skelform.c:215:5: error: incompatible function pointer types initializing 'sox_format_handler_seek' (aka 'int (*)(struct sox_format_t *, unsigned long)') with an expression of type 'int (sox_format_t *, uint64_t)' (aka 'int (struct sox_format_t *, unsigned long long)') [-Wincompatible-function-pointer-types]
>      seek, encodings, NULL, sizeof(priv_t)
>      ^~~~
> 1 warning and 1 error generated.
> make[1]: *** [libsox_la-skelform.lo] Error 1
> make: *** [all-recursive] Error 1
> ### execution of /usr/bin/make failed, exit code 2
> ### execution of /tmp/fink.Yfcjg failed, exit code 2

The sox package has been updated. There might be a fix for this problem 
in the new release, but not guaranteed since sox hasn't had a release in 
8 years.

Hanspeter



_______________________________________________
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