1. $ makepkg
  2. ==> Making package: chromium-wayland 48.0.2548.0-2 (Fri Dec 9 15:59:23 EST 2016)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving sources...
  6. -> Downloading chromium-48.0.2548.0.tar.xz...
  7. % Total % Received % Xferd Average Speed Time Time Time Current
  8. Dload Upload Total Spent Left Speed
  9. 100 365M 100 365M 0 0 3266k 0 0:01:54 0:01:54 --:--:-- 3224k
  10. -> Cloning ozone-wayland git repo...
  11. Cloning into bare repository '/home/chris/Software/chromium-wayland/ozone-wayland'...
  12. remote: Counting objects: 8819, done.
  13. remote: Total 8819 (delta 0), reused 0 (delta 0), pack-reused 8819
  14. Receiving objects: 100% (8819/8819), 2.47 MiB | 2.83 MiB/s, done.
  15. Resolving deltas: 100% (6279/6279), done.
  16. -> Downloading chromium-launcher-2.tar.gz...
  17. % Total % Received % Xferd Average Speed Time Time Time Current
  18. Dload Upload Total Spent Left Speed
  19. 100 131 0 131 0 0 492 0 --:--:-- --:--:-- --:--:-- 492
  20. 100 2832 0 2832 0 0 5299 0 --:--:-- --:--:-- --:--:-- 5299
  21. -> Found chromium.desktop
  22. -> Found chromium-widevine.patch
  23. -> Found unbundle-libvpx_new-fix.patch
  24. ==> Validating source files with sha256sums...
  25. chromium-48.0.2548.0.tar.xz ... Passed
  26. ozone-wayland ... Skipped
  27. chromium-launcher-2.tar.gz ... Passed
  28. chromium.desktop ... Passed
  29. chromium-widevine.patch ... Passed
  30. unbundle-libvpx_new-fix.patch ... Passed
  31. ==> Extracting sources...
  32. -> Extracting chromium-48.0.2548.0.tar.xz with bsdtar
  33. -> Creating working copy of ozone-wayland git repo...
  34. Cloning into 'ozone-wayland'...
  35. done.
  36. Switched to a new branch 'makepkg'
  37. -> Extracting chromium-launcher-2.tar.gz with bsdtar
  38. ==> Starting prepare()...
  39. patching file third_party/widevine/cdm/widevine_cdm_version.h
  40. INFO: --Syncing nacl_x86_newlib to revision 11953a35fcd4f999b097a343bc49d89f94af21a8--
  41. INFO: Downloading package archive: core_sdk.tgz (1/3)
  42. INFO: Downloading package archive: gdb_i686_linux.tgz (2/3)
  43. INFO: Downloading package archive: naclsdk.tgz (3/3)
  44. INFO: --Syncing pnacl_newlib to revision 8460e6c72392e8018b17fab07d2a2995604cae7a--
  45. INFO: Downloading package archive: binutils_pnacl_x86_64_linux.tgz (1/50)
  46. INFO: Downloading package archive: binutils_x86_x86_64_linux.tgz (2/50)
  47. INFO: Downloading package archive: compiler_rt_bc_arm_bc.tgz (3/50)
  48. INFO: Downloading package archive: compiler_rt_bc_i686_bc.tgz (4/50)
  49. INFO: Downloading package archive: compiler_rt_bc_le32.tgz (5/50)
  50. INFO: Downloading package archive: compiler_rt_bc_x86_64_bc.tgz (6/50)
  51. INFO: Downloading package archive: core_sdk_libs_arm.tgz (7/50)
  52. INFO: Downloading package archive: core_sdk_libs_i686.tgz (8/50)
  53. INFO: Downloading package archive: core_sdk_libs_le32.tgz (9/50)
  54. INFO: Downloading package archive: core_sdk_libs_mipsel.tgz (10/50)
  55. INFO: Downloading package archive: core_sdk_libs_x86_64.tgz (11/50)
  56. INFO: Downloading package archive: driver_x86_64_linux.tgz (12/50)
  57. INFO: Downloading package archive: libcxx_arm.tgz (13/50)
  58. INFO: Downloading package archive: libcxx_arm_bc.tgz (14/50)
  59. INFO: Downloading package archive: libcxx_i686.tgz (15/50)
  60. INFO: Downloading package archive: libcxx_i686_bc.tgz (16/50)
  61. INFO: Downloading package archive: libcxx_le32.tgz (17/50)
  62. INFO: Downloading package archive: libcxx_mipsel.tgz (18/50)
  63. INFO: Downloading package archive: libcxx_x86_64.tgz (19/50)
  64. INFO: Downloading package archive: libcxx_x86_64_bc.tgz (20/50)
  65. INFO: Downloading package archive: libcxx_x86_64_linux.tgz (21/50)
  66. INFO: Downloading package archive: libgcc_eh_arm.tgz (22/50)
  67. INFO: Downloading package archive: libgcc_eh_mips32.tgz (23/50)
  68. INFO: Downloading package archive: libgcc_eh_x86_32.tgz (24/50)
  69. INFO: Downloading package archive: libgcc_eh_x86_64.tgz (25/50)
  70. INFO: Downloading package archive: libs_support_arm.tgz (26/50)
  71. INFO: Downloading package archive: libs_support_arm_bc.tgz (27/50)
  72. INFO: Downloading package archive: libs_support_i686.tgz (28/50)
  73. INFO: Downloading package archive: libs_support_i686_bc.tgz (29/50)
  74. INFO: Downloading package archive: libs_support_le32.tgz (30/50)
  75. INFO: Downloading package archive: libs_support_mipsel.tgz (31/50)
  76. INFO: Downloading package archive: libs_support_translator_arm.tgz (32/50)
  77. INFO: Downloading package archive: libs_support_translator_arm_nonsfi.tgz (33/50)
  78. INFO: Downloading package archive: libs_support_translator_mips32.tgz (34/50)
  79. INFO: Downloading package archive: libs_support_translator_x86_32.tgz (35/50)
  80. INFO: Downloading package archive: libs_support_translator_x86_32_nonsfi.tgz (36/50)
  81. INFO: Downloading package archive: libs_support_translator_x86_64.tgz (37/50)
  82. INFO: Downloading package archive: libs_support_x86_64.tgz (38/50)
  83. INFO: Downloading package archive: libs_support_x86_64_bc.tgz (39/50)
  84. INFO: Downloading package archive: llvm_x86_64_linux.tgz (40/50)
  85. INFO: Downloading package archive: metadata.tgz (41/50)
  86. INFO: Downloading package archive: newlib_arm.tgz (42/50)
  87. INFO: Downloading package archive: newlib_arm_bc.tgz (43/50)
  88. INFO: Downloading package archive: newlib_i686.tgz (44/50)
  89. INFO: Downloading package archive: newlib_i686_bc.tgz (45/50)
  90. INFO: Downloading package archive: newlib_le32.tgz (46/50)
  91. INFO: Downloading package archive: newlib_mipsel.tgz (47/50)
  92. INFO: Downloading package archive: newlib_x86_64.tgz (48/50)
  93. INFO: Downloading package archive: newlib_x86_64_bc.tgz (49/50)
  94. INFO: Downloading package archive: unsandboxed_runtime_x86_32_linux.tgz (50/50)
  95. INFO: --Syncing pnacl_translator to revision 8460e6c72392e8018b17fab07d2a2995604cae7a--
  96. INFO: Downloading package archive: sandboxed_translators.tgz (1/1)
  97. INFO: Extracting package (nacl_x86_newlib) to directory: /home/chris/Software/chromium-wayland/src/chromium-48.0.2548.0/native_client/toolchain/linux_x86/nacl_x86_newlib
  98. INFO: Extracting core_sdk.tgz (1/3)
  99. |------------------------------------------------|
  100. ..............................................
  101. INFO: Extracting gdb_i686_linux.tgz (2/3)
  102. |------------------------------------------------|
  103. ..................................................
  104. INFO: Extracting naclsdk.tgz (3/3)
  105. |------------------------------------------------|
  106. .................................................
  107. INFO: Extracting package (pnacl_newlib) to directory: /home/chris/Software/chromium-wayland/src/chromium-48.0.2548.0/native_client/toolchain/linux_x86/pnacl_newlib
  108. INFO: Extracting binutils_pnacl_x86_64_linux.tgz (1/50)
  109. |------------------------------------------------|
  110. ..................................................
  111. INFO: Extracting binutils_x86_x86_64_linux.tgz (2/50)
  112. |------------------------------------------------|
  113. ..................................................
  114. INFO: Extracting compiler_rt_bc_arm_bc.tgz (3/50)
  115. |------------------------------------------------|
  116. .....
  117. INFO: Extracting compiler_rt_bc_i686_bc.tgz (4/50)
  118. |------------------------------------------------|
  119. .....
  120. INFO: Extracting compiler_rt_bc_le32.tgz (5/50)
  121. |------------------------------------------------|
  122. .....
  123. INFO: Extracting compiler_rt_bc_x86_64_bc.tgz (6/50)
  124. |------------------------------------------------|
  125. .....
  126. INFO: Extracting core_sdk_libs_arm.tgz (7/50)
  127. |------------------------------------------------|
  128. .................................................
  129. INFO: Extracting core_sdk_libs_i686.tgz (8/50)
  130. |------------------------------------------------|
  131. ................................................
  132. INFO: Extracting core_sdk_libs_le32.tgz (9/50)
  133. |------------------------------------------------|
  134. .................................................
  135. INFO: Extracting core_sdk_libs_mipsel.tgz (10/50)
  136. |------------------------------------------------|
  137. ................................................
  138. INFO: Extracting core_sdk_libs_x86_64.tgz (11/50)
  139. |------------------------------------------------|
  140. ................................................
  141. INFO: Extracting driver_x86_64_linux.tgz (12/50)
  142. |------------------------------------------------|
  143. .............................................
  144. INFO: Extracting libcxx_arm.tgz (13/50)
  145. |------------------------------------------------|
  146. .................................................
  147. INFO: Extracting libcxx_arm_bc.tgz (14/50)
  148. |------------------------------------------------|
  149. .................................................
  150. INFO: Extracting libcxx_i686.tgz (15/50)
  151. |------------------------------------------------|
  152. INFO: Extracting libcxx_i686_bc.tgz (16/50)
  153. |------------------------------------------------|
  154. .................................................
  155. INFO: Extracting libcxx_le32.tgz (17/50)
  156. |------------------------------------------------|
  157. .................................................
  158. INFO: Extracting libcxx_mipsel.tgz (18/50)
  159. |------------------------------------------------|
  160. .................................................
  161. INFO: Extracting libcxx_x86_64.tgz (19/50)
  162. |------------------------------------------------|
  163. .................................................
  164. INFO: Extracting libcxx_x86_64_bc.tgz (20/50)
  165. |------------------------------------------------|
  166. .................................................
  167. INFO: Extracting libcxx_x86_64_linux.tgz (21/50)
  168. |------------------------------------------------|
  169. .................................................
  170. INFO: Extracting libgcc_eh_arm.tgz (22/50)
  171. |------------------------------------------------|
  172. INFO: Extracting libgcc_eh_mips32.tgz (23/50)
  173. |------------------------------------------------|
  174. INFO: Extracting libgcc_eh_x86_32.tgz (24/50)
  175. |------------------------------------------------|
  176. .
  177. INFO: Extracting libgcc_eh_x86_64.tgz (25/50)
  178. |------------------------------------------------|
  179. .
  180. INFO: Extracting libs_support_arm.tgz (26/50)
  181. |------------------------------------------------|
  182. ..........
  183. INFO: Extracting libs_support_arm_bc.tgz (27/50)
  184. |------------------------------------------------|
  185. ..................................................
  186. INFO: Extracting libs_support_i686.tgz (28/50)
  187. |------------------------------------------------|
  188. ..........
  189. INFO: Extracting libs_support_i686_bc.tgz (29/50)
  190. |------------------------------------------------|
  191. ...............................
  192. INFO: Extracting libs_support_le32.tgz (30/50)
  193. |------------------------------------------------|
  194. ................................
  195. INFO: Extracting libs_support_mipsel.tgz (31/50)
  196. |------------------------------------------------|
  197. ............
  198. INFO: Extracting libs_support_translator_arm.tgz (32/50)
  199. |------------------------------------------------|
  200. ..................................................
  201. INFO: Extracting libs_support_translator_arm_nonsfi.tgz (33/50)
  202. |------------------------------------------------|
  203. ..................................................
  204. INFO: Extracting libs_support_translator_mips32.tgz (34/50)
  205. |------------------------------------------------|
  206. ..................................................
  207. INFO: Extracting libs_support_translator_x86_32.tgz (35/50)
  208. |------------------------------------------------|
  209. ..................................................
  210. INFO: Extracting libs_support_translator_x86_32_nonsfi.tgz (36/50)
  211. |------------------------------------------------|
  212. .................................................
  213. INFO: Extracting libs_support_translator_x86_64.tgz (37/50)
  214. |------------------------------------------------|
  215. ..................................................
  216. INFO: Extracting libs_support_x86_64.tgz (38/50)
  217. |------------------------------------------------|
  218. .............
  219. INFO: Extracting libs_support_x86_64_bc.tgz (39/50)
  220. |------------------------------------------------|
  221. ..................................................
  222. INFO: Extracting llvm_x86_64_linux.tgz (40/50)
  223. |------------------------------------------------|
  224. ..................................................
  225. INFO: Extracting metadata.tgz (41/50)
  226. |------------------------------------------------|
  227. ..........................................
  228. INFO: Extracting newlib_arm.tgz (42/50)
  229. |------------------------------------------------|
  230. .................................................
  231. INFO: Extracting newlib_arm_bc.tgz (43/50)
  232. |------------------------------------------------|
  233. .................................................
  234. INFO: Extracting newlib_i686.tgz (44/50)
  235. |------------------------------------------------|
  236. ..................................................
  237. INFO: Extracting newlib_i686_bc.tgz (45/50)
  238. |------------------------------------------------|
  239. .................................................
  240. INFO: Extracting newlib_le32.tgz (46/50)
  241. |------------------------------------------------|
  242. .................................................
  243. INFO: Extracting newlib_mipsel.tgz (47/50)
  244. |------------------------------------------------|
  245. ..................................................
  246. INFO: Extracting newlib_x86_64.tgz (48/50)
  247. |------------------------------------------------|
  248. .................................................
  249. INFO: Extracting newlib_x86_64_bc.tgz (49/50)
  250. |------------------------------------------------|
  251. .................................................
  252. INFO: Extracting unsandboxed_runtime_x86_32_linux.tgz (50/50)
  253. |------------------------------------------------|
  254. .................................................
  255. INFO: Extracting package (pnacl_translator) to directory: /home/chris/Software/chromium-wayland/src/chromium-48.0.2548.0/native_client/toolchain/linux_x86/pnacl_translator
  256. INFO: Extracting sandboxed_translators.tgz (1/1)
  257. |------------------------------------------------|
  258. .................................................
  259. patching file build/linux/unbundle/libvpx.gyp
  260. Applying ozone/patches/0001-Browser-Support-Desktop-Aura-creation-on-Ozone.patch.
  261. patching file chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.cc
  262. patching file chrome/browser/ui/views/frame/browser_desktop_root_window_host_ozone.h
  263. patching file chrome/chrome_browser_ui.gypi
  264. Applying ozone/patches/0002-Remove-usage-of-DesktopFactory.patch.
  265. patching file ui/views/views.gyp
  266. patching file ui/views/widget/desktop_aura/desktop_factory_ozone.cc
  267. patching file ui/views/widget/desktop_aura/desktop_factory_ozone.h
  268. patching file ui/views/widget/desktop_aura/desktop_screen_ozone.cc
  269. patching file ui/views/widget/desktop_aura/desktop_window_tree_host_ozone.cc
  270. Applying ozone/patches/0003-Add-support-to-provide-external-ozone-files-in-views.patch.
  271. patching file ui/views/views.gyp
  272. Applying ozone/patches/0004-Add-support-for-checking-DesktopWindow-with-Ozone-an.patch.
  273. patching file chrome/browser/ui/aura/active_desktop_monitor.cc
  274. Applying ozone/patches/0005-Media-Build-VaapiPictureWayland-as-part-of-Media.patch.
  275. patching file content/content_common.gypi
  276. Hunk #1 succeeded at 860 (offset -6 lines).
  277. Hunk #2 succeeded at 916 (offset -6 lines).
  278. Hunk #3 succeeded at 927 (offset -6 lines).
  279. Hunk #4 succeeded at 950 (offset -6 lines).
  280. Applying ozone/patches/0006-Fix-crash-when-switching-to-console-VT-mode.patch.
  281. patching file ui/gl/gl_context_egl.cc
  282. Applying ozone/patches/0007-Add-needed-support-in-PlatformWindow.patch.
  283. patching file ui/platform_window/platform_window.h
  284. Applying ozone/patches/0008-Add-file-picker-support-using-WebUI.patch.
  285. patching file chrome/app/generated_resources.grd
  286. patching file chrome/browser/browser_resources.grd
  287. patching file chrome/browser/resources/file_picker/file_picker.css
  288. patching file chrome/browser/resources/file_picker/file_picker.html
  289. patching file chrome/browser/resources/file_picker/file_picker.js
  290. patching file chrome/browser/ui/aura/chrome_browser_main_extra_parts_aura.cc
  291. patching file chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
  292. patching file chrome/browser/ui/webui/file_picker/file_picker_ui.cc
  293. patching file chrome/browser/ui/webui/file_picker/file_picker_ui.h
  294. patching file chrome/browser/ui/webui/file_picker/file_picker_web_dialog.cc
  295. patching file chrome/chrome_browser_ui.gypi
  296. patching file chrome/common/url_constants.cc
  297. patching file chrome/common/url_constants.h
  298. patching file tools/gritsettings/resource_ids
  299. Applying ozone/patches/0009-Media-Use-upstream-Video-Accelerator.patch.
  300. patching file chrome/browser/password_manager/password_store_factory.cc
  301. patching file content/common/gpu/media/gpu_video_decode_accelerator.cc
  302. patching file content/common/sandbox_linux/bpf_gpu_policy_linux.cc
  303. Applying ozone/patches/0010-Remove-ATK-dependency.patch.
  304. patching file ui/views/accessibility/native_view_accessibility.cc
  305. patching file ui/views/view.cc
  306. Applying ozone/patches/0011-Gardening-Adopt-to-https-codereview.chromium.org-129.patch.
  307. patching file ui/gl/gl_image_egl.cc
  308. patching file ui/gl/gl_image_egl.h
  309. Applying ozone/patches/0012-Use-InputMethodAuraLinux-for-Ozone-implementations-o.patch.
  310. patching file ui/base/ime/input_method_factory.cc
  311. Applying ozone/patches/0013-Add-drag-and-drop-interfaces-to-PlatformWindowDelega.patch.
  312. patching file ui/platform_window/platform_window_delegate.h
  313. Applying ozone/patches/0014-Adapt-to-https-codereview.chromium.org-1409823002.patch.
  314. patching file ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
  315. ==> Starting build()...
  316. sed \
  317. -e "s|@CHROMIUM_NAME@|chromium|g" \
  318. -e "s|@CHROMIUM_BIN@|/usr/lib/chromium/chromium|g" \
  319. -e "s|@PEPPER_FLASH_DIR@|/usr/lib/PepperFlash|g" \
  320. -e "s|@LAUNCHER_ERRMSG@|/usr/lib/chromium-launcher/launcher-errmsg|g" \
  321. chromium-launcher.in >chromium-launcher
  322. cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -std=c99 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro launcher-errmsg.c -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -o launcher-errmsg
  323. Updating projects from gyp files...
  324. ninja: Entering directory `out/Release'
  325. ninja: warning: multiple rules generate obj/ozone/ui/webui/webui.select_file_dialog_impl_webui.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
  326. ninja: warning: multiple rules generate obj/ozone/ui/webui/webui.ozone_webui.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
  327. ninja: warning: multiple rules generate obj/ozone/ui/webui/webui.input_method_context_impl_wayland.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
  328. [1197/18928] CC obj/third_party/boring...src/crypto/boringssl.directory_posix.o
  329. ../../third_party/boringssl/src/crypto/directory_posix.c: In function ‘OPENSSL_DIR_read’:
  330. ../../third_party/boringssl/src/crypto/directory_posix.c:88:3: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
  331. if (readdir_r((*ctx)->dir, &(*ctx)->dirent, &dirent) != 0 ||
  332. ^~
  333. In file included from /usr/include/features.h:368:0,
  334. from /usr/include/stdint.h:25,
  335. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/stdint.h:9,
  336. from ../../third_party/boringssl/src/include/openssl/base.h:60,
  337. from ../../third_party/boringssl/src/crypto/directory.h:34,
  338. from ../../third_party/boringssl/src/crypto/directory_posix.c:31:
  339. /usr/include/dirent.h:189:12: note: declared here
  340. extern int __REDIRECT (readdir_r,
  341. ^
  342. [2334/18928] CXX obj/base/files/base.file_enumerator_posix.o
  343. ../../base/files/file_enumerator_posix.cc: In static member function ‘static bool base::FileEnumerator::ReadDirectory(std::vector<base::FileEnumerator::FileInfo>*, const base::FilePath&, bool)’:
  344. ../../base/files/file_enumerator_posix.cc:134:10: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  345. while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) {
  346. ^~~~~~~~~
  347. In file included from /usr/include/features.h:368:0,
  348. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
  349. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
  350. from /usr/include/c++/6.2.1/bits/stl_algobase.h:59,
  351. from /usr/include/c++/6.2.1/deque:60,
  352. from /usr/include/c++/6.2.1/stack:60,
  353. from ../../base/files/file_enumerator.h:8,
  354. from ../../base/files/file_enumerator_posix.cc:5:
  355. /usr/include/dirent.h:189:12: note: declared here
  356. extern int __REDIRECT (readdir_r,
  357. ^
  358. ../../base/files/file_enumerator_posix.cc:134:41: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  359. while (readdir_r(dir, &dent_buf, &dent) == 0 && dent) {
  360. ^
  361. In file included from /usr/include/features.h:368:0,
  362. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
  363. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
  364. from /usr/include/c++/6.2.1/bits/stl_algobase.h:59,
  365. from /usr/include/c++/6.2.1/deque:60,
  366. from /usr/include/c++/6.2.1/stack:60,
  367. from ../../base/files/file_enumerator.h:8,
  368. from ../../base/files/file_enumerator_posix.cc:5:
  369. /usr/include/dirent.h:189:12: note: declared here
  370. extern int __REDIRECT (readdir_r,
  371. ^
  372. [2340/18928] CXX obj/base/files/base.file_path_watcher_linux.o
  373. ../../base/files/file_path_watcher_linux.cc:274:1: warning: ‘base::{anonymous}::InotifyReader::~InotifyReader()’ defined but not used [-Wunused-function]
  374. InotifyReader::~InotifyReader() {
  375. ^~~~~~~~~~~~~
  376. [2530/18928] CXX obj/components/gen/pr.../enhanced_bookmarks_proto.cluster.pb.o
  377. gen/protoc_out/components/enhanced_bookmarks/proto/cluster.pb.cc: In member function ‘virtual bool image_collections::ClusterRequest::IsInitialized() const’:
  378. gen/protoc_out/components/enhanced_bookmarks/proto/cluster.pb.cc:257:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  379. if (!_extensions_.IsInitialized()) return false; return true;
  380. ^~
  381. gen/protoc_out/components/enhanced_bookmarks/proto/cluster.pb.cc:257:53: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  382. if (!_extensions_.IsInitialized()) return false; return true;
  383. ^~~~~~
  384. [2557/18928] CXX obj/sandbox/linux/services/sandbox_services.proc_util.o
  385. ../../sandbox/linux/services/proc_util.cc: In static member function ‘static int sandbox::ProcUtil::CountOpenFds(int)’:
  386. ../../sandbox/linux/services/proc_util.cc:55:11: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  387. while (!readdir_r(dir.get(), &e, &de) && de) {
  388. ^~~~~~~~~
  389. In file included from /usr/include/features.h:368:0,
  390. from /usr/include/stdio.h:27,
  391. from ../../base/files/scoped_file.h:8,
  392. from ../../sandbox/linux/services/proc_util.h:8,
  393. from ../../sandbox/linux/services/proc_util.cc:5:
  394. /usr/include/dirent.h:189:12: note: declared here
  395. extern int __REDIRECT (readdir_r,
  396. ^
  397. ../../sandbox/linux/services/proc_util.cc:55:39: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  398. while (!readdir_r(dir.get(), &e, &de) && de) {
  399. ^
  400. In file included from /usr/include/features.h:368:0,
  401. from /usr/include/stdio.h:27,
  402. from ../../base/files/scoped_file.h:8,
  403. from ../../sandbox/linux/services/proc_util.h:8,
  404. from ../../sandbox/linux/services/proc_util.cc:5:
  405. /usr/include/dirent.h:189:12: note: declared here
  406. extern int __REDIRECT (readdir_r,
  407. ^
  408. ../../sandbox/linux/services/proc_util.cc: In static member function ‘static bool sandbox::ProcUtil::HasOpenDirectory(int)’:
  409. ../../sandbox/linux/services/proc_util.cc:85:11: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  410. while (!readdir_r(dir.get(), &e, &de) && de) {
  411. ^~~~~~~~~
  412. In file included from /usr/include/features.h:368:0,
  413. from /usr/include/stdio.h:27,
  414. from ../../base/files/scoped_file.h:8,
  415. from ../../sandbox/linux/services/proc_util.h:8,
  416. from ../../sandbox/linux/services/proc_util.cc:5:
  417. /usr/include/dirent.h:189:12: note: declared here
  418. extern int __REDIRECT (readdir_r,
  419. ^
  420. ../../sandbox/linux/services/proc_util.cc:85:39: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  421. while (!readdir_r(dir.get(), &e, &de) && de) {
  422. ^
  423. In file included from /usr/include/features.h:368:0,
  424. from /usr/include/stdio.h:27,
  425. from ../../base/files/scoped_file.h:8,
  426. from ../../sandbox/linux/services/proc_util.h:8,
  427. from ../../sandbox/linux/services/proc_util.cc:5:
  428. /usr/include/dirent.h:189:12: note: declared here
  429. extern int __REDIRECT (readdir_r,
  430. ^
  431. [3650/18928] CXX obj/third_party/webrt...tp_rtcp/source/rtp_rtcp.rtcp_utility.o
  432. ../../third_party/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc: In member function ‘void webrtc::RTCPUtility::RTCPParserV2::Validate()’:
  433. ../../third_party/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc:427:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  434. if (!RtcpParseCommonHeader(_ptrRTCPDataBegin,
  435. ^~
  436. ../../third_party/webrtc/modules/rtp_rtcp/source/rtcp_utility.cc:441:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  437. if (!_RTCPReducedSizeEnable)
  438. ^~
  439. [3727/18928] CXX obj/third_party/leveldatabase/leveldatabase.env_chromium.o
  440. ../../third_party/leveldatabase/env_chromium.cc: In function ‘base::File::Error leveldb_env::{anonymous}::GetDirectoryEntries(const base::FilePath&, std::vector<base::FilePath>*)’:
  441. ../../third_party/leveldatabase/env_chromium.cc:85:28: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  442. while ((readdir_result = readdir_r(dir, &dent_buf, &dent)) == 0 && dent) {
  443. ^~~~~~~~~
  444. In file included from /usr/include/features.h:368:0,
  445. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
  446. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
  447. from /usr/include/c++/6.2.1/bits/stl_algobase.h:59,
  448. from /usr/include/c++/6.2.1/deque:60,
  449. from ../../third_party/leveldatabase/env_chromium.h:8,
  450. from ../../third_party/leveldatabase/env_chromium.cc:5:
  451. /usr/include/dirent.h:189:12: note: declared here
  452. extern int __REDIRECT (readdir_r,
  453. ^
  454. ../../third_party/leveldatabase/env_chromium.cc:85:59: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  455. while ((readdir_result = readdir_r(dir, &dent_buf, &dent)) == 0 && dent) {
  456. ^
  457. In file included from /usr/include/features.h:368:0,
  458. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
  459. from /usr/include/c++/6.2.1/x86_64-pc-linux-gnu/bits/c++config.h:495,
  460. from /usr/include/c++/6.2.1/bits/stl_algobase.h:59,
  461. from /usr/include/c++/6.2.1/deque:60,
  462. from ../../third_party/leveldatabase/env_chromium.h:8,
  463. from ../../third_party/leveldatabase/env_chromium.cc:5:
  464. /usr/include/dirent.h:189:12: note: declared here
  465. extern int __REDIRECT (readdir_r,
  466. ^
  467. [4982/18928] CXX obj/net/disk_cache/simple/net.simple_index_file_posix.o
  468. ../../net/disk_cache/simple/simple_index_file_posix.cc: In static member function ‘static bool disk_cache::SimpleIndexFile::TraverseCacheDirectory(const base::FilePath&, const EntryFileCallback&)’:
  469. ../../net/disk_cache/simple/simple_index_file_posix.cc:38:10: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  470. while (readdir_r(dir.get(), &entry, &result) == 0) {
  471. ^~~~~~~~~
  472. In file included from /usr/include/features.h:368:0,
  473. from /usr/include/stdint.h:25,
  474. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/stdint.h:9,
  475. from ../../net/disk_cache/simple/simple_index_file.h:8,
  476. from ../../net/disk_cache/simple/simple_index_file_posix.cc:5:
  477. /usr/include/dirent.h:189:12: note: declared here
  478. extern int __REDIRECT (readdir_r,
  479. ^
  480. ../../net/disk_cache/simple/simple_index_file_posix.cc:38:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
  481. while (readdir_r(dir.get(), &entry, &result) == 0) {
  482. ^
  483. In file included from /usr/include/features.h:368:0,
  484. from /usr/include/stdint.h:25,
  485. from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/include/stdint.h:9,
  486. from ../../net/disk_cache/simple/simple_index_file.h:8,
  487. from ../../net/disk_cache/simple/simple_index_file_posix.cc:5:
  488. /usr/include/dirent.h:189:12: note: declared here
  489. extern int __REDIRECT (readdir_r,
  490. ^
  491. [4985/18928] CXX obj/net/cert_net/net.nss_ocsp.o
  492. ../../net/cert_net/nss_ocsp.cc:538:6: warning: ‘void net::{anonymous}::OCSPIOLoop::EnsureIOLoop()’ defined but not used [-Wunused-function]
  493. void OCSPIOLoop::EnsureIOLoop() {
  494. ^~~~~~~~~~
  495. ../../net/cert_net/nss_ocsp.cc:497:1: warning: ‘net::{anonymous}::OCSPIOLoop::~OCSPIOLoop()’ defined but not used [-Wunused-function]
  496. OCSPIOLoop::~OCSPIOLoop() {
  497. ^~~~~~~~~~
  498. [6369/18928] CXX obj/components/metric....call_stack_profile_metrics_provider.o
  499. ../../components/metrics/call_stack_profile_metrics_provider.cc:126:6: warning: ‘void metrics::{anonymous}::PendingProfiles::Clear()’ defined but not used [-Wunused-function]
  500. void PendingProfiles::Clear() {
  501. ^~~~~~~~~~~~~~~
  502. [6711/18928] CXX obj/media/cast/net/rtcp/cast_net.rtcp_builder.o
  503. In file included from ../../base/strings/string_piece.h:33:0,
  504. from ../../base/big_endian.h:10,
  505. from ../../media/cast/net/rtcp/rtcp_builder.h:12,
  506. from ../../media/cast/net/rtcp/rtcp_builder.cc:5:
  507. ../../media/cast/net/rtcp/rtcp_builder.cc: In function ‘uint16 media::cast::{anonymous}::MergeEventTypeAndTimestampForWireFormat(const media::cast::CastLoggingEvent&, const base::TimeDelta&)’:
  508. ../../base/logging.h:677:63: warning: promoted ~unsigned is always non-zero [-Wsign-compare]
  509. LAZY_STREAM(LOG_STREAM(DCHECK), DCHECK_IS_ON() ? !(condition) : false) \
  510. ^
  511. ../../base/logging.h:355:5: note: in definition of macro ‘LAZY_STREAM’
  512. !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
  513. ^~~~~~~~~
  514. ../../media/cast/net/rtcp/rtcp_builder.cc:36:3: note: in expansion of macro ‘DCHECK’
  515. DCHECK(~(event_type_4_bits & 0xfff0));
  516. ^~~~~~
  517. [10043/18928] CXX obj/third_party/WebK...re/frame/webcore_remaining.FrameView.o
  518. ../../third_party/WebKit/Source/core/frame/FrameView.cpp: In member function ‘void blink::FrameView::adjustMediaTypeForPrinting(bool)’:
  519. ../../third_party/WebKit/Source/core/frame/FrameView.cpp:1201:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  520. if (m_mediaTypeWhenNotPrinting.isNull())
  521. ^~
  522. ../../third_party/WebKit/Source/core/frame/FrameView.cpp:1203:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  523. setMediaType(MediaTypeNames::print);
  524. ^~~~~~~~~~~~
  525. [10089/18928] CXX obj/third_party/WebK.../html/parser/webcore_html.XSSAuditor.o
  526. ../../third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp: In member function ‘void blink::XSSAuditor::setEncoding(const WTF::TextEncoding&)’:
  527. ../../third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp:388:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  528. if (m_decodedHTTPBody.find(isRequiredForInjection) == kNotFound)
  529. ^~
  530. ../../third_party/WebKit/Source/core/html/parser/XSSAuditor.cpp:390:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  531. if (m_decodedHTTPBody.length() >= miniumLengthForSuffixTree)
  532. ^~
  533. [10221/18928] CXX obj/third_party/WebK...ion/webcore_remaining.StringKeyframe.o
  534. ../../third_party/WebKit/Source/core/animation/StringKeyframe.cpp: In member function ‘virtual WTF::PassRefPtr<blink::Interpolation> blink::StringKeyframe::CSSPropertySpecificKeyframe::maybeCreateInterpolation(blink::PropertyHandle, blink::Keyframe::PropertySpecificKeyframe&, blink::Element*, const blink::ComputedStyle*) const’:
  535. ../../third_party/WebKit/Source/core/animation/StringKeyframe.cpp:330:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  536. if (interpolation)
  537. ^~
  538. ../../third_party/WebKit/Source/core/animation/StringKeyframe.cpp:332:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  539. break;
  540. ^~~~~
  541. [10315/18928] CXX obj/third_party/WebK...ore/css/webcore_remaining.FontLoader.o
  542. ../../third_party/WebKit/Source/core/css/FontLoader.cpp: In member function ‘void blink::FontLoader::didFailToDecode(blink::FontResource*)’:
  543. ../../third_party/WebKit/Source/core/css/FontLoader.cpp:99:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  544. if (m_fontSelector && m_fontSelector->document())
  545. ^~
  546. ../../third_party/WebKit/Source/core/css/FontLoader.cpp:101:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  547. if (fontResource->otsParsingMessage().length() > 1)
  548. ^~
  549. [13383/18928] CXX obj/printing/backend/printing.print_backend_cups.o
  550. FAILED: obj/printing/backend/printing.print_backend_cups.o
  551. c++ -MMD -MF obj/printing/backend/printing.print_backend_cups.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=247874-1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DPRINTING_IMPLEMENTATION -DPRINT_BACKEND_AVAILABLE -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DU_USING_ICU_NAMESPACE=0 -DUSE_CUPS -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/libvpx_new/target -Igen/shim_headers/libpng/target -Igen/shim_headers/harfbuzz-ng/target -Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target -Igen/shim_headers/libevent/target -Igen -I../.. -I../../skia/config -I../../third_party/khronos -I../../gpu -Igen/angle -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../skia/ext -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -std=gnu++11 -Wno-narrowing -Wno-literal-suffix -c ../../printing/backend/print_backend_cups.cc -o obj/printing/backend/printing.print_backend_cups.o
  552. ../../printing/backend/print_backend_cups.cc: In member function ‘base::FilePath printing::PrintBackendCUPS::GetPPD(const char*)’:
  553. ../../printing/backend/print_backend_cups.cc:263:36: error: ‘cupsGetPPD’ was not declared in this scope
  554. ppd_file_path = cupsGetPPD(name);
  555. ^
  556. ../../printing/backend/print_backend_cups.cc:275:50: error: ‘cupsGetPPD2’ was not declared in this scope
  557. ppd_file_path = cupsGetPPD2(http.http(), name);
  558. ^
  559. [13388/18928] CXX obj/content/common/c...ent_common.content_message_generator.o
  560. ninja: build stopped: subcommand failed.
  561. ==> ERROR: A failure occurred in build().
  562. Aborting...

Failed build of chromium-wayland due to ninja subcommand failure