[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: javahelper (Was "Re: Bug#441403: Incorrect versioned symlink")



On Mon, Sep 10, 2007 at 11:06:20PM +0100, Paul Cager wrote:
> Kumar Appaiah wrote:
> > Package: libjsch-java
> > Version: 0.1.34-1
> > Severity: serious
> > 
> > Hi!
> > 
> > I just observed that the symlink provided in libjsch-java points to
> > the old version, and this causes many problems. Please consider fixing
> > it. I am unable to contribute a patch because I am unable to build the
> > package now, even on pbuilder, so you may be in foran FTBFS as well.
> > 
> > For the record:
> > [kumar@debian ~] ls -l /usr/share/java/jsch*
> > -rw-r--r-- 1 root root 165603 2007-09-03 18:11 /usr/share/java/jsch-0.1.34.jar
> > lrwxrwxrwx 1 root root     15 2007-09-09 19:06 /usr/share/java/jsch.jar -> jsch-0.1.28.jar
> 
> That reminds me...   There was some discussion a little while ago about
> proposed new debhelper-style tools, specifically for Java builds. It
> seems a dh_installjar would have helped here. Need more hours in the day...

In this case it wouldnt have helped. The old jsch package contained a
file debian/libsch-java.links with a hardcoded link. I removed that
file, tested package and all worked. Then I did an svn up (which made
the file reappear), did the final build and uploaded.

I agree that a helper like dh_installjar would be really nice.


Cheers,
Michael



Reply to: