Re: [oe] [meta-oe] [PATCH] php: Fix bug when configure php-native.

2021-12-13 Thread Khem Raj



On 12/13/21 2:53 AM, Ross Burton wrote:

There's another 10 or so recipes that fail, I have a branch for all of
them and will be posting it shortly.



right its already in master-next


Ross

On Mon, 13 Dec 2021 at 09:01, zhengruoqin  wrote:


Fix error caused by modify of libtool from poky.
  libtool: don't prefix the installed binary
  -   install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
  +   install -m 0755 libtool ${D}${bindir}/libtool

When executing do_configure of php-native, the folloing error occured:
sed: can't read x86_64-linux-libtool: No such file or directory

Signed-off-by: Zheng Ruoqin 
---
  meta-oe/recipes-devtools/php/php_8.0.12.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php_8.0.12.bb 
b/meta-oe/recipes-devtools/php/php_8.0.12.bb
index 4f484179cc..38771948f1 100644
--- a/meta-oe/recipes-devtools/php/php_8.0.12.bb
+++ b/meta-oe/recipes-devtools/php/php_8.0.12.bb
@@ -141,8 +141,8 @@ EOF

  do_configure:append() {
  # No, libtool, we really don't want rpath set...
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
${HOST_SYS}-libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' 
${HOST_SYS}-libtool
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  }

  do_install:append:class-native() {
--
2.25.1









-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94338): 
https://lists.openembedded.org/g/openembedded-devel/message/94338
Mute This Topic: https://lists.openembedded.org/mt/87693930/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe] [PATCH] php: Fix bug when configure php-native.

2021-12-13 Thread Ross Burton
There's another 10 or so recipes that fail, I have a branch for all of
them and will be posting it shortly.

Ross

On Mon, 13 Dec 2021 at 09:01, zhengruoqin  wrote:
>
> Fix error caused by modify of libtool from poky.
>  libtool: don't prefix the installed binary
>  -   install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
>  +   install -m 0755 libtool ${D}${bindir}/libtool
>
> When executing do_configure of php-native, the folloing error occured:
> sed: can't read x86_64-linux-libtool: No such file or directory
>
> Signed-off-by: Zheng Ruoqin 
> ---
>  meta-oe/recipes-devtools/php/php_8.0.12.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-devtools/php/php_8.0.12.bb 
> b/meta-oe/recipes-devtools/php/php_8.0.12.bb
> index 4f484179cc..38771948f1 100644
> --- a/meta-oe/recipes-devtools/php/php_8.0.12.bb
> +++ b/meta-oe/recipes-devtools/php/php_8.0.12.bb
> @@ -141,8 +141,8 @@ EOF
>
>  do_configure:append() {
>  # No, libtool, we really don't want rpath set...
> -sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
> ${HOST_SYS}-libtool
> -sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' 
> ${HOST_SYS}-libtool
> +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
> libtool
> +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
>  }
>
>  do_install:append:class-native() {
> --
> 2.25.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94314): 
https://lists.openembedded.org/g/openembedded-devel/message/94314
Mute This Topic: https://lists.openembedded.org/mt/87693930/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe] [PATCH] php: Fix bug when configure php-native.

2021-12-13 Thread zhengruoqin
Fix error caused by modify of libtool from poky.
 libtool: don't prefix the installed binary
 -??install -m 0755 ${HOST_SYS}-libtool 
${D}${bindir}/${HOST_SYS}-libtool
 +??install -m 0755 libtool ${D}${bindir}/libtool

When executing do_configure of php-native, the folloing error occured:
sed: can't read x86_64-linux-libtool: No such file or directory

Signed-off-by: Zheng Ruoqin 
---
 meta-oe/recipes-devtools/php/php_8.0.12.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/php/php_8.0.12.bb 
b/meta-oe/recipes-devtools/php/php_8.0.12.bb
index 4f484179cc..38771948f1 100644
--- a/meta-oe/recipes-devtools/php/php_8.0.12.bb
+++ b/meta-oe/recipes-devtools/php/php_8.0.12.bb
@@ -141,8 +141,8 @@ EOF

 do_configure:append() {
 # No, libtool, we really don't want rpath set...
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
${HOST_SYS}-libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' 
${HOST_SYS}-libtool
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' 
libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 }

 do_install:append:class-native() {
--
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#94313): 
https://lists.openembedded.org/g/openembedded-devel/message/94313
Mute This Topic: https://lists.openembedded.org/mt/87693930/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-