1 |
Pour tester ta commande patch:- Copier un fichier A quelconque et le |
2 |
copier en B- Modifier quelques lignes de B- diff -u A B > patch- patch |
3 |
-i patch A-> A doit etre égal a B |
4 |
Sinon une méthode générale pour mettre à jour un système non mis a |
5 |
jour depuis longtemps: |
6 |
emerge -av gccgcc-config 1emerge -av1 linux-headers binutils glibc gcc |
7 |
libtool portageemerge -aev1 --keep-going @system |
8 |
emerge -aev1 --keep-going @world |
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
Le lundi 27 mars 2017 à 15:42 +0000, Erwan RIGOLLOT a écrit : |
15 |
> Bonjour, |
16 |
> |
17 |
> Merci pour ta réponse. |
18 |
> Comment puis-je tester ceci ? |
19 |
> |
20 |
> Cela doit faire 1 an voir 2 ans :-/ |
21 |
> |
22 |
> J’ai aussi écrit à la liste anglophone et on m’a conseillé d’ouvrir |
23 |
> un bugs : |
24 |
> https://bugs.gentoo.org/show_bug.cgi?id=614078 |
25 |
> |
26 |
> Merci beaucoup, |
27 |
> |
28 |
> |
29 |
> |
30 |
> |
31 |
> De : Jean-Francois Maeyhieux [mailto:b4b1@××××.fr] |
32 |
> |
33 |
> |
34 |
> Envoyé : lundi 27 mars 2017 17:40 |
35 |
> |
36 |
> À : gentoo-user-fr@l.g.o |
37 |
> |
38 |
> Objet : Re: [gentoo-user-fr] elibtoolize Portage patch requested, but |
39 |
> failed to apply! |
40 |
> |
41 |
> |
42 |
> |
43 |
> |
44 |
> Bonjour, |
45 |
> |
46 |
> |
47 |
> |
48 |
> |
49 |
> |
50 |
> je te conseille de vérifier tout d'abord si ta commande "patch" |
51 |
> fonctionne correctement car tes erreurs sont similaires et se |
52 |
> rapporte au fait qu'emerge |
53 |
> n'arrive pas à appliquer un patch. |
54 |
> |
55 |
> |
56 |
> |
57 |
> |
58 |
> |
59 |
> Depuis combien de temps le système n'avait pas été mis à jour ? |
60 |
> |
61 |
> |
62 |
> |
63 |
> |
64 |
> |
65 |
> Zentoo |
66 |
> |
67 |
> |
68 |
> |
69 |
> |
70 |
> |
71 |
> Le lundi 27 mars 2017 à 11:39 +0000, Erwan RIGOLLOT a écrit : |
72 |
> |
73 |
> |
74 |
> Bonjour à tous, |
75 |
> |
76 |
> Je viens de faire un emerge –sync et une mise à jour de portage sur |
77 |
> deux gentoo. |
78 |
> |
79 |
> Certain package ne veulent plus se compiler. |
80 |
> |
81 |
> Exemples |
82 |
> |
83 |
> gcc : |
84 |
> * updating multilib directories to be: ../lib64 ../lib32 |
85 |
> * Running elibtoolize in: gcc-4.9.4/ |
86 |
> |
87 |
> * Portage patch requested, but failed to apply! |
88 |
> * Please file a bug report to add a proper patch. |
89 |
> * ERROR: sys-devel/gcc-4.9.4::gentoo failed (prepare phase): |
90 |
> * Portage patch requested, but failed to apply! |
91 |
> |
92 |
> |
93 |
> php-5.6.30 : |
94 |
> Running elibtoolize in: apr-1.5.2/build/ |
95 |
> |
96 |
> * Portage patch failed to apply (ltmain.sh version 2.4.6)! |
97 |
> * Please file a bug report to add a proper patch. |
98 |
> * ERROR: dev-libs/apr-1.5.2::gentoo failed (prepare phase): |
99 |
> * Portage patch failed to apply! |
100 |
> * |
101 |
> * Call stack: |
102 |
> * ebuild.sh, line 115: Called src_prepare |
103 |
> * environment, line 2726: Called eautoreconf |
104 |
> * environment, line 864: Called elibtoolize '--force' |
105 |
> '/var/tmp/portage/dev-libs/apr-1.5.2/work/apr-1.5.2' |
106 |
> * environment, line 1116: Called die |
107 |
> * The specific snippet of code: |
108 |
> * die "Portage patch failed to |
109 |
> apply!"; |
110 |
> * |
111 |
> * If you need support, post the output of `emerge --info '=dev- |
112 |
> libs/apr-1.5.2::gentoo'`, |
113 |
> * the complete build log and the output of `emerge -pqv '=dev- |
114 |
> libs/apr-1.5.2::gentoo'`. |
115 |
> * The complete build log is located at '/var/tmp/portage/dev- |
116 |
> libs/apr-1.5.2/temp/build.log'. |
117 |
> * The ebuild environment file is located at '/var/tmp/portage/dev- |
118 |
> libs/apr-1.5.2/temp/environment'. |
119 |
> * Working directory: '/var/tmp/portage/dev-libs/apr-1.5.2/work/apr- |
120 |
> 1.5.2' |
121 |
> * S: '/var/tmp/portage/dev-libs/apr-1.5.2/work/apr-1.5.2' |
122 |
> |
123 |
> |
124 |
> J’ai tenté beaucoup de chose sans succès. |
125 |
> |
126 |
> Quelqu’un a une idée de ce que je pourrais faire ? |
127 |
> |
128 |
> Merci |
129 |
> |
130 |
> |
131 |
> |
132 |
> |