NetBSD Problem Report #56019

From www@netbsd.org  Thu Feb 25 14:47:26 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F1C991A921F
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 25 Feb 2021 14:47:25 +0000 (UTC)
Message-Id: <20210225144724.94D7B1A923D@mollari.NetBSD.org>
Date: Thu, 25 Feb 2021 14:47:24 +0000 (UTC)
From: skrah@bytereef.org
Reply-To: skrah@bytereef.org
To: gnats-bugs@NetBSD.org
Subject: [NEW PKG] math/mpdecimal
X-Send-Pr-Version: www-1.0

>Number:         56019
>Category:       pkg
>Synopsis:       [NEW PKG] math/mpdecimal
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 25 14:50:00 +0000 2021
>Closed-Date:    Tue Sep 05 18:36:13 +0000 2023
>Last-Modified:  Wed Jan 03 23:45:01 +0000 2024
>Originator:     Stefan Krah
>Release:        
>Organization:
>Environment:
>Description:

It would be nice to add mpdecimal as a package. If accepted, Python
can be built --with-system-libmpdec rather than with the vendored
libmpdec copy, which will increasingly lag behind upstream.


Since the 2.5.1 release, NetBSD is a tier-1 platform for mpdecimal:

   https://www.bytereef.org/mpdecimal/


I could not find a way to attach an archive with send-pr, so here
is the pkg archive:

   https://www.bytereef.org/contrib/mpdecimal-netbsd-pkg.tar.gz





>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Fri, 26 Feb 2021 12:42:45 +0000
Responsible-Changed-Why:
take


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/56019: [NEW PKG] math/mpdecimal
Date: Sun, 27 Jun 2021 19:35:43 +0000

 On Thu, Feb 25, 2021 at 02:50:01PM +0000, skrah@bytereef.org wrote:
  > I could not find a way to attach an archive with send-pr, so here
  > is the pkg archive:
  > 
  >    https://www.bytereef.org/contrib/mpdecimal-netbsd-pkg.tar.gz

 I've put a copy here:

 https://www.netbsd.org/~dholland/gnatsblobs/56019/

 (there is no good way to attach things in gnats; this is one of many
 ways in which it's terrible)

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 21 Jan 2022 17:00:43 +0000
State-Changed-Why:
I asked a question


From: Benny Siegert <bsiegert@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, skrah@bytereef.org
Subject: Re: pkg/56019: [NEW PKG] math/mpdecimal
Date: Fri, 21 Jan 2022 18:00:02 +0100

 On Sun, Jun 27, 2021 at 9:40 PM David Holland <dholland-pbugs@netbsd.org> wrote:
 >  I've put a copy here:
 >
 >  https://www.netbsd.org/~dholland/gnatsblobs/56019/
 >
 >  (there is no good way to attach things in gnats; this is one of many
 >  ways in which it's terrible)


 Thanks, David!

 I added the mpdecimal package to pkgsrc-wip. However, it fails during
 packaging with this error:

 => Checking for missing run-time search paths in mpdecimal-2.5.1
 ERROR: lib/libmpdec++.so.2.5.1: missing library: libmpdec.so.3

 Any ideas?

 -- 
 Benny

State-Changed-From-To: feedback->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 05 Sep 2023 18:36:13 +0000
State-Changed-Why:
Feedback timeout.
wip/mpdecimal exists but does not build.


From: Stefan Krah <stefan@bytereef.org>
To: gnats-bugs@netbsd.org
Cc: bsiegert@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	skrah@bytereef.org
Subject: Re: pkg/56019: [NEW PKG] math/mpdecimal
Date: Wed, 3 Jan 2024 22:57:23 +0100

 --YiEDa0DAkWCtVeE4
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 On Fri, Jan 21, 2022 at 05:05:02PM +0000, Benny Siegert wrote:
 >  On Sun, Jun 27, 2021 at 9:40 PM David Holland <dholland-pbugs@netbsd.org> wrote:
 >  >  I've put a copy here:
 >  >
 >  >  https://www.netbsd.org/~dholland/gnatsblobs/56019/
 >  >
 >  >  (there is no good way to attach things in gnats; this is one of many
 >  >  ways in which it's terrible)
 >  
 >  
 >  Thanks, David!
 >  
 >  I added the mpdecimal package to pkgsrc-wip. However, it fails during
 >  packaging with this error:
 >  
 >  => Checking for missing run-time search paths in mpdecimal-2.5.1
 >  ERROR: lib/libmpdec++.so.2.5.1: missing library: libmpdec.so.3
 >  
 >  Any ideas?

 Sorry, I missed this thread completely.  I had not set PKG_DEVELOPER=yes
 when creating the package, so I did not get that error.

 The reason is that RPATH needs to be set in the LDXXFLAGS.

 I am attaching a new Makefile that works. The complaints about file
 permissions in the tarball cannot be helped, but will be fixed in the
 next release.


 Stefan Krah



 --YiEDa0DAkWCtVeE4
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=Makefile

 # $NetBSD$

 DISTNAME=	mpdecimal-2.5.1
 CATEGORIES=	math
 MASTER_SITES=	https://www.bytereef.org/software/mpdecimal/releases/

 MAINTAINER=	skrah@bytereef.org
 HOMEPAGE=	https://www.bytereef.org/mpdecimal/
 COMMENT=	C/C++ arbitrary precision decimal floating point libraries
 LICENSE=	2-clause-bsd

 GNU_CONFIGURE=	yes
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	gmake
 BUILD_TARGET=	default
 TEST_TARGET=	check_local

 .include "../../mk/bsd.prefs.mk"

 CONFIGURE_ARGS+=	CC=gcc CXX=g++ LDFLAGS="-Wl,-R/usr/pkg/lib" LDXXFLAGS="-Wl,-R/usr/pkg/lib"

 .include "../../mk/bsd.pkg.mk"

 --YiEDa0DAkWCtVeE4--

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.