All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] perl: Make install.perl depend on install.sym
@ 2019-01-24  6:33 Robert Yang
  2019-01-24  6:33 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2019-01-24  6:33 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit a4edfa4cf451bf412525887b5b24b9db6486ae97:

  remove unused distutils-tools.bbclass (2019-01-23 07:57:02 +0000)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/perl
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/perl

Robert Yang (1):
  perl: Make install.perl depend on install.sym

 ...e-Make-install.perl-depend-on-install.sym.patch | 32 ++++++++++++++++++++++
 meta/recipes-devtools/perl-sanity/perl_5.28.1.bb   |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta/recipes-devtools/perl-sanity/files/0001-Makefile-Make-install.perl-depend-on-install.sym.patch

-- 
2.10.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] perl: Make install.perl depend on install.sym
  2019-01-24  6:33 [PATCH 0/1] perl: Make install.perl depend on install.sym Robert Yang
@ 2019-01-24  6:33 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2019-01-24  6:33 UTC (permalink / raw)
  To: openembedded-core

Fixed a race issue when do_install:
Generating wrapper script for
/path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1
mv: cannot stat
/path/to/8.1-r0/image/path/to/8.1-r0/recipe-sysroot-native/usr/bin/perl-native/perl5.28.1:
No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 ...e-Make-install.perl-depend-on-install.sym.patch | 32 ++++++++++++++++++++++
 meta/recipes-devtools/perl-sanity/perl_5.28.1.bb   |  1 +
 2 files changed, 33 insertions(+)
 create mode 100644 meta/recipes-devtools/perl-sanity/files/0001-Makefile-Make-install.perl-depend-on-install.sym.patch

diff --git a/meta/recipes-devtools/perl-sanity/files/0001-Makefile-Make-install.perl-depend-on-install.sym.patch b/meta/recipes-devtools/perl-sanity/files/0001-Makefile-Make-install.perl-depend-on-install.sym.patch
new file mode 100644
index 0000000..1267339
--- /dev/null
+++ b/meta/recipes-devtools/perl-sanity/files/0001-Makefile-Make-install.perl-depend-on-install.sym.patch
@@ -0,0 +1,32 @@
+From a0a2fcac3735ca90017976d2b87f550d051a969b Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Tue, 22 Jan 2019 19:21:27 -0800
+Subject: [PATCH] Makefile: Make install.perl depend on install.sym
+
+Fix a race issue when install, there might be no
+$(installbin)/$(perlname)$(version) when install.sym runs after install.perl
+since install.sym removes it.
+
+Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/73]
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index cd8d75f..1aa8ef2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -406,7 +406,7 @@ META.yml: Porting/makemeta Porting/Maintainers.pl Porting/Maintainers.pm miniper
+ 
+ install: install.perl install.sym install.man
+ 
+-install.perl: installperl | miniperl$X
++install.perl: installperl install.sym | miniperl$X
+ 	./miniperl_top installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
+ 	-@test ! -s extras.lst || $(MAKE) extras.install
+ 
+-- 
+2.10.2
+
diff --git a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
index 176980e..a2ec264 100644
--- a/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
+++ b/meta/recipes-devtools/perl-sanity/perl_5.28.1.bb
@@ -23,6 +23,7 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
            file://fix-race-failures-2.patch \
            file://0001-Also-build-dynaloader-separately-as-race-failures-ha.patch \
            file://0001-Make-sure-install.perl-runs-before-install.man.patch \
+           file://0001-Makefile-Make-install.perl-depend-on-install.sym.patch \
            "
 
 SRC_URI[perl.md5sum] = "838198c43d4f39d7af797e2f59c2bee5"
-- 
2.10.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-24  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24  6:33 [PATCH 0/1] perl: Make install.perl depend on install.sym Robert Yang
2019-01-24  6:33 ` [PATCH 1/1] " Robert Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.