Bug 1164237 - pdfjam is missing dependency on pdflatex and other packages
Summary: pdfjam is missing dependency on pdflatex and other packages
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 26
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-14 12:17 UTC by Petr Spacek
Modified: 2018-05-29 12:03 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 12:03:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Spacek 2014-11-14 12:17:28 UTC
Description of problem:
dnf install /usr/bin/pdfjam installs some pdfjam packages but pdflatex and other dependencies are still missing so pdfjam is not working.

Version-Release number of selected component (if applicable):
texlive-pdfjam-bin-svn17868.0-1.1.20140525_r34255.fc21.noarch

How reproducible:
100 %

Steps to Reproduce:
1. install minimal F21 system
2. $ dnf install /usr/bin/pdfjam
3. $ pdfjam

Actual results:
$ pdfjam
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: No arguments supplied; continuing anyway. (See
          'pdfjam --help' for information on usage.)
  pdfjam: No PDF/JPG/PNG source specified: input is from stdin.
  pdfjam ERROR: can't find pdflatex!


Expected results:
Command 'dnf install /usr/bin/pdfjam' should pull in necessary dependencies.


Additional info:
Running 'dnf install /usr/bin/pdflatex' moved me one step further:
$ pdfjam
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: No arguments supplied; continuing anyway. (See
          'pdfjam --help' for information on usage.)
  pdfjam: No PDF/JPG/PNG source specified: input is from stdin.
  pdfjam ERROR: LaTeX package pdfpages.sty is not installed


The next step:
$ dnf install /usr/share/texlive/texmf-dist/tex/latex/pdfpages/pdfpages.sty
... moved me even further but it still did not work:
$ pdfjam 001-secure-design-intro.pdf 

kpathsea: Running mktexfmt pdflatex.fmt
/bin/mktexfmt: line 395: /usr/share/texlive/texmf-dist/texconfig/tcfmgr: No such file or directory
fmtutil: config file `fmtutil.cnf' not found.


Next step was:
$ dnf install /usr/share/texlive/texmf-dist/texconfig/tcfmgr
After that I got an error:
! LaTeX Error: File `ifluatex.sty' not found.


Finally, the command:
$ dnf install texlive-ifluatex
... resulted in:

$ pdfjam --no-tidy 001-secure-design-intro.pdf 
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Effective call for this run of pdfjam:
          /bin/pdfjam  -- 001-secure-design-intro.pdf - 
  pdfjam: Calling pdflatex...
  pdfjam: FAILED.
          The call to 'pdflatex' resulted in an error.
          If '--no-tidy' was used, you can examine the
          log file at
                  /var/tmp/pdfjam-hIkPVJ/a.log
          to try to diagnose the problem.
  pdfjam ERROR: Output file not written

... which as a side-effect produced file /var/tmp/pdfjam-bBuACp/a.pdf with desired output.

I don't know why pdfjam returns an error in this case, I will open separate bug about it.

Comment 1 LAurent_B 2015-02-21 08:01:40 UTC
Hello,

Same problem for me : 

$ pdfnup
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: No PDF/JPG/PNG source specified: input is from stdin.
  pdfjam ERROR: can't find pdflatex!

$ yum provides pdflatex

=> texlive-latex-bin-bin-svn14050.0-1.1.20140525_r34255.fc21.noarch : Binaries for latex-bin


$ yum install texlive-latex-bin-bin-svn14050.0-1.1.20140525_r34255.fc21.noarch

$ pdfnup
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: No PDF/JPG/PNG source specified: input is from stdin.
  pdfjam ERROR: LaTeX package pdfpages.sty is not installed
  
  
  
$ yum provides pdfpages
Modules complémentaires chargés : langpacks
No matches found

# yum install texlive-pdfpages


$ pdfnup ngspice-manual-2014.pdf 

kpathsea: Running mktexfmt pdflatex.fmt
/bin/mktexfmt: ligne 395: /usr/share/texlive/texmf-dist/texconfig/tcfmgr: Aucun fichier ou dossier de ce type
fmtutil: config file `fmtutil.cnf' not found.
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Effective call for this run of pdfjam:
          /bin/pdfjam --suffix nup --nup '2x1' --landscape -- ngspice-manual-2014.pdf - 
  pdfjam: Calling pdflatex...
  pdfjam: FAILED.
          The call to 'pdflatex' resulted in an error.
          If '--no-tidy' was used, you can examine the
          log file at
                  /var/tmp/pdfjam-xdSIx2/a.log
          to try to diagnose the problem.
  pdfjam ERROR: Output file not written

Comment 2 Clément DAVID 2015-05-29 08:24:26 UTC
Same here on Fedora 22 !

Comment 3 Fedora End Of Life 2015-11-04 10:24:53 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-12-02 04:59:14 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 5 Emmanuel Touzery 2015-12-05 19:03:13 UTC
This bug is still present as of fedora 23 and should be reopened.

Comment 6 Petr Spacek 2015-12-08 08:11:34 UTC
Do not hesitate to open it yourself :-)

Comment 7 Fedora End Of Life 2016-11-24 11:17:13 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2016-12-20 12:56:59 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 9 Michel Lind 2017-01-17 23:32:05 UTC
Reopening, will work on a fix

Comment 10 Michel Lind 2017-01-18 08:11:33 UTC
This bug affects texlive-pdfjam too, the successor to pdfjam, which should probably depend on texlive-collection-latex. Assigning to component owner.

Comment 11 Fedora End Of Life 2017-02-28 09:38:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 12 Yannick Defais 2017-09-07 00:35:19 UTC
This bug is still there in Fedora 26.

In order to use pdfnup I had to install *manually* "texlive-pdfjam-bin", then "texlive-latex-bin-bin" and finally "texlive-collection-latex"

Comment 13 Sam Tuke 2018-01-08 17:52:52 UTC
Still a problem

Comment 14 Bhaskar S. Manda 2018-01-13 21:22:26 UTC
Yep, still a problem. Fix suggested by Michel and Yannick fixes it.

LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description:    Fedora release 27 (Twenty Seven)
Release:        27
Codename:       TwentySeven

Comment 15 Till Maas 2018-03-15 15:14:19 UTC
seems to be broken differently on Rawhide, there it is missing a dep on tex(pdfpages.sty) but it depends on texlive-collection-latex now.

Comment 16 Fedora End Of Life 2018-05-03 08:53:40 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 17 Fedora End Of Life 2018-05-29 12:03:04 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.