From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-soc+bounces-2226-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FFE7139694 for <garchives@archives.gentoo.org>; Mon, 12 Jun 2017 19:26:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D3B3E0CB0; Mon, 12 Jun 2017 19:26:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB31AE0CB0 for <gentoo-soc@lists.gentoo.org>; Mon, 12 Jun 2017 19:26:43 +0000 (UTC) Received: from mail-yb0-f180.google.com (mail-yb0-f180.google.com [209.85.213.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: alicef) by smtp.gentoo.org (Postfix) with ESMTPSA id C15663419A1 for <gentoo-soc@lists.gentoo.org>; Mon, 12 Jun 2017 19:26:42 +0000 (UTC) Received: by mail-yb0-f180.google.com with SMTP id f192so29523198yba.2 for <gentoo-soc@lists.gentoo.org>; Mon, 12 Jun 2017 12:26:42 -0700 (PDT) X-Gm-Message-State: AKS2vOwIIWbQISO/DF4BfVpbM8vxTaB82JAjNmc5wVFaE2VktLlHziHf dO1tu79CGhSGLmjVHcYBhuzTJCOJ6A== X-Received: by 10.37.248.16 with SMTP id u16mr474370ybd.100.1497295600447; Mon, 12 Jun 2017 12:26:40 -0700 (PDT) Precedence: bulk List-Post: <mailto:gentoo-soc@lists.gentoo.org> List-Help: <mailto:gentoo-soc+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-soc+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-soc+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-soc.gentoo.org> X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org MIME-Version: 1.0 Received: by 10.37.173.137 with HTTP; Mon, 12 Jun 2017 12:26:39 -0700 (PDT) In-Reply-To: <CANWzcUrReZhOwG19Xm5Q7HUR4QzQCcLJtHyJ8iDeZ1GmQswZow@mail.gmail.com> References: <CANWzcUrReZhOwG19Xm5Q7HUR4QzQCcLJtHyJ8iDeZ1GmQswZow@mail.gmail.com> From: Alice Ferrazzi <alicef@gentoo.org> Date: Tue, 13 Jun 2017 04:26:39 +0900 X-Gmail-Original-Message-ID: <CANWzcUqY8KZhUJOp4mtN9JANWb-dmqKdV2XXvew1yLX+cR=wVA@mail.gmail.com> Message-ID: <CANWzcUqY8KZhUJOp4mtN9JANWb-dmqKdV2XXvew1yLX+cR=wVA@mail.gmail.com> Subject: [gentoo-soc] Fwd: [GSoC 2017 - week 01] Report summary To: gentoo-soc@lists.gentoo.org Content-Type: multipart/alternative; boundary="f403045dbf6a6388c50551c84cb6" X-Archives-Salt: 6b496b9a-03f8-487a-8b2c-53df32677cab X-Archives-Hash: 3447d0e65b0c4bf194f9a0d34cbbf372 --f403045dbf6a6388c50551c84cb6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable ---------- Forwarded message ---------- From: Alice Ferrazzi <alice.ferrazzi@gmail.com> Date: Sun, Jun 4, 2017 at 10:20 AM Subject: [GSoC 2017 - week 01] Report summary To: gentoo-soc@lists.gentoo.org Cc: Mike Pagano <mpagano@gentoo.org>, Gokturk Yuksek <gokturk@gentoo.org> day 01: I made the git repository on github and committed the first draft of kpatch= . I will go on working on it in the next days. and starting to think the design of service. https://github.com/aliceinwire/kernel-live-patch I got into this kpatch problem: https://github.com/dynup/kpatch/issues/675 day 02: I could fix the problem of the kpatch issue https://github.com/dynup/ kpatch/issues/675 . Unfortunately as now, i could fix it only with a workaround. The workaround is forcing -O1 in src_prepare with replace-flags -O? -O1 But now I'm in a new make problem. ------------------------ make[2]: Entering directory '/var/tmp/portage/sys-kernel/ kpatch-0.4.0/work/kpatch-0.4.0/kmod/core' make -C /lib/modules/4.4.44-gentoo/build M=3D/var/tmp/portage/sys-kernel/ kpatch-0.4.0/work/kpatch-0.4.0/kmod/core kpatch.ko make[3]: Entering directory '/usr/src/linux-4.4.44-gentoo' Makefile:617: arch/amd64/Makefile: No such file or directory make[3]: *** No rule to make target 'arch/amd64/Makefile'. Stop. make[3]: Leaving directory '/usr/src/linux-4.4.44-gentoo' Makefile:13: recipe for target 'kpatch.ko' failed make[2]: *** [kpatch.ko] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-kernel/ kpatch-0.4.0/work/kpatch-0.4.0/kmod/core' Makefile:7: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-kernel/ kpatch-0.4.0/work/kpatch-0.4.0/kmod' Makefile:14: recipe for target 'build-kmod' failed make: *** [build-kmod] Error 2 --------------------------------- I will go on fixing this tomorrow I commited the first kpatch version here https://github.com/ aliceinwire/kernel-live-patch and updated the kpatch bug https://github.com/dynup/kpatch/issues/675 day 03: Fixed the problem of the other day. The kpatch Makefile is calling the /usr/src/linux/ Makefile and because is presetting arch=3Damd64 it fail to build the package. I have unset it before making the package so it can build the package without errors. I had sended a pull request for review (please review it): https://github.com/gentoo/gentoo/pull/4844 --=20 =E3=82=A2=E3=83=AA=E3=82=B9 =E3=83=95=E3=82=A7=E3=83=83=E3=83=A9=E3=83=83= =E3=83=84=E3=82=A3 Alice Ferrazzi Gentoo Kernel Project Leader Mail: Alice Ferrazzi <alice.ferrazzi@gmail.com> PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A --=20 =E3=82=A2=E3=83=AA=E3=82=B9 =E3=83=95=E3=82=A7=E3=83=83=E3=83=A9=E3=83=83= =E3=83=84=E3=82=A3 Alice Ferrazzi Gentoo Kernel Project Leader Mail: Alice Ferrazzi <alicef@gentoo.org> PGP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A --f403045dbf6a6388c50551c84cb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><br><div class=3D"gmail_quote">---------- Forwarded messag= e ----------<br>From: <b class=3D"gmail_sendername">Alice Ferrazzi</b> <spa= n dir=3D"ltr"><<a href=3D"mailto:alice.ferrazzi@gmail.com">alice.ferrazz= i@gmail.com</a>></span><br>Date: Sun, Jun 4, 2017 at 10:20 AM<br>Subject= : [GSoC 2017 - week 01] Report summary<br>To: <a href=3D"mailto:gentoo-soc@= lists.gentoo.org">gentoo-soc@lists.gentoo.org</a><br>Cc: Mike Pagano <<a= href=3D"mailto:mpagano@gentoo.org">mpagano@gentoo.org</a>>, Gokturk Yuk= sek <<a href=3D"mailto:gokturk@gentoo.org">gokturk@gentoo.org</a>><br= ><br><br><div dir=3D"ltr"><font size=3D"4">day 01:<br></font><blockquote st= yle=3D"margin:0 0 0 40px;border:none;padding:0px">I made the git repository= on github and committed the first draft of kpatch.<br>I will go on working= on it in the next days. and starting to think the design of service.<br><a= href=3D"https://github.com/aliceinwire/kernel-live-patch" target=3D"_blank= ">https://github.com/<wbr>aliceinwire/kernel-live-patch</a><br>I got into t= his kpatch problem: <a href=3D"https://github.com/dynup/kpatch/issues/675" = target=3D"_blank">https://github.com/dynup/<wbr>kpatch/issues/675</a></bloc= kquote><br><font size=3D"4">day 02:<br></font><blockquote style=3D"margin:0= 0 0 40px;border:none;padding:0px">I could fix the problem of the kpatch is= sue <a href=3D"https://github.com/dynup/kpatch/issues/675" target=3D"_blank= ">https://github.com/dynup/<wbr>kpatch/issues/675</a> .<br>Unfortunately as= now, i could fix it only with a workaround.<br>The workaround is forcing -= O1 in src_prepare with replace-flags -O? -O1<br>But now I'm in a new ma= ke problem.<br>------------------------<br><br><div><div class=3D"m_6000753= 091712509230hljs m_6000753091712509230javascript" style=3D"display:block;ov= erflow-x:auto;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,248)= ;font-family:monospace">make[<span class=3D"m_6000753091712509230hljs-numbe= r" style=3D"color:rgb(136,0,0)">2</span>]: Entering directory <span class= =3D"m_6000753091712509230hljs-string" style=3D"color:rgb(136,0,0)">'/va= r/tmp/portage/sys-kernel/<wbr>kpatch-0.4.0/work/kpatch-0.4.<wbr>0/kmod/core= '</span><br>make -C /lib/modules/<span class=3D"m_6000753091712509230hl= js-number" style=3D"color:rgb(136,0,0)">4.4</span><span class=3D"m_60007530= 91712509230hljs-number" style=3D"color:rgb(136,0,0)">.44</span>-gentoo/<wbr= >build M=3D<span class=3D"m_6000753091712509230hljs-regexp" style=3D"color:= rgb(188,96,96)">/var/</span>tmp/portage/sys-kernel/<wbr>kpatch<span class= =3D"m_6000753091712509230hljs-number" style=3D"color:rgb(136,0,0)">-0.4</sp= an><span class=3D"m_6000753091712509230hljs-number" style=3D"color:rgb(136,= 0,0)">.0</span>/work/kpatch<span class=3D"m_6000753091712509230hljs-number"= style=3D"color:rgb(136,0,0)">-0.4</span><span class=3D"m_60007530917125092= 30hljs-number" style=3D"color:rgb(136,0,0)">.0</span><wbr>/kmod/core kpatch= .ko<br>make[<span class=3D"m_6000753091712509230hljs-number" style=3D"color= :rgb(136,0,0)">3</span>]: Entering directory <span class=3D"m_6000753091712= 509230hljs-string" style=3D"color:rgb(136,0,0)">'/usr/src/linux-4.4.44-= gentoo'</span><br>Makefile:<span class=3D"m_6000753091712509230hljs-num= ber" style=3D"color:rgb(136,0,0)">617</span>: arch/amd64/Makefile: No such = file or directory<br>make[<span class=3D"m_6000753091712509230hljs-number" = style=3D"color:rgb(136,0,0)">3</span>]: *** No rule to make target <span cl= ass=3D"m_6000753091712509230hljs-string" style=3D"color:rgb(136,0,0)">'= arch/amd64/Makefile'</span>.=C2=A0 Stop.<br>make[<span class=3D"m_60007= 53091712509230hljs-number" style=3D"color:rgb(136,0,0)">3</span>]: Leaving = directory <span class=3D"m_6000753091712509230hljs-string" style=3D"color:r= gb(136,0,0)">'/usr/src/linux-4.4.44-gentoo'</span><br>Makefile:<spa= n class=3D"m_6000753091712509230hljs-number" style=3D"color:rgb(136,0,0)">1= 3</span>: recipe <span class=3D"m_6000753091712509230hljs-keyword" style=3D= "font-weight:bold">for</span> target <span class=3D"m_6000753091712509230hl= js-string" style=3D"color:rgb(136,0,0)">'kpatch.ko'</span> failed<b= r>make[<span class=3D"m_6000753091712509230hljs-number" style=3D"color:rgb(= 136,0,0)">2</span>]: *** [kpatch.ko] <span class=3D"m_6000753091712509230hl= js-built_in" style=3D"color:rgb(57,115,0)">Error</span> <span class=3D"m_60= 00753091712509230hljs-number" style=3D"color:rgb(136,0,0)">2</span><br>make= [<span class=3D"m_6000753091712509230hljs-number" style=3D"color:rgb(136,0,= 0)">2</span>]: Leaving directory <span class=3D"m_6000753091712509230hljs-s= tring" style=3D"color:rgb(136,0,0)">'/var/tmp/portage/sys-kernel/<wbr>k= patch-0.4.0/work/kpatch-0.4.<wbr>0/kmod/core'</span><br>Makefile:<span = class=3D"m_6000753091712509230hljs-number" style=3D"color:rgb(136,0,0)">7</= span>: recipe <span class=3D"m_6000753091712509230hljs-keyword" style=3D"fo= nt-weight:bold">for</span> target <span class=3D"m_6000753091712509230hljs-= string" style=3D"color:rgb(136,0,0)">'all'</span> failed<br>make[<s= pan class=3D"m_6000753091712509230hljs-number" style=3D"color:rgb(136,0,0)"= >1</span>]: *** [all] <span class=3D"m_6000753091712509230hljs-built_in" st= yle=3D"color:rgb(57,115,0)">Error</span> <span class=3D"m_60007530917125092= 30hljs-number" style=3D"color:rgb(136,0,0)">2</span><br>make[<span class=3D= "m_6000753091712509230hljs-number" style=3D"color:rgb(136,0,0)">1</span>]: = Leaving directory <span class=3D"m_6000753091712509230hljs-string" style=3D= "color:rgb(136,0,0)">'/var/tmp/portage/sys-kernel/<wbr>kpatch-0.4.0/wor= k/kpatch-0.4.<wbr>0/kmod'</span><br>Makefile:<span class=3D"m_600075309= 1712509230hljs-number" style=3D"color:rgb(136,0,0)">14</span>: recipe <span= class=3D"m_6000753091712509230hljs-keyword" style=3D"font-weight:bold">for= </span> target <span class=3D"m_6000753091712509230hljs-string" style=3D"co= lor:rgb(136,0,0)">'build-kmod'</span> failed<br>make: *** [build-km= od] <span class=3D"m_6000753091712509230hljs-built_in" style=3D"color:rgb(5= 7,115,0)">Error</span> <span class=3D"m_6000753091712509230hljs-number" sty= le=3D"color:rgb(136,0,0)">2</span></div></div><br><br>---------------------= ---------<wbr>---<br>I will go on fixing this tomorrow<br><br>I commited th= e first kpatch version here <a href=3D"https://github.com/aliceinwire/kerne= l-live-patch" target=3D"_blank">https://github.com/<wbr>aliceinwire/kernel-= live-patch</a><br>and updated the kpatch bug <a href=3D"https://github.com/= dynup/kpatch/issues/675" target=3D"_blank">https://github.com/dynup/<wbr>kp= atch/issues/675</a></blockquote><br><font size=3D"4">day 03:</font><div><bl= ockquote style=3D"margin:0 0 0 40px;border:none;padding:0px">Fixed the prob= lem of the other day. The kpatch Makefile is calling<br> the /usr/src/linux= / Makefile and because is presetting arch=3Damd64<br>it fail to build the p= ackage.<br>I have unset it before making the package so it can build the pa= ckage<br>without errors.<br>I had sended a pull request for review (please = review it):<a href=3D"https://github.com/gentoo/gentoo/pull/4844" target=3D= "_blank">https://github.com/gentoo/<wbr>gentoo/pull/4844</a></blockquote><s= pan class=3D"HOEnZb"><font color=3D"#888888"><div><br>-- <br>=E3=82=A2=E3= =83=AA=E3=82=B9 =E3=83=95=E3=82=A7=E3=83=83=E3=83=A9=E3=83=83=E3=83=84=E3= =82=A3<br>Alice Ferrazzi<br><br>Gentoo Kernel Project Leader<br>Mail: Alice= Ferrazzi <<a href=3D"mailto:alice.ferrazzi@gmail.com" target=3D"_blank"= >alice.ferrazzi@gmail.com</a>><br>PGP: 2E4E 0856 461C 0585 1336 F496 562= 1 A6B2 8638 781A</div></font></span></div></div> </div><br><br clear=3D"all"><div><br></div>-- <br><div class=3D"gmail_signa= ture" data-smartmail=3D"gmail_signature">=E3=82=A2=E3=83=AA=E3=82=B9 =E3=83= =95=E3=82=A7=E3=83=83=E3=83=A9=E3=83=83=E3=83=84=E3=82=A3<br>Alice Ferrazzi= <br><br>Gentoo Kernel Project Leader<br>Mail: Alice Ferrazzi <<a href=3D= "mailto:alicef@gentoo.org" target=3D"_blank">alicef@gentoo.org</a>><br>P= GP: 2E4E 0856 461C 0585 1336 F496 5621 A6B2 8638 781A</div> </div> --f403045dbf6a6388c50551c84cb6--