Your message dated Thu, 9 May 2013 09:58:12 +0100
with message-id <[email protected]>
and subject line Re: Bug#707470: germinate: FTBFS: ImportError: No module named
'apt_pkg'
has caused the Debian Bug report #707470,
regarding germinate: FTBFS: ImportError: No module named 'apt_pkg'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
707470: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707470
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: germinate
Version: 2.12
Severity: serious
Tags: jessie sid
User: [email protected]
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> set -e; for python in python python3.3 python3; do \
> $python setup.py test; \
> done
> running test
> ./run-pychecker
> pychecker not installed, so not running it
> running egg_info
> creating germinate.egg-info
> writing germinate.egg-info/PKG-INFO
> writing top-level names to germinate.egg-info/top_level.txt
> writing dependency_links to germinate.egg-info/dependency_links.txt
> writing manifest file 'germinate.egg-info/SOURCES.txt'
> reading manifest file 'germinate.egg-info/SOURCES.txt'
> writing manifest file 'germinate.egg-info/SOURCES.txt'
> running build_ext
> test_trivial (germinate.tests.test_integration.TestGerminate) ... ok
> test_str (germinate.tests.test_germinator.TestBuildDependsReason)
> BuildDependsReason stringifies to a description of the reason. ... ok
> test_str (germinate.tests.test_germinator.TestDependsReason)
> DependsReason stringifies to the package name. ... ok
> test_str (germinate.tests.test_germinator.TestExtraReason)
> ExtraReason stringifies to a description of the reason. ... ok
> test_basic (germinate.tests.test_germinator.TestGerminatedSeed)
> GerminatedSeed has reasonable basic properties. ... ok
> test_equal_if_same_contents
> (germinate.tests.test_germinator.TestGerminatedSeed)
> GerminatedSeeds with the same seeds and inheritance are equal. ... ok
> test_not_equal_if_different_contents
> (germinate.tests.test_germinator.TestGerminatedSeed)
> GerminatedSeeds with different seeds/inheritance are not equal. ... ok
> test_different_providers_between_suites
> (germinate.tests.test_germinator.TestGerminator)
> Provides from later versions override those from earlier ones. ... ok
> test_parse_archive (germinate.tests.test_germinator.TestGerminator)
> Germinator.parse_archive successfully parses a simple archive. ... ok
> test_str (germinate.tests.test_germinator.TestRecommendsReason)
> RecommendsReason stringifies to a description of the reason. ... ok
> test_str (germinate.tests.test_germinator.TestRescueReason)
> RescueReason stringifies to a description of the reason. ... ok
> test_str (germinate.tests.test_germinator.TestSeedReason)
> SeedReason stringifies to a description of the seed. ... ok
> test_init_lists (germinate.tests.test_archive.TestTagFile)
> TagFile may be constructed with list parameters. ... ok
> test_init_strings (germinate.tests.test_archive.TestTagFile)
> TagFile may be constructed with string parameters. ... ok
> test_sections (germinate.tests.test_archive.TestTagFile)
> Test fetching sections from a basic TagFile archive. ... ok
> test_creates_file (germinate.tests.test_seeds.TestAtomicFile)
> AtomicFile creates the named file with the requested contents. ... ok
> test_removes_dot_new (germinate.tests.test_seeds.TestAtomicFile)
> AtomicFile does not leave .new files lying around. ... ok
> test_behaves_as_file (germinate.tests.test_seeds.TestSeed)
> A Seed context can be read from as a file object. ... ok
> test_equal_if_same_contents (germinate.tests.test_seeds.TestSeed)
> Two Seed objects with the same text contents are equal. ... ok
> test_init_no_bzr (germinate.tests.test_seeds.TestSeed)
> __init__ can open a seed from a collection without bzr. ... ok
> test_not_equal_if_different_contents (germinate.tests.test_seeds.TestSeed)
> Two Seed objects with different text contents are not equal. ... ok
> test_open_without_scheme (germinate.tests.test_seeds.TestSeed)
> A Seed can be opened from a relative path on the filesystem. ... ok
> test_add (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.add adds a custom seed. ... ok
> test_basic (germinate.tests.test_seeds.TestSeedStructure)
> A SeedStructure object has the correct basic properties. ... ok
> test_dict (germinate.tests.test_seeds.TestSeedStructure)
> A SeedStructure can be treated as a dictionary of seeds. ... ok
> test_later_branches_override_earlier_branches
> (germinate.tests.test_seeds.TestSeedStructure)
> Seeds from later branches override seeds from earlier branches. ... ok
> test_limit (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.limit restricts the set of seed names. ... ok
> test_multiple (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure follows "include" links to other seed collections. ... ok
> test_write (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write writes the text of STRUCTURE. ... ok
> test_write_dot (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write_dot writes an appropriate dot file. ... ok
> test_write_seed_text (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write_seed_text writes the text of a seed. ... ok
> test_write_seed_text_utf8 (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write_seed_text handles UTF-8 text in seeds. ... ok
> test_basic (germinate.tests.test_seeds.TestSingleSeedStructure)
> A SingleSeedStructure object has the correct basic properties. ... ok
> test_feature (germinate.tests.test_seeds.TestSingleSeedStructure)
> SingleSeedStructure parses the "feature" directive correctly. ... ok
> test_include (germinate.tests.test_seeds.TestSingleSeedStructure)
> SingleSeedStructure parses the "include" directive correctly. ... ok
>
> ----------------------------------------------------------------------
> Ran 35 tests in 0.080s
>
> OK
> running test
> running egg_info
> writing dependency_links to germinate.egg-info/dependency_links.txt
> writing top-level names to germinate.egg-info/top_level.txt
> writing germinate.egg-info/PKG-INFO
> reading manifest file 'germinate.egg-info/SOURCES.txt'
> writing manifest file 'germinate.egg-info/SOURCES.txt'
> running build_ext
> Traceback (most recent call last):
> File "setup.py", line 146, in <module>
> test_suite='germinate.tests',
> File "/usr/lib/python3.3/distutils/core.py", line 148, in setup
> dist.run_commands()
> File "/usr/lib/python3.3/distutils/dist.py", line 917, in run_commands
> self.run_command(cmd)
> File "/usr/lib/python3.3/distutils/dist.py", line 936, in run_command
> cmd_obj.run()
> File "setup.py", line 73, in run
> test.run(self)
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 138,
> in run
> self.with_project_on_sys_path(self.run_tests)
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 118,
> in with_project_on_sys_path
> func()
> File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 164,
> in run_tests
> testLoader = cks
> File "/usr/lib/python3.3/unittest/main.py", line 124, in __init__
> self.parseArgs(argv)
> File "/usr/lib/python3.3/unittest/main.py", line 168, in parseArgs
> self.createTests()
> File "/usr/lib/python3.3/unittest/main.py", line 175, in createTests
> self.module)
> File "/usr/lib/python3.3/unittest/loader.py", line 137, in
> loadTestsFromNames
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "/usr/lib/python3.3/unittest/loader.py", line 137, in <listcomp>
> suites = [self.loadTestsFromName(name, module) for name in names]
> File "/usr/lib/python3.3/unittest/loader.py", line 96, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
> File "/«PKGBUILDDIR»/germinate/__init__.py", line 1, in <module>
> import apt_pkg
> ImportError: No module named 'apt_pkg'
> make[1]: *** [override_dh_auto_test] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2013/05/09/germinate_2.12_unstable.log
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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---
--- Begin Message ---
On Thu, May 09, 2013 at 10:24:02AM +0200, Lucas Nussbaum wrote:
> Source: germinate
> Version: 2.12
> Severity: serious
> Tags: jessie sid
> User: [email protected]
> Usertags: qa-ftbfs-20130509 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
[...]
> > File "/usr/lib/python3.3/unittest/loader.py", line 96, in
> > loadTestsFromName
> > module = __import__('.'.join(parts_copy))
> > File "/«PKGBUILDDIR»/germinate/__init__.py", line 1, in <module>
> > import apt_pkg
> > ImportError: No module named 'apt_pkg'
> > make[1]: *** [override_dh_auto_test] Error 1
This is because python3-apt 0.8.8.2 wasn't built for Python 3.3.
python3-apt 0.8.9 is, so if you retry with that it should work, and
indeed it builds cleanly for me with that version.
(I don't think this requires a build-dependency in germinate, since
germinate does nothing itself to require 3.3 support; it's just that in
this case python3-defaults and python3-apt were effectively out of sync
for a while.)
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---