NetBSD Problem Report #38323
From martin@duskware.de Fri Mar 28 14:08:09 2008
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 7F01563B8A5
for <gnats-bugs@gnats.netbsd.org>; Fri, 28 Mar 2008 14:08:09 +0000 (UTC)
Message-Id: <20080328140654.27E1663B8A5@narn.NetBSD.org>
Date: Fri, 28 Mar 2008 14:06:54 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: netbsd-bugs-owner@NetBSD.org
Subject: cad/gattrib link failure on MacOS X 10.4.11
X-Send-Pr-Version: www-1.0
>Number: 38323
>Category: pkg
>Synopsis: cad/gattrib link failure on MacOS X 10.4.11
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: wulf
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 28 14:10:00 +0000 2008
>Closed-Date: Wed Apr 02 12:52:11 +0000 2008
>Last-Modified: Mon Jul 26 08:04:18 +0000 2010
>Originator: John D. Baker
>Release: MacOS X 10.4.11, pkgsrc-current (pre -2008Q1)
>Organization:
>Environment:
Darwin alphonse.bozonet.ntc 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Building cad/gattrib on MacOS X 10.4.11 fails as follows:
[...]
gcc -Wall -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib -o gattrib -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr/pkg/lib -lglib-2.0 -lintl -liconv -D_THREAD_SAFE -D_REENTRANT /usr/pkg/lib -L/usr/pkg/lib -lgeda -lguile -lgmp -lltdl -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr/pkg/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv gtksheet_2_2.o gtkextra-marshal.o gtkitementry_2_2.o globals.o listsort.o parsecmd.o f_export.o g_register.o g_rc.o i_vars.o i_basic.o x_window.o x_gtksheet.o x_dialog.o x_fileselect.o s_rename.o s_misc.o s_string_list.o s_sheet_data.o s_table.o s_object.o s_attrib.o s_toplevel.o s_visibility.o gattrib.o -L/usr/pkg/lib -lgtk-x11-2.0 -lgdk-x
11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr/pkg/lib -lglib-2.0 -lintl -liconv -D_THREAD_SAFE -D_REENTRANT /usr/pkg/lib -L/usr/pkg/lib -lgeda -lguile -lgmp -lltdl -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -L/usr/pkg/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv
/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
gmake[2]: *** [gattrib] Error 1
gmake[2]: Leaving directory `/Volumes/NetBSD/tmp/pkgsrc/cad/gattrib/work/geda-gattrib-1.4.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Volumes/NetBSD/tmp/pkgsrc/cad/gattrib/work/geda-gattrib-1.4.0'
gmake: *** [all] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/cad/gattrib
[...]
>How-To-Repeat:
Attempt to build cad/geda (or just cad/gattrib) on MacOS X 10.4.11
(10.3.x?)
>Fix:
In the command line arguments there is an unadorned "/usr/pkg/lib".
Perhaps a "-L" was missed somewhere? Might this be more libtool
shenanigans?
If I recall, something similar was observed in "pkg/37067". That PR
seems to have been fixed, so maybe whatever was done there needs to be
done here, too.
>Release-Note:
>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38323: cad/gattrib link failure on MacOS X 10.4.11
Date: Fri, 28 Mar 2008 13:12:03 -0500 (CDT)
Attempted workaround:
cd cad/gattrib
bmake configure
vi ${WRKOBJDIR}/cad/gattrib/work/gattrib-1.4.0/src/Makefile
:1,$s, /usr/pkg/lib,,g
The same problem occurs with "cad/gschem", "cad/gnetlist",
"cad/gsymcheck", and "cad/geda-utils" (which has several sub-
directories).
A similar workaround allows each of the other component packages to
build and install OK.
Attempting to run "gattrib", "gschem", "gnetlist", "gsymcheck", or
"gschlas" results in the following error:
dyld: Symbol not found: _arc_draw_func
Referenced from: /usr/pkg/lib/libgeda.33.dylib
Expected in: flat namespace
Trace/BPT trap
So, it appears that this naive approach does not work. More research
is needed.
--
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
Responsible-Changed-From-To: pkg-manager->wulf
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 29 Mar 2008 14:45:32 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38323 (cad/gattrib link failure on MacOS X 10.4.11)
Date: Sat, 29 Mar 2008 22:12:48 -0500 (CDT)
After updating to revision 1.85 of "lang/guile/Makefile" and rebuilding
"lang/guile and "cad/libgeda", all the components of "cad/geda" build
and install successfully on MacOS X 10.4.11.
As such, this PR may be closed.
(There is now a runtime problem for which I will file an appropriate
PR soon.)
--
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: obache@NetBSD.org
State-Changed-When: Wed, 02 Apr 2008 12:52:11 +0000
State-Changed-Why:
Build error was fixed. (runtime problem is in PR#38357)
>Unformatted:
(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.