NetBSD Problem Report #48732
From tron@zhadum.org.uk Thu Apr 10 18:11:35 2014
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 232F0A580D
for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Apr 2014 18:11:35 +0000 (UTC)
Message-Id: <20140410181130.0593BA3BA42@mail.zhadum.org.uk>
Date: Thu, 10 Apr 2014 19:11:30 +0100 (BST)
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: "libexecinfo" package doesn't build under Solaris 10 SPARC
X-Send-Pr-Version: 3.95
>Number: 48732
>Category: pkg
>Synopsis: "libexecinfo" package doesn't build under Solaris 10 SPARC
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: schmonz
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 10 18:15:00 +0000 2014
>Closed-Date: Sun Jul 06 08:05:31 +0000 2014
>Last-Modified: Sun Jul 06 08:05:31 +0000 2014
>Originator: Matthias Scheler
>Release: SunOS 5.10
>Organization:
Matthias Scheler https://zhadum.org.uk/
>Environment:
System: SunOS buildpkg 5.10 Generic_150400-07 sun4u sparc SUNW,Sun-Fire-280R
Architecture: sparc
Machine: sun4u
>Description:
The "cmake" is now hard coded to depend on the "libexecinfo" package.
This package does however not build under Solaris 10 SPARC:
buildpkg# bmake
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
=> Checksum SHA1 OK for libexecinfo-1.1.tar.bz2
=> Checksum RMD160 OK for libexecinfo-1.1.tar.bz2
===> Installing dependencies for libexecinfo-1.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20100124
=> Build dependency gcc48>=4.8.2: found gcc48-4.8.2nb1
===> Overriding tools for libexecinfo-1.1
===> Extracting for libexecinfo-1.1
===> Patching for libexecinfo-1.1
=> Applying pkgsrc patches for libexecinfo-1.1
===> Creating toolchain wrappers for libexecinfo-1.1
===> Configuring for libexecinfo-1.1
===> Building for libexecinfo-1.1
--- execinfo.o ---
--- execinfo.so ---
--- execinfo.o ---
gcc -O2 -I/opt/pkg/include -I/usr/include -Werror -I/opt/pkg/include -I/usr/include -c execinfo.c
--- execinfo.so ---
gcc -O2 -I/opt/pkg/include -I/usr/include -Werror -I/opt/pkg/include -I/usr/include -c -fPIC -DPIC execinfo.c -o execinfo.so
--- stacktraverse.o ---
gcc -O2 -I/opt/pkg/include -I/usr/include -Werror -I/opt/pkg/include -I/usr/include -c stacktraverse.c
--- stacktraverse.so ---
gcc -O2 -I/opt/pkg/include -I/usr/include -Werror -I/opt/pkg/include -I/usr/include -c -fPIC -DPIC stacktraverse.c -o stacktraverse.so
--- libexecinfo.a ---
building standard execinfo library
ar cq libexecinfo.a `NM=nm lorder stacktraverse.o execinfo.o | tsort`
--- libexecinfo_pic.a ---
building shared object execinfo library
ar cq libexecinfo_pic.a `NM=nm lorder stacktraverse.so execinfo.so | tsort`
ranlib libexecinfo_pic.a
--- libexecinfo.a ---
ranlib libexecinfo.a
bmake: bmake: don't know how to make /usr/lib/crtbeginS.o. Stop
bmake: stopped in /content/build/pkgsrc/devel/libexecinfo/work/libexecinfo-1.1
*** Error code 2
>How-To-Repeat:
cd pkgsrc/devel/cmake
bmake
>Fix:
Not known.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 10 Apr 2014 22:12:07 +0000
Responsible-Changed-Why:
Over to Solaris role account.
From: "Matthias Scheler" <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48732 CVS commit: pkgsrc/devel/libexecinfo
Date: Thu, 5 Jun 2014 19:48:34 +0000
Module Name: pkgsrc
Committed By: tron
Date: Thu Jun 5 19:48:33 UTC 2014
Modified Files:
pkgsrc/devel/libexecinfo: Makefile PLIST
Log Message:
Don't build a shared library under Solaris 10.
This should work around PR pkg/48732 until we have a beter solution
e.g. building this package with "libtool".
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/libexecinfo/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/libexecinfo/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: schmonz@NetBSD.org
State-Changed-When: Sat, 05 Jul 2014 20:20:05 +0000
State-Changed-Why:
I've libtoolized devel/libexecinfo and tested that it builds under SmartOS.
Could you test that it works for you with Solaris 10, and if so, close this PR?
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc: schmonz@NetBSD.org
Subject: Re: pkg/48732 ("libexecinfo" package doesn't build under Solaris 10
SPARC)
Date: Sun, 6 Jul 2014 08:42:55 +0100
On Sat, Jul 05, 2014 at 08:20:05PM +0000, Amitai Schlair wrote:
> Synopsis: "libexecinfo" package doesn't build under Solaris 10 SPARC
>
> State-Changed-From-To: open->feedback
> State-Changed-By: schmonz@NetBSD.org
> State-Changed-When: Sat, 05 Jul 2014 20:20:05 +0000
> State-Changed-Why:
> I've libtoolized devel/libexecinfo and tested that it builds under SmartOS.
> Could you test that it works for you with Solaris 10, and if so, close this PR?
The package builds fine now.
Thanks a lot
--
Matthias Scheler https://zhadum.org.uk/
Responsible-Changed-From-To: solaris-pkg-people->schmonz
Responsible-Changed-By: tron@NetBSD.org
Responsible-Changed-When: Sun, 06 Jul 2014 08:05:31 +0000
Responsible-Changed-Why:
Amitai Schlair fixed the problem.
State-Changed-From-To: feedback->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Sun, 06 Jul 2014 08:05:31 +0000
State-Changed-Why:
The package builds fine under Solaris 10 SPARC now.
>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.