From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay1.mentorg.com ([192.94.38.131]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1PqW29-0000RW-52 for openembedded-devel@lists.openembedded.org; Fri, 18 Feb 2011 20:30:29 +0100 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1PqW0w-0002EN-V2 from Tom_Rini@mentor.com for openembedded-devel@lists.openembedded.org; Fri, 18 Feb 2011 11:29:14 -0800 Received: from na2-mail.mgc.mentorg.com ([134.86.114.213]) by svr-orw-fem-01.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 18 Feb 2011 11:29:14 -0800 Received: from [172.30.80.150] ([172.30.80.150]) by na2-mail.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 18 Feb 2011 12:29:13 -0700 Message-ID: <4D5EC884.5060701@mentor.com> Date: Fri, 18 Feb 2011 12:29:08 -0700 From: Tom Rini Organization: Mentor Graphics Corporation User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4D5A8FF2.2010200@mentor.com> In-Reply-To: X-OriginalArrivalTime: 18 Feb 2011 19:29:13.0851 (UTC) FILETIME=[1FFCE4B0:01CBCFA2] Subject: Re: git head: build of rpm-native fails X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2011 19:30:29 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 02/16/2011 12:38 AM, Frans Meulenbroeks wrote: > 2011/2/15 Tom Rini: >> On 02/14/2011 11:48 PM, Frans Meulenbroeks wrote: >>> >>> Hi, >>> >>> Yesterday I tried whether I could cross compile a helloworld.rpm to >>> try on a fedora-arm box, but I failed in building rpm-native. >>> This issue was verified by Jay. His log: >>> http://tinderbox.openembedded.net/public/logs/task/25555153.txt >>> >>> apparently this is the failing part is: >>> >>> file -C -m ./magic.mime >>> ./magic.mime, 187: Warning: string extension `B' invalid >>> ./magic.mime, 401: Warning: string extension `B' invalid >>> ./magic.mime, 618: Warning: string extension `B' invalid >>> ./magic.mime, 623: Warning: string extension `B' invalid >>> ./magic.mime, 627: Warning: string extension `B' invalid >>> ./magic.mime, 628: Warning: string extension `B' invalid >>> ./magic.mime, 672: Warning: no need to escape `#' >>> ./magic.mime, 674: Warning: no need to escape `#' >>> file: could not find any magic files! >>> make[4]: *** [magic.mime.mgc] Ошибка 1 >>> make[4]: *** Ожидание Ð·Ð°Ð²ÐµÑ€ÑˆÐµÐ½Ð¸Ñ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹.. >>> >>> I tried the command in a devshell and there it also fails, but I have >>> not really an idea what is wrong (and I don't know too much about RPM >>> anyway) >>> Suggestions? Fixes ? >> >> rpm depends on having a specific version of file around and there's probably >> a mis-match. > > Guess so. > Note that this is not host related as the file used is build by OE (file-native) > > Actually maybe we should move to a newer version of rpm. Ours is at > 4.4.2.3, latest stable is 4.8.1 > and file on oe is 5.04, mainstream is 5.05, but I guess that will have > less impact. In terms of doing anything with rpm, the best bet is to look at what poky has done as Mark Hatle has spent a lot of time making rpm usable and useful there. Or better yet, start working on oe-core where we've inherited those benefits out of the box. I say this since rpm is a complex beast and it's a non-trivial thing to make it "just work". -- Tom Rini Mentor Graphics Corporation