pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/58563: package p5-biblatex-biber is missing a dependency



>Number:         58563
>Category:       pkg
>Synopsis:       package p5-biblatex-biber is missing a dependency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 08 21:25:00 +0000 2024
>Originator:     Jim Bernard
>Release:        NetBSD 10.99.11; pkgsrc current 20240707
>Organization:
self
>Environment:
NetBSD 10.99.11 (GENERIC.202407090633Z) #0: Tue Jul 9 01:53:11 PDT 2024  amd64
>Description:
The package print/p5-biblatex-biber requires the perl library in the package devel/p5-Parse-RecDescent, but the latter is not listed as a dependency in the biber Makefile.
>How-To-Repeat:
Install print/tex-biblatex, which installs print/p5-biblatex-biber as a dependency.  Make sure devel/p5-Parse-RecDescent has not been installed (e.g., as a dependency of some other package).  Then execute biber, e.g. via

  biber --version

This fails, complaining about not being able to locate Parse/RecDescent.pm:

Can't locate Parse/RecDescent.pm in @INC (you may need to install the Parse::RecDescent module) (@INC entries checked: /usr/pkg/lib/perl5/site_perl/5.38.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/site_perl/5.38.0 /usr/pkg/lib/perl5/vendor_perl/5.38.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/vendor_perl/5.38.0 /usr/pkg/lib/perl5/5.38.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/5.38.0) at /usr/pkg/lib/perl5/vendor_perl/5.38.0/Biber/LangTags.pm line 7.
BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/vendor_perl/5.38.0/Biber/LangTags.pm line 7.
Compilation failed in require at /usr/pkg/lib/perl5/vendor_perl/5.38.0/Biber.pm line 22.
BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/vendor_perl/5.38.0/Biber.pm line 22.
Compilation failed in require at /usr/pkg/bin/biber line 17.
BEGIN failed--compilation aborted at /usr/pkg/bin/biber line 17.
>Fix:
A workaround is to install the devel/p5-Parse-RecDescent package.

A fix is to add something like:

  DEPENDS+= p5-Parse-RecDescent-[0-9]*:../../devel/p5-Parse-RecDescent

to the Makefile for print/p5-biblatex-biber.  I'm not aware of any specific version requirements.


Home | Main Index | Thread Index | Old Index