Your message dated Thu, 9 Aug 2018 09:52:44 +0200
with message-id <[email protected]>
and subject line Re: Bug#364942: rubber: references to regexp groups impossible 
in user-defined rules
has caused the Debian Bug report #364942,
regarding rubber: references to regexp groups impossible in user-defined rules
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
364942: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=364942
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rubber
Version: 1.1-1
Severity: normal

Hi!

First, thank you very much for writing and maintaining rubber. This is a
lifesaver for me. I already thought I would have to learn how to write
makefiles. :)

Second, I think I found a problem with user-definded rules. But I may as
well do something wrong. I have a custom rules.ini which rubber tries to
use. It looks like this:

|[gnuplot-tex]
|target = (.*)\.(tex|latex)
|source = \1.dat
|cost = 0
|rule = shell
|command = gnuplot \1.plot; epstopdf \1.eps
|message = running gnuplot to plot data from $source as $target

[This may look a little bit strange, but gnuplot produces an eps file
 and a tex file in all my gnuplot scripts with the extension .plot.
 Since I use pdftex, I have to convert the eps to pdf to be able to
 \includegraphics{} it. I am not yet sure whether I may run two commands
 separated by a ";", but I don't think this is related to my problem.]

rubber-info --rules shows the correct dependency (some paths stripped):

|img/results/runtime.tex: img/results/runtime.dat

But when I run "rubber --pdf -f doc" I get:

|running gnuplot to plot data from img/results/runtime.dat as
| img/results/levenshtein-runtime.tex...
|         Cannot open load file '\1.plot;'
|         line 0: util.c: No such file or directory
|
|'gnuplot' failed

Obviously, rubber doesn't replace \1 with the first group in my target
pattern. I am not a regexp guru but since my pattern looks exactly like
the patterns in the default rules.ini, I think it should work.

Sincerely,
J.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.11
Locale: LANG=en_US, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages rubber depends on:
ii  python                        2.3.5-5    An interactive high-level object-o
ii  tetex-bin                     3.0-16     The teTeX binary files

rubber recommends no packages.

-- no debconf information

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Am 08.08.2018 um 13:35 teilte Jochen Schulz mit:

Hi,

Since I am unable to reproduce this issue anymore, feel free to close
this bug report.

Doing so. Thanks for response!

H.
--
#206401 http://counter.li.org

--- End Message ---

Reply via email to