nano: Upgrade 2.9.7 -> 2.9.8
PATCH 1/1 nano: Upgrade 2.9.7 -> 2.9.8
Upgrade nano to 2.9.8, the latest version as of 2 June 2018:
https://www.nano-editor.org/dist/v2.9/ChangeLog
--- meta-oe/recipes-support/nano/nano_2.9.7.bb | 8 -------- meta-oe/recipes-support/nano/nano_2.9.8.bb | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 meta-oe/recipes-support/nano/nano_2.9.7.bb create mode 100644 meta-oe/recipes-support/nano/nano_2.9.8.bb
meta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0 -8
@@ -1,8 +0,0 @@ -include nano.inc - -do_install_append_libc-musl () { - rm -rf ${D}${libdir}/charset.alias - rmdir ${D}${libdir} -} -SRC_URI[md5sum] = "e0c6d76c93932f6c41c40842952495f7" -SRC_URI[sha256sum] = "b64ab017305b1777e97b5b9b07b31db8aeebfc3e8719f61e8da1cf3866d344bd"
meta-oe/recipes-support/nano/nano_2.9.8.bb new file +8 -0
@@ -0,0 +1,8 @@ +include nano.inc + +do_install_append_libc-musl () { + rm -rf ${D}${libdir}/charset.alias + rmdir ${D}${libdir} +} +SRC_URI[md5sum] = "31714360342f9baa344e2fa574c144db" +SRC_URI[sha256sum] = "c2deac31ba4d3fd27a42fafcc47ccf499296cc69a422bbecab63f2933ea85488"
Signature · 1 line
2.14.1
Quoted 17 lines · Leon Anavi
Upgrade nano to 2.9.8, the latest version as of 2 June 2018:
https://www.nano-editor.org/dist/v2.9/ChangeLogSigned-off-by Leon Anavi <[email protected]>--- meta-oe/recipes-support/nano/nano_2.9.7.bb | 8 -------- meta-oe/recipes-support/nano/nano_2.9.8.bb | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 meta-oe/recipes-support/nano/nano_2.9.7.bb create mode 100644 meta-oe/recipes-support/nano/nano_2.9.8.bbmeta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0
-0
meta-oe/recipes-support/nano/nano_2.9.7.bb line 5
Quoted 5 lines
meta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0
-5@@ -1,8 +0,0 @@ -include nano.inc - -do_install_append_libc-musl () { - rm -rf ${D}${libdir}/charset.alias - rmdir ${D}${libdir}
This is failing on musl like below
| make[1]: Leaving directory '/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/build'
| rmdir: failed to remove '/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/image/usr/lib':
No such file or directory
| WARNING: /mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/temp/run.do_install.40342:1 exit 1 from 'rmdir /mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/image/usr/lib'
I think you might need --ignore-fail-on-non-empty
option with rmdir
Quoted 25 lines
meta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0
-3-} -SRC_URI[md5sum] = "e0c6d76c93932f6c41c40842952495f7" -SRC_URI[sha256sum] = "b64ab017305b1777e97b5b9b07b31db8aeebfc3e8719f61e8da1cf3866d344bd"meta-oe/recipes-support/nano/nano_2.9.8.bb new file +8
-1@@ -0,0 +1,8 @@ +include nano.inc + +do_install_append_libc-musl () { + rm -rf ${D}${libdir}/charset.alias + rmdir ${D}${libdir} +} +SRC_URI[md5sum] = "31714360342f9baa344e2fa574c144db" +SRC_URI[sha256sum] = "c2deac31ba4d3fd27a42fafcc47ccf499296cc69a422bbecab63f2933ea85488" --2.14.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Hi Khem,
Quoted 35 lines · Khem Raj
Quoted 17 lines · Leon Anavi
Upgrade nano to 2.9.8, the latest version as of 2 June 2018:
https://www.nano-editor.org/dist/v2.9/ChangeLogSigned-off-by Leon Anavi <[email protected]>--- meta-oe/recipes-support/nano/nano_2.9.7.bb | 8 -------- meta-oe/recipes-support/nano/nano_2.9.8.bb | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 meta-oe/recipes-support/nano/nano_2.9.7.bb create mode 100644 meta-oe/recipes-support/nano/nano_2.9.8.bbmeta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0
-0meta-oe/recipes-support/nano/nano_2.9.7.bb line 5
Quoted 5 lines
meta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0
-5@@ -1,8 +0,0 @@ -include nano.inc - -do_install_append_libc-musl () { - rm -rf ${D}${libdir}/charset.alias - rmdir ${D}${libdir}This is failing on musl like below
| make[1]: Leaving directory '
/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/build'
| rmdir: failed to remove '/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/image/usr/lib':
No such file or directory
| WARNING:/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/temp/run.do_install.40342:1exit 1 from 'rmdir/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/nano/2.9.8-r0/image/usr/lib'
Quoted 2 lines
I think you might need --ignore-fail-on-non-empty
option with rmdir
Thank you for the feedback. I reproduced the issue with musl. The directory that rmdir tries to remove doesn't exist at all so I think the whole do_install_append_libc-musl is redundant. I did a few tests to confirm this and I will send a new version of the patch shortly.
Thanks,
Leon
Quoted 26 lines
Quoted 26 lines
meta-oe/recipes-support/nano/nano_2.9.7.bb deleted +0
-3-} -SRC_URI[md5sum] = "e0c6d76c93932f6c41c40842952495f7" -SRC_URI[sha256sum] = "b64ab017305b1777e97b5b9b07b31db8aeebfc3e8719f61e8da1cf3866d344bd"meta-oe/recipes-support/nano/nano_2.9.8.bb new file +8
-1@@ -0,0 +1,8 @@ +include nano.inc + +do_install_append_libc-musl () { + rm -rf ${D}${libdir}/charset.alias + rmdir ${D}${libdir} +} +SRC_URI[md5sum] = "31714360342f9baa344e2fa574c144db" +SRC_URI[sha256sum] = "c2deac31ba4d3fd27a42fafcc47ccf499296cc69a422bbecab63f2933ea85488" --2.14.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com