=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/elm-me", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for elm-me-2.4.93nb8 cd lib; /opt/pkg/bin/bmake all /bin/chmod u+w ../hdrs/defs.h /usr/bin/touch ../hdrs/defs.h /bin/chmod u+w ../hdrs/headers.h /usr/bin/touch ../hdrs/headers.h cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I../hdrs -I/opt/pkg/include -c add_site.c In file included from ../hdrs/headers.h:23, from add_site.c:18: ../hdrs/defs.h:311:19: error: conflicting types for 'localtime'; have 'struct tm *(void)' 311 | extern struct tm *localtime(); | ^~~~~~~~~ In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from /usr/include/fcntl.h:39, from ../hdrs/headers.h:18: /usr/include/iso/time_iso.h:98:19: note: previous declaration of 'localtime' with type 'struct tm *(const time_t *)' {aka 'struct tm *(const long int *)'} 98 | extern struct tm *localtime(const time_t *); | ^~~~~~~~~ ../hdrs/defs.h:312:19: error: conflicting types for 'time'; have 'time_t(void)' {aka 'long int(void)'} 312 | extern time_t time(); | ^~~~ /usr/include/iso/time_iso.h:100:15: note: previous declaration of 'time' with type 'time_t(time_t *)' {aka 'long int(long int *)'} 100 | extern time_t time(time_t *); | ^~~~ ../hdrs/defs.h:736:7: error: conflicting types for 'ctime'; have 'char *(void)' 736 | char *ctime(); | ^~~~~ /usr/include/iso/time_iso.h:95:14: note: previous declaration of 'ctime' with type 'char *(const time_t *)' {aka 'char *(const long int *)'} 95 | extern char *ctime(const time_t *); | ^~~~~ ../hdrs/defs.h:752:7: error: conflicting types for 'strtok'; have 'char *(void)' 752 | char *strtok(); | ^~~~~~ In file included from /usr/include/string.h:35, from ../hdrs/defs.h:614: /usr/include/iso/string_iso.h:84:14: note: previous declaration of 'strtok' with type 'char *(char * restrict, const char * restrict)' 84 | extern char *strtok(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~~ In file included from ../hdrs/headers.h:26: ../hdrs/elmlib.h:16:14: error: conflicting types for 'safeopen'; have 'FILE *(char *)' 16 | extern FILE *safeopen P_((char *)); | ^~~~~~~~ ../hdrs/defs.h:759:7: note: previous declaration of 'safeopen' with type 'FILE *(void)' 759 | FILE *safeopen(); | ^~~~~~~~ ../hdrs/elmlib.h:17:14: error: conflicting types for 'safeopen_rdwr'; have 'FILE *(char *)' 17 | extern FILE *safeopen_rdwr P_((char *)); | ^~~~~~~~~~~~~ ../hdrs/defs.h:760:7: note: previous declaration of 'safeopen_rdwr' with type 'FILE *(void)' 760 | FILE *safeopen_rdwr(); | ^~~~~~~~~~~~~ ../hdrs/elmlib.h:107:14: error: conflicting types for 'error_description'; have 'char *(int)' 107 | extern char *error_description P_((int)); | ^~~~~~~~~~~~~~~~~ ../hdrs/defs.h:737:7: note: previous declaration of 'error_description' with type 'char *(void)' 737 | char *error_description(); | ^~~~~~~~~~~~~~~~~ ../hdrs/elmlib.h:174:15: error: conflicting types for 'header_cmp'; have 'char *(char *, char *, char *)' 174 | extern char * header_cmp P_((char *, char *, char *)); | ^~~~~~~~~~ ../hdrs/defs.h:756:7: note: previous declaration of 'header_cmp' with type 'char *(void)' 756 | char *header_cmp(); | ^~~~~~~~~~ ../hdrs/elmlib.h:302:14: error: conflicting types for 'qstrpbrk'; have 'char *(char *, char *)' 302 | extern char *qstrpbrk P_((char *, char *)); | ^~~~~~~~ ../hdrs/defs.h:750:7: note: previous declaration of 'qstrpbrk' with type 'char *(void)' 750 | char *qstrpbrk(); | ^~~~~~~~ ../hdrs/elmlib.h:318:15: error: conflicting types for 'safe_malloc_fail_handler'; have 'void (*)(char *, unsigned int)' 318 | extern void (*safe_malloc_fail_handler) P_((char *proc,unsigned)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../hdrs/defs.h:732:15: note: previous declaration of 'safe_malloc_fail_handler' with type 'void (*)(void)' 732 | extern void (*safe_malloc_fail_handler)(); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../hdrs/elmlib.h:320:17: error: conflicting types for 'safe_malloc'; have 'void *(unsigned int)' 320 | extern malloc_t safe_malloc P_((unsigned)); | ^~~~~~~~~~~ ../hdrs/defs.h:763:10: note: previous declaration of 'safe_malloc' with type 'void *(void)' 763 | malloc_t safe_malloc(); | ^~~~~~~~~~~ ../hdrs/elmlib.h:321:17: error: conflicting types for 'safe_realloc'; have 'void *(void *, unsigned int)' 321 | extern malloc_t safe_realloc P_((malloc_t,unsigned)); | ^~~~~~~~~~~~ ../hdrs/defs.h:764:10: note: previous declaration of 'safe_realloc' with type 'void *(void)' 764 | malloc_t safe_realloc(); | ^~~~~~~~~~~~ ../hdrs/elmlib.h:322:14: error: conflicting types for 'safe_strdup'; have 'char *(const char *)' 322 | extern char *safe_strdup P_((CONST char *)); | ^~~~~~~~~~~ ../hdrs/defs.h:757:7: note: previous declaration of 'safe_strdup' with type 'char *(void)' 757 | char *safe_strdup(); | ^~~~~~~~~~~ ../hdrs/elmlib.h:331:14: error: conflicting types for 'shift_lower'; have 'char *(const char *)' 331 | extern char *shift_lower P_((CONST char *)); | ^~~~~~~~~~~ ../hdrs/defs.h:747:7: note: previous declaration of 'shift_lower' with type 'char *(void)' 747 | char *shift_lower(); | ^~~~~~~~~~~ ../hdrs/elmlib.h:335:14: error: conflicting types for 'strfcpy'; have 'char *(char *, const char *, int)' 335 | extern char *strfcpy P_((char *, CONST char *, int)); | ^~~~~~~ ../hdrs/defs.h:751:7: note: previous declaration of 'strfcpy' with type 'char *(void)' 751 | char *strfcpy(); | ^~~~~~~ ../hdrs/elmlib.h:351:14: error: conflicting types for 'strip_parens'; have 'char *(const char *)' 351 | extern char *strip_parens P_((CONST char *s)); | ^~~~~~~~~~~~ ../hdrs/defs.h:749:7: note: previous declaration of 'strip_parens' with type 'char *(void)' 749 | char *strip_parens(); | ^~~~~~~~~~~~ ../hdrs/elmlib.h:369:14: error: conflicting types for 'strtokq'; have 'char *(char *, char *, int)' 369 | extern char *strtokq P_((char *, char *,int)); | ^~~~~~~ ../hdrs/defs.h:656:7: note: previous declaration of 'strtokq' with type 'char *(void)' 656 | char *strtokq(); /* our own quote minding strtok */ | ^~~~~~~ add_site.c: In function 'add_site': add_site.c:20:5: warning: old-style function definition [-Wold-style-definition] 20 | int add_site(buffer, site, lastsite, size) | ^~~~~~~~ add_site.c:31:20: error: too many arguments to function 'strip_parens'; expected 0, have 1 31 | stripped = strip_parens(site); | ^~~~~~~~~~~~ ~~~~ add_site.c:29:15: note: declared here 29 | char *strip_parens(); | ^~~~~~~~~~~~ *** Error code 1 Stop. bmake[1]: stopped making "all" in /tmp/work/mail/elm-me/work/elm2.4.ME+.93/lib *** Error code 1 Stop. bmake: stopped making "all" in /tmp/work/mail/elm-me/work/elm2.4.ME+.93 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/elm-me *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/elm-me