Opened 4 months ago
#70484 new defect
scrollz fails to build with multiple errors
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | scrollz |
Description
With gcc-4.2 it fails on:
---> Building scrollz Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3" && /usr/bin/make -j6 -w all make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3' sed -e "s,SHAREDIR,/opt/local/share/scrollz," < scrollz.1.in > scrollz.1 make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3/source' ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c alias.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c blowfish.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c cdcc.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c celerity.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c crypt.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c ctcp.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c dcc.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c debug.c ccache /usr/bin/gcc-4.2 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c edit.c In file included from edit.c:67: ../include/translat.h:24: error: redefinition of typedef ‘libiconv_t’ /opt/local/include/iconv.h:46: error: previous declaration of ‘libiconv_t’ was here edit.c:603: warning: initialization from incompatible pointer type make[1]: *** [edit.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ctcp.c: In function ‘do_new_notice_ctcp’: ctcp.c:2019: warning: format ‘%06ld’ expects type ‘long int’, but argument 6 has type ‘__darwin_suseconds_t’ alias.c: In function ‘function_strlen’: alias.c:4291: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘size_t’ alias.c: In function ‘function_fsize’: alias.c:4339: warning: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘off_t’ make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3/source' make: *** [scrollz] Error 2 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3" && /usr/bin/make -j6 -w all Exit code: 2
With gcc14:
---> Building scrollz Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3" && /usr/bin/make -j6 -w all make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3' sed -e "s,SHAREDIR,/opt/local/share/scrollz," < scrollz.1.in > scrollz.1 make[1]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3/source' ccache /opt/local/bin/gcc-mp-14 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c alias.c ccache /opt/local/bin/gcc-mp-14 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c blowfish.c ccache /opt/local/bin/gcc-mp-14 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c cdcc.c ccache /opt/local/bin/gcc-mp-14 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c celerity.c ccache /opt/local/bin/gcc-mp-14 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c crypt.c ccache /opt/local/bin/gcc-mp-14 -I../include -pipe -Os -arch ppc -DHAVE_CONFIG_H -I/opt/local/include -c ctcp.c In file included from ../include/irc.h:138, from blowfish.c:14: ../include/irc_std.h:214:18: error: conflicting types for 'sys_errlist'; have 'char *[]' 214 | extern char *sys_errlist[]; | ^~~~~~~~~~~ In file included from ../include/irc.h:63: /usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist' with type 'const char * const[]' 274 | extern __const char *__const sys_errlist[]; | ^~~~~~~~~~~ ../include/irc_std.h:215:17: error: conflicting type qualifiers for 'sys_nerr' 215 | extern int sys_nerr; | ^~~~~~~~ /usr/include/stdio.h:273:20: note: previous declaration of 'sys_nerr' with type 'int' 273 | extern __const int sys_nerr; /* perror(3) external variables */ | ^~~~~~~~ blowfish.c:132:8: error: type defaults to 'int' in declaration of 'FishDecrypt' [-Wimplicit-int] 132 | extern FishDecrypt _((char *, char *, char *, int)); | ^~~~~~~~~~~ blowfish.c:133:8: error: type defaults to 'int' in declaration of 'FishEncrypt' [-Wimplicit-int] 133 | extern FishEncrypt _((char *, char *, char *, int, int)); | ^~~~~~~~~~~ make[1]: *** [blowfish.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ../include/irc.h:138, from cdcc.c:16: ../include/irc_std.h:214:18: error: conflicting types for 'sys_errlist'; have 'char *[]' 214 | extern char *sys_errlist[]; | ^~~~~~~~~~~ In file included from ../include/irc.h:63: /usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist' with type 'const char * const[]' 274 | extern __const char *__const sys_errlist[]; | ^~~~~~~~~~~ ../include/irc_std.h:215:17: error: conflicting type qualifiers for 'sys_nerr' 215 | extern int sys_nerr; | ^~~~~~~~ /usr/include/stdio.h:273:20: note: previous declaration of 'sys_nerr' with type 'int' 273 | extern __const int sys_nerr; /* perror(3) external variables */ | ^~~~~~~~ make[1]: *** [cdcc.o] Error 1 In file included from ../include/irc.h:138, from crypt.c:35: ../include/irc_std.h:214:18: error: conflicting types for 'sys_errlist'; have 'char *[]' 214 | extern char *sys_errlist[]; | ^~~~~~~~~~~ In file included from ../include/irc.h:63: /usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist' with type 'const char * const[]' 274 | extern __const char *__const sys_errlist[]; | ^~~~~~~~~~~ ../include/irc_std.h:215:17: error: conflicting type qualifiers for 'sys_nerr' 215 | extern int sys_nerr; | ^~~~~~~~ /usr/include/stdio.h:273:20: note: previous declaration of 'sys_nerr' with type 'int' 273 | extern __const int sys_nerr; /* perror(3) external variables */ | ^~~~~~~~ make[1]: *** [crypt.o] Error 1 In file included from ../include/irc.h:138, from alias.c:37: ../include/irc_std.h:214:18: error: conflicting types for 'sys_errlist'; have 'char *[]' 214 | extern char *sys_errlist[]; | ^~~~~~~~~~~ In file included from ../include/irc.h:63: /usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist' with type 'const char * const[]' 274 | extern __const char *__const sys_errlist[]; | ^~~~~~~~~~~ ../include/irc_std.h:215:17: error: conflicting type qualifiers for 'sys_nerr' 215 | extern int sys_nerr; | ^~~~~~~~ /usr/include/stdio.h:273:20: note: previous declaration of 'sys_nerr' with type 'int' 273 | extern __const int sys_nerr; /* perror(3) external variables */ | ^~~~~~~~ alias.c: In function 'function_color': alias.c:4230:17: error: implicit declaration of function 'BuildColor' [-Wimplicit-function-declaration] 4230 | if (BuildColor(tmp, locbuf, 0)) malloc_strcat((char **) &result, locbuf); | ^~~~~~~~~~ make[1]: *** [alias.o] Error 1 In file included from ../include/irc.h:138, from ctcp.c:37: ../include/irc_std.h:214:18: error: conflicting types for 'sys_errlist'; have 'char *[]' 214 | extern char *sys_errlist[]; | ^~~~~~~~~~~ In file included from ../include/irc.h:63: /usr/include/stdio.h:274:30: note: previous declaration of 'sys_errlist' with type 'const char * const[]' 274 | extern __const char *__const sys_errlist[]; | ^~~~~~~~~~~ ../include/irc_std.h:215:17: error: conflicting type qualifiers for 'sys_nerr' 215 | extern int sys_nerr; | ^~~~~~~~ /usr/include/stdio.h:273:20: note: previous declaration of 'sys_nerr' with type 'int' 273 | extern __const int sys_nerr; /* perror(3) external variables */ | ^~~~~~~~ make[1]: *** [ctcp.o] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_irc_scrollz/scrollz/work/ScrollZ-ScrollZ-2.3/source' make: *** [scrollz] Error 2
Note: See
TracTickets for help on using
tickets.