[oe] [meta-oe][PATCH] ltrace: added alternate source

Aditya Tayade Aditya.Tayade at kpit.com
Tue Aug 21 13:29:17 UTC 2018


Hi Raj,


Please find updated patch as follows:


From: Aditya Tayade <Aditya.Tayade at kpit.com>

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.xz&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7C347770e9f8584b568ce308d607645a95%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636704524933749233&amp;sdata=HwAXfRSOex2kLtH%2B0ltvRGz4fUtlGWUuHz8jUjllYGA%3D&amp;reserved=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 <Aditya.Tayade at kpit.com>
---
 ...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 0000000..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.xz&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7C347770e9f8584b568ce308d607645a95%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636704524933749233&amp;sdata=HwAXfRSOex2kLtH%2B0ltvRGz4fUtlGWUuHz8jUjllYGA%3D&amp;reserved=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 <Aditya.Tayade at kpit.com>
+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 */
++    "setreuid16",                       /* 70 */
++    "setregid16",                       /* 71 */
+     "sigsuspend",                       /* 72 */
+     "sigpending",                       /* 73 */
+     "sethostname",                      /* 74 */
+     "setrlimit",                        /* 75 */
+-    "getrlimit",                /* 76 */
++    "old_getrlimit",                    /* 76 */
+     "getrusage",                        /* 77 */
+     "gettimeofday",                     /* 78 */
+     "settimeofday",                     /* 79 */
+-    "getgroups",                /* 80 */
+-    "setgroups",                /* 81 */
++    "getgroups16",                      /* 80 */
++    "setgroups16",                      /* 81 */
+     "82",                               /* 82 */
+     "symlink",                          /* 83 */
+     "84",                               /* 84 */
+@@ -108,13 +108,13 @@
+     "uselib",                           /* 86 */
+     "swapon",                           /* 87 */
+     "reboot",                           /* 88 */
+-    "readdir",                  /* 89 */
+-    "mmap",                    /* 90 */
++    "89",                               /* 89 */
++    "old_mmap",                        /* 90 */
+     "munmap",                           /* 91 */
+     "truncate",                        /* 92 */
+     "ftruncate",                        /* 93 */
+     "fchmod",                           /* 94 */
+-    "fchown",                  /* 95 */
++    "fchown16",                        /* 95 */
+     "getpriority",                      /* 96 */
+     "setpriority",                      /* 97 */
+     "98",                               /* 98 */
+@@ -157,11 +157,11 @@
+     "sysfs",                            /* 135 */
+     "personality",                      /* 136 */
+     "137",                              /* 137 */
+-    "setfsuid",                        /* 138 */
+-    "setfsgid",                        /* 139 */
+-    "_llseek",                          /* 140 */
++    "setfsuid16",                       /* 138 */
++    "setfsgid16",                       /* 139 */
++    "llseek",                           /* 140 */
+     "getdents",                        /* 141 */
+-    "_newselect",               /* 142 */
++    "select",                           /* 142 */
+     "flock",                            /* 143 */
+     "msync",                            /* 144 */
+     "readv",                            /* 145 */
+@@ -183,14 +183,14 @@
+     "sched_rr_get_interval",            /* 161 */
+     "nanosleep",                        /* 162 */
+     "mremap",                           /* 163 */
+-    "setresuid",                        /* 164 */
+-    "getresuid",                        /* 165 */
++    "setresuid16",                      /* 164 */
++    "getresuid16",                      /* 165 */
+     "166",                              /* 166 */
+     "167",                              /* 167 */
+     "poll",                             /* 168 */
+-    "169",                              /* 169 */
+-    "setresgid",                        /* 170 */
+-    "getresgid",                        /* 171 */
++    "nfsservctl",                       /* 169 */
++    "setresgid16",                      /* 170 */
++    "getresgid16",                      /* 171 */
+     "prctl",                            /* 172 */
+     "rt_sigreturn",                     /* 173 */
+     "rt_sigaction",                     /* 174 */
+@@ -201,7 +201,7 @@
+     "rt_sigsuspend",                    /* 179 */
+     "pread64",                          /* 180 */
+     "pwrite64",                        /* 181 */
+-    "chown",                    /* 182 */
++    "chown16",                          /* 182 */
+     "getcwd",                           /* 183 */
+     "capget",                           /* 184 */
+     "capset",                           /* 185 */
+@@ -217,25 +217,25 @@
+     "stat64",                           /* 195 */
+     "lstat64",                          /* 196 */
+     "fstat64",                          /* 197 */
+-    "lchown32",                 /* 198 */
+-    "getuid32",                        /* 199 */
+-    "getgid32",                 /* 200 */
+-    "geteuid32",                /* 201 */
+-    "getegid32",                /* 202 */
+-    "setreuid32",              /* 203 */
+-    "setregid32",              /* 204 */
+-    "getgroups32",              /* 205 */
+-    "setgroups32",              /* 206 */
+-    "fchown32",                 /* 207 */
+-    "setresuid32",              /* 208 */
+-    "getresuid32",              /* 209 */
+-    "setresgid32",              /* 210 */
+-    "getresgid32",              /* 211 */
+-    "chown32",                  /* 212 */
+-    "setuid32",                 /* 213 */
+-    "setgid32",                 /* 214 */
+-    "setfsuid32",              /* 215 */
+-    "setfsgid32",              /* 216 */
++    "lchown",                           /* 198 */
++    "getuid",                           /* 199 */
++    "getgid",                           /* 200 */
++    "geteuid",                          /* 201 */
++    "getegid",                          /* 202 */
++    "setreuid",                        /* 203 */
++    "setregid",                        /* 204 */
++    "getgroups",                        /* 205 */
++    "setgroups",                        /* 206 */
++    "fchown",                           /* 207 */
++    "setresuid",                        /* 208 */
++    "getresuid",                        /* 209 */
++    "setresgid",                        /* 210 */
++    "getresgid",                        /* 211 */
++    "chown",                            /* 212 */
++    "setuid",                           /* 213 */
++    "setgid",                           /* 214 */
++    "setfsuid",                        /* 215 */
++    "setfsgid",                        /* 216 */
+     "pivot_root",                       /* 217 */
+     "mincore",                          /* 218 */
+     "madvise",                          /* 219 */
+@@ -287,9 +287,9 @@
+     "statfs64",                        /* 265 */
+     "fstatfs64",                        /* 266 */
+     "remap_file_pages",                /* 267 */
+-    "mbind",                            /* 268 */
+-    "get_mempolicy",                    /* 269 */
+-    "set_mempolicy",                    /* 270 */
++    "268",                              /* 268 */
++    "269",                              /* 269 */
++    "270",                              /* 270 */
+     "mq_open",                          /* 271 */
+     "mq_unlink",                        /* 272 */
+     "mq_timedsend",                     /* 273 */
+@@ -306,7 +306,7 @@
+     "inotify_init",                     /* 284 */
+     "inotify_add_watch",                /* 285 */
+     "inotify_rm_watch",                /* 286 */
+-    "migrate_pages",                    /* 287 */
++    "287",                              /* 287 */
+     "openat",                           /* 288 */
+     "mkdirat",                          /* 289 */
+     "mknodat",                          /* 290 */
+@@ -329,67 +329,3 @@
+     "sync_file_range",                  /* 307 */
+     "tee",                              /* 308 */
+     "vmsplice",                        /* 309 */
+-    "move_pages",                       /* 310 */
+-    "getcpu",                           /* 311 */
+-    "epoll_pwait",                      /* 312 */
+-    "utimes",                           /* 313 */
+-    "fallocate",                        /* 314 */
+-    "utimensat",                        /* 315 */
+-    "signalfd",                        /* 316 */
+-    "317",                              /* 317 */
+-    "eventfd",                          /* 318 */
+-    "timerfd_create",                   /* 319 */
+-    "timerfd_settime",                  /* 320 */
+-    "timerfd_gettime",                  /* 321 */
+-    "signalfd4",                        /* 322 */
+-    "eventfd2",                        /* 323 */
+-    "inotify_init1",                    /* 324 */
+-    "pipe2",                            /* 325 */
+-    "dup3",                             /* 326 */
+-    "epoll_create1",                    /* 327 */
+-    "preadv",                           /* 328 */
+-    "pwritev",                          /* 329 */
+-    "rt_tgsigqueueinfo",                /* 330 */
+-    "perf_event_open",                  /* 331 */
+-    "fanotify_init",                    /* 332 */
+-    "fanotify_mark",                    /* 333 */
+-    "prlimit64",                        /* 334 */
+-    "name_to_handle_at",                /* 335 */
+-    "open_by_handle_at",                /* 336 */
+-    "clock_adjtime",                    /* 337 */
+-    "syncfs",                           /* 338 */
+-    "setns",                            /* 339 */
+-    "process_vm_readv",                /* 340 */
+-    "process_vm_writev",                /* 341 */
+-    "s390_runtime_instr",       /* 342 */
+-    "kcmp",                             /* 343 */
+-    "finit_module",                     /* 344 */
+-    "sched_setattr",                    /* 345 */
+-    "sched_getattr",                    /* 346 */
+-    "renameat2",                        /* 347 */
+-    "seccomp",                          /* 348 */
+-    "getrandom",                        /* 349 */
+-    "memfd_create",                     /* 350 */
+-    "bpf",                              /* 351 */
+-    "s390_pci_mmio_write",      /* 352 */
+-    "s390_pci_mmio_read",       /* 353 */
+-    "execveat",                        /* 354 */
+-    "userfaultfd",                      /* 355 */
+-    "membarrier",                       /* 356 */
+-    "recvmmsg",                        /* 357 */
+-    "sendmmsg",                        /* 358 */
+-    "socket",                           /* 359 */
+-    "socketpair",                       /* 360 */
+-    "bind",                             /* 361 */
+-    "connect",                          /* 362 */
+-    "listen",                           /* 363 */
+-    "accept4",                          /* 364 */
+-    "getsockopt",                       /* 365 */
+-    "setsockopt",                       /* 366 */
+-    "getsockname",                      /* 367 */
+-    "getpeername",                      /* 368 */
+-    "sendto",                           /* 369 */
+-    "sendmsg",                          /* 370 */
+-    "recvfrom",                        /* 371 */
+-    "recvmsg",                          /* 372 */
+-    "shutdown",                        /* 373 */
+diff --git a/sysdeps/linux-gnu/s390/syscalls64.h b/sysdeps/linux-gnu/s390/syscalls64.h
+index 939b996..f2ec7f4 100644
+--- a/sysdeps/linux-gnu/s390/syscalls64.h
++++ b/sysdeps/linux-gnu/s390/syscalls64.h
+@@ -41,7 +41,7 @@
+     "lseek",                            /* 19 */
+     "getpid",                           /* 20 */
+     "mount",                            /* 21 */
+-    "umount",                   /* 22 */
++    "oldumount",                        /* 22 */
+     "23",                               /* 23 */
+     "24",                               /* 24 */
+     "25",                               /* 25 */
+@@ -109,7 +109,7 @@
+     "swapon",                           /* 87 */
+     "reboot",                           /* 88 */
+     "89",                               /* 89 */
+-    "mmap",                    /* 90 */
++    "old_mmap",                        /* 90 */
+     "munmap",                           /* 91 */
+     "truncate",                        /* 92 */
+     "ftruncate",                        /* 93 */
+@@ -188,7 +188,7 @@
+     "166",                              /* 166 */
+     "167",                              /* 167 */
+     "poll",                             /* 168 */
+-    "169",                              /* 169 */
++    "nfsservctl",                       /* 169 */
+     "170",                              /* 170 */
+     "171",                              /* 171 */
+     "prctl",                            /* 172 */
+@@ -287,9 +287,9 @@
+     "statfs64",                        /* 265 */
+     "fstatfs64",                        /* 266 */
+     "remap_file_pages",                /* 267 */
+-    "mbind",                            /* 268 */
+-    "get_mempolicy",                    /* 269 */
+-    "set_mempolicy",                    /* 270 */
++    "268",                              /* 268 */
++    "269",                              /* 269 */
++    "270",                              /* 270 */
+     "mq_open",                          /* 271 */
+     "mq_unlink",                        /* 272 */
+     "mq_timedsend",                     /* 273 */
+@@ -306,7 +306,7 @@
+     "inotify_init",                     /* 284 */
+     "inotify_add_watch",                /* 285 */
+     "inotify_rm_watch",                /* 286 */
+-    "migrate_pages",                    /* 287 */
++    "287",                              /* 287 */
+     "openat",                           /* 288 */
+     "mkdirat",                          /* 289 */
+     "mknodat",                          /* 290 */
+@@ -329,67 +329,3 @@
+     "sync_file_range",                  /* 307 */
+     "tee",                              /* 308 */
+     "vmsplice",                        /* 309 */
+-    "move_pages",                       /* 310 */
+-    "getcpu",                           /* 311 */
+-    "epoll_pwait",                      /* 312 */
+-    "utimes",                           /* 313 */
+-    "fallocate",                        /* 314 */
+-    "utimensat",                        /* 315 */
+-    "signalfd",                        /* 316 */
+-    "317",                              /* 317 */
+-    "eventfd",                          /* 318 */
+-    "timerfd_create",                   /* 319 */
+-    "timerfd_settime",                  /* 320 */
+-    "timerfd_gettime",                  /* 321 */
+-    "signalfd4",                        /* 322 */
+-    "eventfd2",                        /* 323 */
+-    "inotify_init1",                    /* 324 */
+-    "pipe2",                            /* 325 */
+-    "dup3",                             /* 326 */
+-    "epoll_create1",                    /* 327 */
+-    "preadv",                           /* 328 */
+-    "pwritev",                          /* 329 */
+-    "rt_tgsigqueueinfo",                /* 330 */
+-    "perf_event_open",                  /* 331 */
+-    "fanotify_init",                    /* 332 */
+-    "fanotify_mark",                    /* 333 */
+-    "prlimit64",                        /* 334 */
+-    "name_to_handle_at",                /* 335 */
+-    "open_by_handle_at",                /* 336 */
+-    "clock_adjtime",                    /* 337 */
+-    "syncfs",                           /* 338 */
+-    "setns",                            /* 339 */
+-    "process_vm_readv",                /* 340 */
+-    "process_vm_writev",                /* 341 */
+-    "s390_runtime_instr",       /* 342 */
+-    "kcmp",                             /* 343 */
+-    "finit_module",                     /* 344 */
+-    "sched_setattr",                    /* 345 */
+-    "sched_getattr",                    /* 346 */
+-    "renameat2",                        /* 347 */
+-    "seccomp",                          /* 348 */
+-    "getrandom",                        /* 349 */
+-    "memfd_create",                     /* 350 */
+-    "bpf",                              /* 351 */
+-    "s390_pci_mmio_write",      /* 352 */
+-    "s390_pci_mmio_read",       /* 353 */
+-    "execveat",                        /* 354 */
+-    "userfaultfd",                      /* 355 */
+-    "membarrier",                       /* 356 */
+-    "recvmmsg",                        /* 357 */
+-    "sendmmsg",                        /* 358 */
+-    "socket",                           /* 359 */
+-    "socketpair",                       /* 360 */
+-    "bind",                             /* 361 */
+-    "connect",                          /* 362 */
+-    "listen",                           /* 363 */
+-    "accept4",                          /* 364 */
+-    "getsockopt",                       /* 365 */
+-    "setsockopt",                       /* 366 */
+-    "getsockname",                      /* 367 */
+-    "getpeername",                      /* 368 */
+-    "sendto",                           /* 369 */
+-    "sendmsg",                          /* 370 */
+-    "recvfrom",                        /* 371 */
+-    "recvmsg",                          /* 372 */
+-    "shutdown",                        /* 373 */
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index abe015d..02ea964 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -10,12 +10,16 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a<file://copying%3Bmd5%3Deb723b61539feef013de476e68b5c50a/>"

 PE = "1"
-PV = "7.91+git${SRCPV}"
-SRCREV = "c22d359433b333937ee3d803450dc41998115685"
+PV = "7.92"
+SRCREV = "ea8928dab8a0a1f549d0ed8ebc6ec563e9fa1159"
+
+SRC_URI[md5sum] = "f6375033b1963cf6835e808051e93477"
+SRC_URI[sha256sum] = "1861e358fa86b9ec12557d3c3f3e583e1ee01a0984453a8278065d877ac337bc"

 DEPENDS = "elfutils"
 RDEPENDS_${PN} = "elfutils"
-SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \
+SRC_URI = "<https://outlook.office.com/owa/projection.aspx>https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-archive.debian.org%2Fgit%2Fltrace%2Fltrace.git.tar.xz%3Bprotocol%3Dhttps&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7C347770e9f8584b568ce308d607645a95%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636704524933749233&amp;sdata=hkHcRZwBjJK6Ekamo6%2Ftyxd3ihVg7o%2BNJybRa4q4A1U%3D&amp;reserved=0 \
+           file://add-support-for-old-source-commit-SHA-c22d359433.patch<file://add-support-for-old-source-commit-sha-c22d359433.patch/> \
            file://configure-allow-to-disable-selinux-support.patch<file://configure-allow-to-disable-selinux-support.patch/> \
            file://0001-replace-readdir_r-with-readdir.patch<file://0001-replace-readdir_r-with-readdir.patch/> \
            file://0001-Use-correct-enum-type.patch<file://0001-use-correct-enum-type.patch/> \
@@ -34,6 +38,15 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
 PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"

+do_unpack_extra () {
+    if [ -d "${WORKDIR}/ltrace.git" ]; then
+    git clone ${WORKDIR}/ltrace.git ${S}
+    rm -rf ${WORKDIR}/ltrace.git
+    fi
+}
+
+addtask unpack_extra after do_unpack before do_patch
+
 do_configure_prepend () {
     ( cd ${S}; ./autogen.sh )
 }
--
2.7.4



Regards,
Aditya Tayade

________________________________
From: Khem Raj <raj.khem at gmail.com>
Sent: Sunday, August 19, 2018 7:11 AM
To: Mikko Rapeli
Cc: Aditya Tayade; openembeded-devel
Subject: Re: [oe] [meta-oe][PATCH] ltrace: added alternate source

On Tue, Aug 14, 2018 at 12:51 AM <Mikko.Rapeli at bmw.de> wrote:
>
> On Mon, Aug 13, 2018 at 11:23:49AM -0700, Khem Raj wrote:
> > On Mon, Aug 13, 2018 at 5:37 AM Aditya Tayade <Aditya.Tayade at kpit.com> wrote:
> > >
> > > 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.xz&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7Ca9ad52fd592b47f1d95608d60574f380%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636702397206314449&amp;sdata=ApcL5B62ML7JWH%2FcIAD37xOhgma87bPuPnWt8herFZc%3D&amp;reserved=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.
> > >
> >
> > it might be better to push a repo from
> > https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Falioth-archive.debian.org%2Fgit%2Fltrace%2Fltrace.git.tar.xz&amp;data=02%7C01%7CAditya.Tayade%40kpit.com%7Ca9ad52fd592b47f1d95608d60574f380%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C636702397206314449&amp;sdata=ApcL5B62ML7JWH%2FcIAD37xOhgma87bPuPnWt8herFZc%3D&amp;reserved=0 into
> > github or some place. Have we asked the debian salsa migration team if
> > this is planned for migration at all ?
>
> Yes, but hosting the git repo feels like taking over maintenance of it too.
>

we might have to do that if we depend on it and no one else cares regardless

> This patch enables building ltrace from poky master and sumo again without
> ltrace sources in download caches. Thus I would take it.
>

I gave it a try and it failed in patching

Applying patch add-support-for-old-source-commit-SHA-c22d359433.patch
patching file sysdeps/linux-gnu/mksyscallent_s390
Hunk #2 FAILED at 37.
1 out of 2 hunks FAILED -- rejects in file sysdeps/linux-gnu/mksyscallent_s390
patching file sysdeps/linux-gnu/s390/syscalls31.h
Hunk #1 FAILED at 35.
Hunk #2 FAILED at 65.
Hunk #3 FAILED at 89.
Hunk #4 FAILED at 108.
Hunk #5 FAILED at 157.
Hunk #6 FAILED at 183.
Hunk #7 FAILED at 201.
Hunk #8 FAILED at 217.
Hunk #9 FAILED at 287.
Hunk #10 FAILED at 306.
Hunk #11 FAILED at 329.
11 out of 11 hunks FAILED -- rejects in file sysdeps/linux-gnu/s390/syscalls31.h
patching file sysdeps/linux-gnu/s390/syscalls64.h
Hunk #1 FAILED at 41.
Hunk #2 FAILED at 109.
Hunk #3 FAILED at 188.
Hunk #4 FAILED at 287.
Hunk #5 FAILED at 306.
Hunk #6 FAILED at 329.
6 out of 6 hunks FAILED -- rejects in file sysdeps/linux-gnu/s390/syscalls64.h
Patch add-support-for-old-source-commit-SHA-c22d359433.patch does not
apply (enforce with -f)



> -Mikko
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.



More information about the Openembedded-devel mailing list