Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2009 15:27:05 GMT
From:      Ricardo Jesus <ricardo.meb.jesus@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133307: ocaml-nox11 doesn't build in amd64
Message-ID:  <200904021527.n32FR51k054910@www.freebsd.org>
Resent-Message-ID: <200904021530.n32FU1kv079820@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133307
>Category:       ports
>Synopsis:       ocaml-nox11 doesn't build in amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 02 15:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ricardo Jesus
>Release:        7.1-RELEASE
>Organization:
>Environment:
7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 GENERIC  amd64
>Description:
Building on port /lang/ocaml-nox11 ends up in an error:

./../ocamlcomp.sh -c -warn-error A -g unix.mli
./../ocamlcomp.sh -c -warn-error A -g -nolabels unix.ml
./../ocamlcomp.sh -c -warn-error A -g unixLabels.mli
./../ocamlcomp.sh -c -warn-error A -g -nolabels unixLabels.ml
./../boot/ocamlrun ../../tools/ocamlmklib -o unix -ocamlc '../../ocamlcomp.sh' -linkall unix.cmo unixLabels.cmo
cc -O -I../../byterun -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe -fPIC -c strstubs.c
./../boot/ocamlrun ../../tools/ocamlmklib -o str strstubs.o
./../ocamlcomp.sh -c -warn-error A -g str.mli
./../ocamlcomp.sh -c -warn-error A -g str.ml
./../boot/ocamlrun ../../tools/ocamlmklib -ocamlc '../../ocamlcomp.sh' -o str str.cmo
cc -O -I../../byterun -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe -fPIC  -DBNG_ARCH_amd64 -DBNG_ASM_LEVEL=1 -c bng.c
cc -O -I../../byterun -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -O2 -fno-strict-aliasing -pipe -fPIC  -DBNG_ARCH_amd64 -DBNG_ASM_LEVEL=1 -c nat_stubs.c
./../boot/ocamlrun ../../tools/ocamlmklib -o nums bng.o nat_stubs.o
./../ocamlcomp.sh -c -warn-error A -g int_misc.mli
./../ocamlcomp.sh -c -warn-error A -g int_misc.ml
./../ocamlcomp.sh -c -warn-error A -g nat.mli
./../ocamlcomp.sh -c -warn-error A -g nat.ml
./../ocamlcomp.sh -c -warn-error A -g big_int.mli
./../ocamlcomp.sh -c -warn-error A -g big_int.ml
./../ocamlcomp.sh -c -warn-error A -g arith_flags.mli
./../ocamlcomp.sh -c -warn-error A -g arith_flags.ml
./../ocamlcomp.sh -c -warn-error A -g ratio.mli
./../ocamlcomp.sh -c -warn-error A -g ratio.ml
./../ocamlcomp.sh -c -warn-error A -g num.mli
./../ocamlcomp.sh -c -warn-error A -g num.ml
./../ocamlcomp.sh -c -warn-error A -g arith_status.mli
./../ocamlcomp.sh -c -warn-error A -g arith_status.ml
./../boot/ocamlrun ../../tools/ocamlmklib -ocamlc '../../ocamlcomp.sh' -o nums int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo  ratio.cmo num.cmo arith_status.cmo
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../utils/misc.ml
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../utils/clflags.ml
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../utils/tbl.ml
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../utils/consistbl.ml
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../utils/terminfo.ml
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../utils/warnings.ml
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../parsing/asttypes.mli
./../boot/ocamlrun ../../ocamlc -c -warn-error A -I ../../stdlib -I ../../utils -I ../../typing -I ../../bytecomp ../../parsing/location.ml
File "../../parsing/location.ml", line 211, characters 6-26:
Unbound value Linenum.for_position
*** Error code 2

Stop in /usr/ports/lang/ocaml-nox11/work/ocaml-3.10.2/otherlibs/dynlink.
*** Error code 1

Stop in /usr/ports/lang/ocaml-nox11/work/ocaml-3.10.2.
*** Error code 1

Stop in /usr/ports/lang/ocaml-nox11.
*** Error code 1

Stop in /usr/ports/lang/ocaml-nox11.

>How-To-Repeat:
cd /usr/ports/lang/ocaml-nox11; make install clean
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904021527.n32FR51k054910>