作者 Anonymous [text] 2016-12-05 16:08 (点击下载)

  1. dpkg-buildpackage: info: source package demo
  2. dpkg-buildpackage: info: source version 0.0.1-1
  3. dpkg-buildpackage: info: source distribution unstable
  4. dpkg-buildpackage: info: source changed by Tang Hui <duriantang@gmail.com>
  5. dpkg-source --before-build demo
  6. fakeroot debian/rules clean
  7. dh clean
  8. dh_testdir
  9. dh_auto_clean
  10. dh_clean
  11. dpkg-source -b demo
  12. dpkg-source: info: using source format '3.0 (quilt)'
  13. dpkg-source: info: building demo using existing ./demo_0.0.1.orig.tar.xz
  14. dpkg-source: info: building demo in demo_0.0.1-1.debian.tar.xz
  15. dpkg-source: info: building demo in demo_0.0.1-1.dsc
  16. dpkg-genbuildinfo --build=source
  17. dpkg-genchanges --build=source >../demo_0.0.1-1_source.changes
  18. dpkg-genchanges: info: including full source code in upload
  19. dpkg-source --after-build demo
  20. dpkg-buildpackage: info: full upload (original source is included)
  21. W: /home/duriantang/.pbuilderrc does not exist
  22. I: using fakeroot in build.
  23. I: pbuilder: network access will be disabled during build
  24. I: Current time: Mon Dec 5 16:06:30 CST 2016
  25. I: pbuilder-time-stamp: 1480925190
  26. I: Building the build Environment
  27. I: extracting base tarball [/var/cache/pbuilder/base.tgz]
  28. I: copying local configuration
  29. I: mounting /proc filesystem
  30. I: mounting /sys filesystem
  31. I: mounting /run/shm filesystem
  32. I: mounting /dev/pts filesystem
  33. I: policy-rc.d already exists
  34. I: Obtaining the cached apt archive contents
  35. I: Copying source file
  36. I: copying [../demo_0.0.1-1.dsc]
  37. I: copying [../demo_0.0.1.orig.tar.xz]
  38. I: copying [../demo_0.0.1-1.debian.tar.xz]
  39. I: Extracting source
  40. dpkg-source: warning: extracting unsigned source package (demo_0.0.1-1.dsc)
  41. dpkg-source: info: extracting demo in demo-0.0.1
  42. dpkg-source: info: unpacking demo_0.0.1.orig.tar.xz
  43. dpkg-source: info: unpacking demo_0.0.1-1.debian.tar.xz
  44. dpkg-source: info: applying 01.upate_Makefile
  45. dpkg-source: info: applying 02.add-id
  46. dpkg-source: info: applying 03.add-ls
  47. I: Installing the build-deps
  48. -> Attempting to satisfy build-dependencies
  49. -> Creating pbuilder-satisfydepends-dummy package
  50. Package: pbuilder-satisfydepends-dummy
  51. Version: 0.invalid.0
  52. Architecture: amd64
  53. Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
  54. Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
  55. This package was created automatically by pbuilder to satisfy the
  56. build-dependencies of the package being currently built.
  57. Depends: debhelper (>= 9)
  58. dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
  59. Selecting previously unselected package pbuilder-satisfydepends-dummy.
  60. (Reading database ... 11621 files and directories currently installed.)
  61. Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
  62. Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
  63. dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
  64. pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however:
  65. Package debhelper is not installed.
  66.  
  67. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
  68. Reading package lists...
  69. Building dependency tree...
  70. Reading state information...
  71. Initializing package states...
  72. Writing extended state information...
  73. Building tag database...
  74. pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
  75. pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
  76. The following NEW packages will be installed:
  77. autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libffi6{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu57{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsigsegv2{a} libtimedate-perl{a} libtool{a} libunistring0{a} libxml2{a} m4{a} man-db{a} po-debconf{a}
  78. The following packages are RECOMMENDED but will NOT be installed:
  79. curl libglib2.0-data libltdl-dev libmail-sendmail-perl lynx-cur shared-mime-info wget xdg-user-dirs xml-core
  80. 0 packages upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
  81. Need to get 0 B/19.9 MB of archives. After unpacking 67.5 MB will be used.
  82. Writing extended state information...
  83. debconf: delaying package configuration, since apt-utils is not installed
  84. Selecting previously unselected package groff-base.
  85. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11621 files and directories currently installed.)
  86. Preparing to unpack .../00-groff-base_1.22.3-8_amd64.deb ...
  87. Unpacking groff-base (1.22.3-8) ...
  88. Selecting previously unselected package libbsd0:amd64.
  89. Preparing to unpack .../01-libbsd0_0.8.3-1_amd64.deb ...
  90. Unpacking libbsd0:amd64 (0.8.3-1) ...
  91. Selecting previously unselected package bsdmainutils.
  92. Preparing to unpack .../02-bsdmainutils_9.0.12_amd64.deb ...
  93. Unpacking bsdmainutils (9.0.12) ...
  94. Selecting previously unselected package libpipeline1:amd64.
  95. Preparing to unpack .../03-libpipeline1_1.4.1-2_amd64.deb ...
  96. Unpacking libpipeline1:amd64 (1.4.1-2) ...
  97. Selecting previously unselected package man-db.
  98. Preparing to unpack .../04-man-db_2.7.5-2_amd64.deb ...
  99. Unpacking man-db (2.7.5-2) ...
  100. Selecting previously unselected package libmagic-mgc.
  101. Preparing to unpack .../05-libmagic-mgc_1%3a5.29-1_amd64.deb ...
  102. Unpacking libmagic-mgc (1:5.29-1) ...
  103. Selecting previously unselected package libmagic1:amd64.
  104. Preparing to unpack .../06-libmagic1_1%3a5.29-1_amd64.deb ...
  105. Unpacking libmagic1:amd64 (1:5.29-1) ...
  106. Selecting previously unselected package file.
  107. Preparing to unpack .../07-file_1%3a5.29-1_amd64.deb ...
  108. Unpacking file (1:5.29-1) ...
  109. Selecting previously unselected package gettext-base.
  110. Preparing to unpack .../08-gettext-base_0.19.8.1-1_amd64.deb ...
  111. Unpacking gettext-base (0.19.8.1-1) ...
  112. Selecting previously unselected package libicu57:amd64.
  113. Preparing to unpack .../09-libicu57_57.1-5_amd64.deb ...
  114. Unpacking libicu57:amd64 (57.1-5) ...
  115. Selecting previously unselected package libxml2:amd64.
  116. Preparing to unpack .../10-libxml2_2.9.4+dfsg1-2.1_amd64.deb ...
  117. Unpacking libxml2:amd64 (2.9.4+dfsg1-2.1) ...
  118. Selecting previously unselected package libsigsegv2:amd64.
  119. Preparing to unpack .../11-libsigsegv2_2.10-5_amd64.deb ...
  120. Unpacking libsigsegv2:amd64 (2.10-5) ...
  121. Selecting previously unselected package m4.
  122. Preparing to unpack .../12-m4_1.4.17-5_amd64.deb ...
  123. Unpacking m4 (1.4.17-5) ...
  124. Selecting previously unselected package autoconf.
  125. Preparing to unpack .../13-autoconf_2.69-10_all.deb ...
  126. Unpacking autoconf (2.69-10) ...
  127. Selecting previously unselected package autotools-dev.
  128. Preparing to unpack .../14-autotools-dev_20161112.1_all.deb ...
  129. Unpacking autotools-dev (20161112.1) ...
  130. Selecting previously unselected package automake.
  131. Preparing to unpack .../15-automake_1%3a1.15-5_all.deb ...
  132. Unpacking automake (1:1.15-5) ...
  133. Selecting previously unselected package autopoint.
  134. Preparing to unpack .../16-autopoint_0.19.8.1-1_all.deb ...
  135. Unpacking autopoint (0.19.8.1-1) ...
  136. Selecting previously unselected package libtool.
  137. Preparing to unpack .../17-libtool_2.4.6-2_all.deb ...
  138. Unpacking libtool (2.4.6-2) ...
  139. Selecting previously unselected package dh-autoreconf.
  140. Preparing to unpack .../18-dh-autoreconf_12_all.deb ...
  141. Unpacking dh-autoreconf (12) ...
  142. Selecting previously unselected package libarchive-zip-perl.
  143. Preparing to unpack .../19-libarchive-zip-perl_1.59-1_all.deb ...
  144. Unpacking libarchive-zip-perl (1.59-1) ...
  145. Selecting previously unselected package libfile-stripnondeterminism-perl.
  146. Preparing to unpack .../20-libfile-stripnondeterminism-perl_0.028-1_all.deb ...
  147. Unpacking libfile-stripnondeterminism-perl (0.028-1) ...
  148. Selecting previously unselected package libtimedate-perl.
  149. Preparing to unpack .../21-libtimedate-perl_2.3000-2_all.deb ...
  150. Unpacking libtimedate-perl (2.3000-2) ...
  151. Selecting previously unselected package dh-strip-nondeterminism.
  152. Preparing to unpack .../22-dh-strip-nondeterminism_0.028-1_all.deb ...
  153. Unpacking dh-strip-nondeterminism (0.028-1) ...
  154. Selecting previously unselected package libffi6:amd64.
  155. Preparing to unpack .../23-libffi6_3.2.1-6_amd64.deb ...
  156. Unpacking libffi6:amd64 (3.2.1-6) ...
  157. Selecting previously unselected package libglib2.0-0:amd64.
  158. Preparing to unpack .../24-libglib2.0-0_2.50.2-2_amd64.deb ...
  159. Unpacking libglib2.0-0:amd64 (2.50.2-2) ...
  160. Selecting previously unselected package libcroco3:amd64.
  161. Preparing to unpack .../25-libcroco3_0.6.11-2_amd64.deb ...
  162. Unpacking libcroco3:amd64 (0.6.11-2) ...
  163. Selecting previously unselected package libunistring0:amd64.
  164. Preparing to unpack .../26-libunistring0_0.9.6+really0.9.3-0.1_amd64.deb ...
  165. Unpacking libunistring0:amd64 (0.9.6+really0.9.3-0.1) ...
  166. Selecting previously unselected package gettext.
  167. Preparing to unpack .../27-gettext_0.19.8.1-1_amd64.deb ...
  168. Unpacking gettext (0.19.8.1-1) ...
  169. Selecting previously unselected package intltool-debian.
  170. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.4_all.deb ...
  171. Unpacking intltool-debian (0.35.0+20060710.4) ...
  172. Selecting previously unselected package po-debconf.
  173. Preparing to unpack .../29-po-debconf_1.0.20_all.deb ...
  174. Unpacking po-debconf (1.0.20) ...
  175. Selecting previously unselected package debhelper.
  176. Preparing to unpack .../30-debhelper_10.2.2_all.deb ...
  177. Unpacking debhelper (10.2.2) ...
  178. Setting up libarchive-zip-perl (1.59-1) ...
  179. Setting up libtimedate-perl (2.3000-2) ...
  180. Setting up libsigsegv2:amd64 (2.10-5) ...
  181. Setting up groff-base (1.22.3-8) ...
  182. Setting up gettext-base (0.19.8.1-1) ...
  183. Setting up libpipeline1:amd64 (1.4.1-2) ...
  184. Setting up m4 (1.4.17-5) ...
  185. Setting up libicu57:amd64 (57.1-5) ...
  186. Setting up libbsd0:amd64 (0.8.3-1) ...
  187. Setting up libxml2:amd64 (2.9.4+dfsg1-2.1) ...
  188. Setting up libmagic-mgc (1:5.29-1) ...
  189. Setting up libmagic1:amd64 (1:5.29-1) ...
  190. Processing triggers for libc-bin (2.24-7) ...
  191. Setting up autotools-dev (20161112.1) ...
  192. Setting up libunistring0:amd64 (0.9.6+really0.9.3-0.1) ...
  193. Setting up libffi6:amd64 (3.2.1-6) ...
  194. Setting up bsdmainutils (9.0.12) ...
  195. update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
  196. update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
  197. Setting up autopoint (0.19.8.1-1) ...
  198. Setting up libfile-stripnondeterminism-perl (0.028-1) ...
  199. Setting up libglib2.0-0:amd64 (2.50.2-2) ...
  200. No schema files found: doing nothing.
  201. Setting up autoconf (2.69-10) ...
  202. Setting up file (1:5.29-1) ...
  203. Setting up libcroco3:amd64 (0.6.11-2) ...
  204. Setting up automake (1:1.15-5) ...
  205. update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
  206. Setting up man-db (2.7.5-2) ...
  207. Building database of manual pages ...
  208. Setting up libtool (2.4.6-2) ...
  209. Setting up gettext (0.19.8.1-1) ...
  210. Setting up intltool-debian (0.35.0+20060710.4) ...
  211. Setting up po-debconf (1.0.20) ...
  212. Setting up dh-autoreconf (12) ...
  213. Setting up debhelper (10.2.2) ...
  214. Setting up dh-strip-nondeterminism (0.028-1) ...
  215. Processing triggers for libc-bin (2.24-7) ...
  216. Reading package lists...
  217. Building dependency tree...
  218. Reading state information...
  219. Reading extended state information...
  220. Initializing package states...
  221. Writing extended state information...
  222. Building tag database...
  223. -> Finished parsing the build-deps
  224. Reading package lists...
  225. Building dependency tree...
  226. Reading state information...
  227. The following additional packages will be installed:
  228. libfakeroot
  229. The following NEW packages will be installed:
  230. fakeroot libfakeroot
  231. debconf: delaying package configuration, since apt-utils is not installed
  232. 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  233. Need to get 0 B/131 kB of archives.
  234. After this operation, 374 kB of additional disk space will be used.
  235. Selecting previously unselected package libfakeroot:amd64.
  236. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 13555 files and directories currently installed.)
  237. Preparing to unpack .../0-libfakeroot_1.21-3_amd64.deb ...
  238. Unpacking libfakeroot:amd64 (1.21-3) ...
  239. Selecting previously unselected package fakeroot.
  240. Preparing to unpack .../1-fakeroot_1.21-3_amd64.deb ...
  241. Unpacking fakeroot (1.21-3) ...
  242. Processing triggers for libc-bin (2.24-7) ...
  243. Setting up libfakeroot:amd64 (1.21-3) ...
  244. Processing triggers for man-db (2.7.5-2) ...
  245. Setting up fakeroot (1.21-3) ...
  246. update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
  247. Processing triggers for libc-bin (2.24-7) ...
  248. I: Copying back the cached apt archive contents
  249. I: Building the package
  250. I: Running cd /build/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot
  251. dpkg-buildpackage: info: source package demo
  252. dpkg-buildpackage: info: source version 0.0.1-1
  253. dpkg-buildpackage: info: source distribution unstable
  254. dpkg-buildpackage: info: source changed by Tang Hui <duriantang@gmail.com>
  255. dpkg-source --before-build demo-0.0.1
  256. dpkg-buildpackage: info: host architecture amd64
  257. fakeroot debian/rules clean
  258. dh clean
  259. dh_testdir
  260. dh_auto_clean
  261. dh_clean
  262. dpkg-source -b demo-0.0.1
  263. dpkg-source: info: using source format '3.0 (quilt)'
  264. dpkg-source: info: building demo using existing ./demo_0.0.1.orig.tar.xz
  265. dpkg-source: info: building demo in demo_0.0.1-1.debian.tar.xz
  266. dpkg-source: info: building demo in demo_0.0.1-1.dsc
  267. debian/rules build
  268. dh build
  269. dh_testdir
  270. dh_update_autotools_config
  271. dh_auto_configure
  272. dh_auto_build
  273. make -j1
  274. make[1]: Entering directory '/build/demo-0.0.1'
  275. id
  276. uid=1234(pbuilder) gid=1234(pbuilder) groups=1234(pbuilder)
  277. ls -ld /opt
  278. drwxr-xr-x 2 root root 4096 Dec 5 07:26 /opt
  279. install -d /opt
  280. install -d /opt/dpkg
  281. install: cannot change permissions of '/opt/dpkg': No such file or directory
  282. Makefile:2: recipe for target 'install' failed
  283. make[1]: *** [install] Error 1
  284. make[1]: Leaving directory '/build/demo-0.0.1'
  285. dh_auto_build: make -j1 returned exit code 2
  286. debian/rules:18: recipe for target 'build' failed
  287. make: *** [build] Error 2
  288. dpkg-buildpackage: error: debian/rules build gave error exit status 2
  289. I: copying local configuration
  290. E: Failed autobuilding of package
  291. I: unmounting dev/pts filesystem
  292. I: unmounting run/shm filesystem
  293. I: unmounting proc filesystem
  294. I: unmounting sys filesystem
  295. I: cleaning the build env 
  296. I: removing directory /var/cache/pbuilder/build/12605 and its subdirectories
  297.  

提交下面的校正或者修改. (点击这里开始一个新的帖子)
姓名: 在 cookie 中记住我的名字

屏幕抓图:(jpeg 或 png)