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

Bug 920887

Summary: bootstrap-prefix.sh: Circular dependency in stage3 for app-shells/bash
Product: Gentoo/Alt Reporter: Esteve Varela Colominas <esteve.varela>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=901101
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: stage3 log

Description Esteve Varela Colominas 2023-12-28 13:05:31 UTC
Created attachment 880850 [details]
stage3 log

[nomerge       ] app-shells/bash-5.1_p16-r6::gentoo  USE="net (readline) -afs -bashlogger -examples -mem-scramble -nls -plugins -verify-sig"
[nomerge       ]  sys-devel/bison-3.8.2-r2::gentoo  USE="-examples -nls -static -test -verify-sig"
[nomerge       ]   sys-devel/gettext-0.22.4::gentoo  USE="cxx ncurses openmp (xattr) -acl -doc -emacs -git -java -nls -static-libs -verify-sig"
[nomerge       ]    dev-libs/expat-2.5.0::gentoo  USE="unicode -examples -static-libs -test"
[nomerge       ]     sys-devel/libtool-2.4.7-r1:2::gentoo  USE="-vanilla"
[nomerge       ]      sys-devel/autoconf-2.71-r6:2.71::gentoo  USE="-emacs"
[nomerge       ]       dev-lang/perl-5.38.2-r1:0/5.38::gentoo  USE="-berkdb -debug -doc -gdbm -ithreads -minimal -quadmath"
[nomerge       ]        app-admin/perl-cleaner-2.31::gentoo  USE="-pkgcore"
[nomerge       ]         sys-apps/portage-3.0.57::gentoo  USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 (-python3_12)"
[nomerge       ]          app-portage/getuto-1.9.1::gentoo  USE="-test"
[nomerge       ]           app-crypt/gnupg-2.2.41::gentoo  USE="bzip2 smartcard ssl -doc -ldap -nls -readline (-selinux) -test -tofu -tools -usb -user-socket -verify-sig -wks-server"
[nomerge       ]            net-misc/curl-8.4.0::gentoo  USE="adns alt-svc ftp hsts http2 imap openssl pop3 progress-meter smtp ssl tftp -brotli -gnutls -gopher -idn -kerberos -ldap -mbedtls (-nghttp3) -rtmp (-rustls) -samba -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" CURL_SSL="openssl -gnutls -mbedtls (-rustls)"
[ebuild  N     ]             net-libs/nghttp2-1.57.0:0/1.14::gentoo  USE="-debug -hpack-tools -jemalloc -static-libs (-systemd) -test -utils -xml" 1508 KiB
[ebuild  N     ]              dev-util/cmake-3.27.7::gentoo  USE="ncurses -dap -doc -emacs -gui -qt6 -test -verify-sig" 11235 KiB
[ebuild  N     ]        app-admin/perl-cleaner-2.31::gentoo  USE="-pkgcore" 7 KiB
[ebuild  N     ]         sys-apps/portage-3.0.57::gentoo  USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 (-python3_12)" 1146 KiB
[ebuild  N     ]          app-portage/getuto-1.9.1::gentoo  USE="-test" 10 KiB
[ebuild  N     ]           app-crypt/gnupg-2.2.41::gentoo  USE="bzip2 smartcard ssl -doc -ldap -nls -readline (-selinux) -test -tofu -tools -usb -user-socket -verify-sig -wks-server" 7143 KiB
[ebuild  N     ]            net-misc/curl-8.4.0::gentoo  USE="adns alt-svc ftp hsts http2 imap openssl pop3 progress-meter smtp ssl tftp -brotli -gnutls -gopher -idn -kerberos -ldap -mbedtls (-nghttp3) -rtmp (-rustls) -samba -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" CURL_SSL="openssl -gnutls -mbedtls (-rustls)" 2597 KiB

Total: 7 packages (7 new), Size of downloads: 23643 KiB

 * Error: circular dependencies:

(net-libs/nghttp2-1.57.0:0/1.14::gentoo, ebuild scheduled for merge) depends on
 (dev-util/cmake-3.27.7:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (net-misc/curl-8.4.0:0/0::gentoo, ebuild scheduled for merge) (buildtime)
   (net-libs/nghttp2-1.57.0:0/1.14::gentoo, ebuild scheduled for merge) (buildtime_slot_op)

It might be possible to break this cycle
by applying the following change:
- net-misc/curl-8.4.0 (Change USE: -http2)
Comment 1 Esteve Varela Colominas 2023-12-28 13:06:34 UTC
USE=-acl -berkdb -fortran -gdbm -git -libcxx -nls -pcre -python -qmanifest -qtegrity -readline -sanitize bootstrap clang internal-glib PKG=app-shells/bash
Comment 2 Larry the Git Cow gentoo-dev 2024-01-01 04:11:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0025f057f69b34d16fb436c1afedfd869b87f649

commit 0025f057f69b34d16fb436c1afedfd869b87f649
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-01 04:10:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-01 04:11:28 +0000

    scripts/bootstrap-prefix.sh: disable http2 when emerging @system
    
    Avoid this circular dependency:
    ```
    $ USE=-acl -berkdb -fortran -gdbm -git -libcxx -nls -pcre -python -qmanifest -qtegrity -readline -sanitize bootstrap clang internal-glib PKG=app-shells/bash
    [...]
     * Error: circular dependencies:
    
    (net-libs/nghttp2-1.57.0:0/1.14::gentoo, ebuild scheduled for merge) depends on
     (dev-util/cmake-3.27.7:0/0::gentoo, ebuild scheduled for merge) (buildtime)
      (net-misc/curl-8.4.0:0/0::gentoo, ebuild scheduled for merge) (buildtime)
       (net-libs/nghttp2-1.57.0:0/1.14::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
    
    It might be possible to break this cycle
    by applying the following change:
    - net-misc/curl-8.4.0 (Change USE: -http2)
    ```
    
    Bug: https://bugs.gentoo.org/901101
    Closes: https://bugs.gentoo.org/920887
    Signed-off-by: Sam James <sam@gentoo.org>

 scripts/bootstrap-prefix.sh | 1 +
 1 file changed, 1 insertion(+)