Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 299529

Summary: sys-boot/grub-1.97.1 should depend on media-libs/freetype:2
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dennis Schridde 2010-01-03 23:24:20 UTC
* Running autoconf ...    [ ok ]
 * Running autoheader ...  [ ok ]
ruby: no such file to load -- auto_gem (LoadError)
 * ERROR: sys-boot/grub-1.97.1 failed:

Installing dev-ruby/rubygems-1.3.5 fixes that.


checking for freetype-config... no                                                                                                                                                                                  
./configure: line 6875: freetype-config: command not found                                                                                                                                                          
./configure: line 6876: freetype-config: command not found                                                                                                                                                          
configure: error: grub-mkfont was explicitly requested but can't be compiled                                                                                                                                        

Installing media-libs/freetype-2.3.11 fixes this one.

Reproducible: Always
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-04 17:49:32 UTC
If you use chroot please remember to reset your environment.
Comment 2 Dennis Schridde 2010-01-04 19:07:10 UTC
(In reply to comment #1)
> If you use chroot please remember to reset your environment.
You mean like this?
$ chroot /mnt/gentoo
$ emerge sys-boot/grub # fails, but pulls in dev-lang/ruby
$ env-update && source /etc/profile
$ emerge sys-boot/grub # works this time, without installing dev-ruby/rubygems

"q file" tries to prove me wrong though:
dev-ruby/rubygems (/usr/lib64/ruby/site_ruby/auto_gem.rb)
Ruby itself does not claim that file its own.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-04 19:10:28 UTC
use env -i chroot.
RUBYOPT is set by rubygems itself.
Comment 4 Dennis Schridde 2010-01-04 19:48:03 UTC
Ah, understood. The rubygems I have installed on my machine exports an envvar, which then confuses the chroot. Thanks for that tip!
Comment 5 SpanKY gentoo-dev 2010-01-05 04:23:40 UTC

*** This bug has been marked as a duplicate of bug 275654 ***