Bug#574029: javahelper: jh_manifest fails even without manifest

Eric Lavarde deb at zorglub.s.bawue.de
Sun Apr 18 16:31:46 UTC 2010


Package: javahelper
Version: 0.30
Severity: important


Hello,

even without having any manifest defined (jh_manifest is only called
through CDBS), I get the following error:

jh_manifest -plibknopflerfish-osgi-framework-java                               
/usr/bin/jh_manifest:3: DeprecationWarning: please use 'debian' instead of 'debian_bundle'                                                                      
  import sys,getopt,debian_bundle.deb822,scriptutil,os,tempfile,copy            
Traceback (most recent call last):                                              
  File "/usr/bin/jh_manifest", line 264, in <module>                            
    updatejar(j, tempmanifest, args)                                            
  File "/usr/bin/jh_manifest", line 78, in updatejar                            
    manifest = parseManifest(tempdir + "/META-INF/MANIFEST.MF", None, manifest) 
  File "/usr/bin/jh_manifest", line 164, in parseManifest                       
    manifest[section][i.strip()] = sec[i].strip().replace('\n ','')             
  File "/usr/lib/pymodules/python2.5/debian/deb822.py", line 179, in __getitem__
    value = value.decode(self.encoding)                                         
  File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode              
    return codecs.utf_8_decode(input, errors, True)                             
UnicodeDecodeError: 'utf8' codec can't decode byte 0x9d in position 34: unexpected code byte                                                                    
make: *** [binary-post-install/libknopflerfish-osgi-framework-java] Error 1     
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 
Command 'dpkg-buildpackage -us -uc -rfakeroot' failed in '/home/ericl/ALIOTH/build-area/knopflerfish-osgi-2.3.3', how to continue now? [Qri?]: i

i.e. I can't use javahelper...

Eric

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages javahelper depends on:
ii  bsdmainutils                  8.0.10     collection of more utilities from 
ii  dctrl-tools                   2.14       Command-line tools to process Debi
ii  debhelper                     7.4.17     helper programs for debian/rules
ii  devscripts                    2.10.64    scripts to make the life of a Debi
ii  dpkg-dev                      1.15.5.6   Debian package development tools
ii  fastjar                       2:0.98-1   Jar creation utility
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-debian                 0.1.16     Python modules to work with Debian
ii  python-scriptutil             1-1        Python module which provides the f
ii  realpath                      1.15       Return the canonicalized absolute 

javahelper recommends no packages.

javahelper suggests no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list