From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.windriver.com ([147.11.1.11]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Sv3Yg-0007kC-6R for openembedded-core@lists.openembedded.org; Sat, 28 Jul 2012 11:43:38 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q6S9W29p003246 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Sat, 28 Jul 2012 02:32:03 -0700 (PDT) Received: from localhost.localdomain (128.224.163.66) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.309.2; Sat, 28 Jul 2012 02:32:02 -0700 From: To: Date: Sat, 28 Jul 2012 17:31:45 +0800 Message-ID: <1343467905-10228-1-git-send-email-Song.Li@windriver.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Cc: Zhenfeng.Zhao@windriver.com Subject: [PATCH V2] guile:meta/Makefile change install-data-hook to install-exec-hook X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 09:43:38 -0000 Content-Type: text/plain From: "Song.Li" In guile meta/Makefile, what install-data-hook do must be run after install-binSCRIPTS.so it's a exec hook, not a data hook. If keep these exec-hook in data-hook,when we run make with multi-jobbing , install-data-hook and install-binSCRIPTS will be separately processed in different thread, no any dependence. that will cause error sometimes. [YOCTO #2796] Signed-off-by: Song.Li --- ...all-data-hook-to-install-exec-hook-in-gui.patch | 39 ++++++++++++++++++++ meta/recipes-devtools/guile/guile_2.0.5.bb | 3 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/guile/files/change-install-data-hook-to-install-exec-hook-in-gui.patch diff --git a/meta/recipes-devtools/guile/files/change-install-data-hook-to-install-exec-hook-in-gui.patch b/meta/recipes-devtools/guile/files/change-install-data-hook-to-install-exec-hook-in-gui.patch new file mode 100644 index 0000000..9445fca --- /dev/null +++ b/meta/recipes-devtools/guile/files/change-install-data-hook-to-install-exec-hook-in-gui.patch @@ -0,0 +1,39 @@ +From 687e5a6598f89b97c89afb94d6ac3ec024dc08e2 Mon Sep 17 00:00:00 2001 +From: "Song.Li" +Date: Thu, 26 Jul 2012 14:19:46 +0800 +Subject: [PATCH] guile:meta/Makefile change install-data-hook to install-exec-hook + +In guile meta/Makefile, what install-data-hook do +must be run after install-binSCRIPTS.so it's a exec hook, not a data hook. +If keep these exec-hook in data-hook,when we run make with multi-jobbing , +install-data-hook and install-binSCRIPTS will be separately +processed in different thread, no any dependence. +that will cause error sometimes. + +[YOCTO #2796] + +Upstream Status:Submitted +Upstream Bugid :12015 email:12015@debbugs.gnu.org +guile bug maillist: bug-guile@gnu.org + +Signed-off-by: Song.Li +--- + meta/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meta/Makefile.am b/meta/Makefile.am +index f26fc44..e603e5c 100644 +--- a/meta/Makefile.am ++++ b/meta/Makefile.am +@@ -27,7 +27,7 @@ EXTRA_DIST= \ + guild.in guile-config.in + + # What we now call `guild' used to be known as `guile-tools'. +-install-data-hook: ++install-exec-hook: + cd $(DESTDIR)$(bindir) && rm -f guile-tools$(EXEEXT) && \ + $(LN_S) guild$(EXEEXT) guile-tools$(EXEEXT) + +-- +1.7.9.5 + diff --git a/meta/recipes-devtools/guile/guile_2.0.5.bb b/meta/recipes-devtools/guile/guile_2.0.5.bb index 0e21d5e..8fae712 100644 --- a/meta/recipes-devtools/guile/guile_2.0.5.bb +++ b/meta/recipes-devtools/guile/guile_2.0.5.bb @@ -22,6 +22,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \ file://guile_2.0.5_fix_cross_compilation.patch \ file://remove-gets.patch \ file://arm_endianness.patch \ + file://change-install-data-hook-to-install-exec-hook-in-gui.patch \ " # file://debian/0001-Change-guile-to-guile-X.Y-for-info-pages.patch @@ -30,7 +31,7 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \ SRC_URI[md5sum] = "bcf70d54b44c99cb9acd3f63c5486b4b" SRC_URI[sha256sum] = "2a026ea6cdbc51ca71bcd9787839debfa45ac5db1e26dc00b30ca9b128b10956" -PR = "r4" +PR = "r5" inherit autotools gettext BBCLASSEXTEND = "native" -- 1.7.9.5