NetBSD Problem Report #37067

From martin@duskware.de  Sat Oct  6 17:24:52 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 7DB8863B97E
	for <gnats-bugs@gnats.netbsd.org>; Sat,  6 Oct 2007 17:24:52 +0000 (UTC)
Message-Id: <20071006163415.6EFE463B97E@narn.NetBSD.org>
Date: Sat,  6 Oct 2007 16:34:15 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: netbsd-bugs-owner@NetBSD.org
Subject: cad/libgeda configuration fails on MacOS X 10.4.10
X-Send-Pr-Version: www-1.0

>Number:         37067
>Category:       pkg
>Synopsis:       cad/libgeda configuration fails on MacOS X 10.4.10
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    dmcmahill
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 06 17:25:01 +0000 2007
>Closed-Date:    Sat Nov 07 13:19:59 +0000 2009
>Last-Modified:  Sat Nov 07 13:19:59 +0000 2009
>Originator:     John D. Baker
>Release:        MacOS X 10.4.10, pkgsrc-current
>Organization:
>Environment:
Darwin bwg3.technoskunk.fur 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:
Building cad/libgeda fails during the configuration stage as follows:

[...]
checking for guile... /usr/pkg/bin/guile
checking for guile-config... /usr/pkg/bin/guile-config
checking for guile-tools... /usr/pkg/bin/guile-tools
checking libguile compile flags... -I/usr/pkg/include -D_THREAD_SAFE  -D_REENTRANT
checking libguile link flags... -D_THREAD_SAFE  -D_REENTRANT -lguile -lltdl /usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -lpthread -lgmp -lm -lltdl -lpthread
checking for guile-config... (cached) /usr/pkg/bin/guile-config
checking if scm_eval_x() takes a second module argument... yes
checking for scm_make_smob_type in -lguile... no
configure: error: Upgrade Guile, At least version >= 1.3.2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/cad/libgeda
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/cad/libgeda
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/cad/gattrib
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/cad/geda


lang/guile was automatically built as a dependency.  From the output of
'pkg_info':

guile-1.8.2         GNU's Ubiquitous Intelligent Language for Extension
>How-To-Repeat:
Attempt to install cad/libgeda (or cad/geda which builds cad/libgeda as
a depencency) on MacOS X 10.4.10 (other platforms/versions?).
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->dmcmahill
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Wed, 10 Oct 2007 13:25:49 +0000
Responsible-Changed-Why:
Assigned to maintainer. If you can't handle this, assign to
darwin-pkg-people


From: Dan McMahill <dmcmahill@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: jdbaker@mylinuxisp.com
Subject: Re: pkg/37067 (cad/libgeda configuration fails on MacOS X 10.4.10)
Date: Wed, 10 Oct 2007 10:06:30 -0400

 Could you attach the config.log which was generated in 
 work/libgeda-<version>/config.log?  I don't need the whole thing, just 
 the part where it says why it thinks you don't have the right guile.

 You could also email me the whole config.log.

 -Dan

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: Dan McMahill <dmcmahill@NetBSD.org>
Subject: Re: pkg/37067 (cad/libgeda configuration fails on MacOS X 10.4.10)
Date: Wed, 6 Feb 2008 08:46:07 -0600 (CST)

 Sorry it's taken so long to return to this issue.  I think I missed
 seeing this message when it first came in.

 On Wed, 10 Oct 2007, Dan McMahill wrote:

 > Could you attach the config.log which was generated in 
 > work/libgeda-<version>/config.log?  I don't need the whole thing, just the 
 > part where it says why it thinks you don't have the right guile.

 The relevant part of /work/libgeda-20070526/config.log shows:

 [...]
 configure:20551: checking for scm_make_smob_type in -lguile
 configure:20586: gcc -o conftest -pipe -O2 -I/usr/pkg/include -I/usr/include -I/
 usr/pkg/include/freetype2 -I/usr/X11R6/include -DPNG_NO_ASSEMBLER_CODE -no-cpp-p
 recomp -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11
 R6/include -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib conftest.c -lguile -D_THRE
 AD_SAFE  -D_REENTRANT -lguile -lltdl /usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib 
 -L/usr/lib -lpthread -lgmp -lm -lltdl -lpthread  >&5
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: can't map file: /usr/pkg/lib ((
 os/kern) invalid argument)
 collect2: ld returned 1 exit status
 configure:20592: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_DLFCN_H 1
 | #define HAVE_SCM_EVAL_X_MODULE 1
 | /* end confdefs.h.  */
 | 
 | /* Override any GCC internal prototype to avoid an error.
 |    Use char because int might match the return type of a GCC
 |    builtin and then its argument prototype would still apply.  */
 | #ifdef __cplusplus
 | extern "C"
 | #endif
 | char scm_make_smob_type ();
 | int
 | main ()
 | {
 | return scm_make_smob_type ();
 |   ;
 |   return 0;
 | }
 configure:20610: result: no
 configure:20620: error: Upgrade Guile, At least version >= 1.3.2
 [...]

 Looks like a "-L" was dropped somewhere.  it would seem to be
 complaining about an unadorned "/usr/pkg/lib" right after "-lltdl"
 in the command line.

 -- 
 John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
 jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
 BSD -- It just sits there and _works_!
 GPG fingerprint:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37067
Date: Fri, 28 Mar 2008 08:55:14 -0500 (CDT)

 With pkgsrc-2008Q1 to be tagged soon, I updated my pkgsrc to -current
 and seem no-longer to have the problem described in this PR.

 If all goes well once pkgsrc-2008Q1 is tagged and I've tested it, I
 expect this PR can be closed.

 -- 
 John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
 jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
 BSD -- It just sits there and _works_!
 GPG fingerprint:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->closed
State-Changed-By: asau@NetBSD.org
State-Changed-When: Sat, 07 Nov 2009 13:19:59 +0000
State-Changed-Why:
PR was expected to be closed back in 2008,
the package was removed recently.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.