--- Begin Message ---
Source: python-gflags
Version: 1.3-1
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> /usr/bin/fakeroot debian/rules clean
> /usr/share/cdbs/1/class/python-vars.mk:115: WARNING: Use of
> XS-Python-Version and XB-Python-Version fields in debian/control is
> deprecated with pysupport method; use debian/pyversions if you need to
> specify specific versions.
> test -x debian/rules
> dh_testroot
> dh_clean
> cd . && \
> python setup.py clean \
> -a
> running clean
> 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-2.6' does not exist -- can't clean it
> rm -rf debian/python-module-stampdir
> find "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3" -name
> '*.py[co]' -delete
> find "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3" -name
> __pycache__ -type d -empty -delete
> find "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3" -prune
> -name '*.egg-info' -exec rm -rf '{}' ';'
> rm -f debian/stamp-makefile-check
> rm -f gflags2man.1
> dpkg-source -b python-gflags-1.3
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building python-gflags using existing
> ./python-gflags_1.3.orig.tar.gz
> dpkg-source: info: building python-gflags in python-gflags_1.3-1.debian.tar.gz
> dpkg-source: info: building python-gflags in python-gflags_1.3-1.dsc
> debian/rules build
> /usr/share/cdbs/1/class/python-vars.mk:115: WARNING: Use of
> XS-Python-Version and XB-Python-Version fields in debian/control is
> deprecated with pysupport method; use debian/pyversions if you need to
> specify specific versions.
> test -x debian/rules
> mkdir -p "."
> /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:
> DEB_DH_INSTALLCHANGELOGS_ARGS is a deprecated variable
> mkdir -p debian/python-module-stampdir
> for pyversion in 2.6 2.7; do python$pyversion gflags_unittest.py; done
> ........Warning: Hit circular flagfile dependency:
> /tmp/flags_unittest/UnitTestFile3.tst
> ................
> ----------------------------------------------------------------------
> Ran 24 tests in 0.036s
>
> OK
> .EE..EEEE..E.EEFE..E....
> ======================================================================
> ERROR: testKeyFlags (__main__.FlagsUnitTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 1345, in testKeyFlags
> self.assertListEqual(self._GetNamesOfKeyFlags(module_foo), [])
> File "gflags_unittest.py", line 110, in assertListEqual
> self.assertEqual(sorted_list1, sorted_list2)
> File "/usr/lib/python2.7/unittest/case.py", line 505, in assertEqual
> assertion_func(first, second, msg=msg)
> TypeError: assertListEqual() got an unexpected keyword argument 'msg'
>
> ======================================================================
> ERROR: testKeyFlagsWithNonDefaultFlagValuesObject (__main__.FlagsUnitTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 1405, in
> testKeyFlagsWithNonDefaultFlagValuesObject
> [])
> File "gflags_unittest.py", line 110, in assertListEqual
> self.assertEqual(sorted_list1, sorted_list2)
> File "/usr/lib/python2.7/unittest/case.py", line 505, in assertEqual
> assertion_func(first, second, msg=msg)
> TypeError: assertListEqual() got an unexpected keyword argument 'msg'
>
> ======================================================================
> ERROR: testMethod_flagfiles_1 (__main__.FlagsUnitTest)
> Test trivial case with no flagfile based options.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 785, in testMethod_flagfiles_1
> self.assertEqual( fake_argv, FLAGS.ReadFlagsFromFiles(fake_argv))
> File "/usr/lib/python2.7/unittest/case.py", line 505, in assertEqual
> assertion_func(first, second, msg=msg)
> TypeError: assertListEqual() got an unexpected keyword argument 'msg'
>
> ======================================================================
> ERROR: testMethod_flagfiles_2 (__main__.FlagsUnitTest)
> Tests parsing one file + arguments off simulated argv
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 791, in testMethod_flagfiles_2
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> ERROR: testMethod_flagfiles_3 (__main__.FlagsUnitTest)
> Tests parsing nested files + arguments of simulated argv
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 813, in testMethod_flagfiles_3
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> ERROR: testMethod_flagfiles_4 (__main__.FlagsUnitTest)
> Tests parsing self-referential files + arguments of simulated argv.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 837, in testMethod_flagfiles_4
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> ERROR: test_SetDefault (__main__.FlagsUnitTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 903, in test_SetDefault
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> ERROR: test_flagfiles_user_path_expansion (__main__.FlagsUnitTest)
> Test that user directory referenced paths (ie. ~/foo) are correctly
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 859, in test_flagfiles_user_path_expansion
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> ERROR: test_flags (__main__.FlagsUnitTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 188, in test_flags
> self.assertEqual(keys, reg_flags)
> File "/usr/lib/python2.7/unittest/case.py", line 505, in assertEqual
> assertion_func(first, second, msg=msg)
> TypeError: assertListEqual() got an unexpected keyword argument 'msg'
>
> ======================================================================
> ERROR: test_no_touchy_non_flags (__main__.FlagsUnitTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 880, in test_no_touchy_non_flags
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> ERROR: test_parse_flags_after_args_if_using_gnu_getopt
> (__main__.FlagsUnitTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 891, in
> test_parse_flags_after_args_if_using_gnu_getopt
> self.__DeclareSomeFlags()
> File "gflags_unittest.py", line 763, in __DeclareSomeFlags
> flags.DEFINE_string('UnitTestMessage1', 'Foo!', 'You Add Here.')
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1808, in DEFINE_string
> DEFINE(parser, name, default, help, flag_values, serializer, **args)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1701, in DEFINE
> flag_values)
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 1716, in DEFINE_flag
> fv[flag.name] = flag
> File
> "/build/user-python-gflags_1.3-1-amd64-ly835i/python-gflags-1.3/gflags.py",
> line 791, in __setitem__
> raise DuplicateFlagError(name, self)
> DuplicateFlagError: The flag 'UnitTestMessage1' is defined twice. First from
> gflags_unittest.py, Second from gflags_unittest.py
>
> ======================================================================
> FAIL: test_main_module_help (__main__.FlagsUnitTest)
> Test MainModuleHelp()
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "gflags_unittest.py", line 1256, in test_main_module_help
> self.fail()
> AssertionError: None
>
> ----------------------------------------------------------------------
> Ran 24 tests in 0.013s
>
> FAILED (failures=1, errors=11)
> Error: FLAGS.MainModuleHelp() didn't return the expected result.
> Got:
>
> gflags_unittest.py:
> --[no]UnitTestBoolFlag: Some Boolean thing
> (default: 'false')
> --UnitTestList: Some list
> (default: '1,2,3')
> (a comma separated list)
> --UnitTestMessage1: You Add Here.
> (default: 'Foo!')
> --UnitTestMessage2: Hello, Sailor!
> (default: 'Bar!')
> --UnitTestNumber: Some integer
> (default: '12345')
> (a non-negative integer)
> --[no]debug: debughelp
> (default: 'false')
> -?,--[no]help: show this help
> --[no]helpshort: show usage only for this module
> --[no]helpxml: like --help, but generates XML output
> --kwery: <who|what|why|where|when>: ?
> --l: how long to be
> (default: '9223372032559808512')
> (an integer)
> --letters: a list of letters
> (default: 'a,b,c')
> (a comma separated list)
> --name: namehelp
> (default: 'Bob')
> --[no]noexec: boolean flag with no as prefix
> (default: 'true')
> --numbers: a list of numbers
> (default: '1,2,3')
> (a comma separated list)
> --[no]q: quiet mode
> (default: 'true')
> --[no]quack: superstring of 'q'
> (default: 'false')
> -r,--repeat: how many times to repeat (0-5)
> (default: '4')
> (a non-negative integer)
> --x: how eXtreme to be
> (default: '3')
> (an integer)
> [End of got]
> Number of help lines = 43, expected 61
> One discrepancy: Got:
> --[no]UnitTestBoolFlag: Some Boolean thing
> Expected:
> --[no]debug: debughelp
> make: *** [debian/stamp-makefile-check] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2011/05/02/python-gflags_1.3-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F |
--- End Message ---