Failed: phase compiling: netcat-1.10-4 failed
FG <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Hello to all,
The installation of php5 needs netcat, which fails to compile.
Cheers
Giuliano
.
.
.
.
^~
netcat.c:1148:7: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
close (0); /* so we won't need any more stdin */
^
netcat.c:1152:5: error: implicit declaration of function 'sleep' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
sleep (o_interval); /* pause *before* sending stuff, too */
^
netcat.c:1170:28: warning: too few arguments in call to 'holler'
holler ("select fuxored");
~~~~~~ ^
netcat.c:1171:4: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
close (fd);
^
netcat.c:1182:27: warning: too few arguments in call to 'holler'
holler ("net timeout");
~~~~~~ ^
netcat.c:1183:4: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
close (fd);
^
netcat.c:1192:7: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rr = read (fd, bigbuf_net, BIGSIZ);
^
netcat.c:1192:7: note: did you mean 'fread'?
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:158:9: note: 'fread' declared here
size_t fread(void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream);
^
netcat.c:1214:7: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
rr = read (0, bigbuf_in, BIGSIZ);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
61 warnings and 20 errors generated.
make[1]: *** [Makefile:31: nc] Error 1
make[1]: Leaving directory '/opt/sw/src/fink.build/netcat-1.10-4'
make: *** [Makefile:114: darwin] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.fMOK0 failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-netcat-1.10-4
(Reading database ... 303914 files and directories currently installed.)
Removing fink-buildlock-netcat-1.10-4 ...
Updating the list of locally available binary packages.
Scanning dists/stable/main/binary-darwin-x86_64
New package: dists/stable/main/binary-darwin-x86_64/net/libnetsnmp40-dev_5.9-2_darwin-x86_64.deb
New package: dists/stable/main/binary-darwin-x86_64/net/libnetsnmp40-shlibs_5.9-2_darwin-x86_64.deb
New package: dists/stable/main/binary-darwin-x86_64/net/net-snmp-bin_5.9-2_darwin-x86_64.deb
Failed: phase compiling: netcat-1.10-4 failed
Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Paul Swenson <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.4
Distribution version: selfupdate-rsync Tue Dec 28 11:46:25 2021, 10.15, x86_64
Trees: local/main stable/main
Xcode.app: 12.4
No recognized Xcode CLI installed
Max. Fink build jobs: 12
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users