[oe] [OE-core][meta-oe][sumo][PATCH] run-ptest: supplied user inputs to add_person_cpp
During protobuf-ptest execution, add_person_cpp waits for user inputs to write data into test.data file. Fixed this by supplying dummy data through standard input. Upstream-Status: Pending Signed-off-by: Aditya Tayade --- meta-oe/recipes-devtools/protobuf/protobuf/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest b/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest index 7c3a8d1..dc6c83d 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest +++ b/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest @@ -8,7 +8,7 @@ for write_exe_full_path in ${DIR}/add_person_*; do if [ -x "${write_exe_full_path}" ]; then write_exe=`basename ${write_exe_full_path}` echo "Generating new test file using ${write_exe}..." -${write_exe_full_path} "${TEST_FILE}" +printf "1234\nname\nn...@example.com\n" | ${write_exe_full_path} "${TEST_FILE}" RETVAL=$? [ $RETVAL -eq 0 ] || exit $RETVAL -- 2.7.4 This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] ltrace: added alternate source
Hi Raj, Please find updated patch as follows: From: Aditya Tayade Description: As alioth (the Debian service hosting anonscm) has been discontinued using https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-archive.debian.org%2Fgit%2Fltrace%2Fltrace.git.tar.xzdata=02%7C01%7CAditya.Tayade%40kpit.com%7C347770e9f8584b568ce308d607645a95%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636704524933749233sdata=HwAXfRSOex2kLtH%2B0ltvRGz4fUtlGWUuHz8jUjllYGA%3Dreserved=0 as a new source for ltrace. The new source tree SRCREV SHA "ea8928dab8" and old source tree (from discontinued link)SRCREV SHA "c22d359433" points to same git history but have some diffs. Hence added a patch which applies the diff to sha "ea8928dab8" to make it same as SHA "c22d359433" from the earlier git source. ERROR: WARNING: ltrace-1_7.91+gitAUTOINC+c22d359433 do_fetch: Failed to fetch URL git://anonscm.debian.org/collab-maint/ltrace.git;branch=master, attempting MIRRORS if available Signed-off-by: Aditya Tayade --- ...port-for-old-source-commit-SHA-c22d359433.patch | 435 + meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 19 +- 2 files changed, 451 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch b/meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch new file mode 100644 index 000..ce420c4 --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch @@ -0,0 +1,435 @@ +ltrace: add support for old source commit SHA "c22d359433" + +Description: +As alioth (the Debian service hosting anonscm) has been discontinued using https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-archive.debian.org%2Fgit%2Fltrace%2Fltrace.git.tar.xzdata=02%7C01%7CAditya.Tayade%40kpit.com%7C347770e9f8584b568ce308d607645a95%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636704524933749233sdata=HwAXfRSOex2kLtH%2B0ltvRGz4fUtlGWUuHz8jUjllYGA%3Dreserved=0 as a new source. +The new source tree SRCREV SHA "ea8928dab8" and old source tree (from discontinued link)SRCREV SHA "c22d359433" points to same git history but have some diffs. +This patch applies the diff to sha "ea8928dab8" to make it same as SHA "c22d359433" from the earlier git source. + +Signed-off-by: Aditya Tayade +Upstream-Status: Pending + +diff --git a/sysdeps/linux-gnu/mksyscallent_s390 b/sysdeps/linux-gnu/mksyscallent_s390 +index 4186785..1964d14 100755 +--- a/sysdeps/linux-gnu/mksyscallent_s390 b/sysdeps/linux-gnu/mksyscallent_s390 +@@ -20,10 +20,11 @@ + # + # Generate syscall table for s390/s390x + # +-# Use this on arch/s390/kernel/syscalls.S ++# Use this on arch/s390/kernel/syscall.s after removing the first few ++# nonsyscall lines. + # +-# mksyscallent_s390 syscalls.S > syscalls31.h +-# mksyscallent_s390 -x syscalls.S > syscalls64.h ++# cat syscall.s | mksyscallent_s390 > syscalls31.h ++# cat syscall.s | mksyscallent_s390 -x > syscalls64.h + # + + use Getopt::Std; +@@ -36,19 +37,16 @@ $opt_x and $s390x = 1; + while (<>) { +chomp; + +- next unless /^NI_SYSCALL/ || /^SYSCALL/; +if ($s390x==1) { +- s/^SYSCALL\(//; ++ s/^SYSCALL\([^,]*,//; +} else { +- s/^SYSCALL\([^,]*\,//; ++ s/^SYSCALL\(//; +} + +s/,.*//; +- s/^compat_//; +s/^sys_//; +- s/^s390_//; +- s/\).*//; +- s/id16$/id/; ++ s/^s390[x]*_//; ++ s/_glue$//; +s/^ni_syscall.*/$i/i; +$len = 32 - length(); +$tab = $len / 8; +diff --git a/sysdeps/linux-gnu/s390/syscalls31.h b/sysdeps/linux-gnu/s390/syscalls31.h +index e185656..46f4cf3 100644 +--- a/sysdeps/linux-gnu/s390/syscalls31.h b/sysdeps/linux-gnu/s390/syscalls31.h +@@ -35,15 +35,15 @@ + "time", /* 13 */ + "mknod",/* 14 */ + "chmod",/* 15 */ +-"lchown", /* 16 */ ++"lchown16",/* 16 */ + "17", /* 17 */ + "18", /* 18 */ + "lseek",/* 19 */ + "getpid", /* 20 */ + "mount",/* 21 */ +-"umount", /* 22 */ +-"setuid", /* 23 */ +-"getuid", /* 24 */ ++"oldumount",/* 22 */ ++"setuid16&q
Re: [oe] [meta-openembedded] Original ltrace_git.bb SRCREV commit used is now unavailable in git tarball from ltrace.org
Hi Randy, Sent patch for this with below subject line: [meta-oe][PATCH] ltrace: added alternate source Thanks & Regards, Aditya Tayade From: Randy MacLeod Sent: Saturday, July 28, 2018 1:27 AM To: Aditya Tayade; openembedded-iss...@lists.openembedded.org; openembedded-devel@lists.openembedded.org Cc: yo...@yoctoproject.org; Nisha Parrakat Subject: Re: [oe] [meta-openembedded] Original ltrace_git.bb SRCREV commit used is now unavailable in git tarball from ltrace.org On 07/27/2018 06:34 AM, Aditya Tayade wrote: > Hi, > > > Me too facing same issue. Any advice on this. Archived versions to fix previous releases may be here: https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-archive.debian.org%2Fgit%2Fcollab-maint%2Fdata=02%7C01%7CAditya.Tayade%40kpit.com%7Ce77886ee683842dd047d08d5f3fb451f%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636683182900149535sdata=UB%2F4VAlY8JydqNvYwsy4%2BDQd5Yfbz%2FPnMmzL9xp8GrY%3Dreserved=0 for master, a commit to pull from ltrace.org makes sense to me but someone who follows debian development might be able to help locate the git repo. All I found was: https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-archive.debian.org%2Fgit%2Fcollab-maint%2Fdata=02%7C01%7CAditya.Tayade%40kpit.com%7Ce77886ee683842dd047d08d5f3fb451f%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636683182900149535sdata=UB%2F4VAlY8JydqNvYwsy4%2BDQd5Yfbz%2FPnMmzL9xp8GrY%3Dreserved=0 and a maze of twisty little hyperlinks. Aditya, Nisha, Will you send a patch? See: https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.openembedded.org%2Fwiki%2FHow_to_submit_a_patch_to_OpenEmbeddeddata=02%7C01%7CAditya.Tayade%40kpit.com%7Ce77886ee683842dd047d08d5f3fb451f%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636683182900149535sdata=gsSW5cWRMpdL%2F7TLEVcj5K1kYfDbWZstw22RiSSGA%2BY%3Dreserved=0 ../Randy > > > > Regards, > > Aditya Tayade > > > From: Nisha Parrakat > Sent: Tuesday, July 24, 2018 4:08:12 PM > To: openembedded-iss...@lists.openembedded.org; > openembedded-devel@lists.openembedded.org > Cc: yo...@yoctoproject.org > Subject: [meta-openembedded] Original ltrace_git.bb SRCREV commit used is now > unavailable in git tarball from ltrace.org > > > Hi all, > > > ltrace recipe is pointing to a fetch url > (git://anonscm.debian.org/collab-maint/ltrace.git;branch=master) that is > discontinued now. > > No ltrace found in alternate salsa.debian.org. > > Tarball for ltrace is present in ltrace.org but the SRCREV in the mentioned > in the original recipe is not found any more but we do see the same commit > with another sha but a different git history. > > > Please advice if we should modify the SRCREV to reflect the new git source > from ltrace.org? > > > original SRCREV in recipe c22d3594... > > corresponding SRCREV coming from the git tarball is ea8928da... > > > Please advice . > > > > > Regards, > Ms Nisha Parrakat > KPIT Technologies Ltd, Pune, INDIA > > > This message contains information that may be privileged or confidential and > is the property of the KPIT Technologies Ltd. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, you > are not authorized to read, print, retain copy, disseminate, distribute, or > use this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > KPIT Technologies Ltd. does not accept any liability for virus infected mails. > -- # Randy MacLeod # Wind River Linux This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] ltrace: added alternate source
Description: As alioth (the Debian service hosting anonscm) has been discontinued using https://alioth-archive.debian.org/git/ltrace/ltrace.git.tar.xz as a new source for ltrace. The new source tree SRCREV SHA "ea8928dab8" and old source tree (from discontinued link)SRCREV SHA "c22d359433" points to same git history but have some diffs. Hence added a patch which applies the diff to SHA "ea8928dab8" to make it same as SHA "c22d359433" from the earlier git source. ERROR: WARNING: ltrace-1_7.91+gitAUTOINC+c22d359433 do_fetch: Failed to fetch URL git://anonscm.debian.org/collab-maint/ltrace.git;branch=master, attempting MIRRORS if available Signed-off-by: Aditya Tayade --- .../recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch | 435 meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 19 +- 2 files changed, 451 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch b/meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch new file mode 100644 index 000..ce420c4 --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace/add-support-for-old-source-commit-SHA-c22d359433.patch @@ -0,0 +1,435 @@ +ltrace: add support for old source commit SHA "c22d359433" + +Description: +As alioth (the Debian service hosting anonscm) has been discontinued using https://alioth-archive.debian.org/git/ltrace/ltrace.git.tar.xz as a new source. +The new source tree SRCREV SHA "ea8928dab8" and old source tree (from discontinued link)SRCREV SHA "c22d359433" points to same git history but have some diffs. +This patch applies the diff to sha "ea8928dab8" to make it same as SHA "c22d359433" from the earlier git source. + +Signed-off-by: Aditya Tayade +Upstream-Status: Pending + +diff --git a/sysdeps/linux-gnu/mksyscallent_s390 b/sysdeps/linux-gnu/mksyscallent_s390 +index 4186785..1964d14 100755 +--- a/sysdeps/linux-gnu/mksyscallent_s390 b/sysdeps/linux-gnu/mksyscallent_s390 +@@ -20,10 +20,11 @@ + # + # Generate syscall table for s390/s390x + # +-# Use this on arch/s390/kernel/syscalls.S ++# Use this on arch/s390/kernel/syscall.s after removing the first few ++# nonsyscall lines. + # +-# mksyscallent_s390 syscalls.S > syscalls31.h +-# mksyscallent_s390 -x syscalls.S > syscalls64.h ++# cat syscall.s | mksyscallent_s390 > syscalls31.h ++# cat syscall.s | mksyscallent_s390 -x > syscalls64.h + # + + use Getopt::Std; +@@ -36,19 +37,16 @@ $opt_x and $s390x = 1; + while (<>) { + chomp; + +- next unless /^NI_SYSCALL/ || /^SYSCALL/; + if ($s390x==1) { +- s/^SYSCALL\(//; ++s/^SYSCALL\([^,]*,//; + } else { +- s/^SYSCALL\([^,]*\,//; ++s/^SYSCALL\(//; + } + + s/,.*//; +- s/^compat_//; + s/^sys_//; +- s/^s390_//; +- s/\).*//; +- s/id16$/id/; ++ s/^s390[x]*_//; ++ s/_glue$//; + s/^ni_syscall.*/$i/i; + $len = 32 - length(); + $tab = $len / 8; +diff --git a/sysdeps/linux-gnu/s390/syscalls31.h b/sysdeps/linux-gnu/s390/syscalls31.h +index e185656..46f4cf3 100644 +--- a/sysdeps/linux-gnu/s390/syscalls31.h b/sysdeps/linux-gnu/s390/syscalls31.h +@@ -35,15 +35,15 @@ + "time",/* 13 */ + "mknod",/* 14 */ + "chmod",/* 15 */ +-"lchown", /* 16 */ ++"lchown16", /* 16 */ + "17", /* 17 */ + "18", /* 18 */ + "lseek",/* 19 */ + "getpid", /* 20 */ + "mount",/* 21 */ +-"umount",/* 22 */ +-"setuid", /* 23 */ +-"getuid", /* 24 */ ++"oldumount",/* 22 */ ++"setuid16", /* 23 */ ++"getuid16", /* 24 */ + "stime",/* 25 */ + "ptrace", /* 26 */ + "alarm",/* 27 */ +@@ -65,11 +65,11 @@ + "times",/* 43 */ + "44", /* 44 */ + "brk", /* 45 */ +-"setgid", /* 46 */ +-"getgid", /* 47 */ ++"setgid16", /* 46 */ ++"getgid16", /* 47 */ + "signal", /* 48 */ +-"geteuid", /* 49 */ +-"getegid", /* 50 */ ++"geteuid16",/* 49 */ ++"getegid16",/* 50 */ + "acct",/* 51 */ + "umount", /* 52 */ + "53", /* 53 */ +@@ -89,18 +89,18 @@ + "sigaction",/* 67 */ + "68", /* 68 */ + "69", /* 69 */ +-"setreuid", /* 70 */ +-"setregid", /* 71 */ ++&qu
Re: [oe] [meta-oe][PATCH] libbytesize: fix gettext not found issue
Hi Raj, Tried using said USE_NLS = "yes" option and it compiled successfully. As per my understanding this option also enables recipe to use gettext for host, hence which one should we opt? Sorry for delayed response. Regards, Aditya Tayade From: Khem Raj Sent: Wednesday, July 25, 2018 9:35 AM To: Aditya Tayade Cc: openembeded-devel Subject: Re: [oe] [meta-oe][PATCH] libbytesize: fix gettext not found issue Can you try setting USE_NLS = "yes" in the affected recipe ? On Tue, Jul 24, 2018 at 6:29 PM Aditya Tayade wrote: > > Hi, > > In Sumo branch, > libbytesize_0.10.bb<https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2F10.bbdata=02%7C01%7CAditya.Tayade%40kpit.com%7C8381da62714f4666051908d5f1e3eb02%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636680883564574908sdata=KLfQdOn3xMvUq0YI1MoYm9isivid5AVy%2B4rgUzd8G10%3Dreserved=0> > do_configure fails with error "configure: error: gettext not found", hence > added a dependency to gettext -native for the same. > > > Kindly review the attached patch and integrate it with upstream if changes > looks fine. > > > Regards, > Aditya Tayade > This message contains information that may be privileged or confidential and > is the property of the KPIT Technologies Ltd. It is intended only for the > person to whom it is addressed. If you are not the intended recipient, you > are not authorized to read, print, retain copy, disseminate, distribute, or > use this message or any part thereof. If you receive this message in error, > please notify the sender immediately and delete all copies of this message. > KPIT Technologies Ltd. does not accept any liability for virus infected mails. > -- > ___ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.openembedded.org%2Fmailman%2Flistinfo%2Fopenembedded-develdata=02%7C01%7CAditya.Tayade%40kpit.com%7C8381da62714f4666051908d5f1e3eb02%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636680883564574908sdata=M1BN9Z8DE1223Vm2uvuNghHfaKF7jTgZWCyqojzGxL4%3Dreserved=0 This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-openembedded] Original ltrace_git.bb SRCREV commit used is now unavailable in git tarball from ltrace.org
Hi, Me too facing same issue. Any advice on this. Regards, Aditya Tayade From: Nisha Parrakat Sent: Tuesday, July 24, 2018 4:08:12 PM To: openembedded-iss...@lists.openembedded.org; openembedded-devel@lists.openembedded.org Cc: yo...@yoctoproject.org Subject: [meta-openembedded] Original ltrace_git.bb SRCREV commit used is now unavailable in git tarball from ltrace.org Hi all, ltrace recipe is pointing to a fetch url (git://anonscm.debian.org/collab-maint/ltrace.git;branch=master) that is discontinued now. No ltrace found in alternate salsa.debian.org. Tarball for ltrace is present in ltrace.org but the SRCREV in the mentioned in the original recipe is not found any more but we do see the same commit with another sha but a different git history. Please advice if we should modify the SRCREV to reflect the new git source from ltrace.org? original SRCREV in recipe c22d3594... corresponding SRCREV coming from the git tarball is ea8928da... Please advice . Regards, Ms Nisha Parrakat KPIT Technologies Ltd, Pune, INDIA This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails. -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] libbytesize: fix gettext not found issue
Hi, In Sumo branch, libbytesize_0.10.bb<http://10.bb> do_configure fails with error "configure: error: gettext not found", hence added a dependency to gettext -native for the same. Kindly review the attached patch and integrate it with upstream if changes looks fine. Regards, Aditya Tayade This message contains information that may be privileged or confidential and is the property of the KPIT Technologies Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Technologies Ltd. does not accept any liability for virus infected mails. libbytesize: fix gettext not found issue libbytesize_0.10.bb do_configure fails with error "configure: error: gettext not found" Upstream status: Pending Sign-off by: Aditya Tayade diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb b/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb index 6903021..fedde80 100644 --- a/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb +++ b/meta-oe/recipes-support/libbytesize/libbytesize_0.10.bb @@ -21,6 +21,7 @@ DEPENDS += " \ libpcre \ gmp \ mpfr \ +gettext-native \ " FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/bytesize" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel