On 7 June 2020 21:30:19 CEST, Rich Freeman <[email protected]> wrote:
>On Sun, Jun 7, 2020 at 2:56 PM n952162 <[email protected]> wrote:
>>
>>
>>      $ equery list \* | grep readline
>>      sys-libs/readline-7.0_p5-r1
>>
>> But, given your answer about exclusivity/inclusivity in the other
>thread, I guess this result is questionable...
>
>This is just showing what version you have installed, not what
>versions are available.
>
>>
>> The ebuild for bash-5.0_p17 has:
>>
>>   READLINE_VER="8.0"
>>
>> The ebuilds for other the other users don't, I believe.
>
>So, first, this is just a random local variable and has no meaning in
>and of itself.  It is used in the dependency string which makes that
>version of bash dependent on readline v8 specifically.  Other packages
>that don't list a version of readline will accept any version that
>isn't masked/etc.  So they're fine with v8.
>
>>
>> The emerge that I used was this:
>>
>> emerge -auDv --verbose-conflicts --changed-use --keep-going
>--with-bdeps=y --changed-deps --backtrack=100 @system
>
>Yeah, you might have to include the other packages that need readline
>if portage complains.
>
>>
>> However, I was just able to get it to build with this script:
>>
>> $ cat update-readline
>> #!/usr/bin/env bash
>> emerge -uUv $(cat <<-eof
>> sys-libs/readline
>> dev-db/postgresql
>> sys-apps/gawk
>> net-wireless/wpa_supplicant
>> sys-fs/lvm2
>> dev-lang/python
>> dev-lang/lua
>> sci-visualization/gnuplot
>> dev-db/postgresql
>> app-text/hunspell
>> sys-fs/udftools
>> sys-block/parted
>> x11-wm/fvwm
>> net-misc/ntp
>> sys-devel/gdb
>> dev-db/postgresql
>> sys-libs/gdbm
>> net-mail/mailutils
>> app-misc/rlwrap
>> sys-devel/bc
>> dev-libs/libxml2
>> net-dns/bind-tools
>> eof
>> )
>>
>
>That will probably work.  Offhand I'm not sure if you need to add -1 /
>--oneshot to that to prevent all that cruft from being added to your
>world file.

You need to add "-1" or "--oneshot".

As this has been used, I would definitely expect the world-file to be full of 
this, causing issues with updates later.

Also, by restricting to @system, any packages not in @system with a restriction 
on readline V8 will cause the mentioned problem.

@system is, for me, a lasr resort, but I tend to move my world file away 
(rename) and put it back once @system is done and a depclean finished. This is 
usually only needed after not updating for a while and/or big changes in the 
tree.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to