Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2009 08:01:12 GMT
From:      Geraud CONTINSOUZAS <geraud@gcu.info>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139202: devel/p5-Cwd: port should be removed
Message-ID:  <200909280801.n8S81Cd4025118@www.freebsd.org>
Resent-Message-ID: <200909280810.n8S8A1xJ074603@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139202
>Category:       ports
>Synopsis:       devel/p5-Cwd: port should be removed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 28 08:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Geraud CONTINSOUZAS
>Release:        7.2
>Organization:
>Environment:
FreeBSD bob.xxxxxxxx.net 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Sep 12 11:34:16 NCT 2009     root@bob.xxxxxxxx.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The devel/p5-Cwd port should be considered for immediate deletion. It is obsolete (the last version on CPAN is from August 2004). Moreover, this particular module is now part of the PathTools CPAN distribution from the same author (devel/p5-PathTools in ports). If that's not good enough a reason, PathTools is part of the core modules bundled with perl (5.8 and 5.10). Installing p5-Cwd is the best way to screw one's Perl setup as it will be picked before the one in core.


There is no good reason to keep this port in the tree. The only port that directly depends on it is textproc/p5-LaTeX-Driver which incidentally also depends on devel/p5-PathTools (causing to install the file Cwd.pm twice on a system).


If immediate removal is not possible and a deprecation cycle is required, a commiter should at least mark both devel/p5-PathTools and devel/p5-Cwd as CONFLICT'ing since they will both try to install different files in the same location.

>How-To-Repeat:
$ cd /usr/ports; grep -nH Cwd.pm lang/perl5.*/pkg-plist devel/p5-PathTools/pkg-plist
lang/perl5.10/pkg-plist:652:lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Cwd.pm
lang/perl5.8/pkg-plist:449:lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/Cwd.pm
devel/p5-PathTools/pkg-plist:3:%%SITE_PERL%%/%%PERL_ARCH%%/Cwd.pm
$
>Fix:
Remove devel/p5-Cwd from the ports tree.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909280801.n8S81Cd4025118>