pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42217: [lang/gcc3-c++] build failure



>Number:         42217
>Category:       pkg
>Synopsis:       [lang/gcc3-c++] build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 22 22:35:00 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.20, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.20 NetBSD 5.99.20 (GENERIC) #13: Wed Oct 
21 16:31:32 JST 2009 
root%bonnie.jaist.ac.jp@localhost:/f/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
$ make
=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum SHA1 OK for gcc-3.3.6.tar.bz2
=> Checksum RMD160 OK for gcc-3.3.6.tar.bz2
===> depends-message [gcc3-c++-3.3.6] ===> Installing dependencies for 
gcc3-c++-3.3.6
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency checkperms>=1.1: found checkperms-1.10
=> Full dependency binutils>=2.13.2.1: found binutils-2.17nb1
=> Full dependency gcc3-c-3.3.6{,nb*}: found gcc3-c-3.3.6nb1
=> Full dependency gcc3-c>=3.3.6: found gcc3-c-3.3.6nb1
===> tools-message [gcc3-c++-3.3.6] ===> Overriding tools for gcc3-c++-3.3.6
===> extract-message [gcc3-c++-3.3.6] ===> Extracting for gcc3-c++-3.3.6
===> patch-message [gcc3-c++-3.3.6] ===> Patching for gcc3-c++-3.3.6
=> Applying pkgsrc patches for gcc3-c++-3.3.6
===> wrapper-message [gcc3-c++-3.3.6] ===> Creating toolchain wrappers for 
gcc3-c++-3.3.6
===> configure-message [gcc3-c++-3.3.6] ===> Configuring for gcc3-c++-3.3.6
/bin/mkdir -p /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6
cd /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6; for file in ltconfig 
boehm-gc/ltconfig; do  /bin/mv -f $file $file.bak;                             
/usr/bin/sed -e "s|\(version_type\)=linux|\1=sunos|g"           $file.bak > 
$file;                              /bin/chmod +x $file;                        
            done
cd /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6 && contrib/gcc_update --touch
=> Checking for portability problems in extracted files
*** This configuration is not supported in the following subdirectories:
     target-libiberty target-libf2c target-libffi target-boehm-gc target-zlib 
target-libjava zlib fastjar target-libobjc
    (Any other directories should still work fine.)
Created "Makefile" in /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6
Configuring libiberty...
creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... /usr/pkgsrc/lang/gcc3-c++/work/.tools/bin/makeinfo
checking for perl... perl
checking host system type... i486--netbsdelf2.0
checking build system type... i486--netbsdelf2.0
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... cc
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
Appending ./../config/mh-x86pic to xhost-mkfrag
checking how to run the C preprocessor... cc -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... no
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
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 whether errno must be declared... no
checking for ANSI C header files... yes
checking for uintptr_t... no
checking for pid_t... yes
checking whether the C compiler (cc -O2 -pipe -mfpmath=sse -msse3 
-march=athlon64 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/gcc3/lib) 
works... yes
checking whether the C compiler (cc -O2 -pipe -mfpmath=sse -msse3 
-march=athlon64 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/gcc3/lib) 
is a cross-compiler... no
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for sigsetmask... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for vfork.h... no
checking for working vfork... yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking whether canonicalize_file_name must be declared... yes
checking for getrusage... yes
checking for on_exit... no
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... no
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... i486--netbsdelf2.0
checking target system type... i486--netbsdelf2.0
checking build system type... i486--netbsdelf2.0
checking for gcc... (cached) cc
checking whether the C compiler (cc -O2 -pipe -mfpmath=sse -msse3 
-march=athlon64 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/gcc3/lib) 
works... yes
checking whether the C compiler (cc -O2 -pipe -mfpmath=sse -msse3 
-march=athlon64 -I/usr/include -I/usr/pkg/include -L/usr/lib -Wl,-R/usr/lib 
-L/usr/pkg/lib -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/gcc3/lib) 
is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking whether cc understands -c and -o together... (cached) yes
checking for gnatbind... no
checking for compiler driver that understands Ada... no
checking whether cc accepts -Wno-long-long... yes
checking how to run the C preprocessor... (cached) cc -E
checking for inline... (cached) inline
checking for volatile... yes
checking for long double... yes
checking for long long int... yes
checking for __int64... no
checking for built-in _Bool... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking execution character set... ASCII
checking whether make sets ${MAKE}... yes
checking whether a default assembler was specified... yes 
(/usr/pkg/i486--netbsdelf/bin/as - GNU as)
checking whether a default linker was specified... no
checking for GNU C library... no
checking for mawk... no
checking for gawk... gawk
checking whether ln works... yes
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for working stdbool.h... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for direct.h... no
checking for malloc.h... (cached) yes
checking for langinfo.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking byte ordering... little-endian
checking floating point format... IEEE (little-endian)
checking for mktemp... yes
checking for makeinfo... (cached) 
/usr/pkgsrc/lang/gcc3-c++/work/.tools/bin/makeinfo
checking for modern makeinfo... no
configure: warning: 
*** Makeinfo is missing or too old.
*** Info documentation will not be built.
checking for recent Pod::Man... no
checking for flex... flex
checking for bison... bison
checking for collect2 libraries... none required
checking for library containing exc_resume... no
checking for library containing ldexp... none required
checking for preprocessor stringizing operator... yes
checking for inttypes.h... yes
checking for times... (cached) yes
checking for clock... (cached) yes
checking for dup2... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... yes
checking for atoq... no
checking for sysconf... (cached) yes
checking for strsignal... (cached) yes
checking for putc_unlocked... yes
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for fwrite_unlocked... no
checking for fprintf_unlocked... no
checking for getrusage... (cached) yes
checking for nl_langinfo... yes
checking for lstat... yes
checking for scandir... yes
checking for alphasort... yes
checking for gettimeofday... (cached) yes
checking for mmap... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking whether the printf functions support %p... yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether getenv is declared... yes
checking whether atol is declared... yes
checking whether sbrk is declared... yes
checking whether abort is declared... yes
checking whether atof is declared... yes
checking whether getcwd is declared... yes
checking whether getwd is declared... yes
checking whether strsignal is declared... yes
checking whether putc_unlocked is declared... yes
checking whether fputs_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether strstr is declared... yes
checking whether errno is declared... yes
checking whether vasprintf is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether calloc is declared... yes
checking whether free is declared... yes
checking whether basename is declared... no
checking whether getopt is declared... yes
checking whether clock is declared... yes
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether times is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for uchar... 
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
checking for main in -lunwind... no
Using `./config/i386/i386.c' for machine-specific logic.
Using `./config/i386/i386.md' as machine description file.
Using the following target machine macro files:
        ./config/i386/i386.h
        ./config/i386/unix.h
        ./config/i386/att.h
        ./config/dbxelf.h
        ./config/elfos.h
        ./config/netbsd.h
        ./config/netbsd-elf.h
        ./config/i386/netbsd-elf.h
checking for library containing strerror... none required
checking for working const... (cached) yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... (cached) no
checking for alloca... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for argz.h... no
checking for limits.h... (cached) yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... (cached) yes
checking for iconv declaration... (cached) 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 2.4.1, ok
checking for catalogs to be installed...  be ca da de el es fr ja nl rw sv tr 
be ca da de el es fr ja nl rw sv tr
checking what assembler to use... /usr/pkg/i486--netbsdelf/bin/as
checking what linker to use... /usr/bin/ld
checking what nm to use... nm
checking what objdump to use... objdump
checking assembler alignment features... .p2align including maximum skip
checking assembler subsection support... working .subsection -1
checking assembler weak support... yes
checking assembler hidden support... no
checking assembler leb128 support... yes
checking assembler eh_frame optimization... yes
checking assembler section merging support... yes
checking assembler thread-local storage support... yes
checking assembler instructions... filds fists 
checking cmov syntax... no
checking assembler GOTOFF in data directives... yes
checking assembler dwarf2 debug_line support... yes
checking assembler --gdwarf2 support... yes
checking assembler --gstabs support... yes
checking linker read-only and read-write section mixing... read-write
checking linker PT_GNU_EH_FRAME support... yes
checking linker --as-needed support... yes
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for i486--netbsdelf2.0
updating cache ../config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating fixinc/Makefile
creating gccbug
creating mklibgcc
creating mkheaders
creating auto-host.h
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
===> build-message [gcc3-c++-3.3.6] ===> Building for gcc3-c++-3.3.6
...
creating cache ../config.cache
checking host system type... i486--netbsdelf2.0
checking target system type... i486--netbsdelf2.0
checking build system type... i486--netbsdelf2.0
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for gawk... gawk
checking whether ln -s works... yes
checking for gcc...  /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/xgcc 
-B/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/ 
-B/usr/pkg/gcc3/i486--netbsdelf2.0/bin/ -B/usr/pkg/gcc3/i486--netbsdelf2.0/lib/ 
-isystem /usr/pkg/gcc3/i486--netbsdelf2.0/include
checking whether we are using GNU C... yes
checking whether  /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/xgcc 
-B/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/ 
-B/usr/pkg/gcc3/i486--netbsdelf2.0/bin/ -B/usr/pkg/gcc3/i486--netbsdelf2.0/lib/ 
-isystem /usr/pkg/gcc3/i486--netbsdelf2.0/include accepts -g... yes
checking for c++...  /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/xgcc 
-shared-libgcc -B/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/ -nostdinc++  
-L/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i486--netbsdelf2.0/libstdc++-v3/src 
-L/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i486--netbsdelf2.0/libstdc++-v3/src/.libs
 -B/usr/pkg/gcc3/i486--netbsdelf2.0/bin/ 
-B/usr/pkg/gcc3/i486--netbsdelf2.0/lib/ -isystem 
/usr/pkg/gcc3/i486--netbsdelf2.0/include
checking whether we are using GNU C++... yes
checking whether  /usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/xgcc 
-shared-libgcc -B/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/gcc/ -nostdinc++  
-L/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i486--netbsdelf2.0/libstdc++-v3/src 
-L/usr/pkgsrc/lang/gcc3-c++/work/gcc-3.3.6/i486--netbsdelf2.0/libstdc++-v3/src/.libs
 -B/usr/pkg/gcc3/i486--netbsdelf2.0/bin/ 
-B/usr/pkg/gcc3/i486--netbsdelf2.0/lib/ -isystem 
/usr/pkg/gcc3/i486--netbsdelf2.0/include accepts -g... yes
checking for GCC version number... 3.3.6
checking for strerror in -lcposix... no
checking for as... /usr/pkg/i486--netbsdelf/bin/as
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD compatible install... 
/usr/pkgsrc/lang/gcc3-c++/work/.tools/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
CPU config directory is cpu/i486
OS config directory is os/bsd/netbsd
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking for object suffix... configure: error: installation or configuration 
problem; compiler does not work
gmake: *** [configure-target-libstdc++-v3] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/gcc3-c++
*** Error code 1

Stop.
        
>How-To-Repeat:
        
>Fix:
        



Home | Main Index | Thread Index | Old Index