Dnia 2010-10-12, wto o godzinie 15:38 +0200, Evgeni Golov pisze: > Jakub Wilk <jw...@debian.org> wrote: > > > * Tomasz Rybak <bogom...@post.pl>, 2010-10-12, 12:06: > >>I have changed this to PYTHONPATH=../build/lib.*-*-$(firstword > >>$(PYVERS)) > >>and it works on my machine. > > > > This would set PYTHONPATH to "PYTHONPATH=../build/lib.*-*-2.6/" > > (literally). Doesn't look good. > > > > You probably want something like: > > > > PYTHONPATH=../$(wildcard build/lib.*-*-$(firstword $(PYVERS)))/ > > > > or > > > > PYTHONPATH=../$$(ls -d build/lib.*-*-$(firstword $(PYVERS)))/ > > wildcard seems not to work, no idea why (it does when I call make -f > debian/rules build, but not when invoked via dpkg-buildpackage). > > the ls version works fine for me on amd64 with i386 chroot (failed before). > > @Thomasz: If you need a sponsor, I'm willing to help (either the > existing or the 0.92 version if you get the OK from RT) :) > >
Sorry for mess - I keep forgetting that debian/rules is Makefile, not ordinary shell script. Thanks for suggestions, and testing changes. I played a little bit with $(wildcard) but was not able to make it working; each time I got PYTHONPATH=..//. I have changed debian/rules to $$(ls ...), tested in after purging old version of pyopencl, tested using pbuilder on i386 and amd64, and it builds every time. New version is, as previously, at http://www.bogomips.w.tkb.pl/cuda/pyopencl_0.92-1.dsc Now we need to wait for release team decision. -- Tomasz Rybak <bogom...@post.pl> GPG/PGP key ID: 2AD5 9860 Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860 http://member.acm.org/~tomaszrybak
signature.asc
Description: This is a digitally signed message part