pkgsrc-Bugs archive

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

pkg/46995: devel/ocaml-findlib fails to install



>Number:         46995
>Category:       pkg
>Synopsis:       devel/ocaml-findlib fails to install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 22 17:00:01 +0000 2012
>Originator:     Sad Clouds
>Release:        
>Organization:
None
>Environment:
NetBSD atom510 6.0_BETA NetBSD 6.0_BETA (GENERIC) #1: Sun Apr  1 09:24:25 UTC 
2012  root@atom:/opt/obj.amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
When installing packages into /opt/pkg, ocaml-findlib fails to install 
properly, because config script changes target site-lib directory, based on 
whether install is done into /usr or /opt (no idea why they decided to hardcode 
this check)

===> Building binary package for ocaml-findlib-1.3.3
=> Creating binary package /opt/pkg.packages/All/ocaml-findlib-1.3.3.tgz
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/bigarray/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/camlp4/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/dbm/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/dynlink/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/Makefile.config'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/findlib.a'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/findlib.cma'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/findlib.cmxa'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/findlib.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/findlib.mli'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/findlib_top.cma'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/fl_metascanner.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/fl_metascanner.mli'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/fl_metatoken.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/fl_package_base.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/fl_package_base.mli'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/topfind.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/findlib/topfind.mli'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/graphics/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/num-top/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/num-top/num_top.cma'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/num-top/num_top.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/num-top/num_top_printers.cmi'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/num/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/ocamlbuild/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/stdlib/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/str/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/threads/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/site-lib/unix/META'
pkg_create: can't stat 
`/opt/pkg.obj/devel/ocaml-findlib/work.atom510/.destdir/opt/pkg/lib/ocaml/topfind'
pkg_create: lstat failed for file lib/ocaml/site-lib/bigarray/META: Not a 
directory
*** Error code 2

Stop.
make: stopped in /opt/pkgsrc/devel/ocaml-findlib
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/devel/ocaml-findlib
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/sysutils/xentools41

>How-To-Repeat:

>Fix:
atom510# diff -u findlib-1.3.3/configure.orig findlib-1.3.3/configure
--- findlib-1.3.3/configure.orig        2012-07-09 10:29:16.000000000 +0100
+++ findlib-1.3.3/configure     2012-09-22 17:54:18.000000000 +0100
@@ -247,8 +247,6 @@
 
 if [ -z "$ocaml_sitelib" ]; then
     case "$ocaml_core_stdlib" in
-       /opt/*)         ocaml_sitelib=`dirname "${ocaml_core_stdlib}"`/site-lib
-                       ;;
        *)              ocaml_sitelib="${ocaml_core_stdlib}/site-lib"
                        ;;
     esac



Home | Main Index | Thread Index | Old Index