Subject: pkg/13941: pkgsrc/devel/gmake broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <msanders@confusion.net>
List: netbsd-bugs
Date: 09/12/2001 21:19:39
>Number: 13941
>Category: pkg
>Synopsis: pkgsrc/devel/gmake broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 12 21:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Michael K. Sanders
>Release: NetBSD-current 20010910
>Organization:
>Environment:
NetBSD utopia.confusion.net 1.5X NetBSD 1.5X (GENERIC) #1: Tue Sep 11 09:08:46 PDT 2001 msanders@utopia.confusion.net:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
pkgsrc/devel/gmake fails to build; the configure script fails because
it thinks it's using a cross-compiler.
>How-To-Repeat:
cd /usr/pkgsrc/devel/gmake; make
Watch it fail.
$ make
...
===> Configuring for gmake-3.79.1
Linking gettext files into /usr/pkgsrc/devel/gmake/work.i386/.buildlink.
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking host system type... i386--netbsdelf
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... cc
checking whether the C compiler (cc -I/usr/pkgsrc/devel/gmake/work.i386/.buildlink/include -O2 -L/usr/pkgsrc/devel/gmake/work.i386/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/usr/pkgsrc/devel/gmake/work.i386/.buildlink/include -O2 -L/usr/pkgsrc/devel/gmake/work.i386/.buildlink/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for perl... perl
checking build system type... i386--netbsdelf
checking for getconf... getconf
checking for CFLAGS value to request large file support... no
checking for LDFLAGS value to request large file support... no
checking for LIBS value to request large file support... no
checking for _FILE_OFFSET_BITS... no
checking for _LARGEFILE_SOURCE... no
checking for _LARGE_FILES... no
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for stdlib.h... yes
checking for unistd.h... yes
checking for limits.h... yes
checking for sys/param.h... yes
checking for fcntl.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking whether cc understands -c and -o together... yes
checking for cc option to accept ANSI C... none needed
checking for working const... yes
checking for inline... inline
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether NLS is wanted... yes
checking for locale.h... yes
checking for library containing gettext... none required
checking whether the system has GNU gettext... yes
checking whether to use included gettext... no
checking for getcwd... yes
checking for setlocale... yes
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking which translations to install... de es fr ja ko nl pl pt_BR ru
checking for nanoseconds member of struct stat.st_mtim... no
checking for inttypes.h... yes
checking for library containing clock_gettime... none required
checking for standard gettimeofday... no (cross-compiling)
test: (cross-compiling): unexpected operator
checking for memmove... yes
checking for memcpy... yes
checking for strchr... yes
checking for strdup... yes
checking for psignal... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for fdopen... yes
checking for dup2... yes
checking for getcwd... (cached) yes
checking for sigsetmask... yes
checking for sigaction... yes
checking for getgroups... yes
checking for setlinebuf... yes
checking for seteuid... yes
checking for setegid... yes
checking for setreuid... yes
checking for setregid... yes
checking for pipe... yes
checking for strerror... yes
checking for strsignal... yes
checking for sys_siglist... yes
checking for working alloca.h... no
checking for alloca... yes
checking for vfork.h... no
checking for working vfork... checking for vfork... yes
yes
checking for vprintf... yes
checking for working strcoll... no
checking whether closedir returns void... yes
checking whether setvbuf arguments are reversed... configure: error: can not run test program while cross compiling
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/gmake
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/gmake
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/gmake
$ exit
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: