1 |
Hi all, |
2 |
|
3 |
If you're don't have a Prefix on macOS, you can stop reading here. |
4 |
|
5 |
For a reason yet unclear to me, on Darwin preserving the library |
6 |
libreadline.6.dylib fails causing the Prefix to break completely. |
7 |
|
8 |
You will see this during emerge of libreadline, at the end it errors out |
9 |
in some some failure to load a library. |
10 |
|
11 |
Since the damage is already out, the only remedy right now is to repair: |
12 |
|
13 |
% cd $EPREFIX/usr/lib |
14 |
% ln -s libreadline.6.0.3.dylib libreadline.6.dylib |
15 |
% emerge @preserved-rebuild |
16 |
|
17 |
The last step should pull in some ~10 packages, first being bash-4.4. |
18 |
|
19 |
After this completes, you can remove the now dead symlink |
20 |
|
21 |
% rm $EPREFIX/usr/lib/libreadline.6.dylib |
22 |
|
23 |
Probably it is a good idea to perform an emerge -Dua world after this. |
24 |
Unfortunately, clang still doesn't compile out of the box. This is |
25 |
pending the maintainer who refuses to commit any fix or workaround to |
26 |
unbreak us. |
27 |
His instructions in bug https://bugs.gentoo.org/667016#c15 help to get |
28 |
around this. |
29 |
|
30 |
Sorry for the trouble, |
31 |
Fabian |
32 |
|
33 |
-- |
34 |
Fabian Groffen |
35 |
Gentoo on a different level |