Guest User

Untitled

a guest
Aug 13th, 2026
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.24 KB | None | 0 0
  1. install
  2. +- install river
  3. +- compile exe river ReleaseSafe native
  4. +- translate-c c failure
  5. /usr/include/sys/endian.h:74:1: error: unknown type name 'pragma'
  6. __END_DECLS
  7. ^
  8. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  9. #define __END_DECLS __END_PUBLIC_DECLS
  10. ^
  11. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  12. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  13. ^
  14. <scratch space>:5:2: note: expanded from here
  15. #pragma GCC visibility pop
  16. ^
  17. /usr/include/sys/endian.h:74:1: error: expected ';', found 'an identifier'
  18. __END_DECLS
  19. ^
  20. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  21. #define __END_DECLS __END_PUBLIC_DECLS
  22. ^
  23. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  24. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  25. ^
  26. <scratch space>:5:13: note: expanded from here
  27. #pragma GCC visibility pop
  28. ^
  29. /usr/include/sys/endian.h:74:1: error: unknown type name 'visibility'
  30. __END_DECLS
  31. ^
  32. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  33. #define __END_DECLS __END_PUBLIC_DECLS
  34. ^
  35. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  36. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  37. ^
  38. <scratch space>:5:13: note: expanded from here
  39. #pragma GCC visibility pop
  40. ^
  41. /usr/include/sys/endian.h:74:1: error: expected ';', found ''
  42. __END_DECLS
  43. ^
  44. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  45. #define __END_DECLS __END_PUBLIC_DECLS
  46. ^
  47. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  48. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  49. ^
  50. <scratch space>:6:27: note: expanded from here
  51. #pragma GCC visibility pop
  52. ^
  53. /usr/include/machine/byte_swap.h:72:1: error: unknown type name 'pragma'
  54. __END_DECLS
  55. ^
  56. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  57. #define __END_DECLS __END_PUBLIC_DECLS
  58. ^
  59. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  60. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  61. ^
  62. <scratch space>:7:2: note: expanded from here
  63. #pragma GCC visibility pop
  64. ^
  65. /usr/include/machine/byte_swap.h:72:1: error: expected ';', found 'an identifier'
  66. __END_DECLS
  67. ^
  68. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  69. #define __END_DECLS __END_PUBLIC_DECLS
  70. ^
  71. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  72. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  73. ^
  74. <scratch space>:7:13: note: expanded from here
  75. #pragma GCC visibility pop
  76. ^
  77. /usr/include/machine/byte_swap.h:72:1: error: unknown type name 'visibility'
  78. __END_DECLS
  79. ^
  80. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  81. #define __END_DECLS __END_PUBLIC_DECLS
  82. ^
  83. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  84. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  85. ^
  86. <scratch space>:7:13: note: expanded from here
  87. #pragma GCC visibility pop
  88. ^
  89. /usr/include/machine/byte_swap.h:72:1: error: expected ';', found ''
  90. __END_DECLS
  91. ^
  92. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  93. #define __END_DECLS __END_PUBLIC_DECLS
  94. ^
  95. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  96. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  97. ^
  98. <scratch space>:8:27: note: expanded from here
  99. #pragma GCC visibility pop
  100. ^
  101. /usr/include/sys/bswap.h:23:1: error: unknown type name 'pragma'
  102. __END_DECLS
  103. ^
  104. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  105. #define __END_DECLS __END_PUBLIC_DECLS
  106. ^
  107. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  108. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  109. ^
  110. <scratch space>:11:2: note: expanded from here
  111. #pragma GCC visibility pop
  112. ^
  113. /usr/include/sys/bswap.h:23:1: error: expected ';', found 'an identifier'
  114. __END_DECLS
  115. ^
  116. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  117. #define __END_DECLS __END_PUBLIC_DECLS
  118. ^
  119. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  120. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  121. ^
  122. <scratch space>:11:13: note: expanded from here
  123. #pragma GCC visibility pop
  124. ^
  125. /usr/include/sys/bswap.h:23:1: error: unknown type name 'visibility'
  126. __END_DECLS
  127. ^
  128. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  129. #define __END_DECLS __END_PUBLIC_DECLS
  130. ^
  131. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  132. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  133. ^
  134. <scratch space>:11:13: note: expanded from here
  135. #pragma GCC visibility pop
  136. ^
  137. /usr/include/sys/bswap.h:23:1: error: expected ';', found ''
  138. __END_DECLS
  139. ^
  140. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  141. #define __END_DECLS __END_PUBLIC_DECLS
  142. ^
  143. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  144. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  145. ^
  146. <scratch space>:12:27: note: expanded from here
  147. #pragma GCC visibility pop
  148. ^
  149. /usr/include/sys/types.h:263:1: error: unknown type name 'pragma'
  150. __END_DECLS
  151. ^
  152. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  153. #define __END_DECLS __END_PUBLIC_DECLS
  154. ^
  155. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  156. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  157. ^
  158. <scratch space>:97:2: note: expanded from here
  159. #pragma GCC visibility pop
  160. ^
  161. /usr/include/sys/types.h:263:1: error: expected ';', found 'an identifier'
  162. __END_DECLS
  163. ^
  164. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  165. #define __END_DECLS __END_PUBLIC_DECLS
  166. ^
  167. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  168. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  169. ^
  170. <scratch space>:97:13: note: expanded from here
  171. #pragma GCC visibility pop
  172. ^
  173. /usr/include/sys/types.h:263:1: error: unknown type name 'visibility'
  174. __END_DECLS
  175. ^
  176. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  177. #define __END_DECLS __END_PUBLIC_DECLS
  178. ^
  179. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  180. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  181. ^
  182. <scratch space>:97:13: note: expanded from here
  183. #pragma GCC visibility pop
  184. ^
  185. /usr/include/sys/types.h:263:1: error: expected ';', found ''
  186. __END_DECLS
  187. ^
  188. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  189. #define __END_DECLS __END_PUBLIC_DECLS
  190. ^
  191. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  192. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  193. ^
  194. <scratch space>:98:27: note: expanded from here
  195. #pragma GCC visibility pop
  196. ^
  197. /usr/include/time.h:277:1: error: unknown type name 'pragma'
  198. __END_DECLS
  199. ^
  200. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  201. #define __END_DECLS __END_PUBLIC_DECLS
  202. ^
  203. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  204. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  205. ^
  206. <scratch space>:134:2: note: expanded from here
  207. #pragma GCC visibility pop
  208. ^
  209. /usr/include/time.h:277:1: error: expected ';', found 'an identifier'
  210. __END_DECLS
  211. ^
  212. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  213. #define __END_DECLS __END_PUBLIC_DECLS
  214. ^
  215. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  216. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  217. ^
  218. <scratch space>:134:13: note: expanded from here
  219. #pragma GCC visibility pop
  220. ^
  221. /usr/include/time.h:277:1: error: unknown type name 'visibility'
  222. __END_DECLS
  223. ^
  224. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  225. #define __END_DECLS __END_PUBLIC_DECLS
  226. ^
  227. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  228. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  229. ^
  230. <scratch space>:134:13: note: expanded from here
  231. #pragma GCC visibility pop
  232. ^
  233. /usr/include/time.h:277:1: error: expected ';', found ''
  234. __END_DECLS
  235. ^
  236. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  237. #define __END_DECLS __END_PUBLIC_DECLS
  238. ^
  239. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  240. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  241. ^
  242. <scratch space>:135:27: note: expanded from here
  243. #pragma GCC visibility pop
  244. ^
  245. /usr/include/sys/select.h:75:1: error: unknown type name 'pragma'
  246. __END_DECLS
  247. ^
  248. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  249. #define __END_DECLS __END_PUBLIC_DECLS
  250. ^
  251. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  252. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  253. ^
  254. <scratch space>:138:2: note: expanded from here
  255. #pragma GCC visibility pop
  256. ^
  257. /usr/include/sys/select.h:75:1: error: expected ';', found 'an identifier'
  258. __END_DECLS
  259. ^
  260. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  261. #define __END_DECLS __END_PUBLIC_DECLS
  262. ^
  263. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  264. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  265. ^
  266. <scratch space>:138:13: note: expanded from here
  267. #pragma GCC visibility pop
  268. ^
  269. /usr/include/sys/select.h:75:1: error: unknown type name 'visibility'
  270. __END_DECLS
  271. ^
  272. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  273. #define __END_DECLS __END_PUBLIC_DECLS
  274. ^
  275. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  276. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  277. ^
  278. <scratch space>:138:13: note: expanded from here
  279. #pragma GCC visibility pop
  280. ^
  281. /usr/include/sys/select.h:75:1: error: expected ';', found ''
  282. __END_DECLS
  283. ^
  284. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  285. #define __END_DECLS __END_PUBLIC_DECLS
  286. ^
  287. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  288. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  289. ^
  290. <scratch space>:139:27: note: expanded from here
  291. #pragma GCC visibility pop
  292. ^
  293. /usr/include/sys/time.h:347:1: error: unknown type name 'pragma'
  294. __END_DECLS
  295. ^
  296. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  297. #define __END_DECLS __END_PUBLIC_DECLS
  298. ^
  299. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  300. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  301. ^
  302. <scratch space>:148:2: note: expanded from here
  303. #pragma GCC visibility pop
  304. ^
  305. /usr/include/sys/time.h:347:1: error: expected ';', found 'an identifier'
  306. __END_DECLS
  307. ^
  308. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  309. #define __END_DECLS __END_PUBLIC_DECLS
  310. ^
  311. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  312. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  313. ^
  314. <scratch space>:148:13: note: expanded from here
  315. #pragma GCC visibility pop
  316. ^
  317. /usr/include/sys/time.h:347:1: error: unknown type name 'visibility'
  318. __END_DECLS
  319. ^
  320. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  321. #define __END_DECLS __END_PUBLIC_DECLS
  322. ^
  323. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  324. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  325. ^
  326. <scratch space>:148:13: note: expanded from here
  327. #pragma GCC visibility pop
  328. ^
  329. /usr/include/sys/time.h:347:1: error: expected ';', found ''
  330. __END_DECLS
  331. ^
  332. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  333. #define __END_DECLS __END_PUBLIC_DECLS
  334. ^
  335. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  336. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  337. ^
  338. <scratch space>:149:27: note: expanded from here
  339. #pragma GCC visibility pop
  340. ^
  341. /usr/include/stdlib.h:411:1: error: unknown type name 'pragma'
  342. __END_DECLS
  343. ^
  344. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  345. #define __END_DECLS __END_PUBLIC_DECLS
  346. ^
  347. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  348. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  349. ^
  350. <scratch space>:155:2: note: expanded from here
  351. #pragma GCC visibility pop
  352. ^
  353. /usr/include/stdlib.h:411:1: error: expected ';', found 'an identifier'
  354. __END_DECLS
  355. ^
  356. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  357. #define __END_DECLS __END_PUBLIC_DECLS
  358. ^
  359. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  360. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  361. ^
  362. <scratch space>:155:13: note: expanded from here
  363. #pragma GCC visibility pop
  364. ^
  365. /usr/include/stdlib.h:411:1: error: unknown type name 'visibility'
  366. __END_DECLS
  367. ^
  368. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  369. #define __END_DECLS __END_PUBLIC_DECLS
  370. ^
  371. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  372. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  373. ^
  374. <scratch space>:155:13: note: expanded from here
  375. #pragma GCC visibility pop
  376. ^
  377. /usr/include/stdlib.h:411:1: error: expected ';', found ''
  378. __END_DECLS
  379. ^
  380. /usr/include/sys/cdefs.h:432:22: note: expanded from here
  381. #define __END_DECLS __END_PUBLIC_DECLS
  382. ^
  383. /usr/include/sys/cdefs.h:413:45: note: expanded from here
  384. # define __END_PUBLIC_DECLS __END_EXTERN_C _Pragma("GCC visibility pop")
  385. ^
  386. <scratch space>:156:27: note: expanded from here
  387. #pragma GCC visibility pop
  388. ^
  389. error: process exited with error code 1
  390. failed command: ./.zig-cache/o/7884c217e5bc580186b1de69355749cc/translate-c /home/labtoast/src/river/river/c.h -o ./.zig-cache/tmp/f0326079c3626d1f/c.zig -MD -MV -MF ./.zig-cache/tmp/f0326079c3626d1f/deps.d -nostdlibinc -isystem /usr/include -idirafter /usr/pkg/lib/zig/include -isystem /usr/local/include -isystem /usr/include/x86_64-netbsd-none -isystem /usr/include -w -resource-dir /home/labtoast/src/river/zig-pkg/aro-0.0.0-JSD1Qi7QNgDnfcrdEJf82v3o6MhZySjYVrtdfEf3E4Se -fmodule-libs -I/usr/pkg/include -I/usr/pkg/include
  391.  
  392. Build Summary: 32/36 steps succeeded (1 failed)
  393. install transitive failure
  394. +- install river transitive failure
  395. +- compile exe river ReleaseSafe native transitive failure
  396. +- translate-c c failure
  397.  
  398. error: the following build command failed with exit code 1:
  399. .zig-cache/o/46bbd281cb8ddf8dd5eca586aed68d73/build /usr/pkg/bin/zig /usr/pkg/lib/zig /home/labtoast/src/river .zig-cache /home/labtoast/.cache/zig --seed 0x7a4c77b -Z9d3705da4404e000 -Doptimize=ReleaseSafe --prefix /home/labtoast/.local install
Advertisement
Add Comment
Please, Sign In to add comment