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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 22 13:05:00 +0000 2015
>Last-Modified:  Thu Aug 04 15:40:01 +0000 2016
>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.

>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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.