NetBSD Problem Report #52922
From www@NetBSD.org Fri Jan 12 23:45:16 2018
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 "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 723107A19A
for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Jan 2018 23:45:16 +0000 (UTC)
Message-Id: <20180112234515.8CD027A1C8@mollari.NetBSD.org>
Date: Fri, 12 Jan 2018 23:45:15 +0000 (UTC)
From: vmagerya@gmail.com
Reply-To: vmagerya@gmail.com
To: gnats-bugs@NetBSD.org
Subject: devel/gmake: enable guile integration
X-Send-Pr-Version: www-1.0
>Number: 52922
>Category: pkg
>Synopsis: devel/gmake: enable guile integration
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jan 12 23:50:00 +0000 2018
>Last-Modified: Sat Jan 13 00:55:00 +0000 2018
>Originator: Vitaly Magerya
>Release:
>Organization:
>Environment:
>Description:
Recent releases of GNU make (since 4.0 I think) support Guile integration [1], but it's not enabled in devel/gmake. I'm attaching a patch that adds this support. Maybe it would be more appropriate to hide it under an option, but I don't have experience with pkgsrc to do that.
[1] https://www.gnu.org/software/make/manual/html_node/Guile-Integration.html
>How-To-Repeat:
>Fix:
RCS file: /cvsroot/pkgsrc/devel/gmake/Makefile,v
retrieving revision 1.103
diff -u -r1.103 Makefile
--- Makefile 17 Dec 2016 14:14:06 -0000 1.103
+++ Makefile 12 Jan 2018 23:34:21 -0000
@@ -13,6 +13,7 @@
LICENSE= gnu-gpl-v3
USE_FEATURES= snprintf
+USE_TOOLS= pkg-config
GNU_CONFIGURE= yes
TEXINFO_REQD+= 4.0
@@ -40,4 +41,5 @@
${LN} -sf ${PREFIX}/bin/gmake ${DESTDIR}${PREFIX}/${PKGGNUDIR}/bin/make
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmake.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/make.1
+.include "../../lang/guile20/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/52922: devel/gmake: enable guile integration
Date: Sat, 13 Jan 2018 01:15:43 +0100
On Fri, Jan 12, 2018 at 11:50:00PM +0000, vmagerya@gmail.com wrote:
> >Number: 52922
> >Category: pkg
> >Synopsis: devel/gmake: enable guile integration
> >Confidential: no
> >Severity: non-critical
> >Priority: medium
> >Responsible: pkg-manager
> >State: open
> >Class: change-request
> >Submitter-Id: net
> >Arrival-Date: Fri Jan 12 23:50:00 +0000 2018
> >Originator: Vitaly Magerya
> >Release:
> >Organization:
> >Environment:
> >Description:
> Recent releases of GNU make (since 4.0 I think) support Guile integration [1], but it's not enabled in devel/gmake. I'm attaching a patch that adds this support. Maybe it would be more appropriate to hide it under an option, but I don't have experience with pkgsrc to do that.
>
> [1] https://www.gnu.org/software/make/manual/html_node/Guile-Integration.html
> >How-To-Repeat:
>
> >Fix:
> RCS file: /cvsroot/pkgsrc/devel/gmake/Makefile,v
> retrieving revision 1.103
> diff -u -r1.103 Makefile
> --- Makefile 17 Dec 2016 14:14:06 -0000 1.103
> +++ Makefile 12 Jan 2018 23:34:21 -0000
> @@ -13,6 +13,7 @@
> LICENSE= gnu-gpl-v3
>
> USE_FEATURES= snprintf
> +USE_TOOLS= pkg-config
>
> GNU_CONFIGURE= yes
> TEXINFO_REQD+= 4.0
> @@ -40,4 +41,5 @@
> ${LN} -sf ${PREFIX}/bin/gmake ${DESTDIR}${PREFIX}/${PKGGNUDIR}/bin/make
> ${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/gmake.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/make.1
>
> +.include "../../lang/guile20/buildlink3.mk"
> .include "../../mk/bsd.pkg.mk"
>
We can't enable that. guile20 itself uses gmake to build, so this
would introduce a cyclic dependency.
I'm not sure what the guile support does, but you'll need to create a
separate package for that.
Thomas
From: Vitaly Magerya <vmagerya@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/52922: devel/gmake: enable guile integration
Date: Sat, 13 Jan 2018 01:52:00 +0100
> We can't enable that. guile20 itself uses gmake to build, so this
> would introduce a cyclic dependency.
Hm. You're right about the circular dependency.
I wonder how it's handled in e.g. Fedora or Arch, where there's only one
package, and it includes Guile support by default.
> I'm not sure what the guile support does, but you'll need to create a
> separate package for that.
Would such a package need to conflict with devel/make then? If so, would
building it (i.e. 'bmake install') work?
(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.