Bug 1376105 - pdfjam produces output file in temp directory but not in working directory
Summary: pdfjam produces output file in temp directory but not in working directory
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pdfjam
Version: 23
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 17:02 UTC by marek77
Modified: 2016-12-20 21:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1164239
Environment:
Last Closed: 2016-12-20 21:34:31 UTC
Type: Bug


Attachments (Terms of Use)

Description marek77 2016-09-14 17:02:21 UTC
+++ This bug was initially created as a clone of Bug #1164239 +++

Description of problem:
I haved worked around bug 1164237 and after that pdfjam behaves strangely:

Version-Release number of selected component (if applicable):
texlive-pdfjam-svn29752.2.02-1.1.fc21.noarch

How reproducible:
100 %

Steps to Reproduce:
0. install minimal Fedora
1. install all dependencies described in bug 1164237
2. $ pdfjam --nup 2x2 --landscape --column true --columnstrict true --no-tidy 001-secure-design-intro.pdf

Actual results:
$ pdfjam --nup 2x2 --landscape --column true --columnstrict true --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: Temporary directory for this job is
                    /var/tmp/pdfjam-u9Vn9K
  pdfjam: Effective call for this run of pdfjam:
          /bin/pdfjam --nup '2x2' --landscape --column 'true' --columnstrict 'true' --no-tidy -- 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-u9Vn9K/a.log
          to try to diagnose the problem.
  pdfjam ERROR: Output file not written


Expected results:
Output file should be in working directory.

Additional info:
/var/tmp/pdfjam-u9Vn9K directory contains output file a.pdf which seems to be correct. I don't know why pdfjam prints this error.

--- Additional comment from Petr Spacek on 2014-11-14 07:23:49 EST ---



--- Additional comment from Petr Spacek on 2014-11-14 07:24:30 EST ---



--- Additional comment from LAurent_B on 2015-02-21 03:03:57 EST ---

Hello, around the same for me : 


$ 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
  
[laurent@mobbox NgSpice]$ more /var/tmp/pdfjam-xdSIx2/a.log
/var/tmp/pdfjam-xdSIx2/a.log: Aucun fichier ou dossier de ce type  

                                                               
[laurent@mobbox NgSpice]$ pdfnup --no-tidy  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: Temporary directory for this job is                                                                                     
                    /var/tmp/pdfjam-3qSGlm                                                                                        
  pdfjam: Effective call for this run of pdfjam:                                                                                  
          /bin/pdfjam --suffix nup --nup '2x1' --landscape --no-tidy -- 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-3qSGlm/a.log
          to try to diagnose the problem.
  pdfjam ERROR: Output file not written
  
[laurent@mobbox NgSpice]$ more /var/tmp/pdfjam-3qSGlm/a.log
/var/tmp/pdfjam-3qSGlm/a.log: Aucun fichier ou dossier de ce type


$ ls -l /var/tmp/pdfjam-3qSGlm/
total 20
-rw-rw-r--. 1 laurent laurent 166 21 févr. 08:37 a.msgs
-rw-rw-r--. 1 laurent laurent 202 21 févr. 08:37 a.tex
-rw-rw-r--. 1 laurent laurent 174 21 févr. 08:37 call.txt
-rw-------. 1 laurent laurent 644 21 févr. 08:37 messages.txt
lrwxrwxrwx. 1 laurent laurent 105 21 févr. 08:37 source-1.pdf -> /home/laurent/Documents/100_Documentation/00_Outils_numeriques/gEDA_Tools/NgSpice/ngspice-manual-2014.pdf

--- Additional comment from LAurent_B on 2015-02-21 03:10:35 EST ---

$ more /var/tmp/pdfjam-3qSGlm/a.msgs 
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded format=pdflatex)
 restricted \write18 enabled.
I can't find the format file `pdflatex.fmt'!



$ more /var/tmp/pdfjam-3qSGlm/a.tex
\batchmode
\documentclass[a4paper,landscape]{article}
\usepackage[utf8]{inputenc}
\usepackage{pdfpages}

\begin{document}
\includepdfmerge[nup=2x1]{/var/tmp/pdfjam-3qSGlm/source-1.pdf,-}
\end{document}



$ more /var/tmp/pdfjam-3qSGlm/call.txt 
cd /home/laurent/Documents/100_Documentation/00_Outils_numeriques/gEDA_Tools/NgSpice
/bin/pdfjam --suffix nup --nup '2x1' --landscape --no-tidy -- ngspice-manual-2014.pdf -


$ more /var/tmp/pdfjam-3qSGlm/messages.txt 
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Temporary directory for this job is
                    /var/tmp/pdfjam-3qSGlm
  pdfjam: Effective call for this run of pdfjam:
          /bin/pdfjam --suffix nup --nup '2x1' --landscape --no-tidy -- 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-3qSGlm/a.log
          to try to diagnose the problem.


the pdf file is here :http://ngspice.sourceforge.net/docs/ngspice-manual.pdf

thanks for help

--- Additional comment from Fedora End Of Life on 2015-11-04 08:30:43 EST ---

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.

--- Additional comment from Fedora End Of Life on 2015-12-01 23:59:19 EST ---

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 1 marek77 2016-09-14 17:06:40 UTC
I just reproduced this on F23. The file 'a.pdf' in the temporary directory is created correctly and its contents is good.

[cheeky@cheeky ~]$ pdfjam --outfile file_a4.pdf --no-tidy --paper  a4paper file.pdf         
          ----
  pdfjam: This is pdfjam version 2.08.
  pdfjam: Reading any site-wide or user-specific defaults...
          (none found)
  pdfjam: Temporary directory for this job is
                    /var/tmp/pdfjam-IpEp8i
  pdfjam: Effective call for this run of pdfjam:
          /usr/bin/pdfjam --outfile file_a4.pdf --no-tidy --paper a4paper -- file.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-IpEp8i/a.log
          to try to diagnose the problem.
  pdfjam ERROR: Output file not written

[cheeky@cheeky ~]$ ll /var/tmp/pdfjam-IpEp8i
total 3376
-rw-rw-r-- 1 cheeky cheeky       8 Sep 14 18:51 a.aux
-rw-rw-r-- 1 cheeky cheeky   19924 Sep 14 18:51 a.log
-rw-rw-r-- 1 cheeky cheeky     258 Sep 14 18:51 a.msgs
-rw-rw-r-- 1 cheeky cheeky 3415847 Sep 14 18:51 a.pdf
-rw-rw-r-- 1 cheeky cheeky     186 Sep 14 18:51 a.tex
-rw-rw-r-- 1 cheeky cheeky     215 Sep 14 18:51 call.txt
-rw------- 1 cheeky cheeky     754 Sep 14 18:51 messages.txt
lrwxrwxrwx 1 cheeky cheeky      81 Sep 14 18:51 source-1.pdf -> /home/cheeky/file.pdf

Comment 2 Fedora End Of Life 2016-11-25 09:35:15 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 3 Fedora End Of Life 2016-12-20 21:34:31 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.


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