Package: rubber
Version: 1.1+20100306-1
Severity: important

I've attached a tarball with a minimal example that shows the failure.

First, rubber is unable to use more than 1 rule for converting an image (dia ->
eps -> pdf). This has not been working for quite some time, so this is probably
not the place to discuss it (besides, I have some rules of my own to fix that).

The new breakage appears to incorrectly infer the source and destination paths
for files (example building article.ps):

  `here' is `/home/lluis/Projects/rubber-test/here.eps', made from 
`/home/lluis/Projects/rubber-test/here.dia' by rule `dia'
  `here2' is `/home/lluis/Projects/rubber-test/here2.eps', made from 
`/home/lluis/Projects/rubber-test/here.dia' by rule `dia'
  `there' is `/home/lluis/Projects/rubber-test/there.eps', made from 
`/home/lluis/Projects/rubber-test/here.dia' by rule `dia'

As you can see, 'here2' is produces from the wrong source, and 'there2' should
be found in the 'figures/' subdir when scanning the 'graphicspath' directive in
the article.

To be honest, I don't know when this broke, but makes rubber quite unusable at
least for me.

I tried to follow the error, and it looks like the routine doing the path
expansion returns incorrect results.

I've attached a simple example that exemplifies the error.


Thanks,
  Lluis


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (250, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=ca_ES.utf8, LC_CTYPE=ca_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rubber depends on:
ii  dpkg                1.16.4.3
ii  install-info        4.13a.dfsg.1-10
ii  python              2.7.3~rc2-1
ii  python-support      1.0.15
ii  texlive-latex-base  2012.20120611-3

rubber recommends no packages.

Versions of packages rubber suggests:
ii  imagemagick  8:6.7.7.10-3
ii  sam2p        0.49.1-1
ii  transfig     1:3.2.5.d-3

-- no debconf information

Attachment: rubber-test.tgz
Description: application/gtar-compressed

Reply via email to