NetBSD Problem Report #50576

From www@NetBSD.org  Tue Dec 22 13:02:28 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id ADA0B7A221
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Dec 2015 13:02:28 +0000 (UTC)
Message-Id: <20151222130227.BF9367ACB0@mollari.NetBSD.org>
Date: Tue, 22 Dec 2015 13:02:27 +0000 (UTC)
From: mdehling@gmail.com
Reply-To: mdehling@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Building lang/python34 fails on Solaris 10u7 sparc / Studio Pro 12u1
X-Send-Pr-Version: www-1.0

>Number:         50576
>Category:       pkg
>Synopsis:       Building lang/python34 fails on Solaris 10u7 sparc / Studio Pro 12u1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 22 13:05:00 +0000 2015
>Closed-Date:    Tue Oct 13 04:16:29 +0000 2020
>Last-Modified:  Tue Oct 13 04:16:29 +0000 2020
>Originator:     Malte Dehling
>Release:        pkgsrc-2015Q3
>Organization:
>Environment:
SunOS U2 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03
>Description:
Build fails with:

[...]
bsdinstall: libpython3.so: stat: No such file or directory
*** Error code 1
>How-To-Repeat:

>Fix:
Change directory to 'work/Python-3.4.3', edit Makefile and remove '-Wl,-no-as-needed' from the options.  Rerun make in the work directory, then rerun 'bmake build/install/package'.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 22 Dec 2015 13:29:09 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50576
Date: Thu, 4 Aug 2016 15:35:01 +0000

 I imagined -Wl.no-as-needed is the "safer" option.
 Is your linker/compiler returning an error because it's an unknown
 option?

 Perhaps something like BUILDLINK_TRANSFORM+= rm:-ldl can be used to
 handle these?
 Removing this flag by a patch sounds like a bad idea for all other
 users.

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 04:16:29 +0000
State-Changed-Why:
Stale bug report: discusses removed package lang/python34. Feel free to report new bugs about existing pkgsrc packages. THanks for the report and sorry that it was not addressed at the time.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.