NetBSD Problem Report #21781
Received: (qmail 1691 invoked by uid 605); 4 Jun 2003 13:30:26 -0000
Message-Id: <20030604133023.0111E11152@narn.netbsd.org>
Date: Wed, 4 Jun 2003 13:30:23 +0000 (UTC)
From: ingolf.steinbach@jena-optronik.de
Sender: gnats-bugs-owner@netbsd.org
Reply-To: ingolf.steinbach@jena-optronik.de
To: gnats-bugs@gnats.netbsd.org
Subject: Solaris: pkgsrc/lang/lua fails to build
X-Send-Pr-Version: www-1.0
>Number: 21781
>Category: pkg
>Synopsis: Solaris: pkgsrc/lang/lua fails to build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: grant
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jun 04 13:31:00 +0000 2003
>Closed-Date: Mon Jun 20 18:20:15 +0000 2005
>Last-Modified: Mon Jun 20 18:20:15 +0000 2005
>Originator: Ingolf Steinbach
>Release: pkgsrc as of 2003-05-22
>Organization:
Jena-Optronik GmbH
>Environment:
SunOS polaris 5.6 Generic_105181-11 sun4u sparc
>Description:
On Solaris, pkgsrc/lang/lua cannot be built. At least when using a linker
other than GNU ld, e.g. /usr/ccs/bin/ld.
The reason is that /usr/pkg/share/mk/bsd.lib.mk is used to create liblua.
This file contains many lines of the form
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
which make /usr/ccs/bin/ld complain (because -x is GNU-ld specific).
>How-To-Repeat:
Try to build pkgsrc/lang/lua on Solaris with LD=/usr/ccs/bin/ld.
>Fix:
The fix is probably to provide different linker flags in bsd.lib.mk (as
installed by bootstrap-pkgsrc) depending on wether GNU-ld or
some other ld is used.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sol-pkg-manager
Responsible-Changed-By: wiz
Responsible-Changed-When: Wed Jun 4 14:01:59 UTC 2003
Responsible-Changed-Why:
Solaris problem.
Responsible-Changed-From-To: sol-pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz
Responsible-Changed-When: Thu Apr 1 18:05:29 UTC 2004
Responsible-Changed-Why:
role account renamed
Responsible-Changed-From-To: solaris-pkg-people->grant
Responsible-Changed-By: grant
Responsible-Changed-When: Sat May 8 23:22:34 UTC 2004
Responsible-Changed-Why:
I'll take this.
State-Changed-From-To: open->feedback
State-Changed-By: rillig@netbsd.org
State-Changed-When: Wed, 16 Mar 2005 21:59:16 +0000
State-Changed-Why:
Please try if lua still does not build. It works fine for me on sunos5.8-sparc
using SunProg.
From: Ingolf Steinbach <Ingolf.Steinbach@jena-optronik.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/21781
Date: Mon, 20 Jun 2005 09:34:24 +0200
As I'll not have the chance to verify in the near future
whether lua now builds correctly on Solaris 2.6, I'd suggest
to close the PR.
Kind regards
Ingolf
--
Ingolf Steinbach Jena-Optronik GmbH
ingolf.steinbach@jena-optronik.de ++49 3641 200-147
PGP: 0x7B3B5661 213C 828E 0C92 16B5 05D0 4D5B A324 EC04
State-Changed-From-To: feedback->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Mon, 20 Jun 2005 18:20:15 +0000
State-Changed-Why:
Lua builds fine on Solaris 2.8. The original reporter does not have the
chance to test if the bug still applies, so the PR is closed.
>Unformatted:
(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.