#13424: minicom fails to compile under 10.5 ------------------------------+--------------------------------------------- Reporter: dsinn@dsinn.com | Owner: macports-dev@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: | Keywords: minicom ------------------------------+--------------------------------------------- Old description:
minicom files to compile under 10.5. Binary built under 10.4 does function correctly.
---------------------------
fubar:~ dsinn$ sudo port install minicom ---> Fetching minicom ---> Verifying checksum(s) for minicom ---> Extracting minicom ---> Applying patches to minicom ---> Configuring minicom ---> Building minicom with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_minicom/work/minicom-2.1" && make all " returned error 2 Command output: Making all in po make[2]: Nothing to be done for `all'. Making all in lib gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -O2 -c error.c rm -f libport.a ar cru libport.a error.o ranlib libport.a Making all in src gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c minicom.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c vt100.c vt100.c: In function 'vt_init': vt100.c:269: warning: pointer targets in assignment differ in signedness vt100.c:270: warning: pointer targets in assignment differ in signedness vt100.c: In function 'state4': vt100.c:818: warning: pointer targets in assignment differ in signedness vt100.c:822: warning: pointer targets in assignment differ in signedness vt100.c: In function 'state5': vt100.c:844: warning: pointer targets in assignment differ in signedness vt100.c:848: warning: pointer targets in assignment differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c config.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c help.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c updown.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c util.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c dial.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c window.c window.c:65: error: static declaration of 'BC' follows non-static declaration /usr/include/termcap.h:59: error: previous declaration of 'BC' was here make[2]: *** [window.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2
Error: Status 1 encountered during processing.
New description: minicom files to compile under 10.5. Binary built under 10.4 does function correctly. --------------------------- {{{ fubar:~ dsinn$ sudo port install minicom ---> Fetching minicom ---> Verifying checksum(s) for minicom ---> Extracting minicom ---> Applying patches to minicom ---> Configuring minicom ---> Building minicom with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_comms_minicom/work/minicom-2.1" && make all " returned error 2 Command output: Making all in po make[2]: Nothing to be done for `all'. Making all in lib gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -O2 -c error.c rm -f libport.a ar cru libport.a error.o ranlib libport.a Making all in src gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c minicom.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c vt100.c vt100.c: In function 'vt_init': vt100.c:269: warning: pointer targets in assignment differ in signedness vt100.c:270: warning: pointer targets in assignment differ in signedness vt100.c: In function 'state4': vt100.c:818: warning: pointer targets in assignment differ in signedness vt100.c:822: warning: pointer targets in assignment differ in signedness vt100.c: In function 'state5': vt100.c:844: warning: pointer targets in assignment differ in signedness vt100.c:848: warning: pointer targets in assignment differ in signedness gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c config.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c help.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c updown.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c util.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c dial.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../lib -O2 -Wall -W -c window.c window.c:65: error: static declaration of 'BC' follows non-static declaration /usr/include/termcap.h:59: error: previous declaration of 'BC' was here make[2]: *** [window.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13424#comment:1> MacPorts </projects/macports> Ports system for Mac OS