Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733722 - Gentoo Prefix bootstrap fails on Stage 3 cause of circular dependencies (dev-lang/python-3.7.8-r2 and virtual/libcrypt-1-r1)
Summary: Gentoo Prefix bootstrap fails on Stage 3 cause of circular dependencies (dev-...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-24 02:31 UTC by Sammy Pfeiffer
Modified: 2021-01-21 16:58 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 Sammy Pfeiffer 2020-07-24 02:31:18 UTC
Error (happening on amd64 and x86):

 * Error: circular dependencies:

(virtual/libcrypt-1-r1:0/1::gentoo, ebuild scheduled for merge) depends on
 (sys-libs/glibc-2.31-r6:2.2/2.2::gentoo, ebuild scheduled for merge) (runtime)
  (dev-lang/python-3.7.8-r2:3.7/3.7m::gentoo, ebuild scheduled for merge) (buildtime)
   (virtual/libcrypt-1-r1:0/1::gentoo, ebuild scheduled for merge) (buildtime_slot_op)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies

Full log (too big to attach): https://dev.azure.com/12719821/e566c963-8f77-4f01-b7bc-ae2d91b1334f/_apis/build/builds/2391/logs/41

You can find yourself in a Docker image in this exact environment doing:
docker pull awesomebytes/gentoo_prefix_ci_stage3:2391
docker run -it awesomebytes/gentoo_prefix_ci_stage3:2391 /bin/bash

EPREFIX is /tmp/gentoo
Comment 1 Benda Xu gentoo-dev 2020-07-24 13:24:27 UTC
It seems that the real error is

2020-07-23T15:16:22.1783277Z configure: error: please install gperf
2020-07-23T15:16:22.2061804Z 
2020-07-23T15:16:22.2062904Z !!! Please attach the following file when seeking support:
2020-07-23T15:16:22.2080377Z !!! /tmp/gentoo/var/tmp/portage/sys-libs/libseccomp-2.5.0/work/libseccomp-2.5.0-abi_x86_64.amd64/config.log
2020-07-23T15:16:22.2098431Z  * ERROR: sys-libs/libseccomp-2.5.0::gentoo failed (configure phase):
2020-07-23T15:16:22.2122750Z  *   econf failed
2020-07-23T15:16:22.2146351Z  * 
2020-07-23T15:16:22.2175179Z  * Call stack:
2020-07-23T15:16:22.2228365Z  *               ebuild.sh, line  125:  Called src_configure
2020-07-23T15:16:22.2283333Z  *             environment, line 3260:  Called multilib-minimal_src_configure
2020-07-23T15:16:22.2334843Z  *             environment, line 2086:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
2020-07-23T15:16:22.2390555Z  *             environment, line 2319:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
2020-07-23T15:16:22.2439583Z  *             environment, line 2016:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
2020-07-23T15:16:22.2488542Z  *             environment, line 2014:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
2020-07-23T15:16:22.2534423Z  *             environment, line  548:  Called multilib-minimal_abi_src_configure
2020-07-23T15:16:22.2581080Z  *             environment, line 2080:  Called multilib_src_configure
2020-07-23T15:16:22.2625753Z  *             environment, line 2550:  Called econf '--disable-static' '--disable-python'
2020-07-23T15:16:22.2674912Z  *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
2020-07-23T15:16:22.2708000Z  *   isolated-functions.sh, line  112:  Called die
2020-07-23T15:16:22.2727599Z  * The specific snippet of code:
2020-07-23T15:16:22.2769896Z  *   		die "$@"
2020-07-23T15:16:22.2790787Z  * 
2020-07-23T15:16:22.2817534Z  * If you need support, post the output of `emerge --info '=sys-libs/libseccomp-2.5.0::gentoo'`,
2020-07-23T15:16:22.2838127Z  * the complete build log and the output of `emerge -pqv '=sys-libs/libseccomp-2.5.0::gentoo'`.
2020-07-23T15:16:22.2860127Z  * The complete build log is located at '/tmp/gentoo/var/tmp/portage/sys-libs/libseccomp-2.5.0/temp/build.log'.
2020-07-23T15:16:22.2879336Z  * The ebuild environment file is located at '/tmp/gentoo/var/tmp/portage/sys-libs/libseccomp-2.5.0/temp/environment'.
2020-07-23T15:16:22.2906841Z  * Working directory: '/tmp/gentoo/var/tmp/portage/sys-libs/libseccomp-2.5.0/work/libseccomp-2.5.0-abi_x86_64.amd64'
2020-07-23T15:16:22.2931490Z  * S: '/tmp/gentoo/var/tmp/portage/sys-libs/libseccomp-2.5.0/work/libseccomp-2.5.0'
2020-07-23T15:16:22.3402632Z 
2020-07-23T15:16:22.3403474Z >>> Failed to emerge sys-libs/libseccomp-2.5.0,
Comment 2 Sammy Pfeiffer 2020-07-27 04:30:37 UTC
Hey Benda, that error has been already reported and fixed here:
https://bugs.gentoo.org/733622

After that fix, the bug in this ticket happened.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-01 13:16:21 UTC
Have a look at the workaround here? https://bugs.gentoo.org/755551#c16
Comment 4 Fabian Groffen gentoo-dev 2021-01-21 16:58:35 UTC
I haven't seen this in recent bootstraps