Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 552656

Summary: dev-python/xcffib-0.3.2 fails to build (compile phase in fetch_build_eggs)
Product: Gentoo Linux Reporter: BobbyK <bobbykent32>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bobbykent32, jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=550558
https://bugs.gentoo.org/show_bug.cgi?id=539818
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge -pqv output
Build log
emerge --info output

Description BobbyK 2015-06-20 16:45:04 UTC
emerge -av =dev-python/xcffib-0.3.2::gentoo ends with:

 * ERROR: dev-python/xcffib-0.3.2::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3660:  Called distutils-r1_src_compile
 *   environment, line 1055:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  312:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3245:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2365:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2363:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  743:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1046:  Called distutils-r1_python_compile
 *   environment, line  931:  Called esetup.py 'build'
 *   environment, line 1534:  Called die

This is after all available RAM is used as a result of what appears to be a separate issue in /usr/lib64/python2.7/site-packages/setuptools/sandbox.py (where, if pickle.dumps in UnpickleableException.dump throws an exception, the catch results in UnpickleableException.dump being executed, and it again throws an exception ...).  As a result the logs are from testing the emerge in a vbox vm with 2GB ram and a similar amount of swap.

Reproducible: Always

Steps to Reproduce:
1.add =dev-python/xcffib-0.3.2::gentoo to package.accept_keywords
2.emerge =dev-python/xcffib-0.3.2::gentoo
3.
Actual Results:  
ERROR: dev-python/xcffib-0.3.2::gentoo failed (compile phase)

Expected Results:  
Package installs

dev-python/xcffib-0.2.5::gentoo installs cleanly.
Comment 1 BobbyK 2015-06-20 16:46:33 UTC
Created attachment 405426 [details]
emerge -pqv output
Comment 2 BobbyK 2015-06-20 16:47:38 UTC
Created attachment 405428 [details]
Build log
Comment 3 BobbyK 2015-06-20 16:48:06 UTC
Created attachment 405430 [details]
emerge --info output
Comment 4 BobbyK 2015-06-20 16:56:13 UTC
Looks like the sandbox issue may be bug 539818
Comment 5 Mike Gilbert gentoo-dev 2015-06-20 23:03:14 UTC
This also sounds similar to bug 550558.
Comment 6 Patrick Lauer gentoo-dev 2015-07-20 03:33:06 UTC
+  20 Jul 2015; Patrick Lauer <patrick@gentoo.org> cffi-1.1.2.ebuild:
+  Add pypy keyword for xcffib

This should fix part of the problem (portage would downgrade cffi, which then upsets setuptools in xcffib build)
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2015-09-24 11:51:42 UTC
commit cc19c161466d930e26e481cab1d7d784fb50e5c4
Author: Justin Lecher <jlec@gentoo.org>
Date:   Thu Sep 24 13:47:19 2015 +0200

    dev-python/xcffib: Clean old

    obsoletes
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=552656

    Package-Manager: portage-2.2.21
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc19c161466d930e26e481cab1d7d784fb50e5c4