From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 26 12:40:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F09001065672 for ; Sun, 26 Jul 2009 12:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CBF888FC16 for ; Sun, 26 Jul 2009 12:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6QCe1Kj045934 for ; Sun, 26 Jul 2009 12:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6QCe1qO045933; Sun, 26 Jul 2009 12:40:01 GMT (envelope-from gnats) Resent-Date: Sun, 26 Jul 2009 12:40:01 GMT Resent-Message-Id: <200907261240.n6QCe1qO045933@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "RandomUser" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 863081065670 for ; Sun, 26 Jul 2009 12:31:05 +0000 (UTC) (envelope-from rannumgen@globaleyes.net) Received: from MX1.ll.net (mail.globaleyes.net [209.131.230.155]) by mx1.freebsd.org (Postfix) with ESMTP id 51D318FC16 for ; Sun, 26 Jul 2009 12:31:05 +0000 (UTC) (envelope-from rannumgen@globaleyes.net) Received: from FreeBSD2.LocalNET10 (pool-71-171-149-202.chi01.dsl-w.verizon.net [71.171.149.202]) by MX1.ll.net (Vircom SMTPRS 4.4.571.23) with ESMTP id for ; Sun, 26 Jul 2009 07:19:06 -0500 Message-Id: <1248610758.3574@FreeBSD2.LocalNET10> Date: Sun, 26 Jul 2009 07:19:18 -0500 From: "RandomUser" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.9 Cc: Subject: ports/137151: ports/slib-guile using latest 3b1 version of slib fails to install "(require 'new-catalog)" -> Error code 1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 12:40:02 -0000 >Number: 137151 >Category: ports >Synopsis: ports/slib-guile using latest 3b1 version of slib fails to install "(require 'new-catalog)" -> Error code 1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 12:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: RandomUser >Release: FreeBSD 6.4-STABLE i386 >Organization: >Environment: System: FreeBSD 6.4-STABLE #0: Sat Jul 4 18:28:39 CDT 2009 libgmp-4.3.1 guile-1.8.6_1 slib-3b1_1 (manual adjustment to slib install to get latest version: 3b1) setenv GUILE_LOAD_PATH=/usr/local/share/slib/ >Description: ===> Installing for slib-guile-3b1_1 ===> slib-guile-3b1_1 depends on file: /usr/local/share/slib/require.scm - found ===> slib-guile-3b1_1 depends on executable: guile - found ===> Generating temporary packing list ===> Checking if lang/slib-guile already installed /bin/ln -shf /usr/local/share/slib /usr/local/share/guile/1.8/slib cd /usr/local/share/guile/1.8/slib && /usr/local/bin/guile -q -l guile.init -c "(require 'new-catalog)" *** Error code 1 Stop in /ad4/usrports/lang/slib-guile. >How-To-Repeat: Before setting GUILE_LOAD_PATH=/usr/local/share/slib/, the error message was: /bin/ln -shf /usr/local/share/slib /usr/local/share/guile/1.8/slib cd /usr/local/share/guile/1.8/slib && /usr/local/bin/guile -q -l guile.init -c "(require 'new-catalog)" ERROR: Unbound variable: require *** Error code 1 Stop in /ad4/usrports/lang/slib-guile. >Fix: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A) Modify "do-install" target in the Makefile === from ${LN} -shf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/1.8/slib cd ${PREFIX}/share/guile/1.8/slib && \ ${LOCALBASE}/bin/guile -q -l guile.init -c \ "(require 'new-catalog)" === to ${LN} -shf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/1.8/slib cd ${PREFIX}/share/guile/1.8/slib && \ ${LOCALBASE}/bin/guile -q -l guile.init -c \ "(use-modules (ice-9 slib));(require 'new-catalog)" =========== PATCH ============== 9,10c9,10 < PORTVERSION= 3a4 # Keep this in sync with lang/slib < PORTREVISION= 2 --- > PORTVERSION= 3b1 # Keep this in sync with lang/slib > PORTREVISION= 1 29c29 < "(require 'new-catalog)" --- > "(use-modules (ice-9 slib))(require 'new-catalog)" =========== REFERENCE ================ http://sources.redhat.com/ml/guile/2000-04/msg00114.html - - - - - - - - - - - - - - - - - - - - - - - - - - B) mkdir /usr/local/share/guile/site -- -- - - - - - - - - - - - - - - - - - - - - - - - NOTE: when compiling GnuCASH which requires "/usr/local/share/guile/1.8/slibcat", it was necessary to create a link from "../guile/site/slibcat". Don't know if this is the proper way to handle this requirement for slibcat or not. Installing slib-3b1 has fixed GnuCASH's requrement for slib-3b1 (as noted in the above REFERENCE). COMMENTS: I am not really famiilar with guile or slib. Also, creating "$HOME/.guile" as recommended didn't help. ktrace showed that it wasn't being used during "make install" - hence the change to the Makefile. >Release-Note: >Audit-Trail: >Unformatted: