Created attachment 580616 [details] build.log ====================================================================== ERROR: Failure: RuntimeError (Unsafe load() call disabled by Gentoo. See bug #659348) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 251, in generate for test in g(): File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/tests/__init__.py", line 140, in TestSyntax config = get_config(dir_name) File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/tests/__init__.py", line 74, in get_config config = YamlConfig(defaults, os.path.join(dir_name, 'test.cfg')) File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/tests/__init__.py", line 38, in __init__ self._config = yaml.load(f) File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 109, in load raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 ====================================================================== ERROR: testExtensionConfigOption (tests.test_apis.TestCliOptionParsing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/tests/test_apis.py", line 717, in testExtensionConfigOption options, logging_level = parse_options(['-c', self.tempfile]) File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/lib/markdown/__main__.py", line 88, in parse_options extension_configs = yaml.load(fp) File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 109, in load raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Failed parsing extension config file: /mnt/portagetmp/portage/dev-python/markdown-2.6.8/temp/tmp7GQ2R5.yml ====================================================================== ERROR: testExtensonConfigOptionAsJSON (tests.test_apis.TestCliOptionParsing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/tests/test_apis.py", line 747, in testExtensonConfigOptionAsJSON options, logging_level = parse_options(['-c', self.tempfile]) File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/lib/markdown/__main__.py", line 88, in parse_options extension_configs = yaml.load(fp) File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 109, in load raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Failed parsing extension config file: /mnt/portagetmp/portage/dev-python/markdown-2.6.8/temp/tmpDyfNIi.yml ====================================================================== ERROR: testExtensonConfigOptionBadFormat (tests.test_apis.TestCliOptionParsing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/tests/test_apis.py", line 760, in testExtensonConfigOptionBadFormat self.assertRaises(yaml.YAMLError, parse_options, ['-c', self.tempfile]) File "/usr/lib64/python2.7/unittest/case.py", line 473, in assertRaises callableObj(*args, **kwargs) File "/mnt/portagetmp/portage/dev-python/markdown-2.6.8/work/Markdown-2.6.8-python2_7/lib/markdown/__main__.py", line 88, in parse_options extension_configs = yaml.load(fp) File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 109, in load raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Failed parsing extension config file: /mnt/portagetmp/portage/dev-python/markdown-2.6.8/temp/tmpN6YTXZ.yml
Created attachment 580618 [details] emerge --info
It is caused by unsafe calls to yaml.load in tests. Instruction to fix it are in bug #682964. It should also be updated to block said bug.
Old version removed. Please reopen if you can reproduce it with the current one.