Hi,

On Thu, 12 Jun 2014 01:49:37 -0400
Scott Kitterman <[email protected]> wrote:

> On Sunday, June 08, 2014 15:00:00 Stefan Bühler wrote:
> > Hi,
> > 
> > attic uses #!/usr/bin/python3 as interpreter, but has native
> > (cython) modules that were compiled with a certain python3 version
> > (3.3 in the archive, but depends on python3-dev version at build
> > time).
> ...
> > Rebuilding the package with python3-dev from current testing also
> > fixes the problem.
> 
> Just rebuilding doesn't solve the entire problem.  The package
> depends are still wrong and it'll just break again the next time we
> change python3 versions.  NMU debdiff attached.  I intend to upload
> this to delay/3.

Yes; I thought it was clear from context that rebuilding is only a
temporary workaround, not a real fix. sorry.

I get new lintian errors with your diff applied:

E: attic source: package-uses-debhelper-but-lacks-build-depends

E: attic: missing-dependency-on-libc needed by 
usr/lib/python3/dist-packages/attic/chunker.cpython-34m-x86_64-linux-gnu.so and 
1 others

I'd use:

Build-Depends: debhelper (>= 8), dh-python, python3-dev, python3-openssl, 
python3-msgpack

and only one dpkg-gencontrol call (the second overwrites the first for me):
    dpkg-gencontrol -Pdebian/$(package) -Tdebian/substvars 
-Tdebian/attic.substvars

The clean rules should also remove Attic.egg-info and
attic/testsuite/__pycache__ (although the test-suite isn't called and
doesn't work, the cleanup should be done imho), otherwise a rebuild
without manual cleanup didn't work for me.

Apart from that I guess your diff fixes the problem, although I don't
think requiring a specific version of python3 is nice; I would have
preferred having a python3.x dependency and #!/usr/bin/python3.x
Some other time perhaps :)

regards,
Stefan


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

Reply via email to