New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 758667 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 701955
Owner:
Last visit 16 days ago
Closed: Jan 2018
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

dev_install is broken in R61

Project Member Reported by lhchavez@chromium.org, Aug 24 2017

Issue description

Chrome Version: CHROMEOS_RELEASE_DESCRIPTION=9770.0.0 (Official Build) dev-channel eve test

`dev_install -y` fails with:

>>> Extracting info
 * Package:    dev-python/packaging-16.0
 * Repository: portage-stable
 * USE:        abi_x86_64 python_targets_python2_7
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Running stacked hooks for pre_pkg_setup
 *    sysroot_build_bin_dir ...
 [ ok ]
 * Running stacked hooks for post_pkg_setup
 *    python_eclass_hack ...
 [ ok ]
>>> Extracting dev-python/packaging-16.0
 * Running stacked hooks for pre_pkg_preinst
 *    wrap_old_config_scripts ...
 [ ok ]
/usr/local/var/tmp/portage/dev-python/packaging-16.0/temp/environment: line 3235: /usr/bin/python2.7: No such file or directory
 * ERROR: dev-python/packaging-16.0::portage-stable failed (preinst phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   94:  Called pkg_preinst
 *   environment, line 2821:  Called python_foreach_impl '_cleanup'
 *   environment, line 3476:  Called multibuild_foreach_variant '_python_multibuild_wrapper' '_cleanup'
 *   environment, line 2482:  Called _multibuild_run '_python_multibuild_wrapper' '_cleanup'
 *   environment, line 2480:  Called _python_multibuild_wrapper '_cleanup'
 *   environment, line  607:  Called python_wrapper_setup
 *   environment, line 3865:  Called python_export 'python2.7' 'PYTHON_CONFIG'
 *   environment, line 3235:  Called die
 * The specific snippet of code:
 *                           flags=$("${PYTHON}" -c 'import sysconfig; print(sysconfig.get_config_var("ABIFLAGS") or "")') || die;
 *
 * If you need support, post the output of `emerge --info '=dev-python/packaging-16.0::portage-stable'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/packaging-16.0::portage-stable'`.
 * The complete build log is located at '/usr/local/var/tmp/portage/dev-python/packaging-16.0/temp/build.log'.
 * The ebuild environment file is located at '/usr/local/var/tmp/portage/dev-python/packaging-16.0/temp/environment'.
 * Working directory: '/usr/local/lib/portage/pym'
 * S: '/usr/local/var/tmp/portage/dev-python/packaging-16.0/work/packaging-16.0'
!!! FAILED preinst: 1

After manually adding /usr/bin/python2.7 -> /usr/local/bin/python2.7, everything worked again.
 

Comment 2 Deleted

Comment 3 Deleted

Components: -Platform>DevTools
Mergedinto: 701955
Status: Duplicate (was: Started)

Sign in to add a comment