LinuxSir.cn,穿越时空的Linuxsir!

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

DirectFB升級到1.4後的重建

[复制链接]
发表于 2009-10-2 19:30:57 | 显示全部楼层 |阅读模式
又是一個基本圖書館升級。revdep-rebuild列出81個包需重建:
  1. app-text/aiksaurus-1.2.1                                                  
  2. x11-themes/gtk-engines-2.18.3                                             
  3. x11-libs/libwnck-2.26.2-r2                                                
  4. x11-libs/gtksourceview-2.6.2                                             
  5. gnome-base/gconf-2.26.2-r1                                                
  6. gnome-base/libgnomekbd-2.26.0                                             
  7. gnome-base/gnome-session-2.26.2                                          
  8. gnome-extra/gconf-editor-2.26.0                                          
  9. gnome-base/gnome-keyring-2.26.3                                          
  10. dev-libs/libunique-1.0.8                                                  
  11. x11-libs/libnotify-0.4.5                                                  
  12. net-irc/xchat-2.8.6-r2                                                   
  13. gnome-base/gnome-desktop-2.26.3                                          
  14. app-i18n/scim-1.4.9                                                      
  15. x11-wm/metacity-2.26.0-r1                                                
  16. x11-misc/notification-daemon-0.4.0-r1                                    
  17. app-i18n/scim-pinyin-0.5.91-r3                                            
  18. app-i18n/scim-tables-0.5.8-r1                                             
  19. app-i18n/scim-bridge-0.4.16                                               
  20. dev-db/unixODBC-2.2.12                                                   
  21. x11-libs/libgksu-2.0.12                                                   
  22. net-analyzer/gnome-nettool-2.26.2                                         
  23. net-misc/pcmanx-gtk2-9999                                                
  24. gnome-base/libgnomeprintui-2.18.4                                         
  25. media-libs/libcanberra-0.17                                               
  26. gnome-base/gnome-settings-daemon-2.26.1-r2                                
  27. gnome-base/gnome-mount-0.8-r1                                             
  28. app-arch/file-roller-2.26.3                                               
  29. x11-libs/cairo-1.8.8                                                      
  30. media-libs/libsdl-1.2.13-r1
  31. dev-libs/poppler-glib-0.12.0
  32. sci-astronomy/celestia-1.6.0
  33. dev-python/pygtk-2.16.0-r1
  34. net-libs/libproxy-0.2.3-r2
  35. gnome-extra/yelp-2.26.0
  36. media-libs/xine-lib-1.1.16.3-r1
  37. media-video/mplayer-1.0_rc4_p20090919-r2
  38. net-dns/avahi-0.6.25
  39. dev-libs/libgweather-2.26.2.1
  40. dev-python/pygtksourceview-2.6.0
  41. gnome-extra/gucharmap-2.26.3.1
  42. net-libs/gtk-vnc-0.3.9
  43. x11-libs/vte-0.20.5
  44. app-office/dia-0.97-r1
  45. app-text/evince-2.26.2
  46. media-gfx/eog-2.26.3
  47. media-libs/swfdec-0.8.4
  48. gnome-extra/evolution-data-server-2.26.3
  49. gnome-extra/gnome-media-2.26.0-r1
  50. x11-terms/gnome-terminal-2.26.3.1-r2
  51. app-crypt/seahorse-2.26.2
  52. app-dicts/stardict-3.0.1-r2
  53. app-editors/gedit-2.26.3
  54. gnome-extra/gnome-screensaver-2.26.1
  55. net-misc/vinagre-2.26.2
  56. www-client/epiphany-2.26.3-r1
  57. net-im/pidgin-2.6.2
  58. x11-libs/gksu-2.0.2
  59. media-sound/sound-juicer-2.26.1
  60. media-video/totem-2.26.3-r1
  61. net-print/gnome-cups-manager-0.33-r1
  62. x11-plugins/pidgin-libnotify-0.14
  63. x11-plugins/pidgin-mpris-0.2.6
  64. sci-calculators/qalculate-gtk-0.9.6-r1
  65. gnome-base/librsvg-2.26.0
  66. media-gfx/imagemagick-6.5.4.10
  67. gnome-base/gnome-panel-2.26.3
  68. app-i18n/ibus-9999
  69. gnome-base/gdm-2.20.10-r2
  70. gnome-extra/gnome-games-2.26.3-r1
  71. media-video/vlc-1.0.2
  72. app-pda/gnome-pilot-2.0.17-r1
  73. gnome-base/gnome-control-center-2.26.0
  74. gnome-extra/gnome-power-manager-2.26.4
  75. gnome-extra/gnome-utils-2.26.0
  76. net-analyzer/gnome-netstatus-2.26.0
  77. x11-wm/compiz-0.8.2-r3
  78. x11-plugins/compiz-plugins-main-0.8.2-r1
  79. mail-client/evolution-2.26.3
  80. x11-plugins/compiz-plugins-extra-0.8.2
  81. app-office/kword-2.0.2
复制代码


但一下子就失敗了:
  1. /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libdirectfb-1.2.so.0, needed by /usr/lib64/libcairo.so, not found (try using -rpath or -rpath-link)     
  2. /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libfusion-1.2.so.0, needed by /usr/lib64/libcairo.so, not found (try using -rpath or -rpath-link)      
  3. /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libdirect-1.2.so.0, needed by /usr/lib64/libcairo.so, not found (try using -rpath or -rpath-link)      
  4. /usr/lib64/libcairo.so: undefined reference to `DirectFBError'                                 
  5. /usr/lib64/libcairo.so: undefined reference to `direct_messages_bug'                           
  6. /usr/lib64/libcairo.so: undefined reference to `direct_config'                                 
  7. /usr/lib64/libcairo.so: undefined reference to `direct_memcpy'                                 
  8. collect2: ld returned 1 exit status                                                            
  9. make[3]: *** [gconf-sanity-check-2] Error 1                                                     
  10. make[3]: Leaving directory `/var/tmp/portage/gnome-base/gconf-2.26.2-r1/work/GConf-2.26.2/gconf'
  11. make[2]: *** [all] Error 2                                                                     
  12. make[2]: Leaving directory `/var/tmp/portage/gnome-base/gconf-2.26.2-r1/work/GConf-2.26.2/gconf'
  13. make[1]: *** [all-recursive] Error 1                                                            
  14. make[1]: Leaving directory `/var/tmp/portage/gnome-base/gconf-2.26.2-r1/work/GConf-2.26.2'      
  15. make: *** [all] Error 2                                                                        
  16. *                                                                                             
  17. * ERROR: gnome-base/gconf-2.26.2-r1 failed.                                                   
  18. * Call stack:                                                                                 
  19. *               ebuild.sh, line   49:  Called src_compile                                      
  20. *             environment, line 2898:  Called gnome2_src_compile                              
  21. *             environment, line 2242:  Called die                                             
  22. * The specific snippet of code:                                                               
  23. *       emake || die "compile failure"                                                         
  24. *  The die message:                                                                           
  25. *   compile failure                                                                           
  26. *                                                                                             
  27. * If you need support, post the topmost build error, and the call stack if relevant.           
  28. * A complete build log is located at '/var/log/portage/gnome-base:gconf-2.26.2-r1:20091002-105335.log'.                                                                                       
  29. * The ebuild environment file is located at '/var/tmp/portage/gnome-base/gconf-2.26.2-r1/temp/environment'.                                                                                    
  30. *                                                                                             

  31. >>> Failed to emerge gnome-base/gconf-2.26.2-r1, Log file:
复制代码


當然,跑
  1. emerge -1 cairo
复制代码

就解決問題了。但為甚麼revdep-rebuild沒有正确地決定cairo應該先編?revdep-rebuild到底用甚麼algorithm去排列emerge順序的?
发表于 2009-10-2 20:03:37 | 显示全部楼层

我的经验一般运行两次revdep-rebuild 就可以了

第一次, revdep-rebuild
第二次,revdep-rebuild -i
回复 支持 反对

使用道具 举报

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

本版积分规则

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