[MacPorts] #22310: distcc fails to build on Snow Leopard

MacPorts noreply at macports.org
Fri Oct 30 07:31:15 PDT 2009


#22310: distcc fails to build on Snow Leopard
--------------------------------------+-------------------------------------
 Reporter:  kyle.tarplee@…            |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  1.8.1                                
 Keywords:  distcc                    |        Port:                                       
--------------------------------------+-------------------------------------
 I get this error:

 Port command started with PID 78709
 Computing dependencies for distcc
 Fetching distcc
 Attempting to fetch distcc-3.1.tar.bz2 from
 http://distfiles.macports.org/distcc
 Verifying checksum(s) for distcc
 Extracting distcc
 Configuring distcc
 Building distcc
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_distcc/work/distcc-3.1"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H
 -D_GNU_SOURCE -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/backoff.o -c src/backoff.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/climasq.o -c src/climasq.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/clinet.o -c src/clinet.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/clirpc.o -c src/clirpc.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/compile.o -c src/compile.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/cpp.o -c src/cpp.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/distcc.o -c src/distcc.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/remote.o -c src/remote.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/ssh.o -c src/ssh.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/state.o -c src/state.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/strip.o -c src/strip.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/timefile.o -c src/timefile.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/traceenv.o -c src/traceenv.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/include_server_if.o -c
 src/include_server_if.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/where.o -c src/where.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/emaillog.o -c src/emaillog.c
 /usr/bin/gcc-4.2 -I/opt/local/include -DHAVE_CONFIG_H -D_GNU_SOURCE
 -DSYSCONFDIR="\"/opt/local/etc\""
 -DPKGDATADIR="\"/opt/local/share/distcc\"" -Isrc -I"./src" -I"./lzo"
 -Werror -O2 -arch x86_64 -MD -W -Wall -Wimplicit -Wshadow -Wpointer-arith
 -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
 -Wmissing-prototypes -Wnested-externs -Wmissing-declarations
 -Wuninitialized -D_THREAD_SAFE  -o src/arg.o -c src/arg.c
 In file included from src/emaillog.c:36:
 src/snprintf.h:30: error: expected declaration specifiers or '...' before
 numeric constant
 src/snprintf.h:30: error: expected declaration specifiers or '...' before
 '__builtin_object_size'
 cc1: warnings being treated as errors
 src/snprintf.h:30: warning: conflicting types for built-in function
 '__builtin___snprintf_chk'
 src/snprintf.h:37: error: expected declaration specifiers or '...' before
 numeric constant
 src/snprint
 f.h:37: error: expected declaration specifiers or '...' before
 '__builtin_object_size'
 src/snprintf.h:37: warning: conflicting types for built-in function
 '__builtin___vsnprintf_chk'
 make: *** [src/emaillog.o] Error 1
 make: *** Waiting for unfinished jobs....
 Error: Status 1 encountered during processing.
 Executing: /opt/local/bin/port install distcc

-- 
Ticket URL: <http://trac.macports.org/ticket/22310>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list