LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1603|回复: 19

编译过程中突然停电会怎么样呢?

[复制链接]
发表于 2010-1-14 12:26:28 | 显示全部楼层 |阅读模式
昨天停电了,

之后发现libperl这个包无法编译了,

我不确定二者之间是不是有关系,

但是很奇怪的是这个包应该能编译的,因为前天刚刚编译通过,昨天也没有升级portage tree,

我只是在emerge -e world时发现无法编译的,

现在emerge -e system又卡在这个包上。
 楼主| 发表于 2010-1-14 12:32:01 | 显示全部楼层
build log:
  1. >>> Unpacking source...
  2. >>> Unpacking perl-5.8.8.tar.bz2 to /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work
  3. [32;01m*[0m Applying libperl-create-libperl-soname.patch ...
  4. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  5. [32;01m*[0m Applying libperl-noksh.patch ...
  6. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  7. [32;01m*[0m Applying libperl-5.8.8-reorder-INC.patch ...
  8. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  9. [32;01m*[0m Applying libperl-5.8.8-makedepend-syntax.patch ...
  10. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  11. [32;01m*[0m Applying perl-hppa-pa7200-configure.patch ...
  12. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  13. [32;01m*[0m Applying libperl-5.8.8-lib64.patch ...
  14. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  15. [32;01m*[0m Applying libperl-5.8.8-cplusplus.patch ...
  16. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  17. [32;01m*[0m Applying libperl-5.8.8-gcc42-command-line.patch ...
  18. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  19. [32;01m*[0m Applying libperl-5.8.8-utf8-boundary.patch ...
  20. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  21. [32;01m*[0m Applying libperl-5.8.8-CVE-2008-1927.patch ...
  22. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  23. [32;01m*[0m Applying libperl-5.8.8-ccld-cflags.patch ...
  24. [A[72C  [34;01m[ [32;01mok[34;01m ][0m
  25. >>> Source unpacked in /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work
  26. >>> Compiling source in /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8 ...
  27. First let's make sure your kit is complete.  Checking...
  28. Locating common programs...
  29. Checking compatibility between /bin/echo and builtin echo (if any)...
  30. Symbolic links are supported.
  31. Checking how to test for symbolic links...
  32. You can test for symbolic links with 'test -h'.
  33. Good, your tr supports [:lower:] and [:upper:] to convert case.
  34. Using [:upper:] and [:lower:] to convert case.
  35. 3b1                dos_djgpp       irix_6_0      nonstopux     sunos_4_0   
  36. aix                dynix                irix_6_1      openbsd            sunos_4_1   
  37. aix_3        dynixptx        isc              opus            super-ux   
  38. aix_4        epix                isc_2              os2            svr4   
  39. altos486     esix4                linux              os390            svr5   
  40. amigaos      fps                lynxos              os400            ti1500   
  41. apollo       freebsd         machten       posix-bc            titanos   
  42. atheos       genix                machten_2     powerux            ultrix_4   
  43. aux_3        gnu                mint              qnx            umips   
  44. beos         gnukfreebsd     mips              rhapsody            unicos   
  45. bsdos        gnuknetbsd      mpc              sco            unicosmk   
  46. convexos     greenhills      mpeix              sco_2_3_0     unisysdynix   
  47. cxux         hpux                ncr_tower     sco_2_3_1     utekv   
  48. cygwin       i386                netbsd              sco_2_3_2     uts   
  49. darwin       interix         newsos4       sco_2_3_3     uwin   
  50. dcosx        irix_4                next_3              sco_2_3_4     vmesa   
  51. dec_osf      irix_5                next_3_0      solaris_2     vos   
  52. dgux         irix_6                next_4              stellar   
  53. Which of these apply, if any? [linux]  

  54. You appear to have ELF support.  I'll try to use it for dynamic loading.
  55. If dynamic loading doesn't work, read hints/linux.sh for further information.
  56. Operating system name? [linux]  
  57. Operating system version? [2.6.31-gentoo-r6]  
  58. Build Perl for SOCKS? [n]  
  59. Use the PerlIO abstraction layer? [y]  
  60. Build a threading Perl? [n]  
  61. Build Perl for multiplicity? [n]  
  62. Use which C compiler? [x86_64-pc-linux-gnu-gcc]  
  63. Checking for GNU cc in disguise and/or its version number...
  64. Now, how can we feed standard input to your C preprocessor...
  65. Directories to use for library searches?
  66. [/usr/local/lib64 /lib64 /usr/lib64]  
  67. What is the file extension used for shared libraries? [so]  
  68. Try to use long doubles if available? [n]  
  69. Checking for optional libraries...
  70. What libraries to use? [-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc]  
  71. What optimizer/debugger flag should be used? [-march=native -O2 -pipe]  
  72. Any additional cc flags?
  73. [-fno-strict-aliasing -pipe -Wdeclaration-after-statement]  
  74. Let me guess what the preprocessor flags are...
  75. Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib64]  
  76. Checking your choice of C compiler and flags for coherency...
  77. Computing filename position in cpp output for #include directives...
  78. <stdlib.h> found.
  79. Checking to see how big your integers are...
  80. Checking to see if you have long long...
  81. Checking to see how big your long longs are...
  82. <inttypes.h> found.
  83. Checking to see if you have int64_t...
  84. Checking which 64-bit integer type we could use...
  85. We could use 'long' for 64-bit integers.
  86. Try to use maximal 64-bit support, if available? [y]  
  87. Checking to see how big your double precision numbers are...
  88. Checking to see if you have long double...
  89. Checking to see how big your long doubles are...
  90. What is your architecture name [x86_64-linux]  
  91. This architecture is naturally 64-bit, not changing architecture name.
  92. Perlio selected.
  93. Installation prefix to use? (~name ok) [/usr]  
  94. AFS does not seem to be running...
  95. What installation prefix should I use for installing files? (~name ok)
  96. [/usr]  
  97. Getting the current patchlevel...
  98. Pathname where the private library files will reside? (~name ok)
  99. [/usr/lib64/perl5/5.8.8]  
  100. Where do you want to put the public architecture-dependent libraries? (~name ok)
  101. [/usr/lib64/perl5/5.8.8/x86_64-linux]  
  102. Other username to test security of setuid scripts with? [none]  
  103. Well, the recommended value is *not* secure.
  104. Does your kernel have *secure* setuid scripts? [n]  
  105. Do you want to do setuid/setgid emulation? [y]  
  106. <malloc.h> found.
  107. Checking to see how well your C compiler groks the void type...
  108. Good.  It appears to support void to the level perl5 wants.
  109. Checking to see how big your pointers are...
  110. Do you wish to wrap malloc calls to protect against potential overflows? [y]  
  111. Do you wish to attempt to use the malloc that comes with perl5? [n]  
  112. Your system wants malloc to return 'void *', it would seem.
  113. Your system uses void free(), it would seem.
  114. Installation prefix to use for add-on modules and utilities? (~name ok)
  115. [/usr]  
  116. Pathname for the site-specific library files? (~name ok)
  117. [/usr/lib64/perl5/site_perl/5.8.8]  
  118. Pathname for the site-specific architecture-dependent library files? (~name ok)
  119. [/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux]  
  120. Do you want to configure vendor-specific add-on directories? [y]  
  121. Installation prefix to use for vendor-supplied add-ons? (~name ok) [/usr]  
  122. Pathname for the vendor-supplied library files? (~name ok)
  123. [/usr/lib64/perl5/vendor_perl/5.8.8]  
  124. Pathname for vendor-supplied architecture-dependent files? (~name ok)
  125. [/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux]  
  126. Colon-separated list of additional directories for perl to search? [none]  
  127. Checking out function prototypes...
  128. Pathname where the public executables will reside? (~name ok) [/usr/bin]  
  129. Install any extra modules (y or n)? [n]  
  130. Directory for the main Perl5 html pages? (~name ok) [none]  
  131. Directory for the Perl5 module html pages? (~name ok) [none]  
  132. List of earlier versions to include in @INC? [none]  
  133. Checking for GNU C Library...
  134. nm probably won't work on the GNU C Library.
  135. Shall I use /usr/bin/nm to extract C symbols from the libraries? [n]  
  136. <dld.h> NOT found.
  137. dlopen() found.
  138. Do you wish to use dynamic loading? [y]  
  139. Source file to use for dynamic loading [ext/DynaLoader/dl_dlopen.xs]  
  140. Any special flags to pass to x86_64-pc-linux-gnu-gcc -c to compile shared library modules?
  141. [-fPIC]  
  142. What command should be used to create dynamic libraries?
  143. [x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe]  
  144. Any special flags to pass to x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe to create a dynamically loaded library?
  145. [-shared -L/usr/local/lib64]  
  146. Any special flags to pass to x86_64-pc-linux-gnu-gcc to use dynamic linking?
  147. [-rdynamic]  
  148. Build a shared libperl.so (y/n) [y]  
  149. What name do you want to give to the shared libperl? [libperl.so.1.5.8]  

  150. Adding -Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux/CORE to the flags
  151. passed to x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe so that the perl executable will find the
  152. installed shared libperl.so.1.5.8.

  153. System manual is in /usr/share/man/man1.
  154. Where do the main Perl5 manual pages (source) go? (~name ok)
  155. [/usr/share/man/man1]  
  156. What suffix should be used for the main Perl5 man pages? [1]  
  157. You can have filenames longer than 14 characters.
  158. Where do the perl5 library man pages (source) go? (~name ok)
  159. [/usr/share/man/man3]  
  160. What suffix should be used for the perl5 library man pages? [3pm]  
  161. Figuring out host name...
  162. Your host name appears to be "PC-686". Right? [y]  
  163. What is your domain name? [.domain]  
  164. What is your e-mail address? [Gentoo@pc-686.domain]  
  165. Perl administrator e-mail address [Gentoo@pc-686.domain]  
  166. Do you want to install only the version-specific parts of perl? [n]  
  167. What shall I put after the #! to start up perl ("none" to not use #!)?
  168. [/usr/bin/perl]  
  169. Where do you keep publicly executable scripts? (~name ok) [/usr/bin]  
  170. Pathname where the add-on public executables should be installed? (~name ok)
  171. [/usr/bin]  
  172. Pathname where the site-specific html pages should be installed? (~name ok)
  173. [none]  
  174. Pathname where the site-specific library html pages should be installed? (~name ok)
  175. [none]  
  176. Pathname where the site-specific manual pages should be installed? (~name ok)
  177. [/usr/share/man/man1]  
  178. Pathname where the site-specific library manual pages should be installed? (~name ok)
  179. [/usr/share/man/man3]  
  180. Pathname where add-on public executable scripts should be installed? (~name ok)
  181. [/usr/bin]  
  182. Use the "fast stdio" if available? [y]  
  183. off_t found.
  184. Checking to see how big your file offsets are...
  185. fpos_t found.
  186. Checking the size of fpos_t...
  187. Try to understand large files, if available? [y]  
  188. Rechecking to see how big your file offsets are...
  189. Rechecking the size of fpos_t... 16 bytes.
  190. Pathname for the vendor-supplied executables directory? (~name ok)
  191. [/usr/bin]  
  192. Pathname for the vendor-supplied html pages? (~name ok) [none]  
  193. Pathname for the vendor-supplied html pages? (~name ok) [none]  
  194. Pathname for the vendor-supplied manual section 1 pages? (~name ok)
  195. [/usr/share/man/man1]  
  196. Pathname for the vendor-supplied manual section 3 pages? (~name ok)
  197. [/usr/share/man/man3]  
  198. Pathname for the vendor-supplied scripts directory? (~name ok) [/usr/bin]  
  199. qgcvt() found.
  200. Checking how to print long doubles...
  201. gconvert NOT found.
  202. gcvt() found.
  203. I'll use gcvt to convert floats into a string.
  204. fwalk() NOT found.
  205. access() found.
  206. <sys/file.h> defines the *_OK access constants.
  207. accessx() NOT found.
  208. aintl() NOT found.
  209. alarm() found.
  210. <pthread.h> found.
  211. <sys/types.h> found.
  212. <sys/select.h> found.
  213. Testing to see if we should include <time.h>, <sys/time.h> or both.
  214. We'll include <time.h>.
  215. We'll include <sys/time.h>.
  216. Checking to see if your struct tm has tm_zone field...
  217. Checking to see if your struct tm has tm_gmtoff field...
  218. asctime_r() found.
  219. atolf() NOT found.
  220. atoll() found.
  221. Checking whether your compiler can handle __attribute__((format)) ...
  222. Checking whether your compiler can handle __attribute__((malloc)) ...
  223. Checking whether your compiler can handle __attribute__((nonnull(1))) ...
  224. Checking whether your compiler can handle __attribute__((noreturn)) ...
  225. Checking whether your compiler can handle __attribute__((pure)) ...
  226. Checking whether your compiler can handle __attribute__((unused)) ...
  227. Checking whether your compiler can handle __attribute__((warn_unused_result)) ...
  228. bcmp() found.
  229. bcopy() found.
  230. <unistd.h> found.
  231. getpgrp() found.
  232. You have to use getpgrp() instead of getpgrp(pid).
  233. setpgrp() found.
  234. You have to use setpgrp() instead of setpgrp(pid,pgrp).
  235. bzero() found.
  236. You have void (*signal())().
  237. Checking whether your C compiler can cast large floats to int32.
  238. Checking whether your C compiler can cast negative float to unsigned.
  239. vprintf() found.
  240. Your vsprintf() returns (char*).
  241. chown() found.
  242. chroot() found.
  243. chsize() NOT found.
  244. class() NOT found.
  245. clearenv() found.
  246. Hmm... Looks like you have Berkeley networking support.
  247. socketpair() found.
  248. Checking the availability of certain socket constants...
  249. <sys/uio.h> found.
  250. Checking to see if your system supports struct cmsghdr...
  251. Checking to see if your C compiler knows about "const"...
  252. copysignl() found.
  253. crypt() found.
  254. <crypt.h> found.
  255. crypt_r() found.
  256. ctermid_r() NOT found.
  257. ctime_r() found.
  258. cuserid() found.
  259. <limits.h> found.
  260. <float.h> found.
  261. DBL_DIG found.
  262. dbmclose() NOT found.
  263. difftime() found.
  264. <dirent.h> found.
  265. Your directory entries are struct dirent.
  266. Your directory entry does not know about the d_namlen field.
  267. <sys/dir.h> found.
  268. <sys/ndir.h> NOT found.
  269. dirfd() found.
  270. dlerror() found.
  271. <dlfcn.h> found.
  272. What is the extension of dynamically loaded modules [so]  
  273. Checking whether your dlsym() needs a leading underscore ...
  274. dlsym doesn't need a leading underscore.
  275. drand48_r() found.
  276. dup2() found.
  277. eaccess() found.
  278. endgrent() found.
  279. <grp.h> found.
  280. endgrent_r() NOT found.
  281. endhostent() found.
  282. <netdb.h> found.
  283. endhostent_r() NOT found.
  284. endnetent() found.
  285. endnetent_r() NOT found.
  286. endprotoent() found.
  287. endprotoent_r() NOT found.
  288. endpwent() found.
  289. <pwd.h> found.
  290. endpwent_r() NOT found.
  291. endservent() found.
  292. endservent_r() NOT found.
  293. <sys/file.h> defines the O_* constants...
  294. and you have the 3 argument form of open().
  295. Using <string.h> instead of <strings.h>.
  296. <sys/file.h> found.
  297. We'll be including <sys/file.h>.
  298. <fcntl.h> found.
  299. We don't need to include <fcntl.h> if we include <sys/file.h>.
  300. Figuring out the flag used by open() for non-blocking I/O...
  301. Let's see what value errno gets from read() on a O_NONBLOCK file...
  302. try.c: In function 'main':
  303. try.c:36: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
  304. try.c:37: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result
  305. try.c:53: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  306. try.c:66: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  307. try.c:72: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  308. try.c:78: warning: ignoring return value of 'read', declared with attribute warn_unused_result
  309. Checking how std your stdio is...
  310. Checking to see what happens if we set the stdio ptr...
  311. Increasing ptr in your stdio decreases cnt by the same amount.  Good.
  312. You seem to have 'fast stdio' to directly manipulate the stdio buffers.
  313. fchdir() found.
  314. fchmod() found.
  315. fchown() found.
  316. fcntl() found.
  317. Well, your system has some sort of fd_set available...
  318. and you have the normal fd_set macros.
  319. fgetpos() found.
  320. finite() found.
  321. finitel() found.
  322. flock() found.
  323. fork() found.
  324. fp_class() NOT found.
  325. pathconf() found.
  326. fpathconf() found.
  327. fpclass() NOT found.
  328. fpclassify() NOT found.
  329. fpclassl() NOT found.
  330. Checking to see if you have fpos64_t...
  331. frexpl() found.
  332. <sys/param.h> found.
  333. <sys/mount.h> found.
  334. Checking to see if your system supports struct fs_data...
  335. fseeko() found.
  336. fsetpos() found.
  337. fstatfs() found.
  338. statvfs() found.
  339. fstatvfs() found.
  340. fsync() found.
  341. ftello() found.
  342. Checking for a working futimes()
  343. Yes, it does
  344. getcwd() found.
  345. getespwnam() NOT found.
  346. getfsstat() NOT found.
  347. getgrent() found.
  348. getgrent_r() found.
  349. getgrgid_r() found.
  350. getgrnam_r() found.
  351. gethostbyaddr() found.
  352. gethostbyname() found.
  353. gethostent() found.
  354. gethostname() found.
  355. uname() found.
  356. Shall I ignore gethostname() from now on? [n]  
  357. gethostbyaddr_r() found.
  358. gethostbyname_r() found.
  359. gethostent_r() found.
  360. getitimer() found.
  361. getlogin() found.
  362. getlogin_r() found.
  363. getmnt() NOT found.
  364. getmntent() found.
  365. getnetbyaddr() found.
  366. getnetbyname() found.
  367. getnetent() found.
  368. getnetbyaddr_r() found.
  369. getnetbyname_r() found.
  370. getnetent_r() found.
  371. getpagesize() found.
  372. getprotobyname() found.
  373. getprotobynumber() found.
  374. getprotoent() found.
  375. getpgid() found.
  376. getpgrp2() NOT found.
  377. getppid() found.
  378. getpriority() found.
  379. getprotobyname_r() found.
  380. getprotobynumber_r() found.
  381. getprotoent_r() found.
  382. getprpwnam() NOT found.
  383. getpwent() found.
  384. getpwent_r() found.
  385. getpwnam_r() found.
  386. getpwuid_r() found.
  387. getservbyname() found.
  388. getservbyport() found.
  389. getservent() found.
  390. getservbyname_r() found.
  391. getservbyport_r() found.
  392. getservent_r() found.
  393. getspnam() found.
  394. <shadow.h> found.
  395. getspnam_r() found.
  396. gettimeofday() found.
  397. gmtime_r() found.
  398. hasmntopt() found.
  399. <netinet/in.h> found.
  400. <arpa/inet.h> found.
  401. htonl() found.
  402. ilogbl() found.
  403. strchr() found.
  404. inet_aton() found.
  405. isascii() found.
  406. isfinite() NOT found.
  407. isinf() found.
  408. isnan() found.
  409. isnanl() found.
  410. killpg() found.
  411. lchown() found.
  412. LDBL_DIG found.
  413. <math.h> found.
  414. Checking to see if your libm supports _LIB_VERSION...
  415. Yes, it does (2)
  416. link() found.
  417. localtime_r() found.
  418. localeconv() found.
  419. lockf() found.
  420. lstat() found.
  421. madvise() found.
  422. malloc_size() NOT found.
  423. malloc_good_size() NOT found.
  424. mblen() found.
  425. mbstowcs() found.
  426. mbtowc() found.
  427. memchr() found.
  428. memcmp() found.
  429. memcpy() found.
  430. memmove() found.
  431. memset() found.
  432. mkdir() found.
  433. mkdtemp() found.
  434. mkfifo() found.
  435. mkstemp() found.
  436. mkstemps() NOT found.
  437. mktime() found.
  438. <sys/mman.h> found.
  439. mmap() found.
  440. and it returns (void *).
  441. sqrtl() found.
  442. scalbnl() found.
  443. modfl() found.
  444. Your modfl() seems okay for large values.
  445. mprotect() found.
  446. msgctl() found.
  447. msgget() found.
  448. msgsnd() found.
  449. msgrcv() found.
  450. You have the full msg*(2) library.
  451. Checking to see if your system supports struct msghdr...
  452. msync() found.
  453. munmap() found.
  454. nice() found.
  455. <langinfo.h> found.
  456. nl_langinfo() found.
  457. Checking to see how big your characters are (hey, you never know)...
  458. What is the size of a character (in bytes)? [1]  
  459. Checking to see if your C compiler knows about "volatile"...
  460. Choosing the C types to be used for Perl's internal types...
  461. Checking how many bits of your UVs your NVs can preserve...
  462. Checking whether NV 0.0 is all bits zero in memory...
  463. 0.0 is represented as all bits zero in memory
  464. Checking to see if you have off64_t...
  465. pause() found.
  466. pipe() found.
  467. poll() found.
  468. readlink() found.
  469. pthread_attr_setscope() found.
  470. random_r() found.
  471. readdir() found.
  472. seekdir() found.
  473. telldir() found.
  474. rewinddir() found.
  475. readdir64_r() found.
  476. readdir_r() found.
  477. readv() found.
  478. recvmsg() found.
  479. rename() found.
  480. rmdir() found.
  481. <memory.h> found.
  482. Checking if your memcmp() can compare relative magnitude...
  483. select() found.
  484. semctl() found.
  485. semget() found.
  486. semop() found.
  487. You have the full sem*(2) library.
  488. You do not have union semun in <sys/sem.h>.
  489. *** WHOA THERE!!! ***
  490.     The recommended value for $d_semctl_semun on this machine was "define"!
  491.     Keep the recommended value? [y]  
  492. You can use union semun for semctl IPC_STAT.
  493. You can also use struct semid_ds* for semctl IPC_STAT.
  494. sendmsg() found.
  495. setegid() found.
  496. seteuid() found.
  497. setgrent() found.
  498. setgrent_r() NOT found.
  499. sethostent() found.
  500. sethostent_r() NOT found.
  501. setitimer() found.
  502. setlinebuf() found.
  503. setlocale() found.
  504. <locale.h> found.
  505. setlocale_r() NOT found.
  506. setnetent() found.
  507. setnetent_r() NOT found.
  508. setprotoent() found.
  509. setpgid() found.
  510. setpgrp2() NOT found.
  511. setpriority() found.
  512. setproctitle() NOT found.
  513. setprotoent_r() NOT found.
  514. setpwent() found.
  515. setpwent_r() NOT found.
  516. setregid() found.
  517. setresgid() found.
  518. setreuid() found.
  519. setresuid() found.
  520. setrgid() NOT found.
  521. setruid() NOT found.
  522. setservent() found.
  523. setservent_r() NOT found.
  524. setsid() found.
  525. setvbuf() found.
  526. <sfio.h> NOT found.
  527. shmctl() found.
  528. shmget() found.
  529. shmat() found.
  530. and it returns (void *).
  531. shmdt() found.
  532. You have the full shm*(2) library.
  533. sigaction() found.
  534. sigprocmask() found.
  535. POSIX sigsetjmp found.
  536. sockatmark() found.
  537. socks5_init() NOT found.
  538. Checking whether sprintf returns the length of the string...
  539. sprintf returns the length of the string (as ANSI says it should)
  540. srand48_r() found.
  541. srandom_r() found.
  542. <sys/stat.h> found.
  543. Checking to see if your struct stat has st_blocks field...
  544. <sys/vfs.h> found.
  545. <sys/statfs.h> found.
  546. Checking to see if your system supports struct statfs...
  547. Checking to see if your struct statfs has f_flags field...
  548. Checking how to access stdio streams by file descriptor number...
  549. I can't figure out how to access stdio streams by file descriptor number.
  550. strcoll() found.
  551. Checking to see if your C compiler can copy structs...
  552. strerror() found.
  553. strerror_r() found.
  554. strftime() found.
  555. strlcat() NOT found.
  556. strlcpy() NOT found.
  557. strtod() found.
  558. strtol() found.
  559. strtold() found.
  560. strtoll() found.
  561. strtoq() found.
  562. strtoul() found.
  563. strtoull() found.
  564. strtouq() found.
  565. strxfrm() found.
  566. symlink() found.
  567. syscall() found.
  568. sysconf() found.
  569. system() found.
  570. tcgetpgrp() found.
  571. tcsetpgrp() found.
  572. time() found.
  573. time_t found.
  574. <sys/times.h> found.
  575. times() found.
  576. clock_t found.
  577. tmpnam_r() found.
  578. truncate() found.
  579. ttyname_r() found.
  580. tzname[] found.
  581. (Testing for character data alignment may crash the test.  That's okay.)
  582. It seems that you must access character data in an aligned manner.
  583. ualarm() found.
  584. umask() found.
  585. unordered() NOT found.
  586. unsetenv() found.
  587. usleep() found.
  588. ustat() found.
  589. vfork() found.
  590. Do you still want to use vfork()? [n]  
  591. closedir() found.
  592. Checking whether closedir() returns a status...
  593. wait4() found.
  594. waitpid() found.
  595. wcstombs() found.
  596. wctomb() found.
  597. writev() found.
  598. Checking alignment constraints...
  599. Doubles must be aligned on a how-many-byte boundary? [8]  
  600. Checking to see how your cpp does stuff like concatenate tokens...
  601. Oh!  Smells like ANSI's been here.
  602. <db.h> found.
  603. Checking Berkeley DB version ...
  604. Looks OK.
  605. Checking return type needed for hash for Berkeley DB ...
  606. Checking return type needed for prefix for Berkeley DB ...
  607. Looking for a random number function...
  608. Good, found drand48().
  609. Use which function to generate random numbers? [drand48]  
  610. Determining whether or not we are on an EBCDIC system...
  611. Nope, no EBCDIC, probably ASCII or some ISO Latin. Or UTF-8.
  612. Checking how to flush all pending stdio output...
  613. Your fflush(NULL) works okay for output streams.
  614. Let's see if it clobbers input pipes...
  615. fflush(NULL) seems to behave okay with input streams.
  616. Checking the size of gid_t...
  617. Checking the sign of gid_t...
  618. Checking how to print 64-bit integers...
  619. Checking the format strings to be used for Perl's internal types...
  620. Checking the format string to be used for gids...
  621. getgroups() found.
  622. setgroups() found.
  623. What type pointer is the second argument to getgroups() and setgroups()?
  624. [gid_t]  
  625. Checking if your /usr/bin/make program sets $(MAKE)...
  626. mode_t found.
  627. <stdarg.h> found.
  628. <varargs.h> found.
  629. We'll include <stdarg.h> to get va_dcl definition.
  630. It seems that va_copy() or similar will be needed.
  631. size_t found.
  632. What is the type for the 1st argument to gethostbyaddr? [char *]  
  633. What is the type for the 2nd argument to gethostbyaddr? [size_t]  
  634. What pager is used on your system? [/usr/bin/less]  
  635. pid_t found.
  636. Checking how to generate random libraries on your machine...
  637. Your select() operates on 64 bits at a time.
  638. Generating a list of signal names and numbers...
  639. Checking the size of size_t...
  640. Checking to see if you have socklen_t...
  641. <socks.h> NOT found.
  642. I'll be using ssize_t for functions returning a byte count.
  643. Your stdio uses signed chars.
  644. Checking the size of uid_t...
  645. Checking the sign of uid_t...
  646. Checking the format string to be used for uids...
  647. Which compiler compiler (yacc or bison -y) shall I use? [yacc]  
  648. <fp.h> NOT found.
  649. <fp_class.h> NOT found.
  650. <ieeefp.h> NOT found.
  651. <libutil.h> NOT found.
  652. <mntent.h> found.
  653. <ndbm.h> NOT found.
  654. dbm_open() NOT found.
  655. *** WHOA THERE!!! ***
  656.     The recommended value for $i_ndbm on this machine was "define"!
  657.     Keep the recommended value? [y]  
  658. <net/errno.h> NOT found.
  659. <netinet/tcp.h> found.
  660. <poll.h> found.
  661. <prot.h> NOT found.
  662. Guessing which symbols your C compiler and preprocessor define...
  663. /usr/bin/comm: file 1 is not in sorted order
  664. /usr/bin/comm: file 1 is not in sorted order
  665. /usr/bin/comm: file 1 is not in sorted order
  666. tcsetattr() found.
  667. You have POSIX termios.h... good!
  668. <stddef.h> found.
  669. <sunmath.h> NOT found.
  670. <sys/access.h> NOT found.
  671. <sys/filio.h> NOT found.
  672. <sys/ioctl.h> found.
  673. <syslog.h> found.
  674. <sys/mode.h> NOT found.
  675. <sys/resource.h> found.
  676. <sys/security.h> NOT found.
  677. <sys/statvfs.h> found.
  678. <sys/un.h> found.
  679. <sys/utsname.h> found.
  680. <sys/wait.h> found.
  681. <ustat.h> found.
  682. <utime.h> found.
  683. <values.h> found.
  684. <gdbm.h> found.
  685. gdbm_open() found.
  686. Looking for extensions...
  687. What extensions do you wish to load dynamically?
  688. [B ByteLoader Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Time/HiRes Unicode/Normalize XS/APItest XS/Typemap attrs re threads threads/shared]  
  689. What extensions do you wish to load statically? [none]  
  690. Stripping down executable paths...
  691. Creating config.sh...
  692. Doing variable substitutions on .SH files...
  693. Extracting cflags (with variable substitutions)
  694. Extracting config.h (with variable substitutions)
  695. Extracting makeaperl (with variable substitutions)
  696. Extracting makedepend (with variable substitutions)
  697. Extracting makedir (with variable substitutions)
  698. Extracting Makefile (with variable substitutions)
  699. Extracting myconfig (with variable substitutions)
  700. Extracting pod/Makefile (with variable substitutions)
  701. Extracting Policy.sh (with variable substitutions)
  702. Extracting writemain (with variable substitutions)
  703. Extracting x2p/cflags (with variable substitutions)
  704. Extracting x2p/Makefile (with variable substitutions)
  705. Run make depend now? [y]  
  706. sh ./makedepend MAKE=make
  707. make[1]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  708. sh writemain lib/auto/DynaLoader/DynaLoader.a  > perlmain.c
  709. rm -f opmini.c
  710. cp op.c opmini.c
  711. echo  av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c reentr.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c perlio.c perlapi.c numeric.c locale.c pp_pack.c pp_sort.c miniperlmain.c perlmain.c opmini.c | tr ' ' '\n' >.clist
  712. make[1]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  713. Finding dependencies for av.o.
  714. Finding dependencies for scope.o.
  715. Finding dependencies for op.o.
  716. Finding dependencies for doop.o.
  717. Finding dependencies for doio.o.
  718. Finding dependencies for dump.o.
  719. Finding dependencies for hv.o.
  720. Finding dependencies for mg.o.
  721. Finding dependencies for reentr.o.
  722. Finding dependencies for perl.o.
  723. Finding dependencies for perly.o.
  724. Finding dependencies for pp.o.
  725. Finding dependencies for pp_hot.o.
  726. Finding dependencies for pp_ctl.o.
  727. Finding dependencies for pp_sys.o.
  728. Finding dependencies for regcomp.o.
  729. Finding dependencies for regexec.o.
  730. Finding dependencies for utf8.o.
  731. Finding dependencies for gv.o.
  732. Finding dependencies for sv.o.
  733. Finding dependencies for taint.o.
  734. Finding dependencies for toke.o.
  735. Finding dependencies for util.o.
  736. Finding dependencies for deb.o.
  737. Finding dependencies for run.o.
  738. Finding dependencies for universal.o.
  739. Finding dependencies for xsutils.o.
  740. Finding dependencies for pad.o.
  741. Finding dependencies for globals.o.
  742. Finding dependencies for perlio.o.
  743. Finding dependencies for perlapi.o.
  744. Finding dependencies for numeric.o.
  745. Finding dependencies for locale.o.
  746. Finding dependencies for pp_pack.o.
  747. Finding dependencies for pp_sort.o.
  748. Finding dependencies for miniperlmain.o.
  749. Finding dependencies for perlmain.o.
  750. Finding dependencies for opmini.o.
  751. make[1]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  752. echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
  753. make[1]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  754. Updating makefile...
  755. test -s perlmain.c && touch perlmain.c
  756. cd x2p; make depend
  757. make[1]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  758. sh ../makedepend MAKE=make
  759. make[2]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  760. echo hash.c  str.c util.c walk.c | tr ' ' '\n' >.clist
  761. make[2]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  762. Finding dependencies for hash.o.
  763. Finding dependencies for str.o.
  764. Finding dependencies for util.o.
  765. Finding dependencies for walk.o.
  766. make[2]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  767. echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
  768. make[2]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  769. Updating makefile...
  770. make[1]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  771. Now you must run 'make'.

  772. If you compile perl5 on a different machine or from a different object
  773. directory, copy the Policy.sh file from this object directory to the
  774. new one before you run Configure -- this will help you with most of
  775. the policy defaults.

  776. make -j6 -j1 -f Makefile depend
  777. sh ./makedepend MAKE=make
  778. make[1]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  779. sh writemain lib/auto/DynaLoader/DynaLoader.a  > perlmain.c
  780. echo  av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c reentr.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c xsutils.c pad.c globals.c perlio.c perlapi.c numeric.c locale.c pp_pack.c pp_sort.c miniperlmain.c perlmain.c opmini.c | tr ' ' '\n' >.clist
  781. make[1]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  782. Finding dependencies for av.o.
  783. Finding dependencies for scope.o.
  784. Finding dependencies for op.o.
  785. Finding dependencies for doop.o.
  786. Finding dependencies for doio.o.
  787. Finding dependencies for dump.o.
  788. Finding dependencies for hv.o.
  789. Finding dependencies for mg.o.
  790. Finding dependencies for reentr.o.
  791. Finding dependencies for perl.o.
  792. Finding dependencies for perly.o.
  793. Finding dependencies for pp.o.
  794. Finding dependencies for pp_hot.o.
  795. Finding dependencies for pp_ctl.o.
  796. Finding dependencies for pp_sys.o.
  797. Finding dependencies for regcomp.o.
  798. Finding dependencies for regexec.o.
  799. Finding dependencies for utf8.o.
  800. Finding dependencies for gv.o.
  801. Finding dependencies for sv.o.
  802. Finding dependencies for taint.o.
  803. Finding dependencies for toke.o.
  804. Finding dependencies for util.o.
  805. Finding dependencies for deb.o.
  806. Finding dependencies for run.o.
  807. Finding dependencies for universal.o.
  808. Finding dependencies for xsutils.o.
  809. Finding dependencies for pad.o.
  810. Finding dependencies for globals.o.
  811. Finding dependencies for perlio.o.
  812. Finding dependencies for perlapi.o.
  813. Finding dependencies for numeric.o.
  814. Finding dependencies for locale.o.
  815. Finding dependencies for pp_pack.o.
  816. Finding dependencies for pp_sort.o.
  817. Finding dependencies for miniperlmain.o.
  818. Finding dependencies for perlmain.o.
  819. Finding dependencies for opmini.o.
  820. make[1]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  821. echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
  822. make[1]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8'
  823. Updating makefile...
  824. test -s perlmain.c && touch perlmain.c
  825. cd x2p; make depend
  826. make[1]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  827. sh ../makedepend MAKE=make
  828. make[2]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  829. echo hash.c  str.c util.c walk.c | tr ' ' '\n' >.clist
  830. make[2]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  831. Finding dependencies for hash.o.
  832. Finding dependencies for str.o.
  833. Finding dependencies for util.o.
  834. Finding dependencies for walk.o.
  835. make[2]: Entering directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  836. echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist
  837. make[2]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  838. Updating makefile...
  839. make[1]: Leaving directory `/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8/x2p'
  840. make -j6 -j1 -f Makefile LDFLAGS=-Wl,-O1 LIBPERL=libperl.so.1.5.8 libperl.so.1.5.8
  841. `sh  cflags "optimize='-march=native -O2 -pipe'" perl.o` -fPIC perl.c
  842.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  843. `sh  cflags "optimize='-march=native -O2 -pipe'" gv.o` -fPIC gv.c
  844.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  845. `sh  cflags "optimize='-march=native -O2 -pipe'" toke.o` -fPIC toke.c
  846.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  847. `sh  cflags "optimize='-march=native -O2 -pipe'" perly.o` -fPIC perly.c
  848.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  849. `sh  cflags "optimize='-march=native -O2 -pipe'" op.o` -fPIC op.c
  850.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  851. `sh  cflags "optimize='-march=native -O2 -pipe'" pad.o` -fPIC pad.c
  852.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  853. `sh  cflags "optimize='-march=native -O2 -pipe'" regcomp.o` -fPIC regcomp.c
  854.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  855. `sh  cflags "optimize='-march=native -O2 -pipe'" dump.o` -fPIC dump.c
  856.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  857. `sh  cflags "optimize='-march=native -O2 -pipe'" util.o` -fPIC util.c
  858.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  859. util.c: In function 'Perl_safesysmalloc':
  860. util.c:87: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  861. util.c: In function 'Perl_safesysrealloc':
  862. util.c:136: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  863. util.c: In function 'Perl_safesyscalloc':
  864. util.c:189: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  865. util.c: In function 'Perl_savesharedpv':
  866. util.c:820: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  867. `sh  cflags "optimize='-march=native -O2 -pipe'" mg.o` -fPIC mg.c
  868.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  869. `sh  cflags "optimize='-march=native -O2 -pipe'" reentr.o` -fPIC reentr.c
  870.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  871. `sh  cflags "optimize='-march=native -O2 -pipe'" hv.o` -fPIC hv.c
  872.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  873. `sh  cflags "optimize='-march=native -O2 -pipe'" av.o` -fPIC av.c
  874.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  875. `sh  cflags "optimize='-march=native -O2 -pipe'" run.o` -fPIC run.c
  876.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  877. `sh  cflags "optimize='-march=native -O2 -pipe'" pp_hot.o` -fPIC pp_hot.c
  878.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  879. `sh  cflags "optimize='-march=native -O2 -pipe'" sv.o` -fPIC sv.c
  880.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  881. sv.c: In function 'Perl_sv_2pv_flags':
  882. sv.c:3005: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
  883. sv.c:3222: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
  884. sv.c: In function 'Perl_sv_clear':
  885. sv.c:5222: warning: ignoring return value of 'Perl_io_close', declared with attribute warn_unused_result
  886. sv.c: In function 'Perl_sv_vcatpvfn':
  887. sv.c:8552: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
  888. sv.c:9315: warning: ignoring return value of 'gcvt', declared with attribute warn_unused_result
  889. `sh  cflags "optimize='-march=native -O2 -pipe'" pp.o` -fPIC pp.c
  890.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  891. `sh  cflags "optimize='-march=native -O2 -pipe'" scope.o` -fPIC scope.c
  892.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  893. `sh  cflags "optimize='-march=native -O2 -pipe'" pp_ctl.o` -fPIC pp_ctl.c
  894.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  895. `sh  cflags "optimize='-march=native -O2 -pipe'" pp_sys.o` -fPIC pp_sys.c
  896.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  897. proto.h:1732: warning: 'S_emulate_eaccess' declared 'static' but never defined
  898. `sh  cflags "optimize='-march=native -O2 -pipe'" doop.o` -fPIC doop.c
  899.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  900. `sh  cflags "optimize='-march=native -O2 -pipe'" doio.o` -fPIC doio.c
  901.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  902. doio.c: In function 'Perl_nextargv':
  903. doio.c:914: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result
  904. doio.c: In function 'Perl_do_aexec5':
  905. doio.c:1496: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  906. doio.c: In function 'Perl_do_exec3':
  907. doio.c:1641: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  908. `sh  cflags "optimize='-march=native -O2 -pipe'" regexec.o` -fPIC regexec.c
  909.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  910. `sh  cflags "optimize='-march=native -O2 -pipe'" utf8.o` -fPIC utf8.c
  911.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  912. `sh  cflags "optimize='-march=native -O2 -pipe'" taint.o` -fPIC taint.c
  913.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  914. `sh  cflags "optimize='-march=native -O2 -pipe'" deb.o` -fPIC deb.c
  915.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  916. `sh  cflags "optimize='-march=native -O2 -pipe'" universal.o` -fPIC universal.c
  917.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  918. `sh  cflags "optimize='-march=native -O2 -pipe'" xsutils.o` -fPIC xsutils.c
  919.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  920. `sh  cflags "optimize='-march=native -O2 -pipe'" globals.o` -fPIC globals.c
  921.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  922. `sh  cflags "optimize='-march=native -O2 -pipe'" perlio.o` -fPIC perlio.c
  923.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  924. perlio.c: In function 'PerlIO_debug':
  925. perlio.c:489: warning: ignoring return value of 'write', declared with attribute warn_unused_result
  926. `sh  cflags "optimize='-march=native -O2 -pipe'" perlapi.o` -fPIC perlapi.c
  927.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  928. `sh  cflags "optimize='-march=native -O2 -pipe'" numeric.o` -fPIC numeric.c
  929.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  930. `sh  cflags "optimize='-march=native -O2 -pipe'" locale.o` -fPIC locale.c
  931.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  932. `sh  cflags "optimize='-march=native -O2 -pipe'" pp_pack.o` -fPIC pp_pack.c
  933.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  934. `sh  cflags "optimize='-march=native -O2 -pipe'" pp_sort.o` -fPIC pp_sort.c
  935.           CCCMD =  x86_64-pc-linux-gnu-gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=native -O2 -pipe  -Wall
  936. x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -o libperl.so.1.5.8 -shared -L/usr/local/lib64 -Wl,-O1 perl.o  gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o locale.o pp_pack.o pp_sort.o  -lnsl -ldl -lm -lcrypt -lutil -lc  -Wl,-soname -Wl,libperl.so.`echo libperl.so.1.5.8 | cut -d. -f3`
  937. perlio.o: file not recognized: File format not recognized
  938. collect2: ld returned 1 exit status
  939. make: *** [libperl.so.1.5.8] Error 1
  940. [31;01m*[0m
  941. [31;01m*[0m ERROR: sys-devel/libperl-5.8.8-r2 failed.
  942. [31;01m*[0m Call stack:
  943. [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
  944. [31;01m*[0m             environment, line 2720:  Called die
  945. [31;01m*[0m The specific snippet of code:
  946. [31;01m*[0m       emake -j1 -f Makefile LDFLAGS="${LDFLAGS}" LIBPERL=${LIBPERL} ${LIBPERL} || die "Unable to make libperl$(get_libname)";
  947. [31;01m*[0m  The die message:
  948. [31;01m*[0m   Unable to make libperl.so
  949. [31;01m*[0m
  950. [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
  951. [31;01m*[0m A complete build log is located at '/var/tmp/portage/sys-devel/libperl-5.8.8-r2/temp/build.log'.
  952. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/libperl-5.8.8-r2/temp/environment'.
  953. [31;01m*[0m
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-14 12:33:51 | 显示全部楼层
build env:
  1. ABI=amd64
  2. ALSA_CARDS=
  3. APACHE2_MODULES='actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias'
  4. ARCH=amd64
  5. ASFLAGS_x86=--32
  6. CBUILD=x86_64-pc-linux-gnu
  7. CDEFINE_amd64=__x86_64__
  8. CDEFINE_default=__unix__
  9. CDEFINE_x86=__i386__
  10. CFLAGS='-march=native -O2 -pipe'
  11. CFLAGS_default=
  12. CFLAGS_x86=-m32
  13. CHOST=x86_64-pc-linux-gnu
  14. CHOST_amd64=x86_64-pc-linux-gnu
  15. CHOST_default=x86_64-pc-linux-gnu
  16. CHOST_x86=i686-pc-linux-gnu
  17. CROSSCOMPILE_OPTS=
  18. CTARGET_default=x86_64-pc-linux-gnu
  19. CVS_RSH=ssh
  20. CXXFLAGS='-march=native -O2 -pipe'
  21. DEFAULT_ABI=amd64
  22. DEFINED_PHASES=' compile install postinst setup unpack'
  23. DEPEND=$'berkdb? ( sys-libs/db )\n\tgdbm? ( >=sys-libs/gdbm-1.8.0 )\n\telibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) '
  24. DESCRIPTION='Larry Wall'\''s Practical Extraction and Reporting Language'
  25. DESTTREE=/usr
  26. DIROPTIONS=-m0755
  27. EAPI=0
  28. ELIBC=glibc
  29. EPATCH_EXCLUDE=
  30. EPATCH_FORCE=no
  31. EPATCH_MULTI_MSG='Applying various patches (bugfixes/updates) ...'
  32. EPATCH_OPTS='-g0 -E --no-backup-if-mismatch'
  33. EPATCH_SINGLE_MSG=
  34. EPATCH_SOURCE=/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/patch
  35. EPATCH_SUFFIX=patch.bz2
  36. EXEOPTIONS=-m0755
  37. FEATURES='ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch'
  38. GCC_SPECS=
  39. GDK_USE_XFT=1
  40. HOMEPAGE=http://www.perl.org
  41. HUSHLOGIN=FALSE
  42. INHERITED='toolchain-funcs multilib portability eutils flag-o-matic'
  43. INPUT_DEVICES=evdev
  44. INSDESTTREE=
  45. INSOPTIONS=-m0644
  46. IUSE='berkdb debug gdbm ithreads '
  47. KERNEL=linux
  48. KERNEL_ABI=amd64
  49. KEYWORDS='alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd'
  50. KV=2.6.31-gentoo-r6
  51. LANG=C
  52. LCD_DEVICES=
  53. LC_ALL=C
  54. LDFLAGS=-Wl,-O1
  55. LDFLAGS_default=
  56. LDFLAGS_x86='-m elf_i386'
  57. LIBDIR_amd64=lib64
  58. LIBDIR_amd64_fbsd=lib64
  59. LIBDIR_default=lib
  60. LIBDIR_ppc=lib32
  61. LIBDIR_ppc64=lib64
  62. LIBDIR_sparc32=lib32
  63. LIBDIR_sparc64=lib64
  64. LIBDIR_x86=lib32
  65. LIBDIR_x86_fbsd=lib32
  66. LIBOPTIONS=-m0644
  67. LIBPERL=libperl.so.1.5.8
  68. LICENSE='|| ( Artistic GPL-2 )'
  69. LINGUAS=en_US
  70. MAIL=/var/mail/root
  71. MAKEOPTS=-j6
  72. MULTILIB_ABIS='amd64 x86'
  73. MULTILIB_STRICT_DENY='64-bit.*shared object'
  74. MULTILIB_STRICT_DIRS='/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib'
  75. MULTILIB_STRICT_EXEMPT='(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)'
  76. MY_P=perl-5.8.8
  77. NETBEANS='apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml'
  78. OPENGL_PROFILE=nvidia
  79. PDEPEND='~dev-lang/perl-5.8.8 '
  80. PERLSLOT=1
  81. PORTAGE_COMPRESS=
  82. PORTAGE_COMPRESS_EXCLUDE_SUFFIXES='css gif htm[l]? jp[e]?g js pdf png'
  83. PROFILE_ONLY_VARIABLES='ARCH ELIBC KERNEL USERLAND'
  84. PROPERTIES=
  85. PROVIDE=
  86. PYTHONDONTWRITEBYTECODE=1
  87. RDEPEND=$'\n\tberkdb? ( sys-libs/db )\n\tgdbm? ( >=sys-libs/gdbm-1.8.0 ) '
  88. RESTRICT=test
  89. RUBY_TARGETS=
  90. S=/var/tmp/portage/sys-devel/libperl-5.8.8-r2/work/perl-5.8.8
  91. SANDBOX_DEBUG=0
  92. SANDBOX_DENY=/etc/ld.so.preload
  93. SANDBOX_PID=28364
  94. SANDBOX_PREDICT=/dev/console:/dev/crypto:/dev/random:/proc/self/maps:/var/tmp/portage/sys-devel/libperl-5.8.8-r2/homedir
  95. SANDBOX_READ=/:/dev/shm:/dev/stdin:/usr/ccache:/var/tmp:/usr/ccache
  96. SANDBOX_VERBOSE=1
  97. SANDBOX_WRITE=:/dev/console:/dev/fd:/dev/full:/dev/null:/dev/pts/:/dev/pty:/dev/shm:/dev/stderr:/dev/stdout:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp/:/usr/ccache:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp:/var/tmp/:/var/tmp/portage/sys-devel/libperl-5.8.8-r2/homedir/.bash_history:/usr/ccache
  98. SHORT_PV=5.8
  99. SLOT=1
  100. SRC_URI=mirror://cpan/src/perl-5.8.8.tar.bz2
  101. STAGE1_USE='multilib nptl nptlonly unicode'
  102. SYMLINK_LIB=yes
  103. USE='amd64 berkdb elibc_glibc gdbm kernel_linux multilib userland_GNU'
  104. USERLAND=GNU
  105. VIDEO_CARDS=
  106. XDG_CONFIG_DIRS=/etc/xdg
  107. XDG_DATA_DIRS=/usr/local/share:/usr/share
  108. _=PKG_INSTALL_MASK
  109. _E_DOCDESTTREE_=
  110. _E_EXEDESTTREE_=
  111. ___ECLASS_RECUR_MULTILIB=yes
  112. ___ECLASS_RECUR_TOOLCHAIN_FUNCS=yes
  113. _pipestatus='0 0'
  114. conf=libperl-5.8.8-r2
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-1-14 12:36:55 | 显示全部楼层
把ccache清一下

/var/tmp/ccache

确保FEATURES里没有keepwork

再emerge
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-14 12:52:05 | 显示全部楼层
哈哈,

搞定了,就是这么回事,

应该是编译这个包的时候停的电,

然后ccache里面存了错误的文件,导致的编译失败了。
回复 支持 反对

使用道具 举报

发表于 2010-1-14 14:45:08 | 显示全部楼层
perlio.o: file not recognized: File format not recognized
停电之前文件系统只回写了meta信息,data没有来得及写入,很可能长度0。
有Unpacking perl-5.8.8.tar.bz2 to /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work这句话说明代码是重新展开的,不是文件系统坏了就应该是ccache缓存的.o文件不正确(FEATURES='ccache')。
回复 支持 反对

使用道具 举报

发表于 2010-1-14 15:01:15 | 显示全部楼层
根据我在#gentoo所学的,对于不是想反复编译同一个版本的程序的用户,ccache的收益很小的。启用ccache完全没有必要。我自己从体验上没有体验出ccache什么优势。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-1-14 16:17:00 | 显示全部楼层
Post by lifc;2064155
perlio.o: file not recognized: File format not recognized
停电之前文件系统只回写了meta信息,data没有来得及写入,很可能长度0。
有Unpacking perl-5.8.8.tar.bz2 to /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work这句话说明代码是重新展开的,不是文件系统坏了就应该是ccache缓存的.o文件不正确(FEATURES='ccache')。


应该是这么回事,昨天同步了好多次的代码树,我应该先想想是不是由于停电导致的。


Post by 幽隱之賢;2064158
根据我在#gentoo所学的,对于不是想反复编译同一个版本的程序的用户,ccache的收益很小的。启用ccache完全没有必要。我自己从体验上没有体验出ccache什么优势。


打补丁的时候还是有效果的吧。
回复 支持 反对

使用道具 举报

发表于 2010-1-14 16:51:30 | 显示全部楼层
Post by lifc;2064155
perlio.o: file not recognized: File format not recognized
停电之前文件系统只回写了meta信息,data没有来得及写入,很可能长度0。
有Unpacking perl-5.8.8.tar.bz2 to /var/tmp/portage/sys-devel/libperl-5.8.8-r2/work这句话说明代码是重新展开的,不是文件系统坏了就应该是ccache缓存的.o文件不正确(FEATURES='ccache')。



同体验无优势之后,我已经关了这个特性~~
纯粹浪费我的磁盘空间....毕竟很多人都不会去反复安装同一个软件的把..
回复 支持 反对

使用道具 举报

发表于 2010-1-14 17:57:39 | 显示全部楼层
勾引了我的回忆:
那是2008年一个风雨交加的夜晚……停电……正在emerge world……来电……开机……文件系统损坏……livdcd启动……挂载分区fsck……损失无数的文件……重启……无法开机,具体什么细节忘记了……重装……以后再也不敢取掉电池了……
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表