NetBSD Problem Report #43151

From www@NetBSD.org  Mon Apr 12 10:27:00 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5ACCB63BCF6
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Apr 2010 10:27:00 +0000 (UTC)
Message-Id: <20100412102700.29F9F63B8BC@www.NetBSD.org>
Date: Mon, 12 Apr 2010 10:27:00 +0000 (UTC)
From: ef@math.uni-bonn.de
Reply-To: ef@math.uni-bonn.de
To: gnats-bugs@NetBSD.org
Subject: x11/tk fails to build on Darwin/Mac OS X
X-Send-Pr-Version: www-1.0

>Number:         43151
>Category:       pkg
>Synopsis:       x11/tk fails to build on Darwin/Mac OS X
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    macos-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 12 10:30:00 +0000 2010
>Closed-Date:    Sat Jul 05 13:36:57 +0000 2014
>Last-Modified:  Sat Jul 05 13:36:57 +0000 2014
>Originator:     Edgar Fuß
>Release:        pkgsrc-2009Q3
>Organization:
Mathematisches Institut der Uni Bonn
>Environment:
Darwin xxx 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 x11/tk fails with the following error:

gcc -Os -pipe -O2 -IXXX/pkgsrc-work/x11/tk/work/.buildlink/include -pipe -no-cpp-precomp -isystem /usr/include -prebind -headerpad_max_install_names -Wl,-search_paths_first tkAppInit.o -framework CoreFoundation -sectcreate __TEXT __info_plist Wish-Info.
plist -o .libs/wish  -LXXX/pkgsrc-work/x11/tk/work/.buildlink/lib -LXXX/pkgsrc-work/x11/tk/work/.x11-buildlink/lib ./.libs/libtk84.dylib -ltclstub84 XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib -lpthread -lX11
/usr/bin/ld: warning prebinding disabled because dependent library: /usr/pkg/lib/libtk84.1.dylib is not prebound
/usr/bin/ld: multiple definitions of symbol _tclIntStubsPtr
XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) definition of _tclIntStubsPtr
./.libs/libtk84.dylib(single module) definition of _tclIntStubsPtr
/usr/bin/ld: multiple definitions of symbol _tclIntPlatStubsPtr
XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) definition of _tclIntPlatStubsPtr
./.libs/libtk84.dylib(single module) definition of _tclIntPlatStubsPtr
/usr/bin/ld: multiple definitions of symbol _tclStubsPtr
XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) definition of _tclStubsPtr
./.libs/libtk84.dylib(single module) definition of _tclStubsPtr
/usr/bin/ld: multiple definitions of symbol _tclPlatStubsPtr
XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) definition of _tclPlatStubsPtr
./.libs/libtk84.dylib(single module) definition of _tclPlatStubsPtr
/usr/bin/ld: multiple definitions of symbol _Tcl_InitStubs
XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) definition of _Tcl_InitStubs
./.libs/libtk84.dylib(single module) definition of _Tcl_InitStubs
/usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _tclStubsPtr used from dynamic library XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) not from earlier dynamic library /usr/pkg/lib/libtk84.1.dylib(single module)
symbol _tclIntStubsPtr used from dynamic library XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) not from earlier dynamic library /usr/pkg/lib/libtk84.1.dylib(single module)
symbol _tclIntPlatStubsPtr used from dynamic library XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) not from earlier dynamic library /usr/pkg/lib/libtk84.1.dylib(single module)
symbol _tclPlatStubsPtr used from dynamic library XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) not from earlier dynamic library /usr/pkg/lib/libtk84.1.dylib(single module)
symbol _Tcl_InitStubs used from dynamic library XXX/pkgsrc-work/x11/tk/work/.buildlink/lib/libtcl84.dylib(single module) not from earlier dynamic library /usr/pkg/lib/libtk84.1.dylib(single module)
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in XXX/pkgsrc-work/x11/tk/work/tk8.4.18/unix
*** Error code 1

Stop.
bmake: stopped in XXX/pkgsrc/x11/tk
*** Error code 1

Stop.
bmake: stopped in XXX/pkgsrc/x11/tk

>How-To-Repeat:
cd x11/tk; bmake build
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Mon, 12 Apr 2010 16:34:03 +0000
Responsible-Changed-Why:
Problem on Darwin.


Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 07 Mar 2012 09:28:36 +0000
Responsible-Changed-Why:
darwin-pkg-people has been changed to macos-pkg-people


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sat, 05 Jul 2014 13:36:57 +0000
State-Changed-Why:
This no longer happens with Tk 8.6.


>Unformatted:

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.