Opened 15 years ago
Closed 15 years ago
#21363 closed defect (fixed)
nvi-1.81.6 Make error - build failure on OS X 10.6.1
Reported by: | hiroki.ora@… | Owned by: | tobypeterson |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | nvi |
Description
---> Computing dependencies for nvi ---> Fetching nvi ---> Verifying checksum(s) for nvi ---> Extracting nvi ---> Applying patches to nvi ---> Configuring nvi ---> Building nvi Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && /usr/bin/make -j2 all " returned error 2 Command output: /usr/bin/make all-am /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o api.lo `test -f './../common/api.c' || echo './'`./../common/api.c /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o conv.lo `test -f './../common/conv.c' || echo './'`./../common/conv.c mkdir .libs /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -fno-common -DPIC -o .libs/api.o /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/conv.c -fno-common -DPIC -o .libs/conv.o In file included from ./../common/common.h:22, from ./../common/conv.c:28: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/conv.c:25: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from /usr/include/_wctype.h:63, from /usr/include/wchar.h:114, from /opt/local/include/iconv.h:106, from ./../common/conv.c:32: /usr/include/ctype.h:241: error: expected identifier or '(' before 'int' /usr/include/ctype.h:241: error: expected ')' before '==' token In file included from ./../common/../common/common.h:22, from ./../common/api.c:30: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/api.c:26: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition make[1]: *** [conv.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -o api.o >/dev/null 2>&1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Change History (4)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to toby@… |
---|
comment:2 Changed 15 years ago by tobypeterson
Version: | 1.8.0 |
---|
comment:3 Changed 15 years ago by hiroki.ora@…
Here is the debug log:
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/nvi DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/nvi DEBUG: OS Platform: darwin DEBUG: OS Version: 10.0.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port nvi. DEBUG: Requested variant i386 is not provided by port nvi. DEBUG: Requested variant macosx is not provided by port nvi. DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/nvi/work DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncurses 5.7_0 exists in the ports tree DEBUG: ncurses 5.7_0 +darwin_10 is the latest installed DEBUG: ncurses 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses DEBUG: OS Platform: darwin DEBUG: OS Version: 10.0.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncurses. DEBUG: Requested variant i386 is not provided by port ncurses. DEBUG: Requested variant macosx is not provided by port ncurses. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: epoch: in tree: 0 installed: 0 DEBUG: ncursesw 5.7_0 exists in the ports tree DEBUG: ncursesw 5.7_0 +darwin_10 is the latest installed DEBUG: ncursesw 5.7_0 +darwin_10 is active DEBUG: Merging existing variants darwin_10 into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncursesw DEBUG: OS Platform: darwin DEBUG: OS Version: 10.0.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port ncursesw. DEBUG: Requested variant i386 is not provided by port ncursesw. DEBUG: Requested variant macosx is not provided by port ncursesw. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: No need to upgrade! ncursesw 5.7_0 >= ncursesw 5.7_0 DEBUG: No need to upgrade! ncurses 5.7_0 >= ncurses 5.7_0 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db47 DEBUG: epoch: in tree: 0 installed: 0 DEBUG: db47 4.7.25_1 exists in the ports tree DEBUG: db47 4.7.25_1 is the latest installed DEBUG: db47 4.7.25_1 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db47 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.0.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port db47. DEBUG: Requested variant i386 is not provided by port db47. DEBUG: Requested variant macosx is not provided by port db47. DEBUG: No need to upgrade! db47 4.7.25_1 >= db47 4.7.25_1 ---> Computing dependencies for nvi DEBUG: Searching for dependency: ncurses DEBUG: Found Dependency: receipt exists for ncurses DEBUG: Searching for dependency: db47 DEBUG: Found Dependency: receipt exists for db47 DEBUG: Executing org.macports.main (nvi) ---> Fetching nvi DEBUG: Executing org.macports.fetch (nvi) ---> Verifying checksum(s) for nvi DEBUG: Executing org.macports.checksum (nvi) ---> Checksumming nvi-1.81.6.tar.bz2 DEBUG: Correct (md5) checksum for nvi-1.81.6.tar.bz2 DEBUG: setting option extract.cmd to /usr/bin/bzip2 ---> Extracting nvi DEBUG: Executing org.macports.extract (nvi) ---> Extracting nvi-1.81.6.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/nvi/nvi-1.81.6.tar.bz2 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work" && /usr/bin/bzip2 -dc /opt/local/var/macports/distfiles/nvi/nvi-1.81.6.tar.bz2 | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (nvi) ---> Applying patches to nvi ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/nvi/files/patch-common__db.h DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && /usr/bin/patch -p0' patching file ../common/db.h ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/nvi/files/patch-ex_script.c.diff DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && /usr/bin/patch -p0' patching file ../ex/ex_script.c ---> Configuring nvi DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: Executing org.macports.configure (nvi) DEBUG: Environment: CFLAGS='-O2 -arch i386' CPPFLAGS='-I/opt/local/include -I/opt/local/include/db47' CXXFLAGS='-O2 -arch i386' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib -L/opt/local/lib/db47' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32' CC='/usr/bin/gcc-4.2' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && ./configure --prefix=/opt/local --program-prefix=n --without-x --mandir=/opt/local/share/man' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i386-apple-darwin10.0.0 checking host system type... i386-apple-darwin10.0.0 checking for style of include used by make... GNU checking for gcc... /usr/bin/gcc-4.2 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed checking dependency style of /usr/bin/gcc-4.2... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.2 accepts -g... yes checking dependency style of /usr/bin/g++-4.2... gcc3 checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.2 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.2 static flag -static works... no checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.0.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by /usr/bin/g++-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes checking if /usr/bin/g++-4.2 static flag -static works... no checking if /usr/bin/g++-4.2 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.0.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if --enable-debug option specified... no checking for gcc... (cached) /usr/bin/gcc-4.2 checking whether we are using the GNU C compiler... (cached) yes checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... (cached) none needed checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3 checking whether recording of pathnames of libraries is enabled... yes checking if --enable-trace option specified... no checking for sh... /bin/sh checking for sendmail... /usr/sbin/sendmail checking for perl5... /opt/local/bin/perl5 checking for preserve directory... /var/tmp/vi.recover checking for fuser... /usr/bin/fuser checking for lsof... /usr/sbin/lsof checking for gawk... (cached) awk checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for cp... /bin/cp checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for rm... /bin/rm checking for ranlib... /usr/bin/ranlib checking for strip... /usr/bin/strip checking for X... disabled checking if --enable-widechar option specified... no checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iswblank... yes checking if --enable-gtk option specified... no checking if --enable-motif option specified... no checking if --enable-threads option specified... no checking if --enable-perlinterp option specified... no checking if --enable-tclinterp option specified... no checking for initscr in -lncurses... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for tgetent in -lncurses... yes checking for sys/mman.h... yes checking for sys/select.h... yes checking for ssize_t... yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for struct stat.st_blksize... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for bsearch... yes checking for gethostname... yes checking for memchr... yes checking for memset... yes checking for mkstemp... yes checking for mmap... yes checking for strdup... yes checking for strpbrk... yes checking for snprintf... yes checking for vsnprintf... yes checking for select... yes checking for setenv... yes checking for strsep... yes checking for unsetenv... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for fcntl/flock... flock checking for ftruncate/chsize... ftruncate checking for tigetstr/tigetnum... yes checking for waddnstr... yes checking for beep... yes checking for flash... yes checking for idlok... yes checking for keypad... yes checking for newterm... yes checking for setupterm... yes checking for broken gettimeofday system call... okay checking for System V pty calls... yes checking for revoke system call... yes checking for int type sprintf return value... yes checking for u_char... yes checking for u_short... yes checking for u_int... yes checking for u_long... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for int16_t... yes checking for u_int32_t... yes checking for int32_t... yes checking return type of fprintf... void checking fprintf prototype needed... no checking if --enable-dynamic-loading option specified... no checking if --disable-re option specified... bundled RE configure: creating ./config.status config.status: creating Makefile config.status: creating port.h config.status: creating pathnames.h config.status: creating recover config.status: creating config.h config.status: executing depfiles commands ---> Building nvi DEBUG: Executing org.macports.build (nvi) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && /usr/bin/make -j2 all' /usr/bin/make all-am /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o api.lo `test -f './../common/api.c' || echo './'`./../common/api.c /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o conv.lo `test -f './../common/conv.c' || echo './'`./../common/conv.c mkdir .libs mkdir .libs mkdir: .libs: File exists /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/conv.c -fno-common -DPIC -o .libs/conv.o /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -fno-common -DPIC -o .libs/api.o In file included from ./../common/common.h:22, from ./../common/conv.c:28: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/conv.c:25: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from ./../common/../common/common.h:22, from ./../common/api.c:30: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/api.c:26: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from /usr/include/_wctype.h:63, from /usr/include/wchar.h:114, from /opt/local/include/iconv.h:106, from ./../common/conv.c:32: /usr/include/ctype.h:241: error: expected identifier or '(' before 'int' /usr/include/ctype.h:241: error: expected ')' before '==' token make[1]: *** [conv.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -o api.o >/dev/null 2>&1 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && /usr/bin/make -j2 all " returned error 2 Command output: /usr/bin/make all-am /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o api.lo `test -f './../common/api.c' || echo './'`./../common/api.c /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o conv.lo `test -f './../common/conv.c' || echo './'`./../common/conv.c mkdir .libs mkdir .libs mkdir: .libs: File exists /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/conv.c -fno-common -DPIC -o .libs/conv.o /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -fno-common -DPIC -o .libs/api.o In file included from ./../common/common.h:22, from ./../common/conv.c:28: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/conv.c:25: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from ./../common/../common/common.h:22, from ./../common/api.c:30: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/api.c:26: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from /usr/include/_wctype.h:63, from /usr/include/wchar.h:114, from /opt/local/include/iconv.h:106, from ./../common/conv.c:32: /usr/include/ctype.h:241: error: expected identifier or '(' before 'int' /usr/include/ctype.h:241: error: expected ')' before '==' token make[1]: *** [conv.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -o api.o >/dev/null 2>&1 make: *** [all] Error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_nvi/work/nvi-1.81.6/dist" && /usr/bin/make -j2 all " returned error 2 Command output: /usr/bin/make all-am /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o api.lo `test -f './../common/api.c' || echo './'`./../common/api.c /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/`echo vi-ipc | sed 's&^&n&'`\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c -o conv.lo `test -f './../common/conv.c' || echo './'`./../common/conv.c mkdir .libs mkdir .libs mkdir: .libs: File exists /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/conv.c -fno-common -DPIC -o .libs/conv.o /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -fno-common -DPIC -o .libs/api.o In file included from ./../common/common.h:22, from ./../common/conv.c:28: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/conv.c:25: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from ./../common/../common/common.h:22, from ./../common/api.c:30: ./port.h:188:1: warning: "memcpy" redefined In file included from /usr/include/string.h:148, from ./../common/api.c:26: /usr/include/secure/_string.h:50:1: warning: this is the location of the previous definition In file included from /usr/include/_wctype.h:63, from /usr/include/wchar.h:114, from /opt/local/include/iconv.h:106, from ./../common/conv.c:32: /usr/include/ctype.h:241: error: expected identifier or '(' before 'int' /usr/include/ctype.h:241: error: expected ')' before '==' token make[1]: *** [conv.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -D__REGEX_PRIVATE -I. -I./../include -DVI=\"/opt/local/bin/nvi-ipc\" -I./../regex -I/opt/local/include -I/opt/local/include/db47 -O -c ./../common/api.c -o api.o >/dev/null 2>&1 make: *** [all] Error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for nvi): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Note: See
TracTickets for help on using
tickets.
Works for me, can you provide a debug log?