On 14/08/11 15:46, Aron Xu wrote:
On Sun, Aug 14, 2011 at 21:25, Torquil Macdonald Sørensen <torquil@gmail.com> wrote:Thanks for checking the package! Would it be possible to see your build log?Attached.I can successfully build it on both my amd64 and i386 computers. On the amd64 I've also built it successfully using pbuilder. I haven't yet been able to do the pbuilder test on the i386 due to a pbuilder bug regarding the proc filesystem. When I run lintian I only get: $ lintian -IE --pedantic --show-overrides python-visvis_1.5-1_amd64.changes P: python-visvis: no-upstream-changelog and the same thing on my i386 computer. Here is the procedure I used on both computers: $ dget http://mentors.debian.net/debian/pool/main/p/python-visvis/python-visvis_1.5-1.dsc $ dpkg-source -x python-visvis_1.5-1.dsc $ cd python-visvis-1.5 $ debuild $ cd .. $ lintian -IE --pedantic --show-overrides python-visvis_1.5-1_amd64.changesCan you run check for a pbuilder build, instead of a local debuild? Because your own environment may influence the build result.Thanks for the dh_python2 info. I'm on it! :-)Let me know when you have finished it, :-)
Finished!Ok, I think your build problem appeared because "python" was not included as a Build-Depends. Your build log indicated an error message where the program "pyversions" was not found. I actually got the same error message in my pbuilder build log without noticing it before. After including python as a Build-Depends, I no longer have this problem.
You suggested that I should run the lintian command within the chroot. I have not yet figured out how to do this, but will investigate some man pages. Even so, I am sufficiently confident that I have fixed the problem to upload this once more to mentors.debian.net. My apologies if the problem is still present.
So now I have included python as a Build-Depends, and I think I have followed the instructions for converting to dh_python2. In this case it seems to be as simple as to just obey the recommendations for the Build-Depends and Depends, as well as to include the option --with python2 for the dh commands that are run in the rules script.
I have uploaded a new version (with the same version number). Due to the new "expo" system on mentors.debian.net I had to first delete the old package, but the URL should be the same to the *.dsc. At least I get the updated package when I download it using
dget http://mentors.debian.net/debian/pool/main/p/python-visvis/python-visvis_1.5-1.dsc
Regarding the "P: python-visvis: no-upstream-changelog" lintian message, I have inquired upstream about how to obtain a suitable changelog.
Best regards Torquil Sørensen