Control: tags 682892 + patch

So, the problem with this bug does have to do with the same issue in
#684228 (namely, the move to paranoid mode through the "openout_any =
p" configuration).

As I said in #684228, I'm not an expert with this. But the attached
patch seems to fix the issue on my systems to the extent that I could
reproduce it.

I will also point that I'm still getting a FTBFS bug on
derivations. But it seems to be a different issue not caused by
rubber. The tex directory seems to build just fine with this patch.

There may be other places in the rubbery source code affected by this
bug. It's not clear to me how I would search for these
systematically. :-/

Regards,
Mako


-- 
Benjamin Mako Hill
m...@atdot.cc
http://mako.cc/

Creativity can be a social contribution, but only in so far
as society is free to use the results. --GNU Manifesto
--- rubber-1.1+20100306/src/latex_modules/index.py	2010-08-12 09:46:10.000000000 -0400
+++ /usr/share/pyshared/rubber/latex_modules/index.py	2012-08-08 11:38:57.000000000 -0400
@@ -54,9 +54,9 @@
 		(e.g. .ilg) file.  Transcript is used by glosstex.py.
 		"""
 		self.doc = doc
-		self.source = doc.target + "." + source
-		self.target = doc.target + "." + target
-		self.transcript = doc.target + "." + transcript
+		self.source = os.path.basename(doc.target) + "." + source
+		self.target = os.path.basename(doc.target) + "." + target
+		self.transcript = os.path.basename(doc.target) + "." + transcript
 		if os.path.exists(self.source):
 			self.md5 = md5_file(self.source)
 		else:

Attachment: signature.asc
Description: Digital signature

Reply via email to