Bug 2175666

Summary: pdfcrop has a missing dep on pdftex
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: texliveAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: caznaranl, spotrh, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-06 20:25:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Horák 2023-03-06 09:41:39 UTC
Description of problem:
After installing the /usr/bin/pdfcrop tool (texlive-pdfcrop rpm) running it fails due missing pdftext binary.

[sharkcz@tyan-openpower-01 ~]$ pdfcrop --margins 36 Brandejs_Mikroprocesory_Intel_8086_80486_2010.pdf b1.pdf
PDFCROP 1.40, 2020/06/06 - Copyright (c) 2002-2020 by Heiko Oberdiek, Oberdiek Package Support Group.
Can't exec "pdftex": No such file or directory at /usr/bin/pdfcrop line 1212.
!!! Error: pdfTeX run failed to execute (No such file or directory)!

After installing texlive-pdftex the pdfcrop tool runs OK. Please add the missing Requires: to the pdfcrop subpackage.


Version-Release number of selected component (if applicable):
texlive-pdfcrop-svn55435-68.fc38.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. take a fresh system without previous texlive installation which might contain pdftex already
2. install /usr/bin/pdfcrop
3. run pdfcrop --margins 36 inpup.pdf output.pdf

Actual results:
no cropped pdf because pdftext is missing

Expected results:
cropped pdf written

Comment 1 Tom "spot" Callaway 2023-03-06 20:25:06 UTC
Thanks for the bug report, this is fixed in texlive-base-20220321-69 (F38+).

Comment 2 Fedora Update System 2023-03-07 14:59:31 UTC
FEDORA-2023-6d26acccf9 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6d26acccf9

Comment 3 Fedora Update System 2023-03-08 02:24:55 UTC
FEDORA-2023-6d26acccf9 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6d26acccf9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-03-11 03:15:58 UTC
FEDORA-2023-6d26acccf9 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.