tags 422641 - unreproducible moreinfo
tags 422641 + patch
thanks

hi,

On Tue, May 08, 2007 at 09:19:30AM +1000, Paul Wise wrote:
> tags 422641 + unreproducible moreinfo
> thanks
> 
> On Mon, 2007-05-07 at 15:13 +0200, Michael Ablassmeier wrote:
> 
> > Lucas has rebuild the archive on i386 and your package Failed to Build
> > from Source with the following error:
> > 
> >  help2man -n 'convert between legacy Khmer encodings and Unicode' \
> >                   -s 1 -N -o build/khmerconverter.1 'python 
> > build/khmerconverter'
> >  help2man: can't get `--help' info from python build/khmerconverter
> >  make: *** [build-stamp] Error 1
> 
> I'm unable to reproduce that here, even manually chmodding it a-x and
> running help2man again doesn't produce the error. I've no pbuilder
> chroot, but I'll test it in one when #421371 is fixed.

im able to reproduce this here even without pbuilder on sid/amd64:

 [EMAIL PROTECTED]:~/qa/src/khmerconverter-1.3$ help2man -n 'convert between 
legacy Khmer encodings and Unicode' 
                                        -s 1 -N -o build/khmerconverter.1 
'python build/khmerconverter'
 help2man: can't get `--help' info from python build/khmerconverter

the reason is build/khmerconverter does not find its modules after cp -f to
build/:

 [EMAIL PROTECTED]:~/qa/src/khmerconverter-1.3$ python build/khmerconverter
 Traceback (most recent call last):
  File "build/khmerconverter", line 29, in ?
    from modules import FontDataXML
 ImportError: No module named modules

the attached patch - running help2man on khmerconverter.py - is a workaround. 

--- orig/debian/rules   2007-05-08 09:25:33.000000000 +0200
+++ khmerconverter-1.3/debian/rules     2007-05-08 09:25:46.000000000 +0200
@@ -16,7 +16,7 @@
 
        cp -f khmerconverter.py build/khmerconverter
        help2man -n 'convert between legacy Khmer encodings and Unicode' \
-                -s 1 -N -o build/khmerconverter.1 'python build/khmerconverter'
+                -s 1 -N -o build/khmerconverter.1 'python khmerconverter.py'
 
        convert converter.ico build/a.xpm       
        convert converter.ico build/a.png

bye,
    - michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to