Subject: pkg/37584: lang/ocaml fails to build under Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 12/21/2007 16:50:09
>Number: 37584
>Category: pkg
>Synopsis: lang/ocaml fails to build under Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 21 16:50:09 +0000 2007
>Originator: Aleksey Cheusov
>Release: Linux
>Organization:
home
>Environment:
>Description:
=> Automatic manual page handling
=> Generating post-install file lists
=> Registering installation for ocaml-3.10.0
ocaml-3.10.0 requires installed package db4-4.5.20.2
=> Checking file-check results for ocaml-3.10.0
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR: /usr/pkg/lib/ocaml/stublibs/dllbigarray.so
ERROR: /usr/pkg/lib/ocaml/stublibs/dllmldbm.so
ERROR: /usr/pkg/lib/ocaml/stublibs/dllnums.so
ERROR: /usr/pkg/lib/ocaml/stublibs/dllstr.so
ERROR: /usr/pkg/lib/ocaml/stublibs/dllthreads.so
ERROR: /usr/pkg/lib/ocaml/stublibs/dllunix.so
ERROR: /usr/pkg/lib/ocaml/stublibs/dllvmthreads.so
*** Error code 1
>How-To-Repeat:
http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log/20071201.1319/ocaml-3.10.0/install.log
>Fix:
Index: lang/ocaml/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ocaml/Makefile,v
retrieving revision 1.56
diff -u -r1.56 Makefile
--- lang/ocaml/Makefile 3 Nov 2007 22:38:12 -0000 1.56
+++ lang/ocaml/Makefile 21 Dec 2007 13:39:57 -0000
@@ -14,7 +14,8 @@
# Stub libraries for functions missing from base system.
.if !empty(MACHINE_PLATFORM:MDarwin-*-powerpc) || ${OPSYS} == "DragonFly" || \
- ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS"
+ ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "SunOS" || \
+ ${OPSYS} == "Linux"
PLIST_SRC+= ${PKGDIR}/PLIST.stub
.endif