Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744100 - app-arch/brotli: setuptools check breaks installation
Summary: app-arch/brotli: setuptools check breaks installation
Status: RESOLVED DUPLICATE of bug 744079
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-22 13:54 UTC by David Michael
Modified: 2020-09-22 17:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Michael 2020-09-22 13:54:49 UTC
Since the last day or two, brotli (with no USE flags enabled) fails to install.

Reproducible: Always

Steps to Reproduce:
1. emerge -v app-arch/brotli

Actual Results:  
 * python3_7: running distutils-r1_run_phase get_expected_distutils_use_setuptools
/var/tmp/portage/app-arch/brotli-1.0.7/temp/environment: line 1788: cd: /var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7-python3_7: No such file or directory
 * ERROR: app-arch/brotli-1.0.7::gentoo failed:
 *   (no error message)
 * 
 * Call stack:
 *            misc-functions.sh, line  596:  Called install_qa_check
 *            misc-functions.sh, line  132:  Called source 'install_symlink_html_docs'
 *   60distutils-use-setuptools, line   60:  Called distutils_use_setuptools_check
 *   60distutils-use-setuptools, line   43:  Called _distutils-r1_run_foreach_impl 'install_hooks'
 *                  environment, line  609:  Called python_foreach_impl '/var/db/repos/gentoo/metadata/install-qa-check.d/60distutils-use-setuptools' 'get_expected_distutils_use_setuptools'
 *                  environment, line 3803:  Called multibuild_foreach_variant 'distutils-r1_run_phase' 'get_expected_distutils_use_setuptools' '_python_multibuild_wrapper'
 *                  environment, line 2869:  Called _multibuild_run 'distutils-r1_run_phase' 'get_expected_distutils_use_setuptools' '_python_multibuild_wrapper'
 *                  environment, line 2867:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'get_expected_distutils_use_setuptools'
 *                  environment, line 1029:  Called distutils-r1_run_phase 'distutils-r1_run_phase'
 *                  environment, line 1788:  Called die
 * The specific snippet of code:
 *               cd "${BUILD_DIR}" || die;
 * 
 * If you need support, post the output of `emerge --info '=app-arch/brotli-1.0.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/brotli-1.0.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-arch/brotli-1.0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/brotli-1.0.7/temp/environment'.
 * Working directory: '/var/tmp/portage/app-arch/brotli-1.0.7/image'
 * S: '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7'
!!! post install failed; exiting.

Expected Results:  
It should install.

Commit df821da327452dd7cc8e2a80300de834379e3166 looks suspect, but I didn't dig into this.
Comment 1 Ionen Wolkens gentoo-dev 2020-09-22 14:01:20 UTC
I can reproduce with USE=-python, works with USE=python
Comment 2 Ionen Wolkens gentoo-dev 2020-09-22 14:52:04 UTC
For reference the same error happen with net-libs/libtorrent-rasterbar

Both use DISTUTILS_OPTIONAL=1 combined with DISTUTILS_IN_SOURCE_BUILD=1
Comment 3 Ionen Wolkens gentoo-dev 2020-09-22 15:13:19 UTC
.. or was happening, I think this commit also fixed this:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0b254144141866ac51f66ad27cadf477f43da3
Comment 4 Craig Andrews gentoo-dev 2020-09-22 15:29:34 UTC

*** This bug has been marked as a duplicate of bug 744079 ***
Comment 5 Scott Furry 2020-09-22 17:33:01 UTC
Can add app-editors/qhexedit2 to the casualty list of affected packages.

Applied patch and reattempted emerge.
Success.