• Re: [gentoo-user] "sys-libs/glibc[crypt(+)]" is soft blocking sys-libs/

    From Alexander Puchmayr@21:1/5 to All on Sun Apr 3 10:30:01 2022
    Am Sonntag, 3. April 2022, 10:23:25 CEST schrieb n952162:
    My emerge fails due to a collision with xorg-server and glibc. How can I
    find out where the problem is, actually?

    Output attached.

    Did you have a look at https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html

    Alex

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From n952162@21:1/5 to Alexander Puchmayr on Sun Apr 3 12:00:01 2022
    This is a multi-part message in MIME format.
    On 4/3/22 10:27, Alexander Puchmayr wrote:
    Am Sonntag, 3. April 2022, 10:23:25 CEST schrieb n952162:
    My emerge fails due to a collision with xorg-server and glibc. How can I
    find out where the problem is, actually?

    Output attached.
    Did you have a look at https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html

    Alex




    Thank you, yes, I forgot to check that.

    I put in  --ignore-built-slot-operator-deps=y

    The conflict is gone but now I have a circular dependency. Recommended
    steps:

    * unmask and enable the crypt USE flag of sys-libs/glibc
    * mask the system USE flag of sys-libs/libxcrypt
    * mask >=virtual/libcrypt-2
    * unmask virtual/libcrypt:0/1

    I'm not really clear on masking.

    1. My /etc/portage/package.accept_keywords has no mention of glibc, so
    I think there's nothing to unmask.
    2. "mask the system USE flag"?  USE flags go into
    /etc/portage/package.use, correct?  Is that "mask" an inexact
    expression?  Anyway, a "system" USE flag?
    $ equery uses sys-libs/libxcrypt
    python-exec: Invalid impl in /etc/python-exec/python-exec.conf:
    python3.7
    [ Legend : U - final flag setting for installation]
    [        : I - package is installed with flag     ]
    [ Colors : set, unset                             ]
     * Found these USE flags for sys-libs/libxcrypt-4.4.27:
     U I
     + - abi_x86_32  : 32-bit (x86) libraries
     - - static-libs : Build static versions of dynamic libraries as well
     - - test        : Enable dependencies and/or preparations
    necessary to run tests (usually controlled by FEATURES=test but can
    be toggled independently)

    3.

    "mask >=virtual/libcrypt-2"
    Like, ">=virtual/libcrypt-2" into /etc/portage/package.accept_keywords, just like that?

    4.

    But virtual/libcrypt:0/1 is not masked (to my knowledge).


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">On 4/3/22 10:27, Alexander Puchmayr
    wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:8051593.T7Z3S40VBb@zeus">
    <pre class="moz-quote-pre" wrap="">Am Sonntag, 3. April 2022, 10:23:25 CEST schrieb n952162:
    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">My emerge fails due to a collision with xorg-server and glibc. How can I
    find out where the problem is, actually?

    Output attached.
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Did you have a look at
    <a class="moz-txt-link-freetext" href="https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html">https://www.gentoo.org/support/news-items/2021-10-18-libxcrypt-migration-stable.html</a>

    Alex



    </pre>
    </blockquote>
    <p><br>
    </p>
    <p>Thank you, yes, I forgot to check that.</p>
    <p>I put in  --ignore-built-slot-operator-deps=y <br>
    </p>
    <p>The conflict is gone but now I have a circular dependency. 
    Recommended steps:<br>
    </p>
    <pre>* unmask and enable the crypt USE flag of sys-libs/glibc
    * mask the system USE flag of sys-libs/libxcrypt
    * mask &gt;=virtual/libcrypt-2
    * unmask virtual/libcrypt:0/1
    </pre>
    <p>I'm not really clear on masking.</p>
    <ol>
    <li>My /etc/portage/package.accept_keywords has no mention of
    glibc, so I think there's nothing to unmask.</li>
    <li>"<font face="monospace">mask the system USE flag</font>"?  USE
    flags go into <font face="monospace">/etc/portage/package.use</font>,
    correct?  Is that "mask" an inexact expression?  Anyway, a
    "system" USE flag?<br>
    <font face="monospace">$ equery uses sys-libs/libxcrypt<br>
    python-exec: Invalid impl in
    /etc/python-exec/python-exec.conf: python3.7<br>
    [ Legend : U - final flag setting for installation]<br>
    [        : I - package is installed with flag     ]<br>
    [ Colors : set, unset                             ]<br>
     * Found these USE flags for sys-libs/libxcrypt-4.4.27:<br>
     U I<br>
     + - abi_x86_32  : 32-bit (x86) libraries<br>
     - - static-libs : Build static versions of dynamic libraries
    as well<br>
     - - test        : Enable dependencies and/or preparations
    necessary to run tests (usually controlled by FEATURES=test
    but can be toggled independently)<br>
    </font><br>
    </li>
    <li>
    <pre>"mask &gt;=virtual/libcrypt-2"
    Like, "&gt;=virtual/libcrypt-2" into /etc/portage/package.accept_keywords, just like that?</pre>
    </li>
    <li>
    <pre>But virtual/libcrypt:0/1 is not masked (to my knowledge).
    </pre>
    </li>
    </ol>
    <br>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Arve Barsnes on Sun Apr 3 15:40:01 2022
    On Sun, 3 Apr 2022 15:12:36 +0200, Arve Barsnes wrote:

    This file is for setting or unsetting USE flags on a package.
    To "mask the system USE flag" on libxcrypt you would put this in /etc/portage/package.use.mask:
    sys-libs/libxcrypt system

    Shouldn't that be /etc/portage/profile/package.use.mask?


    --
    Neil Bothwick

    Tact is for people who don't understand sarcasm.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJJok4ACgkQ92eFu0QS MJhVag//YLuYNEwdzKVzyXFPtZ9NKhUaiEqEM3dqNTgSxJ8aIrtbPOiIfW6HLDR3 Xg0zjwevolVKF5WkWpwoNhx93p9hLkoWBya/gONDBvjVEfYhPR6FPIT7aCuJiC0Y aka+rN7gpOvLmyK7zgM83iMrZv8eKwNw8sa6DoKkboXqw5DSSv9sEEfYfbfJTu7f 2g8Y+dKwp4IZO4+BOhZ+1IWRWA3U9ZR1GiPtwdRuBB/puEpqf4GwDIE53/C1wNEr vaKSuLzzp4SaikY6LWd96ZW+Y57EeWTmJqKJyVg+cY+o9Jm4AvUCZ/TdzgOJNf/E YkETz27ejlhYuw5DWKU8kvnSilKd94zV0fRcDI4oOvBankiefFhxbk3z4St7Ilse wutBkRcTX88TGykWKw9vtOsF6P+UtLzvd9ON2zs8meunkO+iHguQFJcpYrKNlUwJ 35w/5cablejavlVENBCmAXHmGF+lNxqBLOClx7IamJRdZhffH608yLKHWImRRTUB vl7EcPnW3QfMzkKJaTtQIMxfGf9rYGrUucE2jVBkfEuKbokM9a/amLJOikWEJ0wd mVOxnTGD/O2xtePMVmGa2BplIE63uSpM9gGLyFs06LWn0CnU5hc2qSfoyleEsGW8 XNHWZukusV1szKujzeNYiGPRqQ2idTE3GyFUjngYOI1lPz/tZEg=
    =FhcO
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to n952162@web.de on Sun Apr 3 15:20:01 2022
    On Sun, 3 Apr 2022 at 11:54, n952162 <n952162@web.de> wrote:
    I'm not really clear on masking.

    1. My /etc/portage/package.accept_keywords has no mention of glibc, so I
    think there's nothing to unmask.

    This file is for adding or removing keywords from packages (like amd64 or ~amd64).
    To "unmask and enable the crypt USE flag of sys-libs/glibc" you would put
    this in /etc/portage/package.use.mask:
    sys-libs/glibc -crypt

    2. "mask the system USE flag"? USE flags go into
    /etc/portage/package.use, correct? Is that "mask" an inexact expression? Anyway, a "system" USE flag?

    This file is for setting or unsetting USE flags on a package.
    To "mask the system USE flag" on libxcrypt you would put this in /etc/portage/package.use.mask:
    sys-libs/libxcrypt system

    3. "mask >=virtual/libcrypt-2"
    Like, ">=virtual/libcrypt-2" into /etc/portage/package.accept_keywords,
    just like that?

    To mask a package, you put it in /etc/portage/package.mask. Exactly as you write it here, but in a different file.

    4. But virtual/libcrypt:0/1 is not masked (to my knowledge).

    It is masked here. To unmask it, you could in /etc/portage/package.unmask
    put something like this:
    =virtual/libcrypt-1-r1

    Regards,
    Arve

    <div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 3 Apr 2022 at 11:54, n952162 &lt;<a href="mailto:n952162@web.de">n952162@web.de</a>&gt; wrote:</div><div dir="ltr" class="gmail_attr">&gt; I&#39;m not really clear on
    masking.<br>&gt;<br>&gt; 1. My /etc/portage/package.accept_keywords has no mention of glibc, so I think there&#39;s nothing to unmask.</div><div dir="ltr" class="gmail_attr"><br></div><div class="gmail_attr">This file is for adding or removing keywords
    from packages (like amd64 or ~amd64).<br>To &quot;unmask and enable the crypt USE flag of sys-libs/glibc&quot; you would put this in /etc/portage/package.use.mask:</div><div class="gmail_attr">sys-libs/glibc -crypt<br></div><div class="gmail_attr"><br></
    <div dir="ltr" class="gmail_attr">&gt; 2. &quot;mask the system USE flag&quot;?  USE flags go into /etc/portage/package.use, correct?  Is that &quot;mask&quot; an inexact expression?  Anyway, a &quot;system&quot; USE flag?</div><div dir="ltr"
    class="gmail_attr"><br></div><div class="gmail_attr">This file is for setting or unsetting USE flags on a package.</div><div class="gmail_attr">To &quot;mask the system USE flag&quot; on libxcrypt you would put this in /etc/portage/package.use.mask:</div>
    <div class="gmail_attr">sys-libs/libxcrypt system<br></div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">&gt; 3. &quot;mask &gt;=virtual/libcrypt-2&quot;<br>&gt; Like, &quot;&gt;=virtual/libcrypt-2&quot; into /etc/portage/
    package.accept_keywords, just like that?</div><div dir="ltr" class="gmail_attr"><br></div><div class="gmail_attr">To mask a package, you put it in /etc/portage/package.mask. Exactly as you write it here, but in a different file.<br></div><div dir="ltr"
    class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">&gt; 4. But virtual/libcrypt:0/1 is not masked (to my knowledge).</div><div dir="ltr" class="gmail_attr"><br></div><div class="gmail_attr">It is masked here. To unmask it, you could in /etc/
    portage/package.unmask put something like this:</div><div class="gmail_attr">=virtual/libcrypt-1-r1</div><div class="gmail_attr"><br></div><div class="gmail_attr">Regards,</div><div class="gmail_attr">Arve<br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arve Barsnes@21:1/5 to Neil Bothwick on Sun Apr 3 19:10:01 2022
    On Sun, 3 Apr 2022 at 15:34, Neil Bothwick <neil@digimed.co.uk> wrote:

    On Sun, 3 Apr 2022 15:12:36 +0200, Arve Barsnes wrote:

    This file is for setting or unsetting USE flags on a package.
    To "mask the system USE flag" on libxcrypt you would put this in /etc/portage/package.use.mask:
    sys-libs/libxcrypt system

    Shouldn't that be /etc/portage/profile/package.use.mask?


    I guess so. I've never used it, but refer to the portage man page to
    confirm.

    Cheers,
    Arve

    <div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 3 Apr 2022 at 15:34, Neil Bothwick &lt;<a href="mailto:neil@digimed.co.uk">neil@digimed.co.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px
    0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, 3 Apr 2022 15:12:36 +0200, Arve Barsnes wrote:<br><br>&gt; This file is for setting or unsetting USE flags on a package.<br>&gt; To &quot;mask the system USE flag&quot; on
    libxcrypt you would put this in<br>&gt; /etc/portage/package.use.mask:<br>&gt; sys-libs/libxcrypt system<br><br>Shouldn&#39;t that be /etc/portage/profile/package.use.mask?<br><br></blockquote><div><br></div><div>I guess so. I&#39;ve never used it, but
    refer to the portage man page to confirm.</div><div><br></div><div>Cheers,</div><div>Arve <br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Neil Bothwick@21:1/5 to Arve Barsnes on Sun Apr 3 19:40:01 2022
    On Sun, 3 Apr 2022 19:07:30 +0200, Arve Barsnes wrote:

    This file is for setting or unsetting USE flags on a package.
    To "mask the system USE flag" on libxcrypt you would put this in /etc/portage/package.use.mask:
    sys-libs/libxcrypt system

    Shouldn't that be /etc/portage/profile/package.use.mask?


    I guess so. I've never used it, but refer to the portage man page to
    confirm.

    I did - before posting and making a fool of myself ;-)


    --
    Neil Bothwick

    Power corrupts. Absolute power is kind of neat.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAmJJ27sACgkQ92eFu0QS MJjjMQ/9F6/j9J+DS2bMaYBgc/pZPlkZj/vKHwnl7EaE1qZ+9NR6EHReUn7xvLfo /leA9E8C3Qg9SGHMjbMmMziWye8P66aN2U3Z+MZe65akPAHLkyfAaskXhz8oKFvK +tk8FXI+LfGuKsb5UDLryaNzgLuIs71jbltBnX3gdarIhHDHiD4aKd3htc0He6Kl U49P0NgKI89VpILtmKOb61/I7k79jMzQhL5F9TbkyX2rVhTAjXMm8L+GkqsRPV60 q3sWPi4RqH+SxoW4RALTbzGCuGpvVkbe3K7Mr0Nzh6C+MhtNlUJon4dheRKKjK0I Cz+WKuDVAJVW+BWiuUC6somXjvCJ7U8pwpRu0SRC+pdRxQoqse3Wz+IyXvrInqpZ qflSZ5IatpBNANI0oUJrUcB0PgYf17SC6rdk9sZMY6nFzKqnZefM2UV2suXEpTbX UGnMRYCuDTivB9JNXgyaS+SW09vYlufBqBSZbCbtQl5rn4uTJ2v/1x9mVpErbOmW hNTpYKk9DLBXC/KL4pnzOi8Z3dDhADp/jKxQLutbugh6+Fr9GlOfuJu6lbGv/KY2 WJFin6f5l/HrCacNWn3WMYl/0I/ljwf1UG6HBzG0OESh436WzpP8fNVN0SDJ/lSP CV0UOlcZAAUitzzjjuosLlYNMJVKSanblkrbEDPkgKz5FGSU5Wo=
    =mRS2
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)