From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 33B01E00AD7; Wed, 20 Apr 2016 12:12:18 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.seescan.com (mail3.seescan.com [69.43.130.106]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A7055E0071E for ; Wed, 20 Apr 2016 12:12:15 -0700 (PDT) X-ASG-Debug-ID: 1461179533-0b39aa66891b0450001-yzSStA Received: from WRIGHT.seescan.com ([192.168.11.30]) by mail.seescan.com with ESMTP id YOf97Go67VbqOfsh (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Apr 2016 12:12:14 -0700 (PDT) X-Barracuda-Envelope-From: Fred.Ollinger@seescan.com Received: from WRIGHT.seescan.com (192.168.11.30) by WRIGHT.seescan.com (192.168.11.30) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 20 Apr 2016 12:12:13 -0700 Received: from WRIGHT.seescan.com ([fe80::e4a9:8176:6f01:abfa]) by WRIGHT.seescan.com ([fe80::e4a9:8176:6f01:abfa%12]) with mapi id 15.00.1044.021; Wed, 20 Apr 2016 12:12:13 -0700 From: Fred Ollinger To: Moti Cohen Thread-Topic: [yocto] MySQL recipe for yocto X-ASG-Orig-Subj: Re: [yocto] MySQL recipe for yocto Thread-Index: AQHRmyjOLapru0AWo0+245L7Iv2QYZ+THL+AgACSX4D//4sZDQ== Date: Wed, 20 Apr 2016 19:12:12 +0000 Message-ID: <1461179526735.1762@seescan.com> References: <1461173123581.97537@seescan.com>, In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [50.59.178.108] MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[192.168.11.30] X-Barracuda-Start-Time: 1461179534 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA X-Barracuda-URL: https://barracuda.seescan.com:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 2970 X-Virus-Scanned: by bsmtpd at seescan.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.4971 1.0000 0.0000 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1000.0 tests=BSF_SC0_MISMATCH_TO X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.28909 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header Cc: "yocto@yoctoproject.org" Subject: Re: MySQL recipe for yocto X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 19:12:18 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You can get rid of the patches in the bb file. Look for SRC_URI See any .patch files and remove them and try to build again. Please post build errors. Frederick ________________________________ From: Moti Cohen Sent: Wednesday, April 20, 2016 12:08 PM To: Fred Ollinger Cc: yocto@yoctoproject.org Subject: Re: [yocto] MySQL recipe for yocto Thanks Fred, I actually tried it and replaced the PV to a newer one, i used 5.6.29 inste= ad of 5.1.40 which is the latest "real" MySQL supported by openembedded. I = also added the relevant SHA numbers etc. The problem is that the recipe includes quite a few patches that are now sh= owing many errors when applied during the build. I guess that these patches= are related to the original 5.1.40 version and I'm not sure they should be= applied to the newer one. Unfortunetly, as I'm not an expert, it seems lik= e it will be a difficult task for me to clean these errors. I realy hope there's a simpler way go about it :) On Wed, Apr 20, 2016 at 8:25 PM, Fred Ollinger > wrote: I'd start with the mysql recipe and update the source reference and try to = build it. If this fails, you might need to change some other things. Here's a howto on writing a recipe: https://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#new-re= cipe-writing-a-new-recipe ________________________________ From: yocto-bounces@yoctoproject.org= > on= behalf of Moti Cohen > Sent: Wednesday, April 20, 2016 10:18 AM To: yocto@yoctoproject.org Subject: [yocto] MySQL recipe for yocto Hi all, this is my 1'st post to this list so I hope I'm doing it right :) I need to add MySQL for my yocto build. Looking online for a recipe - i found that there is one for MySQL under: /meta-openembedded/meta-oe/recipes-support/mysql/.. The thing is that instead of MySQL, the recipe reffers to MariaDB which is = a kind of a drop-in replacemnet and since I need to have the "real" MySQL i= n my build - I cannot use it. looking into history log of mysql in the meta-openembedded git, it can be s= een the the switch between MySQL and MariaDB was made at 2013 and from then= onwards it's MariaDB. http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/recipes-suppo= rt/mysql?id=3D72e23c12296fbc77193898c38426add58d0c2d71 Now to the question, do you know how can I add the "real" MySQL to my build= ? looking before 2013 at the meta-openembedded git i can find a recipe for My= SQL which seems to support a "real" MySQL however, it's very old version (5= .1) and I'm not sure how and if I can update it to one of the latest (e.g. = MySQL 5.6). Will appriciate any feedback on this. Thanks in advance, Motico