LinuxSir.cn,穿越时空的Linuxsir!

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

emerge -avuND world 很多包都不能编译通过

[复制链接]
发表于 2009-4-13 20:35:10 | 显示全部楼层 |阅读模式

  1. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c driver.c
  2. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c sgroup.c
  3. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c dgroup.c
  4. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c center.c
  5. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c templates.c
  6. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c logreader.c
  7. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c logwriter.c
  8. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c affile.c
  9. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afstreams.c
  10. affile.c: In function ‘affile_open_file’:
  11. affile.c:73: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result
  12. affile.c:86: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
  13. affile.c:88: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result
  14. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afuser.c
  15. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afprog.c
  16. In function ‘strncat’,
  17.     inlined from ‘afuser_dd_queue’ at afuser.c:93:
  18. /usr/include/bits/string3.h:153: warning: call to __builtin___strncat_chk might overflow destination buffer
  19. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afsocket.c
  20. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afunix.c
  21. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afinet.c
  22. afunix.c: In function ‘afunix_sd_init’:
  23. afunix.c:72: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result
  24. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afinter.c
  25. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c children.c
  26. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c stats.c
  27. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c gsockaddr.c
  28. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c fdwrite.c
  29. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c fdread.c
  30. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c memtrace.c
  31. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c dnscache.c
  32. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c apphook.c
  33. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c serialize.c
  34. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c logqueue.c
  35. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c afsql.c
  36. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c alarms.c
  37. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c globals.c
  38. afsql.c: In function ‘afsql_dd_insert_db’:
  39. afsql.c:448: warning: dereferencing type-punned pointer will break strict-aliasing rules
  40. afsql.c:449: warning: pointer targets in passing argument 3 of ‘log_queue_pop_head’ differ in signedness
  41. afsql.c:450: warning: dereferencing type-punned pointer will break strict-aliasing rules
  42. afsql.c: In function ‘afsql_dd_queue’:
  43. afsql.c:766: warning: dereferencing type-punned pointer will break strict-aliasing rules
  44. afsql.c:768: warning: dereferencing type-punned pointer will break strict-aliasing rules
  45. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/eventlog    -I/usr/include/dbi -I/usr/include/dbi/dbi   -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -march=i686 -O2 -pipe -Wall -c main.c
  46. rm -f libsyslog-ng.a
  47. ar cru libsyslog-ng.a misc.o utils.o messages.o syslog-names.o cfg.o cfg-lex.o cfg-grammar.o macros.o filter.o logmsg.o logpipe.o logsource.o driver.o sgroup.o dgroup.o center.o templates.o logreader.o logwriter.o affile.o afstreams.o afuser.o afprog.o afsocket.o afunix.o afinet.o afinter.o children.o stats.o gsockaddr.o fdwrite.o fdread.o memtrace.o dnscache.o apphook.o serialize.o logqueue.o afsql.o alarms.o globals.o
  48. i686-pc-linux-gnu-ranlib libsyslog-ng.a
  49. main.c: In function ‘daemonize’:
  50. main.c:232: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
  51. main.c:236: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
  52. i686-pc-linux-gnu-gcc  -march=i686 -O2 -pipe -Wall  -Wl,-O1,--as-needed -o syslog-ng  main.o libsyslog-ng.a -lnsl -lrt  -Wl,-Bstatic -lfl -pthread -lgthread-2.0 -lrt -lglib-2.0   -levtlog    -lwrap -Wl,-Bdynamic -ldbi   -ldl
  53. /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../librt.a(clock_gettime.o): In function `hp_timing_gettime':
  54. (.text+0x7c): undefined reference to `_dl_cpuclock_offset'
  55. /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/../../../librt.a(clock_gettime.o): In function `hp_timing_gettime':
  56. (.text+0x82): undefined reference to `_dl_cpuclock_offset'
  57. collect2: ld returned 1 exit status
  58. make[2]: *** [syslog-ng] Error 1
  59. make[2]: Leaving directory `/var/tmp/portage/app-admin/syslog-ng-2.1.4/work/syslog-ng-2.1.4/src'
  60. make[1]: *** [all-recursive] Error 1
  61. make[1]: Leaving directory `/var/tmp/portage/app-admin/syslog-ng-2.1.4/work/syslog-ng-2.1.4'
  62. make: *** [all] Error 2
  63. [31;01m*[0m
  64. [31;01m*[0m ERROR: app-admin/syslog-ng-2.1.4 failed.
  65. [31;01m*[0m Call stack:
  66. [31;01m*[0m               ebuild.sh, line   48:  Called src_compile
  67. [31;01m*[0m             environment, line 2157:  Called _eapi2_src_compile
  68. [31;01m*[0m               ebuild.sh, line  625:  Called die
  69. [31;01m*[0m The specific snippet of code:
  70. [31;01m*[0m                   emake || die "emake failed"
  71. [31;01m*[0m  The die message:
  72. [31;01m*[0m   emake failed
  73. [31;01m*[0m
  74. [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
  75. [31;01m*[0m A complete build log is located at '/var/log/portage/app-admin:syslog-ng-2.1.4:20090413-112346.log'.
  76. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-admin/syslog-ng-2.1.4/temp/environment'.
  77. [31;01m*[0m
复制代码



请大家帮忙找找原因

有很多包编译无法通过
syslog-ng只是其中之一
另外还有 stardict recode-3.6_p15等几个包
 楼主| 发表于 2009-4-13 20:49:33 | 显示全部楼层


  1. These are the packages that would be merged, in order:

  2. Calculating dependencies  ..... done!
  3. [ebuild     U ] app-admin/syslog-ng-2.1.4 [2.1.3] USE="sql tcpd -hardened -ipv6 (-selinux) -spoof-source -static" 0 kB [0]
  4. [ebuild     U ] app-dicts/stardict-3.0.1-r4 [3.0.1-r1] USE="esd%* spell -debug -espeak -festival -gnome -gucharmap (-pronounce%) (-qqwry%)" 0 kB [0=>1]
  5. [ebuild     U ] games-arcade/smc-1.8 [1.7] 26,084 kB [0]
  6. [ebuild     U ] net-analyzer/nmap-4.85_beta7 [4.76] USE="gtk ssl -lua" 6,304 kB [0]
  7. [ebuild     U ] app-editors/emacs-cvs-23.0.92 [23.0.91] USE="X alsa dbus gif gpm gtk jpeg png spell svg tiff xft xpm -Xaw3d -gzip-el -hesiod -kerberos -m17n-lib -motif -sound -source -toolkit-scroll-bars" 42,015 kB [0]
  8. [ebuild     U ] media-gfx/imagemagick-6.5.1.0 [6.4.8.3] USE="X bzip2 corefonts djvu jpeg jpeg2k openmp perl png svg tiff truetype wmf xml zlib -doc -fontconfig -fpx -graphviz -gs -hdri -jbig -lcms -nocxx -openexr -q32 -q8 -raw" 8,590 kB [0]
  9. [ebuild     U ] dev-util/cmake-2.6.3-r1 [2.6.3] USE="emacs -qt4 -vim-syntax" 0 kB [0]
  10. [ebuild     U ] dev-util/subversion-1.6.1 [1.5.6] USE="bash-completion berkdb dso emacs nls perl python webdav-neon -apache2 -ctypes-python% -debug -doc -extras -gnome-keyring% -java -kde% -ruby -sasl -vim-syntax -webdav-serf" 5,335 kB [0]
  11. [ebuild     U ] media-libs/openal-1.7.411 [1.6.372] USE="alsa -debug -oss" 81 kB [0]
  12. [ebuild     U ] app-portage/layman-1.2.3 [1.1.1] USE="subversion -git% -test" 0 kB [0]
  13. [ebuild     U ] media-video/mplayer-1.0_rc2_p20090322 [1.0_rc2_p28450] USE="X a52 aac aalib alsa amrnb* amrwb* ass cddb cdio* cdparanoia dirac* directfb dts dv dvd dvdnav* enca* encode esd faac%* faad%* gif iconv jpeg live mad mmx mng mp2 mp3 nemesi* network%* openal opengl png quicktime rar real rtc* samba schroedinger* sdl speex* sse sse2 theora tremor%* truetype unicode v4l v4l2 vorbis win32codecs x264 xv xvid xvmc -3dnow -3dnowext (-altivec) -arts -bidi -bindist -bl -cpudetection -custom-cflags -custom-cpuopts -debug -dga -doc -dvb -dxr3 -fbcon -ftp -ggi -gtk -ipv6 -jack -joystick -ladspa -libcaca -lirc -lzo -md5sum* -mmxext -musepack -nas -oss* -pnm -pulseaudio -pvr -radio -ssse3 -svga -teletext -tga -vdpau% -vidix -xanim -xinerama -xscreensaver -zoran" VIDEO_CARDS="vesa -mga -nvidia% -s3virge -tdfx" 0 kB [0]
  14. [ebuild     U ] media-video/smplayer-0.6.7_p2872-r1 [0.6.6] USE="-debug" LINGUAS="zh_CN -ar -bg -ca -cs -de -el -en_US -es -eu -fi -fr -gl -hu -it -ja -ka -ko -ku -mk -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -tr -uk -zh_TW" 0 kB [0]
  15. [ebuild     U ] app-text/kchmviewer-4.0-r1 [3.1_p2] USE="-kde -kdeprefix% (-arts%)" 0 kB [0]
  16. [ebuild     U ] net-irc/xchat-2.8.6-r2 [2.8.6-r1] USE="dbus libnotify mmx nls perl python spell ssl xft -debug -ipv6 -tcl -xchatdccserver -xchatnogtk" 0 kB [0]
  17. [ebuild     U ] sys-apps/shadow-4.1.3 [4.1.2.2] USE="cracklib nls pam -audit (-selinux) -skey" 1,654 kB [0]
  18. [ebuild     U ] app-admin/sudo-1.7.1_rc1 [1.7.0] USE="ldap pam -offensive (-selinux) -skey" 739 kB [0]

  19. Total: 16 packages (16 upgrades), Size of downloads: 90,796 kB
  20. Portage tree and overlays:
  21. [0] /usr/portage
  22. [1] /usr/portage/local/layman/gentoo-china

复制代码


这是emerge 时候用的use
回复 支持 反对

使用道具 举报

发表于 2009-4-13 21:28:45 | 显示全部楼层
app-admin/syslog-ng-2.1.4   我的这个包编译不过,今天也发了贴子问了的,我的办法就是 mask =app-admin/syslog-ng-2.1.4
可能GCC版本太高,可能GLIBC太高。。。先mask先吧,贴信息的时候不要忘了配上 emerge --info ,一个好习惯
emerge -avuDN world --keep-going 出错后会跳过
回复 支持 反对

使用道具 举报

发表于 2009-4-13 21:37:06 | 显示全部楼层
楼主应该是新手吧?  Me too,hehe

俺刚开始安装系统的时候,因为make.conf里堆积太多USE,升级world时很多都卡住。 之后尽量将USE摆到/etc/portage/package.use去并不断调整,现在好多了。
回复 支持 反对

使用道具 举报

发表于 2009-4-13 23:40:07 | 显示全部楼层
我从来不运行这个命令,呵呵。
只升级单个软件。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 09:04:40 | 显示全部楼层
Post by axlrose;1973930
app-admin/syslog-ng-2.1.4   我的这个包编译不过,今天也发了贴子问了的,我的办法就是 mask =app-admin/syslog-ng-2.1.4
可能GCC版本太高,可能GLIBC太高。。。先mask先吧,贴信息的时候不要忘了配上 emerge --info ,一个好习惯
emerge -avuDN world --keep-going 出错后会跳过


开始编译不通过的时候我也是先mask了syslog-ng
但是后来很多包都出毛病的时候

只能怀疑是自己的设置有问题了


  1. Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 i686)
  2. =================================================================
  3. System uname: Linux-2.6.28-gentoo-r2-i686-Intel-R-_Celeron-R-_CPU_2.66GHz-with-gentoo-2.0.0
  4. Timestamp of tree: Sun, 12 Apr 2009 15:30:17 +0000
  5. ccache version 2.4 [enabled]
  6. app-shells/bash:     4.0_p17
  7. dev-lang/python:     2.5.4-r2, 2.6.1-r1
  8. dev-util/ccache:     2.4-r8
  9. dev-util/cmake:      2.6.3
  10. sys-apps/baselayout: 2.0.0
  11. sys-apps/openrc:     0.4.3-r1
  12. sys-apps/sandbox:    1.9
  13. sys-devel/autoconf:  2.13, 2.63-r1
  14. sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
  15. sys-devel/binutils:  2.19.1-r1
  16. sys-devel/gcc-config: 1.4.1
  17. sys-devel/libtool:   2.2.6a
  18. virtual/os-headers:  2.6.28-r1
  19. ACCEPT_KEYWORDS="x86 ~x86"
  20. CBUILD="i686-pc-linux-gnu"
  21. CFLAGS="-march=i686 -O2 -pipe"
  22. CHOST="i686-pc-linux-gnu"
  23. CONFIG_PROTECT="/etc"
  24. CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
  25. CXXFLAGS="-march=i686 -O2 -pipe"
  26. DISTDIR="/usr/portage/distfiles"
  27. FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
  28. GENTOO_MIRRORS="http://mirrors.163.com/gentoo ftp://gentoo.anheng.com.cn/gentoo http://gentoo.cs.nctu.edu.tw/gentoo/ ftp://gentoo.cs.nctu.edu.tw/gentoo/ ftp://ftp.lecl.net/pub/gentoo/ http://ftp.lecl.net/pub/gentoo/"
  29. LANG="en_US.UTF-8"
  30. LDFLAGS="-Wl,-O1,--as-needed"
  31. LINGUAS="zh_CN zh"
  32. MAKEOPTS="-j2"
  33. PKGDIR="/usr/portage/packages"
  34. PORTAGE_CONFIGROOT="/"
  35. PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --verbose"
  36. PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
  37. PORTAGE_TMPDIR="/var/tmp"
  38. PORTDIR="/usr/portage"
  39. PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/myportage"
  40. SYNC="rsync://rsync.gentoo.org/gentoo-portage"
  41. USE="X a52 aac aalib acl acpi alsa audiofile automount bash-completion berkdb branding bzip2 cairo cddb cdparanoia cdr chm chroot cjk cli colordiff command-args compress cracklib crypt cscope css curl dbase dbm dbus directfb disk-partition djvu dri dts dv dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fat ffmpeg firefox flac fortran gdbm gif glib gmp gpm gstreamer gtk gzip hal iconv immqt-bc isdnlog ithreads jpeg jpeg2k jpgraph lame ldap libnotify live lm_sensors mad midi mikmod mmap mmx mng mp3 mp4 mpeg mplayer mudflap ncurses network nls nptl nptlonly ntfs ogg openal opengl openmp openssl opensslcrypt pam pcre pdf perl pmu png posix ppds pppd python qt3support quicktime rar readline realmedia reflection samba scim sdl sdl-image sdl-sound session spell spl sql sqlite sqlite3 srt sse sse2 ssh ssl startup-notification subversion svg svgz symlink sysfs tcpd theora threads tiff truetype unicode unzip usb v4l v4l2 vcd vorbis wav wifi win32codecs wma wmf wxwindows x264 x86 xface xft xine xml xorg xpm xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="sis vesa vga"
  42. Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 09:08:24 | 显示全部楼层
考虑过会不会USE设置问题

可是emerge 不是可以根据use自动解决依赖问题么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 09:11:46 | 显示全部楼层
Post by o_xyz;1973992
我从来不运行这个命令,呵呵。
只升级单个软件。。


因为目前我的系统一进x就无响应

才考虑更新系统的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 09:20:33 | 显示全部楼层
Post by shawlz;1973933
楼主应该是新手吧?  Me too,hehe

俺刚开始安装系统的时候,因为make.conf里堆积太多USE,升级world时很多都卡住。 之后尽量将USE摆到/etc/portage/package.use去并不断调整,现在好多了。


不知道这两种方式设定的use有什么区别啊?

我的make .conf 中确实有很多use

  1. ################################################################################
  2. ########## use admin ##########
  3. USE="posix threads mmap openmp ncurses automount disk-partition fat ntfs \
  4.         symlink branding colordiff"
  5. ########### use for Desktop Environment ##########
  6. USE="${USE} X gtk hal dbus usb glib -qt3 -qt4 -kde -gnome -xfce startup-notification \
  7.         -xscreensaver -xinerama -bluetooth -cups -ieee1394 -pcmcia wifi"
  8. ########### use for Chinese Support ##########
  9. USE="${USE} cjk nls unicode xft truetype scim immqt-bc"
  10. ########### use for File Formats Support ##########
  11. USE="${USE} gif jpeg tiff exif jpeg2k jpgraph mng png svg svgz xface wmf \
  12.         mpeg mp3 mp4 ogg wma xpm srt \
  13.         pdf djvu chm xml compress bzip2 gzip rar zip unzip zlib"
  14. ########### use for Multimedia Instruction depend on cpu&gcc version##########
  15. USE="$USE mmx sse sse2 -sse3 -ssse3"
  16. ########### use for Multimedia Support ##########
  17. USE="${USE} alsa cdr cddb cdparanoia css directfb dts dvd dvdr openal opengl \
  18.         v4l v4l2 vcd xv xvmc mplayer sdl-image sdl-sound"
  19. ########### use for Codecs ##########
  20. USE="${USE} win32codecs real realmedia wav xine a52 aac aalib audiofile cdparanoia \
  21.         dv dvdread encode ffmpeg flac lame live mad quicktime theora vorbis x264 xvid"
  22. ########### use for Power Management ##########
  23. USE="${USE} acpi -apm lm_sensors pmu"
  24. ########### use for Programming ##########
  25. USE="${USE} bash-completion subversion emacs cscope        -examples ithreads wxwindows gmp"
  26. ########### use for net ##########
  27. USE="${USE} -ipv6 samba network chroot curl ssl openssl opensslcrypt ssh command-args"
  28. ###########use for db ##########
  29. USE="${USE} dbase dbm sqlite sqlite3 sql"
  30. ########### use for Accounting ##########
  31. # USE="${USE} hbci ofx quotes"
  32. ########### misc use ##########
  33. # USE="${USE} "

复制代码


use 设多了编译还不能通过?
emerge portage 不是专门搞use的么?
回复 支持 反对

使用道具 举报

发表于 2009-4-14 09:22:07 | 显示全部楼层
Post by Avast;1974074
因为目前我的系统一进x就无响应

才考虑更新系统的


  1. [ebuild  N    ] x11-drivers/nvidia-drivers-180.44  USE="acpi gtk -custom-cflags (-multilib)" 0 kB [0]
  2. [ebuild  N    ] media-video/nvidia-settings-180.44  0 kB [0]

复制代码


你用的是N卡吗?以前没用N卡驱动?
如果你用startx方式的话,可以  startx >startx.log 2>&1 来看有什么问题
你的意思是上面列出的所有包都编译不过?还是只是小部分几个包?
刚用GENTOO的话第一个碰到的就是USE问题,正常了,USE问题要看个人喜好,还有经验来设置了,ccache开着相对会加速一下
回复 支持 反对

使用道具 举报

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

本版积分规则

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