1 |
On Tue, 2013-05-28 at 14:50 -0400, Rick "Zero_Chaos" Farina wrote: |
2 |
> On 05/28/2013 01:59 PM, Brian Dolbec wrote: |
3 |
|
4 |
> > Existing gcc binpkgs have been linked to libmpc.so.2 and portage does |
5 |
> > not check that all lib links exist before qualifying the binpkg to be |
6 |
> > installed. Therefore installing a gcc binpkg is a hit and miss |
7 |
> > proposition. Making it's use un-reliable. Therefore until the |
8 |
> > toolchain is migrated to eapi 5 with proper subslot use. Using binpkgs |
9 |
> > is unreliable for update_seed. |
10 |
> |
11 |
> In fact, the command is "--rebuild-if-new-ver" not |
12 |
> "--reinstall-if-new-ver". As such, the original reporter of this bug |
13 |
> and I both seem to think that even with --usepkg, gcc should be rebuilt: |
14 |
> |
15 |
> https://bugs.gentoo.org/show_bug.cgi?id=461422 |
16 |
> |
17 |
> That's obviously not how it is, but I feel we should focus our attention |
18 |
> on fixing this properly. |
19 |
> > |
20 |
|
21 |
I think you did a typo there. There are 2 portage options |
22 |
--rebuild-if-new-ver and --rebuild-if-new-rev. I opted for the *-ver |
23 |
(version), since most revisions would not need to trigger a rebuild. |
24 |
But the failure in that bug should be the same or similar fix to our |
25 |
needs. |
26 |
|
27 |
> As a rule, we don't want to hack around limitations in portage to make |
28 |
> catalyst work. The toolchain team seems to have made it very clear they |
29 |
> aren't updating to eapi5 soon, but the portage team has been fixing |
30 |
> things left and right based on little more than my whims, I'd give them |
31 |
> a chance to fix this before throwing hacks into catalyst to work around |
32 |
> limitations in the package manager. |
33 |
> |
34 |
> Thanks, |
35 |
> Zero |
36 |
> > |
37 |
|
38 |
If someone wants to work on fixing it. The solution will require |
39 |
extracting the NEEDED.ELF.2 info from the binpkg and confirming that the |
40 |
links exist. If any of them don't, then trigger the build from source. |
41 |
Rejecting the existing binpkg. |
42 |
|
43 |
You may also want to talk to blueness, he created a utility for looking |
44 |
for broken elf links. |