• Re: [gentoo-user] Re: Problem when installing two packages from the bin

    From Eli Schwartz@21:1/5 to Dr Rainer Woitok on Fri May 23 20:10:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------LnG64eCXdbpTPD1wFpyh20wL
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 5/23/25 1:00 PM, Dr Rainer Woitok wrote:
    After having been out of town for a while I now found the time to get
    back to this problem. I just booted my laptop and ran these first two commands again. But -- lo and behold! -- now "revdep-rebuild" didn't belch:

    $ sudo emerge --verbose --color n --oneshot --getbinpkg media-libs/libraw media-libs/libcdr
    Password:
    * Updating gnupg keyring for package signatures
    [binary R ] media-libs/libraw-0.21.2-2 USE="jpeg lcms openmp zlib -examples" ABI_X86="(64) -32 (-x32)"
    [binary R ] media-libs/libcdr-0.1.8-2 USE="-doc -test"

    Would you like to merge these packages? [Yes/No] y
    Running pre-merge checks for media-libs/libraw-0.21.2
    Emerging binary (1 of 2) media-libs/libraw-0.21.2::gentoo
    Installing (1 of 2) media-libs/libraw-0.21.2::gentoo
    Completed (1 of 2) media-libs/libraw-0.21.2::gentoo
    Emerging binary (2 of 2) media-libs/libcdr-0.1.8::gentoo
    Installing (2 of 2) media-libs/libcdr-0.1.8::gentoo
    Completed (2 of 2) media-libs/libcdr-0.1.8::gentoo
    Jobs: 2 of 2 complete Load avg: 1.00, 0.52, 0.37


    That's running emerge! :)


    $ sudo revdep-rebuild --ignore --nocolor --pretend --verbose
    * This is the new python coded version
    * Please report any bugs found using it.
    * The original revdep-rebuild script is installed as revdep-rebuild.sh
    * Please file bugs at: https://bugs.gentoo.org/
    * Collecting system binaries and libraries
    * Collecting dynamic linking information
    * Scanning files
    * Checking dynamic linking consistency

    Your system is consistent
    $

    I didn't meanwhile sync my laptop or run "emerge", I had just shut it
    down and booted it again today. I know that Windows users often make problems vanish by rebooting -- but I hadn't yet solved any problem by rebooting my Gentoo laptop ...

    Anyway: this problem HAS vanished -- possibly by rebooting.

    Sorry for the noise :-)


    Sorry for the confusion I guess, but I *fixed* it.

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c929acd0831aa3e50729a4af6516fc94f779d3ce

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82cd942598f18e4a8df26c2b5b1d61c7880fc59

    The fix means new binary packages will build without using those
    libraries at all. It also added a new build dep, so the binhost
    recompiled them, hence newly running "emerge --oneshot --getbinpkg media-libs/libraw media-libs/libcdr" will get the fixed version.


    As I said privately to you -- it is still a revdep-rebuild bug IMO --
    please report it. ;)


    --
    Eli Schwartz

    --------------LnG64eCXdbpTPD1wFpyh20wL--

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

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCaDC5iQUDAAAAAAAKCRCEp9ErcA0vV3Wd AP9xqzEvs0xDVcItLayxeJWNJ/U3Vj6ybAwWaYJhJgUI/AD/VefGk7Z6DtuUsUKhBkTdVi9VXlsu G/13ZHRZfiYv+As=
    =k0Va
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli Schwartz@21:1/5 to Dr Rainer Woitok on Sun May 25 05:20:01 2025
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------Q0sQEf7j00ZBIL6cxJj7k0Qh
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: quoted-printable

    On 5/24/25 1:32 PM, Dr Rainer Woitok wrote:
    Eli,

    On Fri, 23 May 2025 14:08:09 -0400 you wrote:

    ...
    Sorry for the confusion I guess, but I *fixed* it.
    ...
    The fix means new binary packages will build without using those
    libraries at all. It also added a new build dep, so the binhost
    recompiled them, hence newly running "emerge --oneshot --getbinpkg
    media-libs/libraw media-libs/libcdr" will get the fixed version.

    Am I correct in assuming that you "fixed" it by teaching these two pack-
    ages to circumvent a bug in "revdep-rebuild"?



    Yes.



    As I said privately to you -- it is still a revdep-rebuild bug IMO --
    please report it. ;)

    Ok, but what am I expected to put into the bug description, now that my original command sequence is producing the expected result? I can hard-
    ly write 'Package "revdep-rebuild" is buggy. Ask Eli for details.' can
    I? :-)


    "revdep-rebuild sometimes insists to rebuild packages that do not
    trigger portage's own preserved-libs feature. Originally noticed with
    libraw and libcdr. Eli Schwartz analyzed it and said that the new
    package still provides a symlink for the old file. See https://public-inbox.gentoo.org/gentoo-user/5ae92a27-eee8-454d-abf7-33de95a0e37f@gentoo.org/
    for details."


    --
    Eli Schwartz

    --------------Q0sQEf7j00ZBIL6cxJj7k0Qh--

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

    wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCaDKKAwUDAAAAAAAKCRCEp9ErcA0vV85f AQCF0Ofw98+28f1diITHqx1+ZWfv8oUA1WwQYS72O4DGEgEAgHOvcO5XpDizJ2PIlaUo8ogtQ3RH Em3OMI6etLPQkAI=
    =arqQ
    -----END PGP SIGNATURE-----

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