[bug-notifications] [pkgutil 0003917]: bldcat/chkcat rely on /opt/csw/bin/perl, but CSWpkgutil doesn't have dependency on CSWperl

Mantis Bug Tracker noreply at opencsw.org
Wed Sep 23 19:51:05 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3917 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3917
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-23 17:02 CEST
Last Modified:              2009-09-23 19:51 CEST
====================================================================== 
Summary:                    bldcat/chkcat rely on /opt/csw/bin/perl, but
CSWpkgutil doesn't have dependency on CSWperl
Description: 
I understand that CSWpkgutil should not depend on CSWperl, but
bldcat/chkcat are both hardcoded to use /opt/csw/bin/perl. Just wanted to
build a catalog on a system that only has /usr/bin/perl and catalog
creation failed.

$ /opt/csw/bin/bldcat 
bash: /opt/csw/bin/bldcat: bad interpreter: No such file or directory

$ head -1 /opt/csw/bin/bldcat
#!/opt/csw/bin/perl -w

$ head -1 /opt/csw/bin/chkcat 
#!/opt/csw/bin/perl -w

$ pkginfo -l CSWperl
ERROR: information for "CSWperl" was not found

Unfortunately, they don't work with the stock perl due to missing perl
modules.

$ /usr/bin/perl /opt/csw/bin/bldcat .
Can't locate Digest/MD5.pm in @INC (@INC contains:
/usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at
/opt/csw/bin/bldcat line 9.
BEGIN failed--compilation aborted at /opt/csw/bin/bldcat line 9.

Any chance to ship the required modules with CSWpkgutil?
====================================================================== 

---------------------------------------------------------------------- 
 (0006748) skayser (administrator) - 2009-09-23 19:51
 http://www.opencsw.org/mantis/view.php?id=3917#c6748 
---------------------------------------------------------------------- 
A separate package for tools that have additional dependencies sounds good
to me. 

Don't quite know about introducing enhanced features of pkgutil via an
extra package, though. Shouldn't people just need to be concerned with one
pkg* package. How about some sort of auto-discovery of additional tools? If
they are  installed, use the features, if not, don't. Maybe add a 

  pkgutil --pimpme

switch to install those extra-deps. ;)




More information about the bug-notifications mailing list