1 |
On 2/18/17 9:22 PM, Walter Dnes wrote: |
2 |
> On Sat, Feb 18, 2017 at 09:59:56AM -0500, Anthony G. Basile wrote |
3 |
> |
4 |
>> You need to be careful because obstack support has been dropped in |
5 |
>> uclibc-ng-1.0.22. This means that if you directly upgrade to 1.0.22 |
6 |
>> without first rebuilding your systems (including the toolchain) without |
7 |
>> obstack support, you will have a severely broken system. The news item |
8 |
>> specifies the steps by which you can rebuild @world without depending on |
9 |
>> uclibc-ng to provide obstack, and then upgrading uclibc-ng. |
10 |
>> |
11 |
>> I've still got things masked because I'm giving people some time. I'm |
12 |
>> going to stabilize 1.0.20 today-ish and then 1.0.22 later this month. |
13 |
> OK, I see. You didn't want people on unstable to break their systems. |
14 |
> Some ideas for sanity checking before you go ahead with 1.0.22. Can an |
15 |
> ebuild script execute system commands? Possibilities... |
16 |
> |
17 |
> * if =sys-libs/uclibc-ng-1.0.20 is not installed and running, have the |
18 |
> 1.0.22 ebuild die, and point to https://www.gentoo.org/support/news-items/2017-02-10-upgrade-to-sys-libs_uclibc-ng-1.0.22.html |
19 |
> If they tried upgrading this way, they may have missed the news item |
20 |
> and purged it. |
21 |
> |
22 |
> * If "find /usr/include/ -name obstack.h" succeeds, die and point to |
23 |
> https://www.gentoo.org/support/news-items/2017-02-10-upgrade-to-sys-libs_uclibc-ng-1.0.22.html |
24 |
|
25 |
I might add this, eerror() and die in pkg_preinst(). Its a safeguard in |
26 |
case someone is being casual, but this is a complex upgrade and its not |
27 |
a good idea to automate too much because of differences on people's |
28 |
systems. Don't forget, uclibc is configurable, so people might already |
29 |
have systems with obstack off. |
30 |
|
31 |
> |
32 |
> * If /usr/include/bits/uClibc_config.h has the wrong value for |
33 |
> __UCLIBC_HAS_OBSTACK__ die with error and point to |
34 |
> https://www.gentoo.org/support/news-items/2017-02-10-upgrade-to-sys-libs_uclibc-ng-1.0.22.html |
35 |
> |
36 |
> I followed the instructions, finished the basic install, and it boots. |
37 |
> Now to install X and some apps. |
38 |
> |
39 |
|
40 |
|
41 |
-- |
42 |
Anthony G. Basile, Ph.D. |
43 |
Gentoo Linux Developer [Hardened] |
44 |
E-Mail : basile@××××××××××.net |
45 |
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA |
46 |
GnuPG ID : F52D4BBA |