Skip to content

feat: add perl-BibTeX-Parser and perl-LaTeX-ToUnicode components - #18372

Draft
Autumn Nash (WithEnoughCoffee) wants to merge 1 commit into
microsoft:4.0from
WithEnoughCoffee:fix/perl-bibtex-parser-missing-dep
Draft

feat: add perl-BibTeX-Parser and perl-LaTeX-ToUnicode components#18372
Autumn Nash (WithEnoughCoffee) wants to merge 1 commit into
microsoft:4.0from
WithEnoughCoffee:fix/perl-bibtex-parser-missing-dep

Conversation

@WithEnoughCoffee

@WithEnoughCoffee Autumn Nash (WithEnoughCoffee) commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

repoclosure on the 2026-04-16 x86_64 snapshot reports missing perl(BibTeX::Parser)/perl(BibTeX::Parser::Author), required by texlive-bibtexperllibs and texlive-crossrefware. One of 19 items in Bucket 1 of the repoclosure analysis (parent bug #18865).

Root cause

  • texlive-bibtexperllibs explicitly requires perl(BibTeX::Parser). This is a files-less metapackage (# Intentionally no files here. Metapackage to pull in perl(LaTeX::ToUnicode) and perl(BibTeX::Parser)).
  • The real consumer is texlive-crossrefware, which pulls the dependency in transitively: RPM's perl dependency auto-scanner picks it up from the bundled .pl scripts (bibdoiadd.pl, bibzbladd.pl, ltx2crossrefxml.pl) that use BibTeX::Parser.
  • No component in the distro provided it.

Fix

Import perl-BibTeX-Parser from Fedora (provides both symbols). It requires perl(LaTeX::ToUnicode), also missing, so that's imported too. Both are plain upstream imports (no overlays/forking), pinned to the same Fedora 43 snapshot the rest of the distro uses.

Validation

  • Both components built successfully, %check passing (BibTeX-Parser: 478 tests; LaTeX-ToUnicode: 103 tests).
  • Mock-chroot smoke test: both modules load correctly (perl -MBibTeX::Parser, perl -MBibTeX::Parser::Author).
  • azldev comp update/render --check-only show no drift.

Proof of fix — rpm -qp on the built RPMs:

$ rpm -qp --provides perl-BibTeX-Parser-1.93-1.azl4.noarch.rpm
perl(BibTeX::Parser) = 1.93
perl(BibTeX::Parser::Author) = 1.93
perl(BibTeX::Parser::Entry) = 1.93
perl-BibTeX-Parser = 1.93-1.azl4

$ rpm -qp --requires perl-BibTeX-Parser-1.93-1.azl4.noarch.rpm | grep LaTeX
perl(LaTeX::ToUnicode) >= 0.11

$ rpm -qp --provides perl-LaTeX-ToUnicode-1.93-1.azl4.noarch.rpm
perl(LaTeX::ToUnicode) = 1.93
perl(LaTeX::ToUnicode::Tables) = 1.93
perl-LaTeX-ToUnicode = 1.93-1.azl4

Confirms the exact symbols repoclosure flagged (perl(BibTeX::Parser), perl(BibTeX::Parser::Author)) are now provided, and perl-BibTeX-Parser's own >= 0.11 floor on perl(LaTeX::ToUnicode) is satisfied by the newly-added perl-LaTeX-ToUnicode (= 1.93).

Notes

  • perl-BibTeX-Parser and perl-LaTeX-ToUnicode are released in lockstep upstream (same author, synced version bumps: 1.05/0.551.921.93). The RPM floor is relaxed to >= 0.11 per Fedora's own spec comment, so automated version bumps of one without the other won't be caught by dependency resolution — worth bumping them together.
  • Fedora's perl-LaTeX-ToUnicode gained a guard in 1.94 (install_ltx2unitxt_manual) to avoid a man1/ltx2unitxt.1 conflict with texlive-bibtexperllibs. At the pinned 1.93 the script ships no POD, so no man page is generated and there's no conflict today; confirmed via rpm -qp --list that only /usr/bin/ltx2unitxt and man3/* are packaged. This resolves itself for free when the distro snapshot advances to 1.94+.

This is still a working draft.

Copilot AI balanced review requested due to automatic review settings August 10, 2026 18:59
@WithEnoughCoffee Autumn Nash (WithEnoughCoffee) changed the title Add perl-BibTeX-Parser and perl-LaTeX-ToUnicode components feat: add perl-BibTeX-Parser and perl-LaTeX-ToUnicode components Aug 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds two Fedora Perl components to satisfy missing TeX Live runtime dependencies.

Changes:

  • Imports perl-BibTeX-Parser and perl-LaTeX-ToUnicode.
  • Adds generated specs, patches, sources, and component locks.
  • Preserves %check and test subpackages.

Reviewed changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
base/comps/components.toml Registers both components alphabetically.
locks/perl-BibTeX-Parser.lock Pins the BibTeX parser import.
locks/perl-LaTeX-ToUnicode.lock Pins the LaTeX converter import.
specs/p/perl-BibTeX-Parser/sources Records the source checksum.
specs/p/perl-BibTeX-Parser/perl-BibTeX-Parser.spec Packages the parser and its tests.
specs/p/perl-BibTeX-Parser/BibTeX-Parser-1.03-Remove-a-debugging-output-from-BibTeX-Parser-Entry-t.patch Removes stray debugging output.
specs/p/perl-LaTeX-ToUnicode/sources Records the source checksum.
specs/p/perl-LaTeX-ToUnicode/perl-LaTeX-ToUnicode.spec Packages the converter and its tests.
specs/p/perl-LaTeX-ToUnicode/LaTeX-ToUnicode-0.53-Do-not-add-bogus-paths-to-INC.patch Removes unsuitable module search paths.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Fixes missing perl(BibTeX::Parser)/perl(BibTeX::Parser::Author) deps
needed by texlive-bibtexperllibs and texlive-crossrefware (repoclosure,
2026-04-16 snapshot). perl-BibTeX-Parser also requires
perl(LaTeX::ToUnicode), which was missing too, so it's added as well.

Both imported from Fedora, built successfully with %check passing.
Copilot AI review requested due to automatic review settings August 10, 2026 19:28
@WithEnoughCoffee
Autumn Nash (WithEnoughCoffee) force-pushed the fix/perl-bibtex-parser-missing-dep branch from 3b71a2e to 68a212a Compare August 10, 2026 19:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 9 changed files in this pull request and generated no new comments.

@WithEnoughCoffee

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants