From patchwork Thu Mar 7 12:47:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Spielmann Werner X-Patchwork-Id: 225843 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 776632C035E for ; Thu, 7 Mar 2013 23:51:28 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E802E103B2A; Thu, 7 Mar 2013 12:51:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gT3sakWFjR86; Thu, 7 Mar 2013 12:51:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3D8AB101D67; Thu, 7 Mar 2013 12:51:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id EFBC48F753 for ; Thu, 7 Mar 2013 12:51:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 48A798C403 for ; Thu, 7 Mar 2013 12:51:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2C-NzDSqJlof for ; Thu, 7 Mar 2013 12:51:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailmx.swarovski.com (mailmx.swarovski.com [193.188.212.230]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5677F8C3A3 for ; Thu, 7 Mar 2013 12:51:18 +0000 (UTC) Received: from dsw358.wattens.swarovski.com (dsw358.wattens.swarovski.com [10.106.70.173]) by mailmx.swarovski.com with smtp (TLS: TLSv1/SSLv3,128bits,AES128-SHA) id 049a_05ad_c098f262_19f2_4e1e_aae2_70f93dfdd0af; Thu, 07 Mar 2013 13:51:11 +0100 Received: from DSW350.wattens.swarovski.com ([169.254.1.223]) by dsw358.wattens.swarovski.com ([10.106.70.7]) with mapi; Thu, 7 Mar 2013 13:47:40 +0100 From: Spielmann Werner To: Thomas Petazzoni Date: Thu, 7 Mar 2013 13:47:39 +0100 Thread-Topic: [Buildroot] Problem with buildroot-2013.02 - emacs Thread-Index: Ac4bDgc+VsHtFq/sQbCKL9lPa+NYsAAH1ABA Message-ID: <84EA0F7435E5F64C9B660453645DB90497AD52A6B0@DSW350.wattens.swarovski.com> References: <84EA0F7435E5F64C9B660453645DB90497AD4DEF0D@DSW350.wattens.swarovski.com> <20130307093024.30cb7d23@skate> In-Reply-To: <20130307093024.30cb7d23@skate> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US MIME-Version: 1.0 Cc: "buildroot@busybox.net" Subject: Re: [Buildroot] Problem with buildroot-2013.02 - emacs X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Hello Thomas, Many thanks for your explanation. You are right, emacs was not really installed. There were only Links: /usr/bin/emacs -> /etc/alternatives/emacs /etc/alternatives/emacs -> /usr/bin/jove => strange! The Patch didn't work at the first attempt, as far as I can see the line numbers of autoconf.mk do not match (I have installed the buildroot-2013.02 from the download directory - perhaps do you use newer versions from the repository?). So I installed emacs - seemed to be the fastest solution! ;-) Now the build process has gone on... Your help was very nice and very helpful! Thank you very much! Werner -----Original Message----- From: Thomas Petazzoni [mailto:thomas.petazzoni@free-electrons.com] Sent: Thursday, March 07, 2013 9:30 AM To: Spielmann Werner Cc: buildroot@busybox.net Subject: Re: [Buildroot] Problem with buildroot-2013.02 - emacs Dear Spielmann Werner, On Wed, 6 Mar 2013 12:43:20 +0100, Spielmann Werner wrote: > I'm a Newbie at buildroot and when I start my first trial to build a > system with buildroot-2013.02 I run into troubles. > > A few problems I was moving around and so "make source" worked! > > When I use "make" the script works for a short time, then an editor > window is opened - I don't know what to do. :-( Which editor opens up? I kind of believe the only way to get the issue you have is that /usr/bin/emacs exists, but doesn't point to Emacs, but to some other text editor. > The process of the editor shown by "ps" is: > emacs -batch -q -l script -f batch-byte-compile autoconf-mode.el > autotest-mode.el > > The status line of the editor shows (typed manual, couldn't copy): > > Jove (Text) [Main:1] "[No file]" - /buildroot-2013.02/ And this gets clear now: you don't have Emacs installed, but you have Jove (http://en.wikipedia.org/wiki/JOVE). The thing is that Jove is pretending to be compatible with Emacs, but it's not, so it makes the autoconf stuff think there is Emacs, even though Emacs is not here. As a workaround, you can apply this patch: --- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk index 0c36b66..daac1f2 100644 --- a/package/autoconf/autoconf.mk +++ b/package/autoconf/autoconf.mk @@ -15,7 +15,7 @@ AUTOCONF_CONF_ENV = EMACS="no" ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \ AUTOCONF_DEPENDENCIES = host-m4 perl -HOST_AUTOCONF_CONF_ENV = ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \ +HOST_AUTOCONF_CONF_ENV = EMACS="no" +ac_cv_path_M4=$(HOST_DIR)/usr/bin/m4 \ ac_cv_prog_gnu_m4_gnu=no HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool