Subject: pkg/13372: g-wrap needs slib
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gendalia@iastate.edu>
List: netbsd-bugs
Date: 07/04/2001 01:23:06
>Number:         13372
>Category:       pkg
>Synopsis:       g-wrap needs slib
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 03 23:21:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Tracy J. Di Marco White
>Release:        1.5.1_BETA2
>Organization:
>Environment:
System: NetBSD toybox 1.5.1_BETA2 NetBSD 1.5.1_BETA2 (TOYBOX) #8: Sat May 26 12:09:25 CDT 2001 root@ulkesh.ait.iastate.edu:/usr/src/sys/arch/i386/compile/TOYBOX i386

pkgsrc cvs updated July 3rd.

>Description:
I was actually building gnucash, which has g-wrap before guile-slib.  It
looks like g-wrap could just as well require guile-slib, I'm not sure
what the difference is for this.  I am also unsure if gnucash would need
to have the guile-slib requirement since g-wrap seems to require them, and
gnucash requires g-wrap.

g-wrap fails to build:
gmake[2]: Entering directory `/usr/tmp/devel/g-wrap/work/g-wrap-1.1.10/g-wrapped'
guile -c \
          "(set! %load-path (cons \"/usr/tmp/devel/g-wrap/work/g-wrap-1.1.10/g-wrapped/..\" %load-path))""(use-modules (g-wrap)) \
                        (use-modules (g-wrapped gw-runtime-spec)) \
                        (gw:generate-module \"gw-runtime\")"
ERROR: Could not find slib/require.scm in  ("/usr/tmp/devel/g-wrap/work/g-wrap-1.1.10/g-wrapped/.." "/usr/pkg/share/guile/site" "/usr/pkg/share/guile/1.4" "/usr/pkg/share/guile" ".")
gmake[2]: *** [gw-runtime.c] Error 2
gmake[2]: Leaving directory `/usr/tmp/devel/g-wrap/work/g-wrap-1.1.10/g-wrapped'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/tmp/devel/g-wrap/work/g-wrap-1.1.10'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
*** Error code 1

>How-To-Repeat:
make g-wrap.
>Fix:

*** pkgsrc/devel/g-wrap/Makefile.orig	Wed Jul  4 01:08:13 2001
--- pkgsrc/devel/g-wrap/Makefile	Wed Jul  4 01:07:57 2001
***************
*** 9,14 ****
--- 9,15 ----
  COMMENT=	tool for importing types, functions, and constants into guile
  
  DEPENDS+=	guile>=1.3.4:../../lang/guile
+ DEPENDS+=	slib:../../devel/slib
  
  GNU_CONFIGURE=	YES
  USE_GMAKE=	YeS
>Release-Note:
>Audit-Trail:
>Unformatted: