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

Problems with building new version of pytools



Hello.
Debian contains new OpenCL libraries for AMD/ATI
hardware. I am trying to build my packages to allow
for using AMD OpenCL libraries and to close #628702.

I have problem with building pytools though.
At the end of build process I got:
dpkg-source --after-build pytools-2011.5
dpkg-source: info: unapplying replace-setuptools.patch
patching file MANIFEST.in
patching file pytools.egg-info/SOURCES.txt
Hunk #2 FAILED at 8.
Hunk #3 FAILED at 24.
2 out of 3 hunks FAILED -- saving rejects to file
pytools.egg-info/SOURCES.txt.rej
patching file setup.py
dpkg-source: błąd: LC_ALL=C patch -R -t -N -p1 -u -V never -g0 -E
--no-backup-if-mismatch <
pytools-2011.5/debian/patches/replace-setuptools.patch zwrócił status
błędu 1
dpkg-buildpackage: błąd: dpkg-source --after-build pytools-2011.5
zwrócił status błędu 1


This is caused by setuptools.command.egg_info.manifest_maker.
In the run() method it calls write_manifest(), which
overwrites pytools.egg-info/SOURCES.txt, which was patched
by me, to not include in package decorator (we got own in Debian)
and log.py, which depends on unpackaged modules and is not needed
by PyCUDA nor by PyOpenCL.
Is there ability to disable it, or to disable unapplying patches?

Best regards.

-- 
Tomasz Rybak <bogomips@post.pl> GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: