Opened 19 years ago

Closed 19 years ago

#4620 closed defect (fixed)

upgrading gawk from 3.1.4_1 to 3.1.5_0 fails

Reported by: whatdistraction@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: mellon85@…
Port:

Description

Attempting to upgrade gawk from 3.1.4_1 to 3.1.5_0 fails with the following error:

dfa.c: In function 'dfaexec': dfa.c:2879: warning: pointer targets in assignment differ in signedness dfa.c:2880: warning: pointer targets in assignment differ in signedness make[2]: * [dfa.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: Unable to upgrade port: 1

gcc info: ====== mcc-1:~ mcc$ gcc --version powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 (Apple Computer, Inc. build 5026) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Change History (5)

comment:1 Changed 19 years ago by toby@…

Component: basedports

comment:2 Changed 19 years ago by toby@…

Cc: mellon85@… added

* Bug 4650 has been marked as a duplicate of this bug. *

comment:3 Changed 19 years ago by toby@…

Can you please include the output of 'port -d install gawk' ?

comment:4 Changed 19 years ago by mellon85@…

here is the complete output

port -d install gawk

DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/lang/gawk DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/lang/gawk DEBUG: Requested variant powerpc is not provided by port gawk. DEBUG: Requested variant ipv6 is not provided by port gawk. DEBUG: Requested variant darwin is not provided by port gawk. DEBUG: Requested variant cocoa is not provided by port gawk. DEBUG: Requested variant ssl is not provided by port gawk. DEBUG: Requested variant macosx is not provided by port gawk. DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/textproc/libiconv DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Executing com.apple.main (gawk) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/powerpc/ gawk-3.1.5_0.powerpc.tgz DEBUG: Skipping unarchive (gawk) since no archive found DEBUG: Skipping completed com.apple.unarchive (gawk) ---> Fetching gawk DEBUG: Executing com.apple.fetch (gawk) ---> Verifying checksum(s) for gawk DEBUG: Executing com.apple.checksum (gawk) ---> Checksumming gawk-3.1.5.tar.bz2 DEBUG: Correct (md5) checksum for gawk-3.1.5.tar.bz2 DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 ---> Extracting gawk DEBUG: Executing com.apple.extract (gawk) ---> Extracting gawk-3.1.5.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/gawk/gawk-3.1.5.tar.bz2 DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_gawk/work" && /opt/local/bin/bzip2 -dc /opt/local/var/db/dports/distfiles/gawk/gawk-3.1.5.tar.bz2 | gnutar -- no-same-owner -xf -' DEBUG: Executing com.apple.patch (gawk) ---> Configuring gawk DEBUG: Executing com.apple.configure (gawk) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_gawk/work/ gawk-3.1.5" && CFLAGS="-I/opt/local/include -L/opt/local/lib" ./configure --prefix=/opt/local -- with-libiconv-prefix=/opt/local --infodir=/opt/local/share/info --mandir=/opt/local/share/man' checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for egrep... grep -E checking for bison... bison -y checking whether ln -s works... yes checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for a BSD-compatible install... ./install-sh -c checking whether make sets $(MAKE)... (cached) yes checking for special development options... no checking for AIX... no checking for library containing strerror... none required 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for AIX compilation hacks... no checking for Linux/Alpha compilation hacks... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for function prototypes... yes checking for string.h... (cached) yes checking whether NLS is requested... yes checking for msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext checking for msgmerge... /opt/local/bin/msgmerge checking build system type... powerpc-apple-darwin8.2.0 checking host system type... powerpc-apple-darwin8.2.0 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... -L/opt/local/lib -liconv checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -L/opt/local/lib -lintl -liconv -lc -Wl,-framework - Wl,CoreFoundation checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking mcheck.h usability... no checking mcheck.h presence... no checking for mcheck.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking signum.h usability... no checking signum.h presence... no checking for signum.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for memory.h... (cached) yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for long long... yes checking for unsigned long long... yes checking for inttypes.h... yes checking for stdint.h... yes checking for ssize_t... yes checking for unsigned int... yes checking size of unsigned int... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking for socklen_t... yes checking for vprintf... yes checking for _doprnt... no checking for stdlib.h... (cached) yes checking for strtod... yes checking for strtod with C89 semantics... no checking for stdlib.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for fmod in -lm... yes checking for fmod... yes checking for getgrent... yes checking for getgroups... yes checking for grantpt... yes checking for iswctype... yes checking for mbrlen... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for snprintf... yes checking for strchr... yes checking for strerror... yes checking for strftime... yes checking for strncasecmp... yes checking for strtod... (cached) yes checking for strtoul... yes checking for system... yes checking for tzset... yes checking for isascii... yes checking for btowc... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for wcrtomb... yes checking for wcscoll... yes checking for wcscoll... (cached) yes checking for wctype... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking whether getpgrp requires zero arguments... yes checking for printf %F format... yes checking for gethostbyname... yes checking for connect... yes checking where to find the socket library calls... the standard library checking for struct stat.st_blksize... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether char is unsigned... no checking for an ANSI C-conforming const... yes checking for C/C++ restrict keyword... restrict checking for inline... inline checking for preprocessor stringizing operator... yes configure: creating ./config.status config.status: creating Makefile config.status: creating awklib/Makefile config.status: creating doc/Makefile config.status: creating po/Makefile.in config.status: creating test/Makefile config.status: creating version.c config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: fixing Makefile to keep version.c ---> Building gawk with target all DEBUG: Executing com.apple.build (gawk) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_gawk/work/ gawk-3.1.5" && make all' make 'CFLAGS=-I/opt/local/include -L/opt/local/lib' 'LDFLAGS=' all-recursive Making all in . if gcc -DDEFPATH="\".:/opt/local/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/opt/ local/share/locale\"" -I. -I. -I. -pipe -mcpu=7450 -mtune=7450 -O3 -I/opt/local/include -I/opt/ local/include -L/opt/local/lib -MT array.o -MD -MP -MF ".deps/array.Tpo" -c -o array.o array.c; \ then mv -f ".deps/array.Tpo" ".deps/array.Po"; else rm -f ".deps/array.Tpo"; exit 1; fi if gcc -DDEFPATH="\".:/opt/local/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/opt/ local/share/locale\"" -I. -I. -I. -pipe -mcpu=7450 -mtune=7450 -O3 -I/opt/local/include -I/opt/ local/include -L/opt/local/lib -MT awkgram.o -MD -MP -MF ".deps/awkgram.Tpo" -c -o awkgram.o awkgram.c; \ then mv -f ".deps/awkgram.Tpo" ".deps/awkgram.Po"; else rm -f ".deps/awkgram.Tpo"; exit 1; fi if gcc -DDEFPATH="\".:/opt/local/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/opt/ local/share/locale\"" -I. -I. -I. -pipe -mcpu=7450 -mtune=7450 -O3 -I/opt/local/include -I/opt/ local/include -L/opt/local/lib -MT builtin.o -MD -MP -MF ".deps/builtin.Tpo" -c -o builtin.o builtin.c; \ then mv -f ".deps/builtin.Tpo" ".deps/builtin.Po"; else rm -f ".deps/builtin.Tpo"; exit 1; fi builtin.c: In function 'wide_tolower_toupper': builtin.c:1764: warning: pointer targets in assignment differ in signedness builtin.c:1775: warning: pointer targets in assignment differ in signedness builtin.c:1812: warning: pointer targets in passing argument 1 of 'make_str_node' differ in signedness if gcc -DDEFPATH="\".:/opt/local/share/awk\"" -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"/opt/ local/share/locale\"" -I. -I. -I. -pipe -mcpu=7450 -mtune=7450 -O3 -I/opt/local/include -I/opt/ local/include -L/opt/local/lib -MT dfa.o -MD -MP -MF ".deps/dfa.Tpo" -c -o dfa.o dfa.c; \ then mv -f ".deps/dfa.Tpo" ".deps/dfa.Po"; else rm -f ".deps/dfa.Tpo"; exit 1; fi In file included from dfa.c:112: hard-locale.h: In function 'hard_locale': hard-locale.h:43: error: invalid storage class for function 'xmalloc' hard-locale.h:45: warning: initialization makes pointer from integer without a cast dfa.c: At top level: dfa.c:125: error: conflicting types for 'xmalloc' hard-locale.h:45: error: previous implicit declaration of 'xmalloc' was here dfa.c: In function 'update_mb_len_index': dfa.c:417: warning: pointer targets in passing argument 1 of 'mbrlen' differ in signedness dfa.c: In function 'lex': dfa.c:793: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:941: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:947: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:957: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:965: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:980: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1083: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1086: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1110: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1114: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1115: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1118: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1130: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1131: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c: In function 'match_mb_charset': dfa.c:2602: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness dfa.c:2609: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness dfa.c:2622: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness dfa.c: In function 'dfaexec': dfa.c:2879: warning: pointer targets in assignment differ in signedness dfa.c:2880: warning: pointer targets in assignment differ in signedness make[2]: * [dfa.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_gawk/work/ gawk-3.1.5" && make all" returned error 2 Command output: dfa.c: At top level: dfa.c:125: error: conflicting types for 'xmalloc' hard-locale.h:45: error: previous implicit declaration of 'xmalloc' was here dfa.c: In function 'update_mb_len_index': dfa.c:417: warning: pointer targets in passing argument 1 of 'mbrlen' differ in signedness dfa.c: In function 'lex': dfa.c:793: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:941: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:947: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:957: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:965: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:980: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1083: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1086: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1110: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1114: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1115: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1118: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1130: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c:1131: warning: pointer targets in passing argument 1 of 'update_mb_len_index' differ in signedness dfa.c: In function 'match_mb_charset': dfa.c:2602: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness dfa.c:2609: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness dfa.c:2622: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness dfa.c: In function 'dfaexec': dfa.c:2879: warning: pointer targets in assignment differ in signedness dfa.c:2880: warning: pointer targets in assignment differ in signedness make[2]: * [dfa.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for gawk): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install

comment:5 Changed 19 years ago by toby@…

Resolution: fixed
Status: newclosed

Fixed! Problem only shows up if you have gettext installed, which I did not.

Note: See TracTickets for help on using tickets.