Opened 4 years ago
Closed 4 years ago
#62359 closed defect (fixed)
uucp @1.07: error: ANSI C compiler without void or unsigned char or prototypes
Reported by: | cooljeanius (Eric Gallager) | Owned by: | gunter@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | catalina bigsur | Cc: | |
Port: | uucp |
Description
Build output is:
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_uucp/uucp/work/uucp-1.07/lib' source='buffer.c' object='buffer.o' libtool=no \ depfile='.deps/buffer.Po' tmpdepfile='.deps/buffer.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f buffer.c || echo './'`buffer.c source='crc.c' object='crc.o' libtool=no \ depfile='.deps/crc.Po' tmpdepfile='.deps/crc.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f crc.c || echo './'`crc.c source='debug.c' object='debug.o' libtool=no \ depfile='.deps/debug.Po' tmpdepfile='.deps/debug.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f debug.c || echo './'`debug.c source='escape.c' object='escape.o' libtool=no \ depfile='.deps/escape.Po' tmpdepfile='.deps/escape.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f escape.c || echo './'`escape.c source='getopt.c' object='getopt.o' libtool=no \ depfile='.deps/getopt.Po' tmpdepfile='.deps/getopt.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f getopt.c || echo './'`getopt.c source='getop1.c' object='getop1.o' libtool=no \ depfile='.deps/getop1.Po' tmpdepfile='.deps/getop1.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f getop1.c || echo './'`getop1.c source='parse.c' object='parse.o' libtool=no \ depfile='.deps/parse.Po' tmpdepfile='.deps/parse.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f parse.c || echo './'`parse.c source='quote.c' object='quote.o' libtool=no \ depfile='.deps/quote.Po' tmpdepfile='.deps/quote.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f quote.c || echo './'`quote.c source='quotes.c' object='quotes.o' libtool=no \ depfile='.deps/quotes.Po' tmpdepfile='.deps/quotes.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f quotes.c || echo './'`quotes.c source='spool.c' object='spool.o' libtool=no \ depfile='.deps/spool.Po' tmpdepfile='.deps/spool.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f spool.c || echo './'`spool.c source='status.c' object='status.o' libtool=no \ depfile='.deps/status.Po' tmpdepfile='.deps/status.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f status.c || echo './'`status.c source='xfree.c' object='xfree.o' libtool=no \ depfile='.deps/xfree.Po' tmpdepfile='.deps/xfree.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f xfree.c || echo './'`xfree.c source='xmall.c' object='xmall.o' libtool=no \ depfile='.deps/xmall.Po' tmpdepfile='.deps/xmall.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f xmall.c || echo './'`xmall.c source='xreall.c' object='xreall.o' libtool=no \ depfile='.deps/xreall.Po' tmpdepfile='.deps/xreall.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I.. -I./.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 -c `test -f xreall.c || echo './'`xreall.c In file included from escape.c:4: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ In file included from buffer.c:25: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ In file included from xreall.c:6: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ In file included from xfree.c:5: ../uucp.h:103:3: In file included from debug.c:25: error: ../uucp.h:ANSI C compiler without void or unsigned char or prototypes 103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ #error ANSI C compiler without void or unsigned char or prototypes ^ In file included from xmall.c:4: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes In file included from crc.c: #error ANSI C compiler without void or unsigned char or prototypes ^ 9: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes In file included from parse.c:25: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes In file included from spool.c:4: ../uucp.h:103: #error ANSI C compiler without void or unsigned char or prototypes ^ #error ANSI C compiler without void or unsigned char or prototypes ^ 3: error: In file included from status.c:4: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ ANSI C compiler without void or unsigned char or prototypes In file included from getop1.c:21: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ #error ANSI C compiler without void or unsigned char or prototypes ^ In file included from getopt.c:25: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes In file included from quotes.c:25: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ #error ANSI C compiler without void or unsigned char or prototypes ^ In file included from quote.c:25: ../uucp.h:103:3: error: ANSI C compiler without void or unsigned char or prototypes #error ANSI C compiler without void or unsigned char or prototypes ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ #define memcpy(dest, ...) \ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: ../uucp.h:399:9: warningnote: previous definition is here : 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(dest, ...) \ ^ #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9:1 warning and 1 error generated. warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ 1 warning and 1 error generated. ../uucp.h:399:9: warning: 'memcpy' macro redefined [-Wmacro-redefined] #define memcpy(pto, pfrom, c) bcopy ((pfrom), (pto), (c)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/secure/_string.h:62:9: note: previous definition is here #define memcpy(dest, ...) \ ^ 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. getopt.c:367:23: warning: comparison of integers of different signs: 'long' and 'unsigned long' [-Wsign-compare] if (s - nextchar == strlen (p->name)) ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. 1 warning and 1 error generated. 2 warnings and 1 error generated. make[2]: *** [xreall.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [xfree.o] Error 1 make[2]: *** [status.o] Error 1 make[2]: *** [xmall.o] Error 1 make[2]: *** [getop1.o] Error 1 make[2]: *** [quote.o] Error 1 make[2]: *** [buffer.o] Error 1 make[2]: *** [quotes.o] Error 1 make[2]: *** [parse.o] Error 1 make[2]: *** [crc.o] Error 1 make[2]: *** [debug.o] Error 1 make[2]: *** [escape.o] Error 1 make[2]: *** [spool.o] Error 1 make[2]: *** [getopt.o] Error 1 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_uucp/uucp/work/uucp-1.07/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_uucp/uucp/work/uucp-1.07' make: *** [all] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_uucp/uucp/work/uucp-1.07' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_uucp/uucp/work/uucp-1.07" && /usr/bin/make -j16 -w all Exit code: 2 Error: Failed to build uucp: command execution failed DEBUG: Error code: CHILDSTATUS 57036 2
Looking in uucp.h, the error message is guarded like this:
#if ! HAVE_VOID || ! HAVE_UNSIGNED_CHAR || ! HAVE_PROTOTYPES #error ANSI C compiler without void or unsigned char or prototypes #endif
So it looks like some configure tests failed that shouldn't have. I'll attach my logfiles next.
Attachments (2)
Change History (5)
Changed 4 years ago by cooljeanius (Eric Gallager)
Attachment: | uucpconfig.log added |
---|
Changed 4 years ago by cooljeanius (Eric Gallager)
Attachment: | uucpmain.log added |
---|
main.log for uucp
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | gunter@… removed |
---|---|
Keywords: | catalina bigsur added |
Owner: | set to gunter@… |
Status: | new → assigned |
Implicit declaration of functions, as usual.
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
With MacPorts base master:
$ sudo port configure uucp ---> Fetching distfiles for uucp ---> Attempting to fetch uucp-1.07.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/uucp ---> Verifying checksums for uucp ---> Extracting uucp ---> Configuring uucp Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: wait: found in config.log getppid: found in config.log sleep: found in config.log fork: found in config.log exit: found in config.log memcpy: found in config.log memcmp: found in config.log memset: found in config.log
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
config.log generated by uucp's configure script