Re: Bug#761134: [Help] strange 'missing-dependency-on-perlapi' lintian warning

2014-09-12 Thread Jakub Wilk

* Andreas Tille , 2014-09-11, 22:31:
I would like to upload libsbml5 but despite the fact that 
${perl:Depends} is specified and dh calls dh_perl automatically this 
lintian error occures.  To enable easy inspection I have uploaded the 
preliminary packages to


  https://people.debian.org/~tille/packages/libsmbl5/


dh_perl can't find the Perl modules, because they were installed into 
wrong directory:


$ dpkg -c libsbml5-perl_5.10.0+dfsg-1_amd64.deb | grep -E '[.](pm|so)$'
-rw-r--r-- root/root  14460736 2014-09-11 13:31 
./usr/lib/perl5/site_perl/5.20.0/x86_64-linux-gnu-thread-multi/auto/libSBML/LibSBML.so
-rw-r--r-- root/root   2688864 2014-09-11 12:22 
./usr/lib/perl5/site_perl/5.20.0/x86_64-linux-gnu-thread-multi/LibSBML.pm

But the correct place to install arch-specific Perl modules is:

$ perl -MConfig -E'say $Config{vendorarch}'
/usr/lib/x86_64-linux-gnu/perl5/5.20

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912084058.ga9...@jwilk.net



Re: [Debian-med-packaging] Bug#761134: [Help] strange 'missing-dependency-on-perlapi' lintian warning

2014-09-12 Thread Ivo Maintz
Jakub Wilk  schrieb :

> * Andreas Tille , 2014-09-11, 22:31:
> >I would like to upload libsbml5 but despite the fact that 
> >${perl:Depends} is specified and dh calls dh_perl automatically this 
> >lintian error occures.  To enable easy inspection I have uploaded
> >the preliminary packages to
> >
> >   https://people.debian.org/~tille/packages/libsmbl5/
> 
> dh_perl can't find the Perl modules, because they were installed into 
> wrong directory:
> 
> $ dpkg -c libsbml5-perl_5.10.0+dfsg-1_amd64.deb | grep -E
> '[.](pm|so)$' -rw-r--r-- root/root  14460736 2014-09-11
> 13:31 
> ./usr/lib/perl5/site_perl/5.20.0/x86_64-linux-gnu-thread-multi/auto/libSBML/LibSBML.so
> -rw-r--r-- root/root   2688864 2014-09-11
> 12:22 
> ./usr/lib/perl5/site_perl/5.20.0/x86_64-linux-gnu-thread-multi/LibSBML.pm
> 
> But the correct place to install arch-specific Perl modules is:
> 
> $ perl -MConfig -E'say $Config{vendorarch}'
> /usr/lib/x86_64-linux-gnu/perl5/5.20
> 
Thanks for the hint, I'll try to fix this soon.

Ivo


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912113447.57988a57@orm



Re: [Debian-med-packaging] Bug#761134: [Help] strange 'missing-dependency-on-perlapi' lintian warning

2014-09-12 Thread Ivo Maintz
Hi Gregor,

gregor herrmann  schrieb :

> Control: tag -1 + patch
[...]
> That's usually caused by a build system which uses INSTALLDIRS=site,
> which should be vendor ... And in practice left out in Debian since
> our toolery sets it.
> 
> Here we are:
> 
> % grep -ir installdirs *
> [..]
> src/bindings/perl/Makefile.PL.in:  INSTALLDIRS => "site",
> 
> 
> Oh, and then we have
> 
> src/bindings/perl/CMakeLists.txt:  set(PERL_PACKAGE_INSTALL_DIR
> ${CMAKE_INSTALL_LIBDIR}/perl5/site_perl/${PERL_VERSION}/${PERL_PLATFORM})
> 
> Ouch!
> 
> 
> I'm attaching two patches (the first being hacky and without DEP3
> headers) that seem to work, as in place the perl modules into the
> right directory and getting the dependencies on perl(api) right.

These patches fixes it, thanks for your help.

Cheers,

Ivo


signature.asc
Description: PGP signature


Re: [Debian-med-packaging] Bug#761134: [Help] strange 'missing-dependency-on-perlapi' lintian warning (Was: Bug#761134: libsbml5-perl: Depends on libperl5.18 but should be libperl5.20 now)

2014-09-12 Thread Ivo Maintz
Hi,

Eriberto  schrieb :

> Hi Andreas,
> 
> I didn't see the package. However, it can be a false positive from new
> Lintian. I already had three false positives from new checks.
> 
> Please, see the bugs of the Lintian in BTS to identify if it is or not
> a false positive.

If I look into the package, it seems, lintian is right. In the package
libsbml5-perl_5.10.0+dfsg-1_amd64.deb DEBIAN/control misses an entry for
perlapi-$Config{version}.

$LIBSBML_SOURCES/debian/control contains

Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}

And in the build logs I can see the dh_perl call:
[...]
make[1]: Leaving directory '/«BUILDDIR»/libsbml-5.10.0+dfsg'
   dh_install -a -O--with-python2 -O--dbg-package=libsbml5-dbg
   dh_installdocs -a -O--with-python2 -O--dbg-package=libsbml5-dbg
   dh_installchangelogs -a -O--with-python2 -O--dbg-package=libsbml5-dbg
   dh_perl -a -O--with-python2 -O--dbg-package=libsbml5-dbg
[...]

https://lintian.debian.org/tags/missing-dependency-on-perlapi.html
says, that this should be sufficient to get the right entry.

I'm shure, this error is quite new.

> I hope this help.
> 
> Cheers,
> 
> Eriberto
> 
> 
> 2014-09-11 17:31 GMT-03:00 Andreas Tille :
> > Hi,
> >
> > I would like to upload libsbml5 but despite the fact that
> > ${perl:Depends} is specified and dh calls dh_perl automatically this
> > lintian error occures.  To enable easy inspection I have uploaded
> > the preliminary packages to
> >
> >https://people.debian.org/~tille/packages/libsmbl5/
> >
> > Any help to fix this lintian problem is welcome
> >
> > Andreas.
> >
> > On Thu, Sep 11, 2014 at 09:27:39AM -0700, Steve Lane wrote:
> >> Thanks very much.  Now I guess I wait for it to show up on the
> >> webpage and in the repo, yes..?
> >>
> >> Best,
> >>
> >> --
> >> Steve Lane
> >>
> >> On Sep 11 09:24, Andreas Tille wrote:
> >> > Hi,
> >> >
> >> > I think a package rebuild should be sufficient to close this bug.
> >> > Thus I commited
> >> >
> >> >   * rebuild with latest libperl
> >> > Closes: #761134
> >> >
> >> > to the changelog.
> >> >
> >> > Ivo,  it is *really* high time to upload libsbml if we want to
> >> > deliver it in Jessie.  Do you have any idea why the current
> >> > state of SVN does not build on other machines.  Please
> >> > communicate your problems or lets consult debian-mentors.  We
> >> > are really short in time before the freeze (2014-11-05).
> >> >
> >> > Kind regards
> >> >
> >> >  Andreas.
> >> >
> >>
> >>
> >
> > --
> > http://fam-tille.de
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org Archive:
> > https://lists.debian.org/20140911203113.ga30...@an3as.eu
> >
> 
> ___
> Debian-med-packaging mailing list
> debian-med-packag...@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140912113313.5bdbaef4@orm