pkgsrc-Bugs archive

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

pkg/42140: [lang/ocaml] build failure



>Number:         42140
>Category:       pkg
>Synopsis:       [lang/ocaml] build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 30 05:30:00 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.18, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.18 NetBSD 5.99.18 (GENERIC) #0: Sun Sep 
27 20:09:25 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 ocaml-3.11.1.tar.bz2
=> Checksum RMD160 OK for ocaml-3.11.1.tar.bz2
===> depends-message [ocaml-3.11.1] ===> Installing dependencies for 
ocaml-3.11.1
==========================================================================
The following variables will affect the build process of this package,
ocaml-3.11.1.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4

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

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1

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
===> tools-message [ocaml-3.11.1] ===> Overriding tools for ocaml-3.11.1
===> extract-message [ocaml-3.11.1] ===> Extracting for ocaml-3.11.1
/bin/cp /usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/asmrun/power-elf.S 
/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/asmrun/power-bsd.S
/bin/cp /usr/pkgsrc/mk/gnu-config/config.guess 
/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/config/gnu/
/bin/cp /usr/pkgsrc/mk/gnu-config/config.sub 
/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/config/gnu/
===> patch-message [ocaml-3.11.1] ===> Patching for ocaml-3.11.1
=> Applying pkgsrc patches for ocaml-3.11.1
===> wrapper-message [ocaml-3.11.1] ===> Creating toolchain wrappers for 
ocaml-3.11.1
===> configure-message [ocaml-3.11.1] ===> Configuring for ocaml-3.11.1
=> Checking for portability problems in extracted files
Configuring for a i486--netbsdelf ...
The C compiler is ANSI-compliant.
Checking the sizes of integers and pointers...
OK, this is a regular 32 bit architecture.
64-bit "long long" integer type found (printf with "%ll").
This is a little-endian architecture.
Doubles can be word-aligned.
64-bit integers can be word-aligned.
Native division and modulus have round-towards-zero semantics, will use them.
ranlib found
#! appears to work in shell scripts
POSIX signal handling found.
getrusage() found.
times() found.
termcap functions found (with libraries '-lcurses')
You have BSD sockets.
socklen_t is defined in <sys/socket.h>
inet_aton() found.
IPv6 is supported.
unistd.h found.
off_t is defined in <sys/types.h>
dirent.h found.
rewinddir() found.
lockf() found.
mkfifo() found.
getcwd() found.
getwd() found.
getpriority() found.
utime() found.
utimes() found.
dup2() found.
fchmod() found.
truncate() found.
sys/select.h found.
select() found.
symlink() found.
waitpid() found.
wait4() found.
getgroups() found.
POSIX termios found.
Asynchronous I/O are supported.
setitimer() found.
gethostname() found.
uname() found.
gettimeofday() found.
mktime() found.
setsid() found.
putenv() found.
setlocale() and <locale.h> found.
dlopen() found.
Dynamic loading of shared libraries is supported.
mmap() found.
Replay debugger supported.
Cannot detect system stack overflow.
POSIX threads library supported.
Options for linking with POSIX threads: -lpthread
sigwait() found
Bytecode threads library supported.
X11 not found, the "graph" library will not be supported.
NDBM found (in /usr/include)
Configuring LablTk...
Configuration failed, LablTk will not be built.

** Configuration summary **

Directories where Objective Caml will be installed:
        binaries.................. /usr/pkg/bin
        standard library.......... /usr/pkg/lib/ocaml
        manual pages.............. /usr/pkg/man (with extension .1)
Configuration for the bytecode compiler:
        C compiler used........... cc
        options for compiling.....  -D_FILE_OFFSET_BITS=64 -D_REENTRANT
        options for linking.......  -Wl,-E   -L/usr/lib -Wl,-R/usr/lib 
-Wl,-R/usr/pkg/lib  -lm  -lcurses -lpthread
        shared libraries are supported
        options for compiling..... -fPIC  -D_FILE_OFFSET_BITS=64 -D_REENTRANT
        command for building...... cc -shared -o lib.so -Wl,-rpath,/a/path objs
Configuration for the native-code compiler:
        hardware architecture..... i386
        OS variant................ bsd_elf
        C compiler used........... cc
        options for compiling.....  -D_FILE_OFFSET_BITS=64 -D_REENTRANT
        options for linking.......    -L/usr/lib -Wl,-R/usr/lib 
-Wl,-R/usr/pkg/lib  -lm
        assembler ................ as
        preprocessed assembler ... gcc -c
        profiling with gprof ..... supported
Source-level replay debugger: supported
Additional libraries supported:
        unix str num dynlink bigarray systhreads threads dbm
Configuration for the "num" library:
        target architecture ...... ia32 (asm level 2)
Configuration for the "graph" library:
        options for compiling .... 
        options for linking ...... not found
The "labltk" library: not supported

** Objective Caml configuration completed successfully **

===> build-message [ocaml-3.11.1] ===> Building for ocaml-3.11.1
...
../ocamlcompopt.sh -nostdlib -a -I stdlib ocamlbuild/ocamlbuild_pack.cmx 
ocamlbuild/ocamlbuild_plugin.cmx -o ocamlbuild/ocamlbuildlightlib.cmxa
gmake[1]: Leaving directory `/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1'
cd byterun; /usr/pkg/bin/gmake all
gmake[1]: Entering directory `/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/byterun'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/byterun'
if test -f stdlib/libcamlrun.a; then :; else \
          ln -s ../byterun/libcamlrun.a stdlib/libcamlrun.a; fi
cd byterun; /usr/pkg/bin/gmake all
gmake[1]: Entering directory `/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/byterun'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/pkgsrc/lang/ocaml/work/ocaml-3.11.1/byterun'
cp byterun/ocamlrun boot/ocamlrun
cp: boot/ocamlrun: Text file busy
gmake: *** [coldstart] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/ocaml
*** Error code 1

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



Home | Main Index | Thread Index | Old Index