Bug#778707: differing dependencies between builds

Jaromír Mikeš mira.mikes at gmail.com
Tue Mar 3 12:43:16 UTC 2015


Hi Sebastian,

2015-03-02 23:20 GMT+01:00 Sebastian Ramacher <sramacher at debian.org>:

>
> On 2015-02-27 10:40:05, Jaromír Mikeš wrote:
> > While working on Debian's “reproducible builds” effort [1], we have
> > > noticed that pyliblo-utils had different dependencies in two different
> > > builds [2].
> > >
> > > In the first build it had:
> > >  Depends: python-liblo, python, python:any (>= 2.5~)
> > >
> > > While on the second build:
> > >  Depends: python-liblo, python3, python:any (>= 2.5~)
> > > (python3 instead of python)
> > >
> > > The included scripts also had different shebangs, #!/usr/bin/python
> > > vs. #!/usr/bin/python3.
> > >
> > > [1]: https://wiki.debian.org/ReproducibleBuilds
> > > [2]: https://reproducible.debian.net/pyliblo
> > >
> >
> > How this bug should be fixed?
> > https://reproducible.debian.net/rb-pkg/pyliblo.html
> >
> > 1) build pyliblo-utils only for python2 or python3
> > 2) build pyliblo-utils-python2 and pyliblo-utils-python3
> > 3) skip python2 and build everything only with python3
> > 4) other solution
>
> There is no point in 2). We don't gain anything from having a second
> copy of that. FWIW, I can't reproduce the changing dependencies
> behavior. I always get the Python 3 version.
>
> I'd go for 1) and make sure that pyliblo-utils is only built for one
> Python version. Something like the following patch could do the trick:
>
> diff -Nru pyliblo-0.9.2/debian/pyliblo-utils.install
> pyliblo-0.9.2/debian/pyliblo-utils.install
> --- pyliblo-0.9.2/debian/pyliblo-utils.install  2014-10-05
> 12:59:24.000000000 +0200
> +++ pyliblo-0.9.2/debian/pyliblo-utils.install  2015-03-02
> 23:16:43.000000000 +0100
> @@ -1,2 +1,2 @@
> -/usr/bin/dump_osc
> -/usr/bin/send_osc
> +build/scripts-2.7/dump_osc /usr/bin
> +build/scripts-2.7/send_osc /usr/bin
> diff -Nru pyliblo-0.9.2/debian/rules pyliblo-0.9.2/debian/rules
> --- pyliblo-0.9.2/debian/rules  2014-10-05 18:04:55.000000000 +0200
> +++ pyliblo-0.9.2/debian/rules  2015-03-02 23:13:59.000000000 +0100
> @@ -6,5 +6,8 @@
>  override_dh_auto_build:
>         dh_auto_build -- --build-args=--with-cython
>
> +override_dh_python3:
> +       dh_python3 -p python3-liblo
> +
>  override_dh_installchangelogs:
>         dh_installchangelogs NEWS
>
>
thank you for your help ... going to upload :)

mira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20150303/fcb06a7c/attachment.html>


More information about the pkg-multimedia-maintainers mailing list