NetBSD Problem Report #41336

From ryoh@bonnie.jaist.ac.jp  Sat May  2 11:47:00 2009
Return-Path: <ryoh@bonnie.jaist.ac.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id EAE5B63C131
	for <gnats-bugs@gnats.netbsd.org>; Sat,  2 May 2009 11:46:59 +0000 (UTC)
Message-Id: <20090502114650.AA0CF131CD@bonnie.jaist.ac.jp>
Date: Sat,  2 May 2009 20:46:50 +0900 (JST)
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
Reply-To: ryoh@jaist.ac.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: [devel/opencm] building failure
X-Send-Pr-Version: 3.95

>Number:         41336
>Category:       pkg
>Synopsis:       [devel/opencm] building failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 02 11:50:00 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.11, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.11 NetBSD 5.99.11 (MONOLITHIC) #74: Thu Apr 30 18:21:56 JST 2009 root@bonnie.jaist.ac.jp:/usr/src/sys/arch/i386/compile/MONOLITHIC 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 opencm-0.1.2alpha8-2-src.tgz
=> Checksum RMD160 OK for opencm-0.1.2alpha8-2-src.tgz
===> depends-message [opencm-0.1.2rc8nb4] ===> Installing dependencies for opencm-0.1.2rc8nb4
==========================================================================
The following variables will affect the build process of this package,
opencm-0.1.2rc8nb4.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency gmake>=3.81: found gmake-3.81
=> Build dependency checkperms>=1.1: found checkperms-1.10
=> Full dependency boehm-gc>=6.6nb1: found boehm-gc-7.1nb1
===> tools-message [opencm-0.1.2rc8nb4] ===> Overriding tools for opencm-0.1.2rc8nb4
===> extract-message [opencm-0.1.2rc8nb4] ===> Extracting for opencm-0.1.2rc8nb4
===> patch-message [opencm-0.1.2rc8nb4] ===> Patching for opencm-0.1.2rc8nb4
=> Applying pkgsrc patches for opencm-0.1.2rc8nb4
===> wrapper-message [opencm-0.1.2rc8nb4] ===> Creating toolchain wrappers for opencm-0.1.2rc8nb4
===> configure-message [opencm-0.1.2rc8nb4] ===> Configuring for opencm-0.1.2rc8nb4
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking if autoconf has been run for gc6.3... yes
checking build system type... i386-unknown-netbsdelf5.99.11
checking host system type... i486--netbsdelf
checking for i486--netbsdelf-gcc... cc
checking for C compiler default output... 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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking whether ln -s works... yes
checking for gawk... /usr/bin/awk
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether make sets $(MAKE)... yes
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for bison... bison -y
checking for makeinfo... yes
checking for texi2dvi... yes
checking for dvips... yes
checking for inline... inline
checking how to run the C preprocessor... cc -E
checking for egrep... grep -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 for unsigned long long... yes
checking size of unsigned long long... 8
checking for __uint64... no
checking size of __uint64... 0
checking for a curses/termcap compatible library... checking for tgetent in -lncurses... yes
-lncurses
checking term.h usability... yes
checking term.h presence... yes
checking for term.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for a readline compatible library... -lreadline
checking readline.h usability... no
checking readline.h presence... no
checking for readline.h... no
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking whether readline supports history... yes
checking history.h usability... no
checking history.h presence... no
checking for history.h... no
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for OpenSSL library... /usr
checking for Kerberos... /usr
checking for /usr/bin/editor... no
checking for setlinebuf... yes
checking for getaddrinfo... yes
checking for socket... yes
checking for gethostbyname... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... 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 sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.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 paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for an ANSI C-conforming const... 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 uid_t in sys/types.h... yes
checking for working POSIX fnmatch... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for unistd.h... (cached) 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 vprintf... yes
checking for _doprnt... no
checking for getcwd... yes
checking for gethostname... yes
checking for mkdir... yes
checking for strerror... yes
checking for strtoul... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/common/OS/Makefile
config.status: creating src/libdiff/Makefile
config.status: creating src/client/Makefile
config.status: creating src/client/browse/Makefile
config.status: creating src/server/Makefile
config.status: creating src/obspace/Makefile
config.status: creating src/repos/Makefile
config.status: creating libgdiff/Makefile
config.status: creating zlib/Makefile
config.status: creating doc/Makefile
config.status: creating src/opencm-version.h
config.status: creating src/opencm-builddir.h
config.status: creating src/opencm-editor.h
config.status: creating doc/version.texi
config.status: creating etc/Makefile
config.status: creating config.h
configure: configuring in gc6.3
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--with-ssl-dir=/usr' 'KRB5_BUILDLINK=/usr' '--prefix=/usr/pkg' '--host=i486--netbsdelf' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'CC=cc' 'CFLAGS=-O2 -pipe -mfpmath=sse -msse3 -march=athlon64 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED' 'CPPFLAGS=-D__unix__ -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib' 'host_alias=i486--netbsdelf' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-unknown-netbsdelf5.99.11
checking host system type... i486--netbsdelf
checking target system type... i486--netbsdelf
checking GC version numbers... major=6 minor=3 
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for i486--netbsdelf-g++... c++
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking dependency style of c++... none
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether to enable maintainer-specific portions of Makefiles... no
checking for dlopen in -ldl... no
checking whether to build shared libraries... yes
checking which machine-dependent code should be used... 
checking for ld used by GCC... /usr/pkgsrc/devel/opencm/work/.wrapper/bin/ld
checking if the linker (/usr/pkgsrc/devel/opencm/work/.wrapper/bin/ld) is GNU ld... yes
checking for /usr/pkgsrc/devel/opencm/work/.wrapper/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking command to parse nm output... ok
checking how to run the C preprocessor... cc -E
checking for egrep... grep -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 for i486--netbsdelf-ranlib... ranlib
checking for i486--netbsdelf-strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/pkgsrc/devel/opencm/work/.wrapper/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
checking whether Solaris gcc optimization fix is necessary... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating include/Makefile
config.status: executing depfiles commands
config.status: executing default commands
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
===> build-message [opencm-0.1.2rc8nb4] ===> Building for opencm-0.1.2rc8nb4
CONFIG_FILES=stamp-h CONFIG_HEADERS=config.h ./config.status
config.status: creating stamp-h
config.status: creating config.h
config.status: config.h is unchanged
making all in libgdiff
gmake[1]: Entering directory `/usr/pkgsrc/devel/opencm/work/opencm-0.1.2alpha8/base/libgdiff'
...
cc -O2 -pipe -mfpmath=sse -msse3 -march=athlon64 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED  -Wmissing-prototypes -Wall -Wreturn-type -DDATADIR=\"/usr/pkg/share\" -I./ -D__unix__ -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED   -DCLIENT_TIMEOUT=1800 -c server/DoRequest.c -o server/DoRequest.o
cc -O2 -pipe -mfpmath=sse -msse3 -march=athlon64 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED  -Wmissing-prototypes -Wall -Wreturn-type -DDATADIR=\"/usr/pkg/share\" -I./ -D__unix__ -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED   -DCLIENT_TIMEOUT=1800 -c client/browse/show_c.c -o client/browse/show_c.o
client/browse/show_c.l:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO'
client/browse/show_c.l: In function 'print_func_def':cc -O2 -pipe -mfpmath=sse -msse3 -march=athlon64 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED  -Wmissing-prototypes -Wall -Wreturn-type -DDATADIR=\"/usr/pkg/share\" -I./ -D__unix__ -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -DLDAP_DEPRECATED   -DCLIENT_TIMEOUT=1800 -c client/browse/show_make.c -o client/browse/show_make.o

client/browse/show_c.l:184: warning: implicit declaration of function 'yy_flex_realloc'
gmake[1]: *** [client/browse/show_c.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
client/browse/show_make.l:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'YY_PROTO'
gmake[1]: *** [client/browse/show_make.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/devel/opencm/work/opencm-0.1.2alpha8/base/src'
gmake: *** [all] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/opencm
*** Error code 1

Stop.

>How-To-Repeat:

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.