tag 646634 + moreinfo unreproducible thanks On Tue, 25 Oct 2011, Marcelo Jorge Vieira wrote: > Django failed to build from source, > attached you will find the log file. [...] > make[1]: *** [override_dh_auto_test] Error 1 > make[1]: Leaving directory `/root/python-django-1.3.1' > make: *** [build] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2
The relevant error is this one: ====================================================================== FAIL: test_broken_unicode (regressiontests.model_regress.tests.ModelTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/python-django-1.3.1/tests/regressiontests/model_regress/tests.py", line 146, in test_broken_unicode self.assertEqual(repr(b), "<BrokenUnicodeMethod: [Bad Unicode data]>") AssertionError: '<BrokenUnicodeMethod: N\xc3\xa1zov: Jerry>' != '<BrokenUnicodeMethod: [Bad Unicode data]>' ---------------------------------------------------------------------- Ran 3609 tests in 636.191s FAILED (failures=1, skipped=53, expected failures=3) So it looks like that somehow, the code is now accepting the __unicode__ method that is returning a byte string with non-ascii data. No idea why. What version of python were you using for your rebuild? In what environment did you do your rebuild? Was a locale set in the environment? Do you still reproduce it if you build without being root? I can't reproduce this error when doing a normal build in sid... Cheers, -- Raphaël Hertzog ◈ Debian Developer Pre-order a copy of the Debian Administrator's Handbook and help liberate it: http://debian-handbook.info/go/ulule-rh/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org