aleksandar2810

Untitled

Sep 4th, 2018
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.12 KB | None | 0 0
  1. + export TEXTDOMAIN=pacman-scripts
  2. + TEXTDOMAIN=pacman-scripts
  3. + export TEXTDOMAINDIR=/usr/share/locale
  4. + TEXTDOMAINDIR=/usr/share/locale
  5. + export COMMAND_MODE=legacy
  6. + COMMAND_MODE=legacy
  7. + unset CDPATH
  8. + unset GREP_OPTIONS
  9. + declare -r makepkg_version=5.1.1
  10. + declare -r confdir=/etc
  11. + declare -r BUILDSCRIPT=PKGBUILD
  12. ++ pwd -P
  13. + declare -r startdir=/home/alek/aurman
  14. + LIBRARY=/usr/share/makepkg
  15. + build_options=('ccache' 'distcc' 'buildflags' 'makeflags')
  16. + splitpkg_overrides=('pkgdesc' 'arch' 'url' 'license' 'groups' 'depends' 'optdepends' 'provides' 'conflicts' 'replaces' 'backup' 'options' 'install' 'changelog')
  17. + readonly -a build_options splitpkg_overrides
  18. + known_hash_algos=('md5' 'sha1' 'sha224' 'sha256' 'sha384' 'sha512' 'whirlpool')
  19. + ASDEPS=0
  20. + BUILDFUNC=0
  21. + CHECKFUNC=0
  22. + CLEANBUILD=0
  23. + CLEANUP=0
  24. + DEP_BIN=0
  25. + FORCE=0
  26. + GENINTEG=0
  27. + HOLDVER=0
  28. + IGNOREARCH=0
  29. + INFAKEROOT=0
  30. + INSTALL=0
  31. + LOGGING=0
  32. + NEEDED=0
  33. + NOARCHIVE=0
  34. + NOBUILD=0
  35. + NODEPS=0
  36. + NOEXTRACT=0
  37. + PKGFUNC=0
  38. + PKGVERFUNC=0
  39. + PREPAREFUNC=0
  40. + REPKG=0
  41. + REPRODUCIBLE=0
  42. + RMDEPS=0
  43. + SKIPCHECKSUMS=0
  44. + SKIPPGPCHECK=0
  45. + SIGNPKG=
  46. + SPLITPKG=0
  47. + SOURCEONLY=0
  48. + VERIFYSOURCE=0
  49. + [[ -n '' ]]
  50. ++ date +%s
  51. + SOURCE_DATE_EPOCH=1536084205
  52. + export SOURCE_DATE_EPOCH
  53. + PACMAN_OPTS=()
  54. + shopt -s extglob
  55. + for lib in "$LIBRARY"/*.sh
  56. + source /usr/share/makepkg/integrity.sh
  57. ++ [[ -n '' ]]
  58. ++ LIBMAKEPKG_INTEGRITY_SH=1
  59. ++ LIBRARY=/usr/share/makepkg
  60. ++ source /usr/share/makepkg/util/message.sh
  61. +++ [[ -n '' ]]
  62. +++ LIBMAKEPKG_UTIL_MESSAGE_SH=1
  63. ++ for lib in "$LIBRARY/integrity/"*.sh
  64. ++ source /usr/share/makepkg/integrity/generate_checksum.sh
  65. +++ [[ -n '' ]]
  66. +++ LIBMAKEPKG_INTEGRITY_GENERATE_CHECKSUM_SH=1
  67. +++ LIBRARY=/usr/share/makepkg
  68. +++ source /usr/share/makepkg/util/message.sh
  69. ++++ [[ -n 1 ]]
  70. ++++ return
  71. +++ source /usr/share/makepkg/util/pkgbuild.sh
  72. ++++ [[ -n '' ]]
  73. ++++ LIBMAKEPKG_UTIL_PKGBUILD_SH=1
  74. ++ for lib in "$LIBRARY/integrity/"*.sh
  75. ++ source /usr/share/makepkg/integrity/generate_signature.sh
  76. +++ [[ -n '' ]]
  77. +++ LIBMAKEPKG_INTEGRITY_GENERATE_SIGNATURE_SH=1
  78. +++ LIBRARY=/usr/share/makepkg
  79. +++ source /usr/share/makepkg/util/message.sh
  80. ++++ [[ -n 1 ]]
  81. ++++ return
  82. ++ for lib in "$LIBRARY/integrity/"*.sh
  83. ++ source /usr/share/makepkg/integrity/verify_checksum.sh
  84. +++ [[ -n '' ]]
  85. +++ LIBMAKEPKG_INTEGRITY_CHECKSUM_SH=1
  86. +++ LIBRARY=/usr/share/makepkg
  87. +++ source /usr/share/makepkg/util/message.sh
  88. ++++ [[ -n 1 ]]
  89. ++++ return
  90. +++ source /usr/share/makepkg/util/pkgbuild.sh
  91. ++++ [[ -n 1 ]]
  92. ++++ return
  93. ++ for lib in "$LIBRARY/integrity/"*.sh
  94. ++ source /usr/share/makepkg/integrity/verify_signature.sh
  95. +++ [[ -n '' ]]
  96. +++ LIBMAKEPKG_INTEGRITY_VERIFY_SIGNATURE_SH=1
  97. +++ LIBRARY=/usr/share/makepkg
  98. +++ source /usr/share/makepkg/util/message.sh
  99. ++++ [[ -n 1 ]]
  100. ++++ return
  101. +++ source /usr/share/makepkg/util/pkgbuild.sh
  102. ++++ [[ -n 1 ]]
  103. ++++ return
  104. + for lib in "$LIBRARY"/*.sh
  105. + source /usr/share/makepkg/lint_config.sh
  106. ++ [[ -n '' ]]
  107. ++ LIBMAKEPKG_LINT_CONFIG_SH=1
  108. ++ LIBRARY=/usr/share/makepkg
  109. ++ source /usr/share/makepkg/util/message.sh
  110. +++ [[ -n 1 ]]
  111. +++ return
  112. ++ source /usr/share/makepkg/util/util.sh
  113. +++ [[ -n '' ]]
  114. +++ LIBMAKEPKG_UTIL_UTIL_SH=1
  115. ++ declare -a lint_config_functions
  116. ++ for lib in "$LIBRARY/lint_config/"*.sh
  117. ++ source /usr/share/makepkg/lint_config/paths.sh
  118. +++ [[ -n '' ]]
  119. +++ LIBMAKEPKG_LINT_CONFIG_PATHS_SH=1
  120. +++ LIBRARY=/usr/share/makepkg
  121. +++ source /usr/share/makepkg/util/message.sh
  122. ++++ [[ -n 1 ]]
  123. ++++ return
  124. +++ source /usr/share/makepkg/util/pkgbuild.sh
  125. ++++ [[ -n 1 ]]
  126. ++++ return
  127. +++ lint_config_functions+=('lint_paths')
  128. ++ for lib in "$LIBRARY/lint_config/"*.sh
  129. ++ source /usr/share/makepkg/lint_config/variable.sh
  130. +++ [[ -n '' ]]
  131. +++ LIBMAKEPKG_LINT_CONFIG_VARIABLE_SH=1
  132. +++ LIBRARY=/usr/share/makepkg
  133. +++ source /usr/share/makepkg/util/message.sh
  134. ++++ [[ -n 1 ]]
  135. ++++ return
  136. +++ lint_config_functions+=('lint_variable')
  137. ++ readonly -a lint_config_functions
  138. + for lib in "$LIBRARY"/*.sh
  139. + source /usr/share/makepkg/lint_package.sh
  140. ++ [[ -n '' ]]
  141. ++ LIBMAKEPKG_LINT_PACKAGE_SH=1
  142. ++ LIBRARY=/usr/share/makepkg
  143. ++ source /usr/share/makepkg/util/message.sh
  144. +++ [[ -n 1 ]]
  145. +++ return
  146. ++ source /usr/share/makepkg/util/util.sh
  147. +++ [[ -n 1 ]]
  148. +++ return
  149. ++ declare -a lint_package_functions
  150. ++ for lib in "$LIBRARY/lint_package/"*.sh
  151. ++ source /usr/share/makepkg/lint_package/build_references.sh
  152. +++ [[ -n '' ]]
  153. +++ LIBMAKEPKG_LINT_PACKAGE_BUILD_REFERENCES_SH=1
  154. +++ LIBRARY=/usr/share/makepkg
  155. +++ source /usr/share/makepkg/util/message.sh
  156. ++++ [[ -n 1 ]]
  157. ++++ return
  158. +++ lint_package_functions+=('warn_build_references')
  159. ++ for lib in "$LIBRARY/lint_package/"*.sh
  160. ++ source /usr/share/makepkg/lint_package/dotfiles.sh
  161. +++ [[ -n '' ]]
  162. +++ LIBMAKEPKG_LINT_PACKAGE_DOTFILES_SH=1
  163. +++ LIBRARY=/usr/share/makepkg
  164. +++ source /usr/share/makepkg/util/message.sh
  165. ++++ [[ -n 1 ]]
  166. ++++ return
  167. +++ lint_package_functions+=('check_dotfiles')
  168. ++ for lib in "$LIBRARY/lint_package/"*.sh
  169. ++ source /usr/share/makepkg/lint_package/file_names.sh
  170. +++ [[ -n '' ]]
  171. +++ LIBMAKEPKG_LINT_PACKAGE_FILE_NAMES_SH=1
  172. +++ LIBRARY=/usr/share/makepkg
  173. +++ source /usr/share/makepkg/util/message.sh
  174. ++++ [[ -n 1 ]]
  175. ++++ return
  176. +++ lint_package_functions+=('lint_file_names')
  177. ++ for lib in "$LIBRARY/lint_package/"*.sh
  178. ++ source /usr/share/makepkg/lint_package/missing_backup.sh
  179. +++ [[ -n '' ]]
  180. +++ LIBMAKEPKG_LINT_PACKAGE_MISSING_BACKUP_SH=1
  181. +++ LIBRARY=/usr/share/makepkg
  182. +++ source /usr/share/makepkg/util/message.sh
  183. ++++ [[ -n 1 ]]
  184. ++++ return
  185. +++ lint_package_functions+=('warn_missing_backup')
  186. ++ readonly -a lint_package_functions
  187. + for lib in "$LIBRARY"/*.sh
  188. + source /usr/share/makepkg/lint_pkgbuild.sh
  189. ++ [[ -n '' ]]
  190. ++ LIBMAKEPKG_LINT_PKGBUILD_SH=1
  191. ++ LIBRARY=/usr/share/makepkg
  192. ++ source /usr/share/makepkg/util/message.sh
  193. +++ [[ -n 1 ]]
  194. +++ return
  195. ++ declare -a lint_pkgbuild_functions
  196. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  197. ++ source /usr/share/makepkg/lint_pkgbuild/arch.sh
  198. +++ [[ -n '' ]]
  199. +++ LIBMAKEPKG_LINT_PKGBUILD_ARCH_SH=1
  200. +++ LIBRARY=/usr/share/makepkg
  201. +++ source /usr/share/makepkg/util/message.sh
  202. ++++ [[ -n 1 ]]
  203. ++++ return
  204. +++ source /usr/share/makepkg/util/pkgbuild.sh
  205. ++++ [[ -n 1 ]]
  206. ++++ return
  207. +++ lint_pkgbuild_functions+=('lint_arch')
  208. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  209. ++ source /usr/share/makepkg/lint_pkgbuild/backup.sh
  210. +++ [[ -n '' ]]
  211. +++ LIBMAKEPKG_LINT_PKGBUILD_BACKUP_SH=1
  212. +++ LIBRARY=/usr/share/makepkg
  213. +++ source /usr/share/makepkg/util/message.sh
  214. ++++ [[ -n 1 ]]
  215. ++++ return
  216. +++ source /usr/share/makepkg/util/pkgbuild.sh
  217. ++++ [[ -n 1 ]]
  218. ++++ return
  219. +++ lint_pkgbuild_functions+=('lint_backup')
  220. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  221. ++ source /usr/share/makepkg/lint_pkgbuild/changelog.sh
  222. +++ [[ -n '' ]]
  223. +++ LIBMAKEPKG_LINT_PKGBUILD_CHANGELOG_SH=1
  224. +++ LIBRARY=/usr/share/makepkg
  225. +++ source /usr/share/makepkg/util/message.sh
  226. ++++ [[ -n 1 ]]
  227. ++++ return
  228. +++ source /usr/share/makepkg/util/pkgbuild.sh
  229. ++++ [[ -n 1 ]]
  230. ++++ return
  231. +++ source /usr/share/makepkg/lint_pkgbuild/util.sh
  232. ++++ [[ -n '' ]]
  233. ++++ LIBMAKEPKG_LINT_PKGBUILD_UTIL_SH=1
  234. ++++ LIBRARY=/usr/share/makepkg
  235. ++++ source /usr/share/makepkg/util/message.sh
  236. +++++ [[ -n 1 ]]
  237. +++++ return
  238. +++ lint_pkgbuild_functions+=('lint_changelog')
  239. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  240. ++ source /usr/share/makepkg/lint_pkgbuild/checkdepends.sh
  241. +++ [[ -n '' ]]
  242. +++ LIBMAKEPKG_LINT_PKGBUILD_CHECKDEPENDS_SH=1
  243. +++ LIBRARY=/usr/share/makepkg
  244. +++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  245. ++++ [[ -n '' ]]
  246. ++++ LIBMAKEPKG_LINT_PKGBUILD_PKGNAME_SH=1
  247. ++++ LIBRARY=/usr/share/makepkg
  248. ++++ source /usr/share/makepkg/util/message.sh
  249. +++++ [[ -n 1 ]]
  250. +++++ return
  251. ++++ lint_pkgbuild_functions+=('lint_pkgname')
  252. +++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh
  253. ++++ [[ -n '' ]]
  254. ++++ LIBMAKEPKG_LINT_PKGBUILD_PKGVER_SH=1
  255. ++++ LIBRARY=/usr/share/makepkg
  256. ++++ source /usr/share/makepkg/util/message.sh
  257. +++++ [[ -n 1 ]]
  258. +++++ return
  259. ++++ lint_pkgbuild_functions+=('lint_pkgver')
  260. +++ source /usr/share/makepkg/util/message.sh
  261. ++++ [[ -n 1 ]]
  262. ++++ return
  263. +++ source /usr/share/makepkg/util/pkgbuild.sh
  264. ++++ [[ -n 1 ]]
  265. ++++ return
  266. +++ lint_pkgbuild_functions+=('lint_checkdepends')
  267. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  268. ++ source /usr/share/makepkg/lint_pkgbuild/conflicts.sh
  269. +++ [[ -n '' ]]
  270. +++ LIBMAKEPKG_LINT_PKGBUILD_CONFLICTS_SH=1
  271. +++ LIBRARY=/usr/share/makepkg
  272. +++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  273. ++++ [[ -n 1 ]]
  274. ++++ return
  275. +++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh
  276. ++++ [[ -n 1 ]]
  277. ++++ return
  278. +++ source /usr/share/makepkg/util/message.sh
  279. ++++ [[ -n 1 ]]
  280. ++++ return
  281. +++ source /usr/share/makepkg/util/pkgbuild.sh
  282. ++++ [[ -n 1 ]]
  283. ++++ return
  284. +++ lint_pkgbuild_functions+=('lint_conflicts')
  285. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  286. ++ source /usr/share/makepkg/lint_pkgbuild/depends.sh
  287. +++ [[ -n '' ]]
  288. +++ LIBMAKEPKG_LINT_PKGBUILD_DEPENDS_SH=1
  289. +++ LIBRARY=/usr/share/makepkg
  290. +++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  291. ++++ [[ -n 1 ]]
  292. ++++ return
  293. +++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh
  294. ++++ [[ -n 1 ]]
  295. ++++ return
  296. +++ source /usr/share/makepkg/util/message.sh
  297. ++++ [[ -n 1 ]]
  298. ++++ return
  299. +++ source /usr/share/makepkg/util/pkgbuild.sh
  300. ++++ [[ -n 1 ]]
  301. ++++ return
  302. +++ lint_pkgbuild_functions+=('lint_depends')
  303. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  304. ++ source /usr/share/makepkg/lint_pkgbuild/epoch.sh
  305. +++ [[ -n '' ]]
  306. +++ LIBMAKEPKG_LINT_PKGBUILD_EPOCH_SH=1
  307. +++ LIBRARY=/usr/share/makepkg
  308. +++ source /usr/share/makepkg/util/message.sh
  309. ++++ [[ -n 1 ]]
  310. ++++ return
  311. +++ lint_pkgbuild_functions+=('lint_epoch')
  312. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  313. ++ source /usr/share/makepkg/lint_pkgbuild/install.sh
  314. +++ [[ -n '' ]]
  315. +++ LIBMAKEPKG_LINT_PKGBUILD_INSTALL_SH=1
  316. +++ LIBRARY=/usr/share/makepkg
  317. +++ source /usr/share/makepkg/util/message.sh
  318. ++++ [[ -n 1 ]]
  319. ++++ return
  320. +++ source /usr/share/makepkg/util/pkgbuild.sh
  321. ++++ [[ -n 1 ]]
  322. ++++ return
  323. +++ source /usr/share/makepkg/lint_pkgbuild/util.sh
  324. ++++ [[ -n 1 ]]
  325. ++++ return
  326. +++ lint_pkgbuild_functions+=('lint_install')
  327. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  328. ++ source /usr/share/makepkg/lint_pkgbuild/makedepends.sh
  329. +++ [[ -n '' ]]
  330. +++ LIBMAKEPKG_LINT_PKGBUILD_MAKEDEPENDS_SH=1
  331. +++ LIBRARY=/usr/share/makepkg
  332. +++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  333. ++++ [[ -n 1 ]]
  334. ++++ return
  335. +++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh
  336. ++++ [[ -n 1 ]]
  337. ++++ return
  338. +++ source /usr/share/makepkg/util/message.sh
  339. ++++ [[ -n 1 ]]
  340. ++++ return
  341. +++ source /usr/share/makepkg/util/pkgbuild.sh
  342. ++++ [[ -n 1 ]]
  343. ++++ return
  344. +++ lint_pkgbuild_functions+=('lint_makedepends')
  345. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  346. ++ source /usr/share/makepkg/lint_pkgbuild/optdepends.sh
  347. +++ [[ -n '' ]]
  348. +++ LIBMAKEPKG_LINT_PKGBUILD_OPTDEPENDS_SH=1
  349. +++ LIBRARY=/usr/share/makepkg
  350. +++ source /usr/share/makepkg/util/message.sh
  351. ++++ [[ -n 1 ]]
  352. ++++ return
  353. +++ source /usr/share/makepkg/util/pkgbuild.sh
  354. ++++ [[ -n 1 ]]
  355. ++++ return
  356. +++ lint_pkgbuild_functions+=('lint_optdepends')
  357. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  358. ++ source /usr/share/makepkg/lint_pkgbuild/options.sh
  359. +++ [[ -n '' ]]
  360. +++ LIBMAKEPKG_LINT_PKGBUILD_OPTIONS_SH=1
  361. +++ LIBRARY=/usr/share/makepkg
  362. +++ source /usr/share/makepkg/util/message.sh
  363. ++++ [[ -n 1 ]]
  364. ++++ return
  365. +++ source /usr/share/makepkg/util/pkgbuild.sh
  366. ++++ [[ -n 1 ]]
  367. ++++ return
  368. +++ lint_pkgbuild_functions+=('lint_options')
  369. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  370. ++ source /usr/share/makepkg/lint_pkgbuild/package_function.sh
  371. +++ [[ -n '' ]]
  372. +++ LIBMAKEPKG_LINT_PKGBUILD_PACKAGE_FUNCTION_SH=1
  373. +++ LIBRARY=/usr/share/makepkg
  374. +++ source /usr/share/makepkg/util/message.sh
  375. ++++ [[ -n 1 ]]
  376. ++++ return
  377. +++ source /usr/share/makepkg/util/pkgbuild.sh
  378. ++++ [[ -n 1 ]]
  379. ++++ return
  380. +++ lint_pkgbuild_functions+=('lint_package_function')
  381. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  382. ++ source /usr/share/makepkg/lint_pkgbuild/pkgbase.sh
  383. +++ [[ -n '' ]]
  384. +++ LIBMAKEPKG_LINT_PKGBUILD_PKGBASE_SH=1
  385. +++ LIBRARY=/usr/share/makepkg
  386. +++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  387. ++++ [[ -n 1 ]]
  388. ++++ return
  389. +++ source /usr/share/makepkg/util/message.sh
  390. ++++ [[ -n 1 ]]
  391. ++++ return
  392. +++ lint_pkgbuild_functions+=('lint_pkgbase')
  393. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  394. ++ source /usr/share/makepkg/lint_pkgbuild/pkglist.sh
  395. +++ [[ -n '' ]]
  396. +++ LIBMAKEPKG_LINT_PKGBUILD_PKGLIST_SH=1
  397. +++ LIBRARY=/usr/share/makepkg
  398. +++ source /usr/share/makepkg/util/message.sh
  399. ++++ [[ -n 1 ]]
  400. ++++ return
  401. +++ source /usr/share/makepkg/util/util.sh
  402. ++++ [[ -n 1 ]]
  403. ++++ return
  404. +++ lint_pkgbuild_functions+=('lint_pkglist')
  405. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  406. ++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  407. +++ [[ -n 1 ]]
  408. +++ return
  409. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  410. ++ source /usr/share/makepkg/lint_pkgbuild/pkgrel.sh
  411. +++ [[ -n '' ]]
  412. +++ LIBMAKEPKG_LINT_PKGBUILD_PKGREL_SH=1
  413. +++ LIBRARY=/usr/share/makepkg
  414. +++ source /usr/share/makepkg/util/message.sh
  415. ++++ [[ -n 1 ]]
  416. ++++ return
  417. +++ lint_pkgbuild_functions+=('lint_pkgrel')
  418. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  419. ++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh
  420. +++ [[ -n 1 ]]
  421. +++ return
  422. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  423. ++ source /usr/share/makepkg/lint_pkgbuild/provides.sh
  424. +++ [[ -n '' ]]
  425. +++ LIBMAKEPKG_LINT_PKGBUILD_PROVIDES_SH=1
  426. +++ LIBRARY=/usr/share/makepkg
  427. +++ source /usr/share/makepkg/lint_pkgbuild/pkgname.sh
  428. ++++ [[ -n 1 ]]
  429. ++++ return
  430. +++ source /usr/share/makepkg/lint_pkgbuild/pkgver.sh
  431. ++++ [[ -n 1 ]]
  432. ++++ return
  433. +++ source /usr/share/makepkg/util/message.sh
  434. ++++ [[ -n 1 ]]
  435. ++++ return
  436. +++ source /usr/share/makepkg/util/pkgbuild.sh
  437. ++++ [[ -n 1 ]]
  438. ++++ return
  439. +++ lint_pkgbuild_functions+=('lint_provides')
  440. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  441. ++ source /usr/share/makepkg/lint_pkgbuild/source.sh
  442. +++ [[ -n '' ]]
  443. +++ LIBMAKEPKG_LINT_PKGBUILD_SOURCE_SH=1
  444. +++ LIBRARY=/usr/share/makepkg
  445. +++ source /usr/share/makepkg/util/message.sh
  446. ++++ [[ -n 1 ]]
  447. ++++ return
  448. +++ lint_pkgbuild_functions+=('lint_source')
  449. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  450. ++ source /usr/share/makepkg/lint_pkgbuild/util.sh
  451. +++ [[ -n 1 ]]
  452. +++ return
  453. ++ for lib in "$LIBRARY/lint_pkgbuild/"*.sh
  454. ++ source /usr/share/makepkg/lint_pkgbuild/variable.sh
  455. +++ [[ -n '' ]]
  456. +++ LIBMAKEPKG_LINT_PKGBUILD_VARIABLE_SH=1
  457. +++ LIBRARY=/usr/share/makepkg
  458. +++ source /usr/share/makepkg/util/message.sh
  459. ++++ [[ -n 1 ]]
  460. ++++ return
  461. +++ source /usr/share/makepkg/util/pkgbuild.sh
  462. ++++ [[ -n 1 ]]
  463. ++++ return
  464. +++ lint_pkgbuild_functions+=('lint_variable')
  465. ++ readonly -a lint_pkgbuild_functions
  466. + for lib in "$LIBRARY"/*.sh
  467. + source /usr/share/makepkg/source.sh
  468. ++ [[ -n '' ]]
  469. ++ LIBMAKEPKG_SOURCE_SH=1
  470. ++ LIBRARY=/usr/share/makepkg
  471. ++ source /usr/share/makepkg/util/message.sh
  472. +++ [[ -n 1 ]]
  473. +++ return
  474. ++ source /usr/share/makepkg/util/pkgbuild.sh
  475. +++ [[ -n 1 ]]
  476. +++ return
  477. ++ source /usr/share/makepkg/util/source.sh
  478. +++ [[ -n '' ]]
  479. +++ LIBMAKEPKG_UTIL_SOURCE_SH=1
  480. +++ LIBRARY=/usr/share/makepkg
  481. +++ source /usr/share/makepkg/util/message.sh
  482. ++++ [[ -n 1 ]]
  483. ++++ return
  484. ++ for lib in "$LIBRARY/source/"*.sh
  485. ++ source /usr/share/makepkg/source/bzr.sh
  486. +++ [[ -n '' ]]
  487. +++ LIBMAKEPKG_SOURCE_BZR_SH=1
  488. +++ LIBRARY=/usr/share/makepkg
  489. +++ source /usr/share/makepkg/util/message.sh
  490. ++++ [[ -n 1 ]]
  491. ++++ return
  492. +++ source /usr/share/makepkg/util/pkgbuild.sh
  493. ++++ [[ -n 1 ]]
  494. ++++ return
  495. ++ for lib in "$LIBRARY/source/"*.sh
  496. ++ source /usr/share/makepkg/source/file.sh
  497. +++ [[ -n '' ]]
  498. +++ LIBMAKEPKG_SOURCE_FILE_SH=1
  499. +++ LIBRARY=/usr/share/makepkg
  500. +++ source /usr/share/makepkg/util/message.sh
  501. ++++ [[ -n 1 ]]
  502. ++++ return
  503. +++ source /usr/share/makepkg/util/pkgbuild.sh
  504. ++++ [[ -n 1 ]]
  505. ++++ return
  506. ++ for lib in "$LIBRARY/source/"*.sh
  507. ++ source /usr/share/makepkg/source/git.sh
  508. +++ [[ -n '' ]]
  509. +++ LIBMAKEPKG_SOURCE_GIT_SH=1
  510. +++ LIBRARY=/usr/share/makepkg
  511. +++ source /usr/share/makepkg/util/message.sh
  512. ++++ [[ -n 1 ]]
  513. ++++ return
  514. +++ source /usr/share/makepkg/util/pkgbuild.sh
  515. ++++ [[ -n 1 ]]
  516. ++++ return
  517. ++ for lib in "$LIBRARY/source/"*.sh
  518. ++ source /usr/share/makepkg/source/hg.sh
  519. +++ [[ -n '' ]]
  520. +++ LIBMAKEPKG_SOURCE_HG_SH=1
  521. +++ LIBRARY=/usr/share/makepkg
  522. +++ source /usr/share/makepkg/util/message.sh
  523. ++++ [[ -n 1 ]]
  524. ++++ return
  525. +++ source /usr/share/makepkg/util/pkgbuild.sh
  526. ++++ [[ -n 1 ]]
  527. ++++ return
  528. ++ for lib in "$LIBRARY/source/"*.sh
  529. ++ source /usr/share/makepkg/source/local.sh
  530. +++ [[ -n '' ]]
  531. +++ LIBMAKEPKG_SOURCE_LOCAL_SH=1
  532. +++ LIBRARY=/usr/share/makepkg
  533. +++ source /usr/share/makepkg/util/message.sh
  534. ++++ [[ -n 1 ]]
  535. ++++ return
  536. +++ source /usr/share/makepkg/util/pkgbuild.sh
  537. ++++ [[ -n 1 ]]
  538. ++++ return
  539. ++ for lib in "$LIBRARY/source/"*.sh
  540. ++ source /usr/share/makepkg/source/svn.sh
  541. +++ [[ -n '' ]]
  542. +++ LIBMAKEPKG_SOURCE_SVN_SH=1
  543. +++ LIBRARY=/usr/share/makepkg
  544. +++ source /usr/share/makepkg/util/message.sh
  545. ++++ [[ -n 1 ]]
  546. ++++ return
  547. +++ source /usr/share/makepkg/util/pkgbuild.sh
  548. ++++ [[ -n 1 ]]
  549. ++++ return
  550. + for lib in "$LIBRARY"/*.sh
  551. + source /usr/share/makepkg/srcinfo.sh
  552. ++ [[ -n '' ]]
  553. ++ LIBMAKEPKG_SRCINFO_SH=1
  554. ++ LIBRARY=/usr/share/makepkg
  555. ++ source /usr/share/makepkg/util/pkgbuild.sh
  556. +++ [[ -n 1 ]]
  557. +++ return
  558. + for lib in "$LIBRARY"/*.sh
  559. + source /usr/share/makepkg/tidy.sh
  560. ++ [[ -n '' ]]
  561. ++ LIBMAKEPKG_TIDY_SH=1
  562. ++ LIBRARY=/usr/share/makepkg
  563. ++ source /usr/share/makepkg/util/message.sh
  564. +++ [[ -n 1 ]]
  565. +++ return
  566. ++ declare -a packaging_options tidy_remove tidy_modify
  567. ++ for lib in "$LIBRARY/tidy/"*.sh
  568. ++ source /usr/share/makepkg/tidy/docs.sh
  569. +++ [[ -n '' ]]
  570. +++ LIBMAKEPKG_TIDY_DOCS_SH=1
  571. +++ LIBRARY=/usr/share/makepkg
  572. +++ source /usr/share/makepkg/util/message.sh
  573. ++++ [[ -n 1 ]]
  574. ++++ return
  575. +++ source /usr/share/makepkg/util/option.sh
  576. ++++ [[ -n '' ]]
  577. ++++ LIBMAKEPKG_UTIL_OPTION_SH=1
  578. +++ packaging_options+=('docs')
  579. +++ tidy_remove+=('tidy_docs')
  580. ++ for lib in "$LIBRARY/tidy/"*.sh
  581. ++ source /usr/share/makepkg/tidy/emptydirs.sh
  582. +++ [[ -n '' ]]
  583. +++ LIBMAKEPKG_TIDY_EMPTYDIRS_SH=1
  584. +++ LIBRARY=/usr/share/makepkg
  585. +++ source /usr/share/makepkg/util/message.sh
  586. ++++ [[ -n 1 ]]
  587. ++++ return
  588. +++ source /usr/share/makepkg/util/option.sh
  589. ++++ [[ -n 1 ]]
  590. ++++ return
  591. +++ packaging_options+=('emptydirs')
  592. +++ tidy_remove+=('tidy_emptydirs')
  593. ++ for lib in "$LIBRARY/tidy/"*.sh
  594. ++ source /usr/share/makepkg/tidy/libtool.sh
  595. +++ [[ -n '' ]]
  596. +++ LIBMAKEPKG_TIDY_LIBTOOL_SH=1
  597. +++ LIBRARY=/usr/share/makepkg
  598. +++ source /usr/share/makepkg/util/message.sh
  599. ++++ [[ -n 1 ]]
  600. ++++ return
  601. +++ source /usr/share/makepkg/util/option.sh
  602. ++++ [[ -n 1 ]]
  603. ++++ return
  604. +++ packaging_options+=('libtool')
  605. +++ tidy_remove+=('tidy_libtool')
  606. ++ for lib in "$LIBRARY/tidy/"*.sh
  607. ++ source /usr/share/makepkg/tidy/purge.sh
  608. +++ [[ -n '' ]]
  609. +++ LIBMAKEPKG_TIDY_PURGE_SH=1
  610. +++ LIBRARY=/usr/share/makepkg
  611. +++ source /usr/share/makepkg/util/message.sh
  612. ++++ [[ -n 1 ]]
  613. ++++ return
  614. +++ source /usr/share/makepkg/util/option.sh
  615. ++++ [[ -n 1 ]]
  616. ++++ return
  617. +++ packaging_options+=('purge')
  618. +++ tidy_remove+=('tidy_purge')
  619. ++ for lib in "$LIBRARY/tidy/"*.sh
  620. ++ source /usr/share/makepkg/tidy/staticlibs.sh
  621. +++ [[ -n '' ]]
  622. +++ LIBMAKEPKG_TIDY_STATICLIBS_SH=1
  623. +++ LIBRARY=/usr/share/makepkg
  624. +++ source /usr/share/makepkg/util/message.sh
  625. ++++ [[ -n 1 ]]
  626. ++++ return
  627. +++ source /usr/share/makepkg/util/option.sh
  628. ++++ [[ -n 1 ]]
  629. ++++ return
  630. +++ packaging_options+=('staticlibs')
  631. +++ tidy_remove+=('tidy_staticlibs')
  632. ++ for lib in "$LIBRARY/tidy/"*.sh
  633. ++ source /usr/share/makepkg/tidy/strip.sh
  634. +++ [[ -n '' ]]
  635. +++ LIBMAKEPKG_TIDY_STRIP_SH=1
  636. +++ LIBRARY=/usr/share/makepkg
  637. +++ source /usr/share/makepkg/util/message.sh
  638. ++++ [[ -n 1 ]]
  639. ++++ return
  640. +++ source /usr/share/makepkg/util/option.sh
  641. ++++ [[ -n 1 ]]
  642. ++++ return
  643. +++ packaging_options+=('strip' 'debug')
  644. +++ tidy_modify+=('tidy_strip')
  645. ++ for lib in "$LIBRARY/tidy/"*.sh
  646. ++ source /usr/share/makepkg/tidy/zipman.sh
  647. +++ [[ -n '' ]]
  648. +++ LIBMAKEPKG_TIDY_ZIPMAN_SH=1
  649. +++ LIBRARY=/usr/share/makepkg
  650. +++ source /usr/share/makepkg/util/message.sh
  651. ++++ [[ -n 1 ]]
  652. ++++ return
  653. +++ source /usr/share/makepkg/util/option.sh
  654. ++++ [[ -n 1 ]]
  655. ++++ return
  656. +++ packaging_options+=('zipman')
  657. +++ tidy_modify+=('tidy_zipman')
  658. ++ readonly -a packaging_options tidy_remove tidy_modify
  659. + for lib in "$LIBRARY"/*.sh
  660. + source /usr/share/makepkg/util.sh
  661. ++ [[ -n '' ]]
  662. ++ LIBMAKEPKG_UTIL_SH=1
  663. ++ LIBRARY=/usr/share/makepkg
  664. ++ for lib in "$LIBRARY/util/"*.sh
  665. ++ source /usr/share/makepkg/util/compress.sh
  666. +++ [[ -n '' ]]
  667. +++ LIBMAKEPKG_UTIL_COMPRESS_SH=1
  668. +++ LIBRARY=/usr/share/makepkg
  669. +++ source /usr/share/makepkg/util/message.sh
  670. ++++ [[ -n 1 ]]
  671. ++++ return
  672. ++ for lib in "$LIBRARY/util/"*.sh
  673. ++ source /usr/share/makepkg/util/error.sh
  674. +++ [[ -n '' ]]
  675. +++ LIBMAKEPKG_UTIL_ERROR_SH=1
  676. +++ E_OK=0
  677. +++ E_FAIL=1
  678. +++ E_CONFIG_ERROR=2
  679. +++ E_INVALID_OPTION=3
  680. +++ E_USER_FUNCTION_FAILED=4
  681. +++ E_PACKAGE_FAILED=5
  682. +++ E_MISSING_FILE=6
  683. +++ E_MISSING_PKGDIR=7
  684. +++ E_INSTALL_DEPS_FAILED=8
  685. +++ E_REMOVE_DEPS_FAILED=9
  686. +++ E_ROOT=10
  687. +++ E_FS_PERMISSIONS=11
  688. +++ E_PKGBUILD_ERROR=12
  689. +++ E_ALREADY_BUILT=13
  690. +++ E_INSTALL_FAILED=14
  691. +++ E_MISSING_MAKEPKG_DEPS=15
  692. +++ E_PRETTY_BAD_PRIVACY=16
  693. ++ for lib in "$LIBRARY/util/"*.sh
  694. ++ source /usr/share/makepkg/util/message.sh
  695. +++ [[ -n 1 ]]
  696. +++ return
  697. ++ for lib in "$LIBRARY/util/"*.sh
  698. ++ source /usr/share/makepkg/util/option.sh
  699. +++ [[ -n 1 ]]
  700. +++ return
  701. ++ for lib in "$LIBRARY/util/"*.sh
  702. ++ source /usr/share/makepkg/util/parseopts.sh
  703. ++ for lib in "$LIBRARY/util/"*.sh
  704. ++ source /usr/share/makepkg/util/pkgbuild.sh
  705. +++ [[ -n 1 ]]
  706. +++ return
  707. ++ for lib in "$LIBRARY/util/"*.sh
  708. ++ source /usr/share/makepkg/util/source.sh
  709. +++ [[ -n 1 ]]
  710. +++ return
  711. ++ for lib in "$LIBRARY/util/"*.sh
  712. ++ source /usr/share/makepkg/util/util.sh
  713. +++ [[ -n 1 ]]
  714. +++ return
  715. + umask 0022
  716. + type -p gettext
  717. + ARGLIST=("$@")
  718. + OPT_SHORT=AcCdefFghiLmop:rRsSV
  719. + OPT_LONG=('allsource' 'check' 'clean' 'cleanbuild' 'config:' 'force' 'geninteg' 'help' 'holdver' 'ignorearch' 'install' 'key:' 'log' 'noarchive' 'nobuild' 'nocolor' 'nocheck' 'nodeps' 'noextract' 'noprepare' 'nosign' 'packagelist' 'printsrcinfo' 'repackage' 'rmdeps' 'sign' 'skipchecksums' 'skipinteg' 'skippgpcheck' 'source' 'syncdeps' 'verifysource' 'version')
  720. + OPT_LONG+=('asdeps' 'noconfirm' 'needed' 'noprogressbar')
  721. + parseopts AcCdefFghiLmop:rRsSV allsource check clean cleanbuild config: force geninteg help holdver ignorearch install key: log noarchive nobuild nocolor nocheck nodeps noextract noprepare nosign packagelist printsrcinfo repackage rmdeps sign skipchecksums skipinteg skippgpcheck source syncdeps verifysource version asdeps noconfirm needed noprogressbar --
  722. + local opt= optarg= i= shortopts=AcCdefFghiLmop:rRsSV
  723. + longopts=()
  724. + unused_argv=()
  725. + local -a longopts unused_argv
  726. + shift
  727. + [[ -n allsource ]]
  728. + [[ allsource != \-\- ]]
  729. + longopts+=("$1")
  730. + shift
  731. + [[ -n check ]]
  732. + [[ check != \-\- ]]
  733. + longopts+=("$1")
  734. + shift
  735. + [[ -n clean ]]
  736. + [[ clean != \-\- ]]
  737. + longopts+=("$1")
  738. + shift
  739. + [[ -n cleanbuild ]]
  740. + [[ cleanbuild != \-\- ]]
  741. + longopts+=("$1")
  742. + shift
  743. + [[ -n config: ]]
  744. + [[ config: != \-\- ]]
  745. + longopts+=("$1")
  746. + shift
  747. + [[ -n force ]]
  748. + [[ force != \-\- ]]
  749. + longopts+=("$1")
  750. + shift
  751. + [[ -n geninteg ]]
  752. + [[ geninteg != \-\- ]]
  753. + longopts+=("$1")
  754. + shift
  755. + [[ -n help ]]
  756. + [[ help != \-\- ]]
  757. + longopts+=("$1")
  758. + shift
  759. + [[ -n holdver ]]
  760. + [[ holdver != \-\- ]]
  761. + longopts+=("$1")
  762. + shift
  763. + [[ -n ignorearch ]]
  764. + [[ ignorearch != \-\- ]]
  765. + longopts+=("$1")
  766. + shift
  767. + [[ -n install ]]
  768. + [[ install != \-\- ]]
  769. + longopts+=("$1")
  770. + shift
  771. + [[ -n key: ]]
  772. + [[ key: != \-\- ]]
  773. + longopts+=("$1")
  774. + shift
  775. + [[ -n log ]]
  776. + [[ log != \-\- ]]
  777. + longopts+=("$1")
  778. + shift
  779. + [[ -n noarchive ]]
  780. + [[ noarchive != \-\- ]]
  781. + longopts+=("$1")
  782. + shift
  783. + [[ -n nobuild ]]
  784. + [[ nobuild != \-\- ]]
  785. + longopts+=("$1")
  786. + shift
  787. + [[ -n nocolor ]]
  788. + [[ nocolor != \-\- ]]
  789. + longopts+=("$1")
  790. + shift
  791. + [[ -n nocheck ]]
  792. + [[ nocheck != \-\- ]]
  793. + longopts+=("$1")
  794. + shift
  795. + [[ -n nodeps ]]
  796. + [[ nodeps != \-\- ]]
  797. + longopts+=("$1")
  798. + shift
  799. + [[ -n noextract ]]
  800. + [[ noextract != \-\- ]]
  801. + longopts+=("$1")
  802. + shift
  803. + [[ -n noprepare ]]
  804. + [[ noprepare != \-\- ]]
  805. + longopts+=("$1")
  806. + shift
  807. + [[ -n nosign ]]
  808. + [[ nosign != \-\- ]]
  809. + longopts+=("$1")
  810. + shift
  811. + [[ -n packagelist ]]
  812. + [[ packagelist != \-\- ]]
  813. + longopts+=("$1")
  814. + shift
  815. + [[ -n printsrcinfo ]]
  816. + [[ printsrcinfo != \-\- ]]
  817. + longopts+=("$1")
  818. + shift
  819. + [[ -n repackage ]]
  820. + [[ repackage != \-\- ]]
  821. + longopts+=("$1")
  822. + shift
  823. + [[ -n rmdeps ]]
  824. + [[ rmdeps != \-\- ]]
  825. + longopts+=("$1")
  826. + shift
  827. + [[ -n sign ]]
  828. + [[ sign != \-\- ]]
  829. + longopts+=("$1")
  830. + shift
  831. + [[ -n skipchecksums ]]
  832. + [[ skipchecksums != \-\- ]]
  833. + longopts+=("$1")
  834. + shift
  835. + [[ -n skipinteg ]]
  836. + [[ skipinteg != \-\- ]]
  837. + longopts+=("$1")
  838. + shift
  839. + [[ -n skippgpcheck ]]
  840. + [[ skippgpcheck != \-\- ]]
  841. + longopts+=("$1")
  842. + shift
  843. + [[ -n source ]]
  844. + [[ source != \-\- ]]
  845. + longopts+=("$1")
  846. + shift
  847. + [[ -n syncdeps ]]
  848. + [[ syncdeps != \-\- ]]
  849. + longopts+=("$1")
  850. + shift
  851. + [[ -n verifysource ]]
  852. + [[ verifysource != \-\- ]]
  853. + longopts+=("$1")
  854. + shift
  855. + [[ -n version ]]
  856. + [[ version != \-\- ]]
  857. + longopts+=("$1")
  858. + shift
  859. + [[ -n asdeps ]]
  860. + [[ asdeps != \-\- ]]
  861. + longopts+=("$1")
  862. + shift
  863. + [[ -n noconfirm ]]
  864. + [[ noconfirm != \-\- ]]
  865. + longopts+=("$1")
  866. + shift
  867. + [[ -n needed ]]
  868. + [[ needed != \-\- ]]
  869. + longopts+=("$1")
  870. + shift
  871. + [[ -n noprogressbar ]]
  872. + [[ noprogressbar != \-\- ]]
  873. + longopts+=("$1")
  874. + shift
  875. + [[ -n -- ]]
  876. + [[ -- != \-\- ]]
  877. + shift
  878. + (( 0 ))
  879. + OPTRET+=('--' "${unused_argv[@]}" "$@")
  880. + unset longoptmatch
  881. + return 0
  882. + set -- --
  883. + unset OPT_SHORT OPT_LONG OPTRET
  884. + true
  885. + case "$1" in
  886. + shift
  887. + break
  888. + extra_environment=()
  889. + [[ -n '' ]]
  890. + trap clean_up 0
  891. + for signal in TERM HUP QUIT
  892. ++ gettext '%s signal caught. Exiting...'
  893. + trap 'trap_exit TERM "%s signal caught. Exiting..." "TERM"' TERM
  894. + for signal in TERM HUP QUIT
  895. ++ gettext '%s signal caught. Exiting...'
  896. + trap 'trap_exit HUP "%s signal caught. Exiting..." "HUP"' HUP
  897. + for signal in TERM HUP QUIT
  898. ++ gettext '%s signal caught. Exiting...'
  899. + trap 'trap_exit QUIT "%s signal caught. Exiting..." "QUIT"' QUIT
  900. + trap 'trap_exit INT "$(gettext "Aborted by user! Exiting...")"' INT
  901. + trap 'trap_exit USR1 "$(gettext "An unknown error has occurred. Exiting...")"' ERR
  902. ++ declare -p PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR PKGEXT SRCEXT GPGKEY PACKAGER CARCH
  903. ++ true
  904. + restore_envvars=
  905. + MAKEPKG_CONF=/etc/makepkg.conf
  906. + [[ -r /etc/makepkg.conf ]]
  907. + source_safe /etc/makepkg.conf
  908. + shopt -u extglob
  909. + source /etc/makepkg.conf
  910. ++ DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u' 'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u' 'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' 'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u' 'rsync::/usr/bin/rsync --no-motd -z %u %o' 'scp::/usr/bin/scp -C %u %o')
  911. ++ VCSCLIENTS=('bzr::bzr' 'git::git' 'hg::mercurial' 'svn::subversion')
  912. ++ CARCH=x86_64
  913. ++ CHOST=x86_64-pc-linux-gnu
  914. ++ CPPFLAGS=-D_FORTIFY_SOURCE=2
  915. ++ CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
  916. ++ CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
  917. ++ LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
  918. ++ DEBUG_CFLAGS='-g -fvar-tracking-assignments'
  919. ++ DEBUG_CXXFLAGS='-g -fvar-tracking-assignments'
  920. ++ BUILDENV=(!distcc color !ccache check !sign)
  921. ++ OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)
  922. ++ INTEGRITY_CHECK=(md5)
  923. ++ STRIP_BINARIES=--strip-all
  924. ++ STRIP_SHARED=--strip-unneeded
  925. ++ STRIP_STATIC=--strip-debug
  926. ++ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
  927. ++ DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
  928. ++ PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
  929. ++ DBGSRCDIR=/usr/src/debug
  930. ++ COMPRESSGZ=(gzip -c -f -n)
  931. ++ COMPRESSBZ2=(bzip2 -c -f)
  932. ++ COMPRESSXZ=(xz -c -z -)
  933. ++ COMPRESSLRZ=(lrzip -q)
  934. ++ COMPRESSLZO=(lzop -q)
  935. ++ COMPRESSZ=(compress -c -f)
  936. ++ PKGEXT=.pkg.tar.xz
  937. ++ SRCEXT=.src.tar.gz
  938. + shopt -s extglob
  939. + XDG_PACMAN_DIR=/home/alek/.config//pacman
  940. + [[ /etc/makepkg.conf = \/\e\t\c\/\m\a\k\e\p\k\g\.\c\o\n\f ]]
  941. + [[ -r /home/alek/.config//pacman/makepkg.conf ]]
  942. + [[ -r /home/alek/.makepkg.conf ]]
  943. + eval ''
  944. + (( 0 ))
  945. + for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR
  946. ++ canonicalize_path /home/alek/aurman
  947. ++ local path=/home/alek/aurman
  948. ++ [[ -d /home/alek/aurman ]]
  949. ++ cd_safe /home/alek/aurman
  950. ++ cd /home/alek/aurman
  951. ++ pwd -P
  952. + printf -v PKGDEST /home/alek/aurman
  953. + for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR
  954. ++ canonicalize_path /home/alek/aurman
  955. ++ local path=/home/alek/aurman
  956. ++ [[ -d /home/alek/aurman ]]
  957. ++ cd_safe /home/alek/aurman
  958. ++ cd /home/alek/aurman
  959. ++ pwd -P
  960. + printf -v SRCDEST /home/alek/aurman
  961. + for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR
  962. ++ canonicalize_path /home/alek/aurman
  963. ++ local path=/home/alek/aurman
  964. ++ [[ -d /home/alek/aurman ]]
  965. ++ cd_safe /home/alek/aurman
  966. ++ cd /home/alek/aurman
  967. ++ pwd -P
  968. + printf -v SRCPKGDEST /home/alek/aurman
  969. + for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR
  970. ++ canonicalize_path /home/alek/aurman
  971. ++ local path=/home/alek/aurman
  972. ++ [[ -d /home/alek/aurman ]]
  973. ++ cd_safe /home/alek/aurman
  974. ++ cd /home/alek/aurman
  975. ++ pwd -P
  976. + printf -v LOGDEST /home/alek/aurman
  977. + for var in PKGDEST SRCDEST SRCPKGDEST LOGDEST BUILDDIR
  978. ++ canonicalize_path /home/alek/aurman
  979. ++ local path=/home/alek/aurman
  980. ++ [[ -d /home/alek/aurman ]]
  981. ++ cd_safe /home/alek/aurman
  982. ++ cd /home/alek/aurman
  983. ++ pwd -P
  984. + printf -v BUILDDIR /home/alek/aurman
  985. + unset var
  986. + PACKAGER='Unknown Packager'
  987. + PACMAN=pacman
  988. ++ type -P pacman
  989. + PACMAN_PATH=/usr/bin/pacman
  990. + [[ -t 2 ]]
  991. + [[ '' != \n ]]
  992. + check_buildenv color y
  993. + in_opt_array color '!distcc' color '!ccache' check '!sign'
  994. + local needle=color
  995. + shift
  996. + local i opt
  997. + (( i = 5 ))
  998. + (( i > 0 ))
  999. + opt='!sign'
  1000. + [[ !sign = \c\o\l\o\r ]]
  1001. + [[ !sign = \!\c\o\l\o\r ]]
  1002. + (( i-- ))
  1003. + (( i > 0 ))
  1004. + opt=check
  1005. + [[ check = \c\o\l\o\r ]]
  1006. + [[ check = \!\c\o\l\o\r ]]
  1007. + (( i-- ))
  1008. + (( i > 0 ))
  1009. + opt='!ccache'
  1010. + [[ !ccache = \c\o\l\o\r ]]
  1011. + [[ !ccache = \!\c\o\l\o\r ]]
  1012. + (( i-- ))
  1013. + (( i > 0 ))
  1014. + opt=color
  1015. + [[ color = \c\o\l\o\r ]]
  1016. + return 0
  1017. + case $? in
  1018. + [[ y = \y ]]
  1019. + return
  1020. + colorize
  1021. + tput setaf 0
  1022. ++ tput sgr0
  1023. + ALL_OFF=''
  1024. ++ tput bold
  1025. + BOLD=''
  1026. ++ tput setaf 4
  1027. + BLUE=''
  1028. ++ tput setaf 2
  1029. + GREEN=''
  1030. ++ tput setaf 1
  1031. + RED=''
  1032. ++ tput setaf 3
  1033. + YELLOW=''
  1034. + readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
  1035. + lint_config
  1036. + local ret=0
  1037. + for func in ${lint_config_functions[@]}
  1038. + lint_paths
  1039. + pathvars=(BUILDDIR PKGDEST SRCDEST SRCPKGDEST LOGDEST PKGEXT SRCEXT)
  1040. + local pathvars
  1041. + local i ret=0
  1042. + for i in ${pathvars[@]}
  1043. + [[ /home/alek/aurman = *\
  1044. * ]]
  1045. + for i in ${pathvars[@]}
  1046. + [[ /home/alek/aurman = *\
  1047. * ]]
  1048. + for i in ${pathvars[@]}
  1049. + [[ /home/alek/aurman = *\
  1050. * ]]
  1051. + for i in ${pathvars[@]}
  1052. + [[ /home/alek/aurman = *\
  1053. * ]]
  1054. + for i in ${pathvars[@]}
  1055. + [[ /home/alek/aurman = *\
  1056. * ]]
  1057. + for i in ${pathvars[@]}
  1058. + [[ .pkg.tar.xz = *\
  1059. * ]]
  1060. + for i in ${pathvars[@]}
  1061. + [[ .src.tar.gz = *\
  1062. * ]]
  1063. + return 0
  1064. + for func in ${lint_config_functions[@]}
  1065. + lint_variable
  1066. + array=(arch backup checkdepends groups license noextract options validpgpkeys)
  1067. + local array
  1068. + arch_array=(conflicts depends makedepends md5sums optdepends provides replaces sha1sums sha224sums sha256sums sha384sums sha512sums source)
  1069. + local arch_array
  1070. + string=(changelog epoch install pkgdesc pkgrel pkgver url)
  1071. + local string
  1072. + local i a v pkg keys out bad ret=0
  1073. + for i in ${array[@]} ${arch_array[@]}
  1074. + eval 'keys=("${!arch[@]}")'
  1075. ++ keys=("${!arch[@]}")
  1076. + (( 1 > 0 ))
  1077. + is_array arch
  1078. + local v=arch
  1079. + local ret=1
  1080. ++ declare -p arch
  1081. + [[ declare -x arch="x86_64" == declare\ -*([[:alnum:]])a*([[:alnum:]])\ * ]]
  1082. + return 1
  1083. ++ gettext '%s should be an array'
  1084. + error '%s should be an array' arch
  1085. + local 'mesg=%s should be an array'
  1086. + shift
  1087. ++ gettext ERROR:
  1088. + printf '==> ERROR: %s should be an array\n' arch
  1089. ==> ERROR: arch should be an array
  1090. + ret=1
  1091. + for i in ${array[@]} ${arch_array[@]}
  1092. + eval 'keys=("${!backup[@]}")'
  1093. ++ keys=("${!backup[@]}")
  1094. + (( 0 > 0 ))
  1095. + for i in ${array[@]} ${arch_array[@]}
  1096. + eval 'keys=("${!checkdepends[@]}")'
  1097. ++ keys=("${!checkdepends[@]}")
  1098. + (( 0 > 0 ))
  1099. + for i in ${array[@]} ${arch_array[@]}
  1100. + eval 'keys=("${!groups[@]}")'
  1101. ++ keys=("${!groups[@]}")
  1102. + (( 0 > 0 ))
  1103. + for i in ${array[@]} ${arch_array[@]}
  1104. + eval 'keys=("${!license[@]}")'
  1105. ++ keys=("${!license[@]}")
  1106. + (( 0 > 0 ))
  1107. + for i in ${array[@]} ${arch_array[@]}
  1108. + eval 'keys=("${!noextract[@]}")'
  1109. ++ keys=("${!noextract[@]}")
  1110. + (( 0 > 0 ))
  1111. + for i in ${array[@]} ${arch_array[@]}
  1112. + eval 'keys=("${!options[@]}")'
  1113. ++ keys=("${!options[@]}")
  1114. + (( 0 > 0 ))
  1115. + for i in ${array[@]} ${arch_array[@]}
  1116. + eval 'keys=("${!validpgpkeys[@]}")'
  1117. ++ keys=("${!validpgpkeys[@]}")
  1118. + (( 0 > 0 ))
  1119. + for i in ${array[@]} ${arch_array[@]}
  1120. + eval 'keys=("${!conflicts[@]}")'
  1121. ++ keys=("${!conflicts[@]}")
  1122. + (( 0 > 0 ))
  1123. + for i in ${array[@]} ${arch_array[@]}
  1124. + eval 'keys=("${!depends[@]}")'
  1125. ++ keys=("${!depends[@]}")
  1126. + (( 0 > 0 ))
  1127. + for i in ${array[@]} ${arch_array[@]}
  1128. + eval 'keys=("${!makedepends[@]}")'
  1129. ++ keys=("${!makedepends[@]}")
  1130. + (( 0 > 0 ))
  1131. + for i in ${array[@]} ${arch_array[@]}
  1132. + eval 'keys=("${!md5sums[@]}")'
  1133. ++ keys=("${!md5sums[@]}")
  1134. + (( 0 > 0 ))
  1135. + for i in ${array[@]} ${arch_array[@]}
  1136. + eval 'keys=("${!optdepends[@]}")'
  1137. ++ keys=("${!optdepends[@]}")
  1138. + (( 0 > 0 ))
  1139. + for i in ${array[@]} ${arch_array[@]}
  1140. + eval 'keys=("${!provides[@]}")'
  1141. ++ keys=("${!provides[@]}")
  1142. + (( 0 > 0 ))
  1143. + for i in ${array[@]} ${arch_array[@]}
  1144. + eval 'keys=("${!replaces[@]}")'
  1145. ++ keys=("${!replaces[@]}")
  1146. + (( 0 > 0 ))
  1147. + for i in ${array[@]} ${arch_array[@]}
  1148. + eval 'keys=("${!sha1sums[@]}")'
  1149. ++ keys=("${!sha1sums[@]}")
  1150. + (( 0 > 0 ))
  1151. + for i in ${array[@]} ${arch_array[@]}
  1152. + eval 'keys=("${!sha224sums[@]}")'
  1153. ++ keys=("${!sha224sums[@]}")
  1154. + (( 0 > 0 ))
  1155. + for i in ${array[@]} ${arch_array[@]}
  1156. + eval 'keys=("${!sha256sums[@]}")'
  1157. ++ keys=("${!sha256sums[@]}")
  1158. + (( 0 > 0 ))
  1159. + for i in ${array[@]} ${arch_array[@]}
  1160. + eval 'keys=("${!sha384sums[@]}")'
  1161. ++ keys=("${!sha384sums[@]}")
  1162. + (( 0 > 0 ))
  1163. + for i in ${array[@]} ${arch_array[@]}
  1164. + eval 'keys=("${!sha512sums[@]}")'
  1165. ++ keys=("${!sha512sums[@]}")
  1166. + (( 0 > 0 ))
  1167. + for i in ${array[@]} ${arch_array[@]}
  1168. + eval 'keys=("${!source[@]}")'
  1169. ++ keys=("${!source[@]}")
  1170. + (( 0 > 0 ))
  1171. + for a in ${arch[@]}
  1172. + [[ x86_64 == \a\n\y ]]
  1173. + for i in ${arch_array[@]}
  1174. + v=conflicts_x86_64
  1175. + eval 'keys=("${!conflicts_x86_64[@]}")'
  1176. ++ keys=("${!conflicts_x86_64[@]}")
  1177. + (( 0 > 0 ))
  1178. + for i in ${arch_array[@]}
  1179. + v=depends_x86_64
  1180. + eval 'keys=("${!depends_x86_64[@]}")'
  1181. ++ keys=("${!depends_x86_64[@]}")
  1182. + (( 0 > 0 ))
  1183. + for i in ${arch_array[@]}
  1184. + v=makedepends_x86_64
  1185. + eval 'keys=("${!makedepends_x86_64[@]}")'
  1186. ++ keys=("${!makedepends_x86_64[@]}")
  1187. + (( 0 > 0 ))
  1188. + for i in ${arch_array[@]}
  1189. + v=md5sums_x86_64
  1190. + eval 'keys=("${!md5sums_x86_64[@]}")'
  1191. ++ keys=("${!md5sums_x86_64[@]}")
  1192. + (( 0 > 0 ))
  1193. + for i in ${arch_array[@]}
  1194. + v=optdepends_x86_64
  1195. + eval 'keys=("${!optdepends_x86_64[@]}")'
  1196. ++ keys=("${!optdepends_x86_64[@]}")
  1197. + (( 0 > 0 ))
  1198. + for i in ${arch_array[@]}
  1199. + v=provides_x86_64
  1200. + eval 'keys=("${!provides_x86_64[@]}")'
  1201. ++ keys=("${!provides_x86_64[@]}")
  1202. + (( 0 > 0 ))
  1203. + for i in ${arch_array[@]}
  1204. + v=replaces_x86_64
  1205. + eval 'keys=("${!replaces_x86_64[@]}")'
  1206. ++ keys=("${!replaces_x86_64[@]}")
  1207. + (( 0 > 0 ))
  1208. + for i in ${arch_array[@]}
  1209. + v=sha1sums_x86_64
  1210. + eval 'keys=("${!sha1sums_x86_64[@]}")'
  1211. ++ keys=("${!sha1sums_x86_64[@]}")
  1212. + (( 0 > 0 ))
  1213. + for i in ${arch_array[@]}
  1214. + v=sha224sums_x86_64
  1215. + eval 'keys=("${!sha224sums_x86_64[@]}")'
  1216. ++ keys=("${!sha224sums_x86_64[@]}")
  1217. + (( 0 > 0 ))
  1218. + for i in ${arch_array[@]}
  1219. + v=sha256sums_x86_64
  1220. + eval 'keys=("${!sha256sums_x86_64[@]}")'
  1221. ++ keys=("${!sha256sums_x86_64[@]}")
  1222. + (( 0 > 0 ))
  1223. + for i in ${arch_array[@]}
  1224. + v=sha384sums_x86_64
  1225. + eval 'keys=("${!sha384sums_x86_64[@]}")'
  1226. ++ keys=("${!sha384sums_x86_64[@]}")
  1227. + (( 0 > 0 ))
  1228. + for i in ${arch_array[@]}
  1229. + v=sha512sums_x86_64
  1230. + eval 'keys=("${!sha512sums_x86_64[@]}")'
  1231. ++ keys=("${!sha512sums_x86_64[@]}")
  1232. + (( 0 > 0 ))
  1233. + for i in ${arch_array[@]}
  1234. + v=source_x86_64
  1235. + eval 'keys=("${!source_x86_64[@]}")'
  1236. ++ keys=("${!source_x86_64[@]}")
  1237. + (( 0 > 0 ))
  1238. + for i in ${string[@]}
  1239. + eval 'keys=("${!changelog[@]}")'
  1240. ++ keys=("${!changelog[@]}")
  1241. + (( 0 > 0 ))
  1242. + for i in ${string[@]}
  1243. + eval 'keys=("${!epoch[@]}")'
  1244. ++ keys=("${!epoch[@]}")
  1245. + (( 0 > 0 ))
  1246. + for i in ${string[@]}
  1247. + eval 'keys=("${!install[@]}")'
  1248. ++ keys=("${!install[@]}")
  1249. + (( 0 > 0 ))
  1250. + for i in ${string[@]}
  1251. + eval 'keys=("${!pkgdesc[@]}")'
  1252. ++ keys=("${!pkgdesc[@]}")
  1253. + (( 0 > 0 ))
  1254. + for i in ${string[@]}
  1255. + eval 'keys=("${!pkgrel[@]}")'
  1256. ++ keys=("${!pkgrel[@]}")
  1257. + (( 0 > 0 ))
  1258. + for i in ${string[@]}
  1259. + eval 'keys=("${!pkgver[@]}")'
  1260. ++ keys=("${!pkgver[@]}")
  1261. + (( 0 > 0 ))
  1262. + for i in ${string[@]}
  1263. + eval 'keys=("${!url[@]}")'
  1264. ++ keys=("${!url[@]}")
  1265. + (( 0 > 0 ))
  1266. + return 1
  1267. + ret=1
  1268. + return 1
  1269. + exit 2
  1270. + clean_up
  1271. + local EXIT_CODE=2
  1272. + (( INFAKEROOT ))
  1273. + (( (EXIT_CODE == E_OK || EXIT_CODE == E_INSTALL_FAILED) && CLEANUP ))
  1274. + remove_deps
  1275. + (( ! RMDEPS ))
  1276. + return 0
Advertisement
Add Comment
Please, Sign In to add comment