Debian Bug report logs - #607172
error converting eps to pdf

version graph

Package: rubber; Maintainer for rubber is Hilmar Preuße <hille42@web.de>; Source for rubber is src:rubber.

Reported by: Sergio Fernández <sergio@wikier.org>

Date: Wed, 15 Dec 2010 10:51:02 UTC

Severity: normal

Found in version rubber/1.1-2.4

Done: Hilmar Preusse <hille42@web.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Emmanuel Beffara <manu@beffara.org>:
Bug#607172; Package rubber. (Wed, 15 Dec 2010 10:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sergio Fernández <sergio@wikier.org>:
New Bug report received and forwarded. Copy sent to Emmanuel Beffara <manu@beffara.org>. (Wed, 15 Dec 2010 10:51:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Sergio Fernández <sergio@wikier.org>
To: submit@bugs.debian.org
Subject: error converting eps to pdf
Date: Wed, 15 Dec 2010 11:48:45 +0100
[Message part 1 (text/plain, inline)]
Package: rubber
Version: 1.1-2.4

Rubber crashes trying to compile to PDF a TeX file with EPS figures:

$ rubber --pdf foo.tex
(...)
converting ./Figures/foo.eps to PDF...
Traceback (most recent call last):
  File "/usr/bin/rubber", line 9, in <module>
    sys.exit(Main()(sys.argv[1:]))
  File "/usr/share/rubber/rubber/cmdline.py", line 296, in __call__
    return self.main(cmdline)
  File "/usr/share/rubber/rubber/cmdline.py", line 260, in main
    ret = env.final.make(self.force)
  File "/usr/share/rubber/rubber/__init__.py", line 223, in make
    ret = src.make()
  File "/usr/share/rubber/rubber/__init__.py", line 237, in make
    ret = self.run()
  File "/usr/share/rubber/rubber/rules/shell.py", line 34, in run
    if self.env.execute(cmd):
  File "/usr/share/rubber/rubber/__init__.py", line 705, in execute
    os.execve(progname, prog, penv)
OSError: [Errno 8] Exec format error
'epstopdf' failed

The origin of the problem looks to be the absence of shebang on the
epstopdf perl script. Attached a naive parch that solves the problem
for people who are using bash, not sure if it'd be the general
solution...

-- 
__      ___ _   _
\ \    / (_) |_(_)___ _ _
 \ \/\/ /| | / / / -_) '_|  Sergio Fernández
  \_/\_/ |_|_\_\_\___|_|    http://www.wikier.org/
[rubber.epstopdf.patch (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Emmanuel Beffara <manu@beffara.org>:
Bug#607172; Package rubber. (Mon, 07 Mar 2011 19:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tom Fogal <temporary@sogetthis.com>:
Extra info received and forwarded to list. Copy sent to Emmanuel Beffara <manu@beffara.org>. (Mon, 07 Mar 2011 19:36:04 GMT) Full text and rfc822 format available.

Message #10 received at 607172@bugs.debian.org (full text, mbox):

From: Tom Fogal <temporary@sogetthis.com>
To: Debian Bug Tracking System <607172@bugs.debian.org>
Subject: rubber: alternative solution: rules.ini modification
Date: Mon, 07 Mar 2011 12:04:03 -0700
Package: rubber
Version: 1.1-2.4
Severity: normal


As noted in comment #9 here:

  http://ubuntuforums.org/showthread.php?t=1329477

one solution to this problem is to change the epstopdf command to have
a 'bash' in front of it.

I have done this on my system manually and can confirm it works.

-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rubber depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-support          1.0.10           automated rebuilding support for P
ii  texlive-latex-base      2009-11          TeX Live: Basic LaTeX packages

rubber recommends no packages.

Versions of packages rubber suggests:
ii  imagemagick                  8:6.6.0.4-3 image manipulation programs
pn  sam2p                        <none>      (no description available)
pn  transfig                     <none>      (no description available)

-- no debconf information




Reply sent to Hilmar Preusse <hille42@web.de>:
You have taken responsibility. (Sat, 28 Apr 2012 18:27:03 GMT) Full text and rfc822 format available.

Notification sent to Sergio Fernández <sergio@wikier.org>:
Bug acknowledged by developer. (Sat, 28 Apr 2012 18:27:03 GMT) Full text and rfc822 format available.

Message #15 received at 607172-done@bugs.debian.org (full text, mbox):

From: Hilmar Preusse <hille42@web.de>
To: Sergio Fernández <sergio@wikier.org>, 607172-done@bugs.debian.org
Subject: Re: error converting eps to pdf
Date: Sat, 28 Apr 2012 20:24:33 +0200
On 15.12.10 Sergio Fernández (sergio@wikier.org) wrote:

Hi,

> Package: rubber
> Version: 1.1-2.4
> 
> Rubber crashes trying to compile to PDF a TeX file with EPS figures:
> 
snip
> 
> The origin of the problem looks to be the absence of shebang on the
> epstopdf perl script. Attached a naive parch that solves the problem
> for people who are using bash, not sure if it'd be the general
> solution...
> 
If your analysis is correct the problem should not occur any more
since TL 2011 is in Debian unstable. The epstopdf script has the
required shebang.

-> Closing.

H.
-- 
sigmentation fault




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 27 May 2012 07:41:10 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 07:04:44 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.