基于YOCTO生成补丁的例子-libgpg-error.log 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$
  2. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$
  3. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$ devtool modify libgpg-error
  4. NOTE: Starting bitbake server...
  5. INFO: Creating workspace layer in /home/lqg/al_yocto/riscv_yocto/thead-build/ice-base/workspace
  6. NOTE: Reconnecting to bitbake server...
  7. NOTE: Retrying server connection (#1)...
  8. NOTE: Reconnecting to bitbake server...
  9. NOTE: Previous bitbake instance shutting down?, waiting to retry...
  10. NOTE: Retrying server connection (#2)...
  11. Loading cache: 100% |#############################################################################################################################################################| Time: 0:00:00
  12. Loaded 3515 entries from dependency cache.
  13. Parsing recipes: 100% |###########################################################################################################################################################| Time: 0:00:00
  14. Parsing of 2315 .bb files complete (2313 cached, 2 parsed). 3517 targets, 181 skipped, 0 masked, 0 errors.
  15. NOTE: Resolving any missing task queue dependencies
  16. Build Configuration:
  17. BB_VERSION = "1.48.0"
  18. BUILD_SYS = "x86_64-linux"
  19. NATIVELSBSTRING = "universal"
  20. TARGET_SYS = "csky-oe-linux"
  21. MACHINE = "ice"
  22. DISTRO = "nodistro"
  23. DISTRO_VERSION = "nodistro.0"
  24. TUNE_FEATURES = "csky32"
  25. EXTERNAL_TOOLCHAIN = "/home/lqg/.thead/csky-linux"
  26. EXTERNAL_TARGET_SYS = "csky-linux"
  27. GCC_VERSION = "6.3.0"
  28. meta = "HEAD:0d9ec240e420b655c39612230854fd0a60912690"
  29. meta-oe
  30. meta-python
  31. meta-multimedia
  32. meta-networking = "HEAD:6af67ea926f7a418be97726eea9cf178c725b7a9"
  33. meta-external-toolchain = "HEAD:933f57e865ca0ac56c69adbb984d5e68dc068683"
  34. meta-arch = "master:47fb319ed3e6fd9eda4f4825bd6fe4b4c9546ffe"
  35. workspace = "HEAD:76a551494f1674733fc682d0622ed3b5839d5f67"
  36. Initialising tasks: 100% |########################################################################################################################################################| Time: 0:00:01
  37. Sstate summary: Wanted 0 Found 0 Missed 0 Current 10 (0% match, 100% complete)
  38. NOTE: Executing Tasks
  39. No currently running tasks (80 of 83) 95% |############################################################################################################################################ |
  40. Currently 1 running tasks (82 of 83) 97% |################################################################################################################################################ |
  41. 0: libgpg-error-1.39-r0 do_unpack - 0s (pid 16395)
  42. NOTE: Tasks Summary: Attempted 83 tasks of which 80 didn't need to be rerun and all succeeded.
  43. NOTE: Writing buildhistory
  44. NOTE: Writing buildhistory took: 1 seconds
  45. INFO: Source tree extracted to /home/lqg/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error
  46. INFO: Recipe libgpg-error now set up to build from /home/lqg/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error
  47. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$
  48. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$
  49. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$ ls
  50. bitbake-cookerdaemon.log buildhistory cache conf README.md tmp-glibc workspace
  51. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base$ cd /home/lqg/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error
  52. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ ls
  53. ABOUT-NLS autogen.rc ChangeLog configure COPYING INSTALL libgpg-error.spec.in Makefile.in po src VERSION
  54. aclocal.m4 autogen.sh ChangeLog-2011 configure.ac COPYING.LIB lang m4 mkinstalldirs potomo tests
  55. AUTHORS build-aux config.h.in contrib doc libgpg-error.spec Makefile.am NEWS README THANKS
  56. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ cd src/
  57. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error/src$ ls
  58. argparse.c err-sources.h.in gpg-error-config.in gpgrt-config Makefile.in posix-lock.c stringutils.c visibility.c w32-reg.c
  59. b64dec.c estream.c gpg-error-config-test.sh gpgrt-config.in mkerrcodes1.awk posix-lock-obj.h strsource.c visibility.h w32-thread.c
  60. b64enc.c estream-printf.c gpg-error-config-test.sh.in gpgrt-int.h mkerrcodes2.awk posix-thread.c strsource-sym.c w32-add.h
  61. code-from-errno.c estream-printf.h gpg-error.def.in gpgrt.m4 mkerrcodes.awk protos.h syscall-clamp.c w32ce-add.h
  62. code-to-errno.c gen-lock-obj.sh gpg-error.h.in init.c mkerrcodes.c README syscfg w32-estream.c
  63. err-codes.h gen-posix-lock-obj.c gpg-error.m4 init.h mkerrnos.awk spawn-posix.c sysutils.c w32-gettext.c
  64. err-codes.h.in gen-w32-lock-obj.c gpg-error.pc.in lock.h mkheader.c spawn-w32.c thread.h w32-iconv.c
  65. errnos.in gettext.h gpg-error.vers logging.c mkstrtable.awk strerror.c version.c w32-lock.c
  66. err-sources.h gpg-error.c gpg-error.w32-manifest.in Makefile.am mkw32errmap.c strerror-sym.c versioninfo.rc.in w32-lock-obj.h
  67. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error/src$ cd syscfg/
  68. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error/src/syscfg$ ls
  69. lock-obj-pub.aarch64-apple-darwin.h lock-obj-pub.i686-unknown-kfreebsd-gnu.h lock-obj-pub.or1k-unknown-linux-gnu.h lock-obj-pub.sparc64-unknown-linux-gnu.h
  70. lock-obj-pub.aarch64-unknown-linux-gnu.h lock-obj-pub.i686-unknown-linux-gnu.h lock-obj-pub.powerpc64le-unknown-linux-gnu.h lock-obj-pub.sparc-unknown-linux-gnu.h
  71. lock-obj-pub.aarch64-unknown-linux-gnu_ilp32.h lock-obj-pub.ia64-unknown-linux-gnu.h lock-obj-pub.powerpc64-unknown-linux-gnu.h lock-obj-pub.tilegx-unknown-linux-gnu.h
  72. lock-obj-pub.alpha-unknown-linux-gnu.h lock-obj-pub.m68k-unknown-linux-gnu.h lock-obj-pub.powerpc-unknown-linux-gnu.h lock-obj-pub.x86_64-apple-darwin.h
  73. lock-obj-pub.arm-apple-darwin.h lock-obj-pub.mingw32.h lock-obj-pub.powerpc-unknown-linux-gnuspe.h lock-obj-pub.x86_64-unknown-kfreebsd-gnu.h
  74. lock-obj-pub.arm-unknown-linux-androideabi.h lock-obj-pub.mips64el-unknown-linux-gnuabi64.h lock-obj-pub.riscv32-unknown-linux-gnu.h lock-obj-pub.x86_64-unknown-linux-gnu.h
  75. lock-obj-pub.arm-unknown-linux-gnueabi.h lock-obj-pub.mips64-unknown-linux-gnuabi64.h lock-obj-pub.riscv64-unknown-linux-gnu.h lock-obj-pub.x86_64-unknown-linux-gnux32.h
  76. lock-obj-pub.hppa-unknown-linux-gnu.h lock-obj-pub.mipsel-unknown-linux-gnu.h lock-obj-pub.s390x-unknown-linux-gnu.h lock-obj-pub.x86_64-unknown-linux-musl.h
  77. lock-obj-pub.i386-apple-darwin.h lock-obj-pub.mips-unknown-linux-gnu.h lock-obj-pub.sh3-unknown-linux-gnu.h
  78. lock-obj-pub.i686-unknown-gnu.h lock-obj-pub.nios2-unknown-linux-gnu.h lock-obj-pub.sh4-unknown-linux-gnu.h
  79. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error/src/syscfg$ cp lock-obj-pub.riscv32-unknown-linux-gnu.h lock-obj-pub.csky-unknown-linux-gnu.h
  80. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error/src/syscfg$ cd ../../
  81. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ ls
  82. ABOUT-NLS autogen.rc ChangeLog configure COPYING INSTALL libgpg-error.spec.in Makefile.in po src VERSION
  83. aclocal.m4 autogen.sh ChangeLog-2011 configure.ac COPYING.LIB lang m4 mkinstalldirs potomo tests
  84. AUTHORS build-aux config.h.in contrib doc libgpg-error.spec Makefile.am NEWS README THANKS
  85. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ git status .
  86. On branch devtool
  87. Untracked files:
  88. (use "git add <file>..." to include in what will be committed)
  89. src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h
  90. nothing added to commit but untracked files present (use "git add" to track)
  91. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ git add src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h
  92. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ git commit -m "append csky header file"
  93. [devtool f743da5] append csky header file
  94. 1 file changed, 23 insertions(+)
  95. create mode 100644 src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h
  96. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  97. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  98. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ devtool update-recipe -a ~/al_yocto/riscv_yocto/meta-csky/ libgpg-error
  99. NOTE: Starting bitbake server...
  100. NOTE: Reconnecting to bitbake server...
  101. NOTE: Retrying server connection (#1)...
  102. NOTE: Reconnecting to bitbake server...
  103. NOTE: Previous bitbake instance shutting down?, waiting to retry...
  104. NOTE: Retrying server connection (#2)...
  105. Loading cache: 100% |#############################################################################################################################################################| Time: 0:00:00
  106. Loaded 3516 entries from dependency cache.
  107. Parsing recipes: 100% |###########################################################################################################################################################| Time: 0:00:00
  108. Parsing of 2315 .bb files complete (2313 cached, 2 parsed). 3517 targets, 181 skipped, 0 masked, 0 errors.
  109. WARNING: Specified layer is not currently enabled in bblayers.conf, you will need to add it before this bbappend will be active
  110. NOTE: Writing append file /home/lqg/al_yocto/riscv_yocto/meta-csky/recipes-support/libgpg-error/libgpg-error_1.39.bbappend
  111. NOTE: Copying 0001-append-csky-header-file.patch to /home/lqg/al_yocto/riscv_yocto/meta-csky/recipes-support/libgpg-error/libgpg-error/0001-append-csky-header-file.patch
  112. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  113. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  114. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  115. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ cat /home/lqg/al_yocto/riscv_yocto/meta-csky/recipes-support/libgpg-error/libgpg-error_1.39.bbappend
  116. FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
  117. SRC_URI += "file://0001-append-csky-header-file.patch"
  118. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ cat /home/lqg/al_yocto/riscv_yocto/meta-csky/recipes-support/libgpg-error/libgpg-error/0001-append-csky-header-file.patch
  119. From f743da5f62f770d76ea14b8fc611290a3b067c1c Mon Sep 17 00:00:00 2001
  120. From: tianshuliang <tian_shuliang@hoperun.com>
  121. Date: Sat, 24 Apr 2021 21:20:53 +0800
  122. Subject: [PATCH] append csky header file
  123. ---
  124. .../lock-obj-pub.csky-unknown-linux-gnu.h | 23 +++++++++++++++++++
  125. 1 file changed, 23 insertions(+)
  126. create mode 100644 src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h
  127. diff --git a/src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h
  128. new file mode 100644
  129. index 0000000..b5bdaf5
  130. --- /dev/null
  131. +++ b/src/syscfg/lock-obj-pub.csky-unknown-linux-gnu.h
  132. @@ -0,0 +1,23 @@
  133. +## lock-obj-pub.riscv32-unknown-linux-gnu.h
  134. +## File created by gen-posix-lock-obj - DO NOT EDIT
  135. +## To be included by mkheader into gpg-error.h
  136. +
  137. +typedef struct
  138. +{
  139. + long _vers;
  140. + union {
  141. + volatile char _priv[24];
  142. + long _x_align;
  143. + long *_xp_align;
  144. + } u;
  145. +} gpgrt_lock_t;
  146. +
  147. +#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
  148. + 0,0,0,0,0,0,0,0, \
  149. + 0,0,0,0,0,0,0,0}}}
  150. +##
  151. +## Local Variables:
  152. +## mode: c
  153. +## buffer-read-only: t
  154. +## End:
  155. +##
  156. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  157. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  158. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$
  159. lqg@etgserver:~/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error$ devtool reset libgpg-error
  160. NOTE: Starting bitbake server...
  161. INFO: Cleaning sysroot for recipe libgpg-error...
  162. INFO: Leaving source tree /home/lqg/al_yocto/riscv_yocto/thead-build/ice-base/workspace/sources/libgpg-error as-is; if you no longer need it then please delete it manually