NetBSD Problem Report #36975

From martin@duskware.de  Wed Sep 12 16:20:14 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 4186563B8E9
	for <gnats-bugs@gnats.netbsd.org>; Wed, 12 Sep 2007 16:20:14 +0000 (UTC)
Message-Id: <20070912161948.6B8AF63B8E9@narn.NetBSD.org>
Date: Wed, 12 Sep 2007 16:19:48 +0000 (UTC)
From: lguillaume@berklee.edu
Reply-To: lguillaume@berklee.edu
To: netbsd-bugs-owner@NetBSD.org
Subject: devel/guile-lib fails to build on Darwin
X-Send-Pr-Version: www-1.0

>Number:         36975
>Category:       pkg
>Synopsis:       devel/guile-lib fails to build on Darwin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gdt
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 12 16:25:00 +0000 2007
>Last-Modified:  Wed Jan 14 19:46:37 +0000 2009
>Originator:     Louis Guillaume
>Release:        Darwin 8.10.0
>Organization:
>Environment:
Darwin xxxxx.xxx 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc
>Description:
This is part of a larger attempt to get finance/gnucash to build on OS X.

devel/guile-lib fails in the build phase on pkgsrc-2007Q2, Darwin-8.10.0. Here is the error...

===> Building for guile-lib-0.1.3nb3
Making all in src
gnumake[1]: Nothing to be done for `all'.
Making all in doc
guile --debug --use-srfi=13 -l ./guile-library.scm \
 -c '(for-each (lambda (m) (format #t "~a.scm\n" (string-join (map symbol->string m) "/"))) (map car *modules*))' \
 > guile-libraryscmfiles
../dev-environ ./make-texinfo.scm ./guile-library.scm >guile-library.texi
Backtrace:
In unknown file:
    ...
   ?: 46  (begin (if # #) (make-modules-in # full-name))
   ?: 47* (if (or # #) (try-load-module name))
   ?: 48  [try-load-module (srfi srfi-1)]
   ?: 49  (or (begin (try-module-linked name)) (try-module-autoload name) ...)
   ?: 50* [try-module-autoload (srfi srfi-1)]
   ?: 51  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
   ?: 52  (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda () #) ...) ...)
   ?: 53* [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>]
   ?: 54* [#<procedure #f ()>]
   ?: 55* (let* ((file #)) (cond (# => #) (# => #)))
   ?: 56  [#<procedure #f (full)> "/usr/pkg/share/guile/1.8/srfi/srfi-1.scm"]
   ?: 57  [with-fluid* #<fluid 7> #f #<procedure #f ()>]
   ?: 58* [#<procedure #f ()>]
   ?: 59* [load-file #<primitive-procedure primitive-load> ...]
   ?: 60* [save-module-excursion #<procedure #f ()>]
   ?: 61  (let (# #) (dynamic-wind # thunk #))
   ?: 62  [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>]
   ?: 63* [#<procedure #f ()>]
   ?: 64* [primitive-load "/usr/pkg/share/guile/1.8/srfi/srfi-1.scm"]
In /usr/pkg/share/guile/1.8/srfi/srfi-1.scm:
 223: 65* [load-extension "libguile-srfi-srfi-1-v-3" "scm_init_srfi_1"]

/usr/pkg/share/guile/1.8/srfi/srfi-1.scm:223:1: In procedure dynamic-link in expression (load-extension "libguile-srfi-srfi-1-v-3" "scm_init_srfi_1"):
/usr/pkg/share/guile/1.8/srfi/srfi-1.scm:223:1: file: "libguile-srfi-srfi-1-v-3", message: "dlopen(libguile-srfi-srfi-1-v-3.so, 9): image not found"
gnumake[1]: *** [guile-library.texi] Error 1
gnumake: *** [all-recursive] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/guile-lib
*** Error code 1

Stop.
>How-To-Repeat:
>From a pkgsrc-2007Q2 checkout, attempt to build devel/guile-lib on OS X.

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->gdt
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Thu, 13 Sep 2007 15:47:52 +0000
Responsible-Changed-Why:
Over to maintainer.
lang/guile's problem?


>Unformatted:

 This seems to be part of a larger issue with shlibs not loading.  If
 you build guile, does "(use-modules (ice-9 readline))" give a similar
 error?  I have asked upstream about this - it seems to be a ltdl
 issue.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.