Re: Unable to update netcdf-c7-shlibs
[email protected] Mon, 03 Nov 2025 13:51:35 -0600
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
On 2025-11-03 06:56, James Kolata via Fink-beginners wrote: > The following error appears: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../include > -I/opt/sw/opt/hdf5.v1.10/include -I/opt/sw/include -O2 -MT > liboc_la-occurlfunctions.lo -MD -MP -MF > .deps/liboc_la-occurlfunctions.Tpo -c occurlfunctions.c -fno-common > -DPIC -o .libs/liboc_la-occurlfunctions.o > > occurlfunctions.c:255:17: error: incompatible pointer to integer > conversion assigning to 'char' from 'char[1]' [-Wint-conversion] > *hostport = ""; > ^ ~~ > 1 error generated. > make[2]: *** [liboc_la-occurlfunctions.lo] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > ### execution of /tmp/fink.xCn6f failed, exit code 2 > ### execution of /tmp/fink.zjLSY failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /opt/sw/bin/dpkg-lockwait -r fink-buildlock-netcdf-c7-4.3.3.1-8 > (Reading database ... 389635 files and directories currently > installed.) > Removing fink-buildlock-netcdf-c7-4.3.3.1-8 (2025.11.03-06.46.50) ... > Failed: phase compiling: netcdf-c7-4.3.3.1-8 failed > > Package manager version: 0.45.99.git > Distribution version: selfupdate-git Sun Nov 2 14:00:31 2025, 14.0, > x86_64 > Trees: local/main stable/main local/injected > Xcode.app: 15.4 > Xcode command-line tools: 15.3.0.0.1.1708646388 > Max. Fink build jobs: 1 > MacOS 14.7.8 Are you trying to build netcdf-c7 on its own or as part of another package? Nothing in the active tree is still using the old netcdf-c7 release (circa 2012). I've seen similar errors with other packages (incompatible conversions) when building with Xcode 15+ and they're generally a pain to fix. Given netcdf-c7's age, I highly suggest moving to a newer netcdf package (netcdf-c22 is the latest). Hanspeter -- More agile than a turtle, stronger than a mouse, nobler than a lettuce _______________________________________________ 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