NetBSD Problem Report #40944

From tron@zhadum.org.uk  Mon Mar  2 12:40:52 2009
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5582563C1DB
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Mar 2009 12:40:52 +0000 (UTC)
Message-Id: <200903021240.n22Cenbb016593@colwyn.zhadum.org.uk>
Date: Mon, 2 Mar 2009 12:40:49 GMT
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: "p5-Module-Build" package has circular dependences
X-Send-Pr-Version: 3.95

>Number:         40944
>Category:       pkg
>Synopsis:       "p5-Module-Build" package has circular dependences
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sno
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 02 12:45:00 +0000 2009
>Closed-Date:    Sat Mar 21 23:41:39 +0000 2009
>Last-Modified:  Sat Mar 21 23:41:39 +0000 2009
>Originator:     Matthias Scheler
>Release:        NetBSD 5.0_RC2 pkgsrc-HEAD from 2008-03-02
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 5.0_RC2 NetBSD 5.0_RC2 (COLWYN.64) #0: Tue Feb 24 12:04:31 GMT 2009 tron@colwyn.zhadum.org.uk:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The latest version of the "p5-Module-Build" optionally depends on these
packages:

p5-Archive-Tar
p5-Module-Signature
p5-ExtUtils-ParseXS
p5-ExtUtils-CBuilder
p5-ExtUtils-Install
p5-Pod-Readme
p5-version

This does however *not* work because each of these packages requires
the "p5-Module-Build" to actually build.

>How-To-Repeat:
pkg_delete -r p5-Archive-Tar p5-Module-Signature p5-ExtUtils-ParseXS p5-ExtUtils-CBuilder p5-ExtUtils-Install p5-Pod-Readme p5-version p5-Module-Build
cd pkgsrc/devel/p5-Module-Build
make CLEANDEPENDS=yes clean
make install

>Fix:
None provided.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->sno
Responsible-Changed-By: tron@NetBSD.org
Responsible-Changed-When: Mon, 02 Mar 2009 12:45:50 +0000
Responsible-Changed-Why:
Jens Rehsack introduced the optional dependences which cause this problem.


From: Jens Rehsack <sno@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40944 CVS commit: pkgsrc
Date: Sat, 21 Mar 2009 23:11:29 +0000

 Module Name:	pkgsrc
 Committed By:	sno
 Date:		Sat Mar 21 23:11:29 UTC 2009

 Modified Files:
 	pkgsrc/devel/p5-Module-Build: Makefile
 	pkgsrc/lang/perl5: module.mk

 Log Message:
 Fix PR pkg/40944 by using the Module::Build from Perl's Core as default.

 Oked by tron@ and he@


 To generate a diff of this commit:
 cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/p5-Module-Build/Makefile
 cvs rdiff -u -r1.57 -r1.58 pkgsrc/lang/perl5/module.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: sno@NetBSD.org
State-Changed-When: Sat, 21 Mar 2009 23:41:39 +0000
State-Changed-Why:
The problem has been solved by let the modules which require Module::Build
optionally use the one from the perl core.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.