Subject: pkg/12293: devel/guile-oops: dynamic loading failure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ori@tahoo.org>
List: netbsd-bugs
Date: 02/27/2001 21:39:57
>Number: 12293
>Category: pkg
>Synopsis: guile-oops: dynamic loading failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 27 04:41:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: ORI Manabu
>Release: NetBSD-current
>Organization:
Graduate School of Informatics, Kyoto Univ.
>Environment:
System: NetBSD ginger 1.5S NetBSD 1.5S (THINKPAD) #39: Mon Feb 26 15:45:24 JST 2001 m0ri@ginger:/local/current/kern.i386/compile/THINKPAD i386
Architecture: i386
Machine: i386
>Description:
guile-oops fails loading libgoopscore.
for example,
% guile
guile> (use-modules (oop goops))
;;; WARNING (no code for module (oop goops goopscore))
ERROR: Unbound variable: <generic>
ABORT: (unbound-variable)
guile>
>How-To-Repeat:
1. install guile-1.4 and guile-oops-0.9.0 via NetBSD package system.
2. execute /usr/pkg/bin/guile.
3. evaluate S-exp "(use-modules (oop goops))".
(see above).
>Fix:
apply following patch.
===Makefile.diff===
--- Makefile.orig Tue Feb 27 16:26:01 2001
+++ Makefile Tue Feb 27 21:34:08 2001
@@ -15,10 +15,4 @@
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-# XXX: are these symlinks needed? how do I include the second in PLIST?
-
-post-install:
- ${RM} ${PREFIX}/share/guile/oop/goops/libgoopscore.la
- ${RM} ${PREFIX}/share/guile/oop/goops/libgoopscore.so.4
-
.include "../../mk/bsd.pkg.mk"
===Makefile.diff===
===PLIST.diff===
--- pkg/PLIST.orig Tue Feb 27 21:34:39 2001
+++ pkg/PLIST Tue Feb 27 21:35:25 2001
@@ -24,6 +24,8 @@
share/guile/oop/goops/save.scm
share/guile/oop/goops/stklos.scm
share/guile/oop/goops/util.scm
+share/guile/oop/goops/libgoopscore.la
+share/guile/oop/goops/libgoopscore.so.4
@dirrm share/guile/oop/goops
@dirrm share/guile/oop
@dirrm include/goops
===PLIST.diff===
>Release-Note:
>Audit-Trail:
>Unformatted: