Advertisement
Guest User

Untitled

a guest
Mar 12th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.37 KB | None | 0 0
  1. ==> Making package: hfsutils 3.2.6-8 (Sun Mar 12 20:56:02 EDT 2017)
  2. ==> Checking runtime dependencies...
  3. ==> Checking buildtime dependencies...
  4. ==> Retrieving sources...
  5. -> Found hfsutils-3.2.6.tar.gz
  6. -> Found Makefile-install.patch
  7. -> Found hfsutils-3.2.6-errno.patch
  8. -> Found largerthan2gb.patch
  9. -> Found hfsutils-3.2.6-fix-tcl-8.6.patch
  10. ==> Validating source files with md5sums...
  11. hfsutils-3.2.6.tar.gz ... Passed
  12. Makefile-install.patch ... Passed
  13. hfsutils-3.2.6-errno.patch ... Passed
  14. largerthan2gb.patch ... Passed
  15. hfsutils-3.2.6-fix-tcl-8.6.patch ... Passed
  16. ==> Extracting sources...
  17. -> Extracting hfsutils-3.2.6.tar.gz with bsdtar
  18. ==> Starting prepare()...
  19. patching file Makefile.in
  20. patching file tclhfs.c
  21. patching file libhfs/os/unix.c
  22. Hunk #1 succeeded at 19 with fuzz 1.
  23. patching file config.h.in
  24. ==> Removing existing $pkgdir/ directory...
  25. ==> Starting build()...
  26. loading cache ./config.cache
  27. checking whether make sets ${MAKE}... (cached) yes
  28. checking for gcc... (cached) gcc
  29. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) works... yes
  30. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) is a cross-compiler... no
  31. checking whether we are using GNU C... (cached) yes
  32. checking whether gcc accepts -g... (cached) yes
  33. checking for a BSD compatible install... (cached) /usr/bin/install -c
  34. checking for ranlib... (cached) ranlib
  35. checking how to run the C preprocessor... (cached) /lib/cpp
  36. checking whether gcc needs -traditional... (cached) no
  37. checking for ANSI C header files... (cached) no
  38. checking for unistd.h... (cached) no
  39. checking for fcntl.h... (cached) no
  40. checking for termios.h... (cached) no
  41. checking for sys/ioctl.h... (cached) no
  42. checking for uid_t in sys/types.h... (cached) no
  43. checking for size_t... (cached) no
  44. checking for working const... (cached) yes
  45. checking for strdup... (cached) yes
  46. checking for strerror... (cached) yes
  47. checking for strstr... (cached) yes
  48. checking for strtol... (cached) yes
  49. checking for setreuid... (cached) yes
  50. checking for sys_errlist... (cached) yes
  51. creating ./config.status
  52. creating hfsck/Makefile
  53. creating linux/Makefile
  54. creating Makefile
  55. creating config.h
  56. config.h is unchanged
  57. configuring in libhfs
  58. running /bin/sh ./configure --prefix=/home/user/.cache/pacaur/hfsutils/pkg/hfsutils/usr --sbindir=/usr/bin --bindir=/usr/bin --mandir=/usr/share/man --without-tcl --without-tk --cache-file=.././config.cache --srcdir=.
  59. loading cache .././config.cache
  60. checking whether make sets ${MAKE}... (cached) yes
  61. checking for gcc... (cached) gcc
  62. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) works... yes
  63. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) is a cross-compiler... no
  64. checking whether we are using GNU C... (cached) yes
  65. checking whether gcc accepts -g... (cached) yes
  66. checking for a BSD compatible install... (cached) /usr/bin/install -c
  67. checking for ranlib... (cached) ranlib
  68. checking whether ln -s works... (cached) yes
  69. checking how to run the C preprocessor... (cached) /lib/cpp
  70. checking whether gcc needs -traditional... (cached) no
  71. checking for ANSI C header files... (cached) no
  72. checking for unistd.h... (cached) no
  73. checking for fcntl.h... (cached) no
  74. checking for size_t... (cached) no
  75. checking whether struct tm is in sys/time.h or time.h... (cached) sys/time.h
  76. checking for working const... (cached) yes
  77. checking for 8-bit clean memcmp... (cached) yes
  78. checking for mktime... (cached) yes
  79. creating ./config.status
  80. creating Makefile
  81. creating config.h
  82. config.h is unchanged
  83. configuring in librsrc
  84. running /bin/sh ./configure --prefix=/home/user/.cache/pacaur/hfsutils/pkg/hfsutils/usr --sbindir=/usr/bin --bindir=/usr/bin --mandir=/usr/share/man --without-tcl --without-tk --cache-file=.././config.cache --srcdir=.
  85. loading cache .././config.cache
  86. checking whether make sets ${MAKE}... (cached) yes
  87. checking for gcc... (cached) gcc
  88. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) works... yes
  89. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) is a cross-compiler... no
  90. checking whether we are using GNU C... (cached) yes
  91. checking whether gcc accepts -g... (cached) yes
  92. checking for a BSD compatible install... (cached) /usr/bin/install -c
  93. checking for ranlib... (cached) ranlib
  94. checking how to run the C preprocessor... (cached) /lib/cpp
  95. checking whether gcc needs -traditional... (cached) no
  96. checking for ANSI C header files... (cached) no
  97. checking for unistd.h... (cached) no
  98. checking for fcntl.h... (cached) no
  99. checking for size_t... (cached) no
  100. checking whether struct tm is in sys/time.h or time.h... (cached) sys/time.h
  101. checking for working const... (cached) yes
  102. checking for mktime... (cached) yes
  103. creating ./config.status
  104. creating Makefile
  105. creating config.h
  106. config.h is unchanged
  107. cd libhfs && make
  108. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hfsutil.o hfsutil.c
  109. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hcwd.o hcwd.c
  110. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hattrib.o hattrib.c
  111. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hcd.o hcd.c
  112. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hcopy.o hcopy.c
  113. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hdel.o hdel.c
  114. make[1]: Entering directory '/home/user/.cache/pacaur/hfsutils/src/hfsutils-3.2.6/libhfs'
  115. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o os.o os.c
  116. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hformat.o hformat.c
  117. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o data.o data.c
  118. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hls.o hls.c
  119. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o block.o block.c
  120. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hmkdir.o hmkdir.c
  121. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o low.o low.c
  122. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hmount.o hmount.c
  123. In file included from hfsutil.c:23:0:
  124. config.h:35:16: error: duplicate ‘unsigned’
  125. #define size_t unsigned
  126. ^
  127. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hpwd.o hpwd.c
  128. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o medium.o medium.c
  129. In file included from hcwd.c:23:0:
  130. config.h:35:16: error: duplicate ‘unsigned’
  131. #define size_t unsigned
  132. ^
  133. In file included from hattrib.c:23:0:
  134. config.h:35:16: error: duplicate ‘unsigned’
  135. #define size_t unsigned
  136. ^
  137. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hrename.o hrename.c
  138. In file included from hcopy.c:23:0:
  139. config.h:35:16: error: duplicate ‘unsigned’
  140. #define size_t unsigned
  141. ^
  142. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o file.o file.c
  143. os.c:42:1: error: unknown type name ‘off_t’
  144. off_t lseek(int, off_t, int);
  145. ^~~~~
  146. os.c:42:18: error: unknown type name ‘off_t’
  147. off_t lseek(int, off_t, int);
  148. ^~~~~
  149. os.c:43:1: error: unknown type name ‘ssize_t’
  150. ssize_t read(int, void *, size_t);
  151. ^~~~~~~
  152. os.c:44:1: error: unknown type name ‘ssize_t’
  153. ssize_t write(int, const char *, size_t);
  154. ^~~~~~~
  155. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hrmdir.o hrmdir.c
  156. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o btree.o btree.c
  157. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o humount.o humount.c
  158. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o node.o node.c
  159. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_CONFIG_H -c -o record.o record.c
  160. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o hvol.o hvol.c
  161. os.c:45:31: warning: ‘struct stat’ declared inside parameter list will not be visible outside of this definition or declaration
  162. int stat(const char *, struct stat *);
  163. ^~~~
  164. os.c:46:23: warning: ‘struct stat’ declared inside parameter list will not be visible outside of this definition or declaration
  165. int fstat(int, struct stat *);
  166. ^~~~
  167. In file included from hcd.c:23:0:
  168. config.h:35:16: error: duplicate ‘unsigned’
  169. #define size_t unsigned
  170. ^
  171. In file included from hmount.c:23:0:
  172. config.h:35:16: error: duplicate ‘unsigned’
  173. #define size_t unsigned
  174. ^
  175. In file included from block.c:23:0:
  176. config.h:32:16: error: duplicate ‘unsigned’
  177. #define size_t unsigned
  178. ^
  179. In file included from hmkdir.c:23:0:
  180. config.h:35:16: error: duplicate ‘unsigned’
  181. #define size_t unsigned
  182. ^
  183. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o binhex.o binhex.c
  184. In file included from hls.c:23:0:
  185. config.h:35:16: error: duplicate ‘unsigned’
  186. #define size_t unsigned
  187. ^
  188. In file included from /usr/include/features.h:410:0,
  189. from /usr/include/errno.h:28,
  190. from os.c:49:
  191. /usr/include/sys/stat.h:213:12: error: conflicting types for ‘stat’
  192. extern int __REDIRECT_NTH (stat, (const char *__restrict __file,
  193. ^
  194. os.c:45:5: note: previous declaration of ‘stat’ was here
  195. int stat(const char *, struct stat *);
  196. ^~~~
  197. In file included from /usr/include/features.h:410:0,
  198. from /usr/include/errno.h:28,
  199. from os.c:49:
  200. /usr/include/sys/stat.h:216:12: error: conflicting types for ‘fstat’
  201. extern int __REDIRECT_NTH (fstat, (int __fd, struct stat *__buf), fstat64)
  202. ^
  203. os.c:46:5: note: previous declaration of ‘fstat’ was here
  204. int fstat(int, struct stat *);
  205. ^~~~~
  206. In file included from /usr/include/features.h:410:0,
  207. from /usr/include/errno.h:28,
  208. from os.c:49:
  209. /usr/include/sys/stat.h:449:1: error: conflicting types for ‘stat’
  210. __NTH (stat (const char *__path, struct stat *__statbuf))
  211. ^
  212. config.h:32:15: error: two or more data types in declaration specifiers
  213. #define gid_t int
  214. ^
  215. config.h:41:15: error: two or more data types in declaration specifiers
  216. #define uid_t int
  217. ^
  218. In file included from data.c:23:0:
  219. config.h:32:16: error: duplicate ‘unsigned’
  220. #define size_t unsigned
  221. ^
  222. In file included from hdel.c:23:0:
  223. config.h:35:16: error: duplicate ‘unsigned’
  224. #define size_t unsigned
  225. ^
  226. config.h:32:15: error: two or more data types in declaration specifiers
  227. #define gid_t int
  228. ^
  229. config.h:41:15: error: two or more data types in declaration specifiers
  230. #define uid_t int
  231. ^
  232. config.h:32:15: error: two or more data types in declaration specifiers
  233. #define gid_t int
  234. ^
  235. os.c:45:5: note: previous declaration of ‘stat’ was here
  236. int stat(const char *, struct stat *);
  237. ^~~~
  238. In file included from /usr/include/features.h:410:0,
  239. from /usr/include/errno.h:28,
  240. from os.c:49:
  241. /usr/include/sys/stat.h:463:1: error: conflicting types for ‘fstat’
  242. __NTH (fstat (int __fd, struct stat *__statbuf))
  243. ^
  244. os.c:46:5: note: previous declaration of ‘fstat’ was here
  245. int fstat(int, struct stat *);
  246. ^~~~~
  247. In file included from os.c:28:0:
  248. config.h:32:16: error: duplicate ‘unsigned’
  249. #define size_t unsigned
  250. ^
  251. config.h:41:15: error: two or more data types in declaration specifiers
  252. #define uid_t int
  253. ^
  254. In file included from hformat.c:23:0:
  255. config.h:35:16: error: duplicate ‘unsigned’
  256. #define size_t unsigned
  257. ^
  258. config.h:32:15: error: two or more data types in declaration specifiers
  259. #define gid_t int
  260. ^
  261. config.h:41:15: error: two or more data types in declaration specifiers
  262. #define uid_t int
  263. ^
  264. In file included from hpwd.c:23:0:
  265. config.h:35:16: error: duplicate ‘unsigned’
  266. #define size_t unsigned
  267. ^
  268. In file included from low.c:23:0:
  269. config.h:32:16: error: duplicate ‘unsigned’
  270. #define size_t unsigned
  271. ^
  272. os.c: In function ‘os_open’:
  273. In file included from file.c:23:0:
  274. config.h:32:16: error: duplicate ‘unsigned’
  275. #define size_t unsigned
  276. ^
  277. config.h:32:15: error: two or more data types in declaration specifiers
  278. #define gid_t int
  279. ^
  280. In file included from btree.c:23:0:
  281. config.h:32:16: error: duplicate ‘unsigned’
  282. #define size_t unsigned
  283. ^
  284. os.c:62:16: error: storage size of ‘lock’ isn’t known
  285. struct flock lock;
  286. ^~~~
  287. os.c:67:14: error: ‘O_RDONLY’ undeclared (first use in this function)
  288. mode = O_RDONLY;
  289. ^~~~~~~~
  290. In file included from humount.c:23:0:
  291. config.h:35:16: error: duplicate ‘unsigned’
  292. #define size_t unsigned
  293. ^
  294. In file included from medium.c:23:0:
  295. config.h:32:16: error: duplicate ‘unsigned’
  296. #define size_t unsigned
  297. ^
  298. config.h:32:15: error: two or more data types in declaration specifiers
  299. #define gid_t int
  300. ^
  301. config.h:41:15: error: two or more data types in declaration specifiers
  302. #define uid_t int
  303. ^
  304. config.h:41:15: error: two or more data types in declaration specifiers
  305. #define uid_t int
  306. ^
  307. config.h:32:15: error: two or more data types in declaration specifiers
  308. #define gid_t int
  309. ^
  310. config.h:41:15: error: two or more data types in declaration specifiers
  311. #define uid_t int
  312. ^
  313. In file included from hvol.c:23:0:
  314. config.h:35:16: error: duplicate ‘unsigned’
  315. #define size_t unsigned
  316. ^
  317. In file included from hrename.c:23:0:
  318. config.h:35:16: error: duplicate ‘unsigned’
  319. #define size_t unsigned
  320. ^
  321. config.h:32:15: error: two or more data types in declaration specifiers
  322. #define gid_t int
  323. ^
  324. config.h:41:15: error: two or more data types in declaration specifiers
  325. #define uid_t int
  326. ^
  327. In file included from hrmdir.c:23:0:
  328. config.h:35:16: error: duplicate ‘unsigned’
  329. #define size_t unsigned
  330. ^
  331. In file included from record.c:23:0:
  332. config.h:32:16: error: duplicate ‘unsigned’
  333. #define size_t unsigned
  334. ^
  335. In file included from binhex.c:23:0:
  336. config.h:35:16: error: duplicate ‘unsigned’
  337. #define size_t unsigned
  338. ^
  339. config.h:32:15: error: two or more data types in declaration specifiers
  340. #define gid_t int
  341. ^
  342. config.h:41:15: error: two or more data types in declaration specifiers
  343. #define uid_t int
  344. ^
  345. os.c:67:14: note: each undeclared identifier is reported only once for each function it appears in
  346. os.c:72:14: error: ‘O_RDWR’ undeclared (first use in this function)
  347. mode = O_RDWR;
  348. ^~~~~~
  349. os.c:82:40: error: ‘F_RDLCK’ undeclared (first use in this function)
  350. lock.l_type = (mode == O_RDONLY) ? F_RDLCK : F_WRLCK;
  351. ^~~~~~~
  352. os.c:82:50: error: ‘F_WRLCK’ undeclared (first use in this function)
  353. lock.l_type = (mode == O_RDONLY) ? F_RDLCK : F_WRLCK;
  354. ^~~~~~~
  355. os.c:84:19: error: ‘SEEK_SET’ undeclared (first use in this function)
  356. lock.l_whence = SEEK_SET;
  357. ^~~~~~~~
  358. os.c:87:17: error: ‘F_SETLK’ undeclared (first use in this function)
  359. if (fcntl(fd, F_SETLK, &lock) == -1 &&
  360. ^~~~~~~
  361. os.c:91:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  362. *priv = (void *) fd;
  363. ^
  364. os.c: In function ‘os_close’:
  365. os.c:108:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  366. int fd = (int) *priv;
  367. ^
  368. os.c: In function ‘os_same’:
  369. os.c:127:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  370. int fd = (int) *priv;
  371. ^
  372. os.c: In function ‘os_seek’:
  373. os.c:147:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  374. int fd = (int) *priv;
  375. ^
  376. os.c:153:14: warning: implicit declaration of function ‘lseek’ [-Wimplicit-function-declaration]
  377. result = lseek(fd, 0, SEEK_END);
  378. ^~~~~
  379. os.c:153:27: error: ‘SEEK_END’ undeclared (first use in this function)
  380. result = lseek(fd, 0, SEEK_END);
  381. ^~~~~~~~
  382. os.c:155:52: error: ‘SEEK_SET’ undeclared (first use in this function)
  383. result = lseek(fd, offset << HFS_BLOCKSZ_BITS, SEEK_SET);
  384. ^~~~~~~~
  385. os.c: In function ‘os_read’:
  386. os.c:172:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  387. int fd = (int) *priv;
  388. ^
  389. os.c:173:3: error: unknown type name ‘ssize_t’
  390. ssize_t result;
  391. ^~~~~~~
  392. os.c: In function ‘os_write’:
  393. os.c:192:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  394. int fd = (int) *priv;
  395. ^
  396. os.c:193:3: error: unknown type name ‘ssize_t’
  397. ssize_t result;
  398. ^~~~~~~
  399. In file included from node.c:23:0:
  400. config.h:32:16: error: duplicate ‘unsigned’
  401. #define size_t unsigned
  402. ^
  403. config.h:32:15: error: two or more data types in declaration specifiers
  404. #define gid_t int
  405. ^
  406. config.h:41:15: error: two or more data types in declaration specifiers
  407. #define uid_t int
  408. ^
  409. make[1]: *** [<builtin>: os.o] Error 1
  410. make[1]: *** Waiting for unfinished jobs....
  411. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o copyin.o copyin.c
  412. hcwd.c: In function ‘hcwd_finish’:
  413. hcwd.c:190:11: warning: implicit declaration of function ‘ftruncate’ [-Wimplicit-function-declaration]
  414. if (ftruncate(fileno(statef), 0) == -1)
  415. ^~~~~~~~~
  416. config.h:32:15: error: two or more data types in declaration specifiers
  417. #define gid_t int
  418. ^
  419. config.h:41:15: error: two or more data types in declaration specifiers
  420. #define uid_t int
  421. ^
  422. config.h:32:15: error: two or more data types in declaration specifiers
  423. #define gid_t int
  424. ^
  425. config.h:41:15: error: two or more data types in declaration specifiers
  426. #define uid_t int
  427. ^
  428. make[1]: *** [<builtin>: data.o] Error 1
  429. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o copyout.o copyout.c
  430. hcopy.c: In function ‘hcopy_main’:
  431. hcopy.c:268:13: warning: implicit declaration of function ‘getopt’ [-Wimplicit-function-declaration]
  432. opt = getopt(argc, argv, "mbtra");
  433. ^~~~~~
  434. make[1]: *** [<builtin>: medium.o] Error 1
  435. gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibhfs -DHAVE_CONFIG_H -c -o charset.o charset.c
  436. make[1]: *** [<builtin>: low.o] Error 1
  437. make: *** [<builtin>: hmkdir.o] Error 1
  438. make: *** Waiting for unfinished jobs....
  439. make: *** [<builtin>: hmount.o] Error 1
  440. make: *** [<builtin>: hcopy.o] Error 1
  441. hpwd.c: In function ‘hpwd_main’:
  442. hpwd.c:55:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
  443. if (strcmp(ent->cwd, ":") == 0)
  444. ^~~~~~
  445. make: *** [<builtin>: hpwd.o] Error 1
  446. make: *** [<builtin>: hcwd.o] Error 1
  447. make: *** [<builtin>: hcd.o] Error 1
  448. make: *** [<builtin>: hrmdir.o] Error 1
  449. make: *** [<builtin>: hattrib.o] Error 1
  450. make: *** [<builtin>: hdel.o] Error 1
  451. make: *** [<builtin>: hvol.o] Error 1
  452. make[1]: *** [<builtin>: btree.o] Error 1
  453. make[1]: *** [<builtin>: node.o] Error 1
  454. hformat.c: In function ‘hformat_main’:
  455. hformat.c:92:13: warning: implicit declaration of function ‘getopt’ [-Wimplicit-function-declaration]
  456. opt = getopt(argc, argv, "fl:");
  457. ^~~~~~
  458. binhex.c: In function ‘bh_start’:
  459. In file included from charset.c:23:0:
  460. config.h:35:16: error: duplicate ‘unsigned’
  461. #define size_t unsigned
  462. ^
  463. In file included from copyout.c:23:0:
  464. config.h:35:16: error: duplicate ‘unsigned’
  465. #define size_t unsigned
  466. ^
  467. binhex.c:109:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
  468. close(dupfd);
  469. ^~~~~
  470. make: *** [<builtin>: hformat.o] Error 1
  471. make: *** [<builtin>: hfsutil.o] Error 1
  472. config.h:32:15: error: two or more data types in declaration specifiers
  473. #define gid_t int
  474. ^
  475. config.h:41:15: error: two or more data types in declaration specifiers
  476. #define uid_t int
  477. ^
  478. config.h:32:15: error: two or more data types in declaration specifiers
  479. #define gid_t int
  480. ^
  481. In file included from copyin.c:23:0:
  482. config.h:35:16: error: duplicate ‘unsigned’
  483. #define size_t unsigned
  484. ^
  485. make: *** [<builtin>: humount.o] Error 1
  486. config.h:32:15: error: two or more data types in declaration specifiers
  487. #define gid_t int
  488. ^
  489. config.h:41:15: error: two or more data types in declaration specifiers
  490. #define uid_t int
  491. ^
  492. config.h:41:15: error: two or more data types in declaration specifiers
  493. #define uid_t int
  494. ^
  495. make[1]: *** [<builtin>: file.o] Error 1
  496. make[1]: *** [<builtin>: block.o] Error 1
  497. make: *** [<builtin>: hrename.o] Error 1
  498. make: *** [<builtin>: binhex.o] Error 1
  499. hls.c: In function ‘hls_main’:
  500. hls.c:843:7: warning: implicit declaration of function ‘isatty’ [-Wimplicit-function-declaration]
  501. if (isatty(STDOUT_FILENO))
  502. ^~~~~~
  503. hls.c:843:14: error: ‘STDOUT_FILENO’ undeclared (first use in this function)
  504. if (isatty(STDOUT_FILENO))
  505. ^~~~~~~~~~~~~
  506. hls.c:843:14: note: each undeclared identifier is reported only once for each function it appears in
  507. copyout.c: In function ‘fork_macb’:
  508. copyout.c:82:15: warning: implicit declaration of function ‘write’ [-Wimplicit-function-declaration]
  509. bytes = write(ofile, buf, chunk);
  510. ^~~~~
  511. make[1]: *** [<builtin>: record.o] Error 1
  512. make[1]: Leaving directory '/home/user/.cache/pacaur/hfsutils/src/hfsutils-3.2.6/libhfs'
  513. make: *** [Makefile:218: libhfs/libhfs.a] Error 2
  514. copyin.c: In function ‘fork_macb’:
  515. copyin.c:80:15: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
  516. bytes = read(ifile, buf, chunk);
  517. ^~~~
  518. hls.c:874:13: warning: implicit declaration of function ‘getopt’ [-Wimplicit-function-declaration]
  519. opt = getopt(argc, argv, "1abcdfilmqrstxw:CFNQRSU");
  520. ^~~~~~
  521. make: *** [<builtin>: charset.o] Error 1
  522. copyout.c: In function ‘opendst’:
  523. copyout.c:490:14: error: ‘STDOUT_FILENO’ undeclared (first use in this function)
  524. fd = dup(STDOUT_FILENO);
  525. ^~~~~~~~~~~~~
  526. copyout.c:490:14: note: each undeclared identifier is reported only once for each function it appears in
  527. copyout.c:513:26: error: ‘O_WRONLY’ undeclared (first use in this function)
  528. fd = open(dstname, O_WRONLY | O_CREAT | O_TRUNC, 0666);
  529. ^~~~~~~~
  530. copyout.c:513:37: error: ‘O_CREAT’ undeclared (first use in this function)
  531. fd = open(dstname, O_WRONLY | O_CREAT | O_TRUNC, 0666);
  532. ^~~~~~~
  533. copyout.c:513:47: error: ‘O_TRUNC’ undeclared (first use in this function)
  534. fd = open(dstname, O_WRONLY | O_CREAT | O_TRUNC, 0666);
  535. ^~~~~~~
  536. copyout.c: In function ‘closefiles’:
  537. copyout.c:559:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
  538. if (close(ofile) == -1 && *result == 0)
  539. ^~~~~
  540. copyin.c: In function ‘opensrc’:
  541. copyin.c:327:16: error: ‘STDIN_FILENO’ undeclared (first use in this function)
  542. fd = dup(STDIN_FILENO);
  543. ^~~~~~~~~~~~
  544. copyin.c:327:16: note: each undeclared identifier is reported only once for each function it appears in
  545. copyin.c:331:24: error: ‘O_RDONLY’ undeclared (first use in this function)
  546. fd = open(srcname, O_RDONLY);
  547. ^~~~~~~~
  548. copyin.c: In function ‘closefiles’:
  549. copyin.c:447:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
  550. if (close(ifile) == -1 && *result == 0)
  551. ^~~~~
  552. make: *** [<builtin>: hls.o] Error 1
  553. make: *** [<builtin>: copyout.o] Error 1
  554. make: *** [<builtin>: copyin.o] Error 1
  555. ==> ERROR: A failure occurred in build().
  556. Aborting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement