Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275654 - sys-boot/grub-{1.97.1,9999}: fails to build without freetype2
Summary: sys-boot/grub-{1.97.1,9999}: fails to build without freetype2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 277899 283122 293512 299529 299776 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-28 02:37 UTC by Cameron Tacklind
Modified: 2010-01-10 06:11 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for grub-9999.ebuild (grub-9999-freetype2-depend.patch,371 bytes, patch)
2009-12-08 23:50 UTC, Finn Wilke
Details | Diff
patch for grub-9999.ebuild (grub-9999.ebuild.patch,373 bytes, patch)
2009-12-10 08:29 UTC, Ivan Anishchuk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Tacklind 2009-06-28 02:37:00 UTC
sys-boot/grub-9999's ebuild fails to bring in the freetype2 dependency.

ebuild failed during econf. I lost the log in the nether regions of my fs.

After 'emerge freetype', grub installs fine.

The freetype dependency should be added to the ebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge freetype
2. emerge =sys-boot/grub-9999

Actual Results:  
ebuild fails

Expected Results:  
Finds missing dependency and emerges it first.
Comment 1 SpanKY gentoo-dev 2009-07-15 21:28:12 UTC
*** Bug 277899 has been marked as a duplicate of this bug. ***
Comment 2 Hongjiu Zhang 2009-08-20 14:23:58 UTC
bing bong, could anyone notice this and add a line in that ebuild? only a line... media-libs/freetype:2 is enough currently...
Comment 3 SpanKY gentoo-dev 2009-08-30 22:30:23 UTC
*** Bug 283122 has been marked as a duplicate of this bug. ***
Comment 4 Auke Booij (tulcod) 2009-09-29 21:59:12 UTC
any updates to this bug?
Comment 5 Torsten Stets 2009-10-31 15:38:08 UTC
Bug 273896 seems to be a duplicate of this too. 
Comment 6 Auke Booij (tulcod) 2009-10-31 15:56:01 UTC
Oh come on people, how hard a bug is this? Just add freetype to DEPEND and this one's fixed.
Comment 7 Chris Beswick 2009-11-02 10:56:10 UTC
Just wanted to note that this also effects the grub-1.97 ebuild so it would be nice if this dependancy can be added there as well as its currently the highest non svn version.
Comment 8 SpanKY gentoo-dev 2009-11-18 00:19:48 UTC
*** Bug 293512 has been marked as a duplicate of this bug. ***
Comment 9 Andrew Brouwers 2009-11-22 19:02:15 UTC
Just ran into this on a fresh install; the mkfont configure option was set explicitly in the build, so the freetype dependency is required:

>>> Emerging (4 of 4) sys-boot/grub-1.97.1
 * grub-1.97.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking grub-1.97.1.tar.gz to /var/tmp/portage/sys-boot/grub-1.97.1/work
 * Applying grub-1.96-genkernel.patch ...                                             [ ok ]
 * Running autoconf ...                                                               [ ok ]
 * Running autoheader ...                                                             [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-1.97.1/work
>>> Compiling source in /var/tmp/portage/sys-boot/grub-1.97.1/work/grub-1.97.1 ...
 * econf: updating grub-1.97.1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating grub-1.97.1/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-werror --sbindir=/sbin --bindir=/bin --libdir=/lib64 --disable-efiemu --enable-grub-mkfont --disable-mm-debug --disable-grub-emu --disable-grub-emu-usb --disable-grub-fstest
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for cmp... cmp
checking for bison... bison
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for ruby... /usr/bin/ruby
checking for makeinfo... /usr/bin/makeinfo
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking size of long... 8
checking whether our compiler is apple cc... no
checking for help2man... /usr/bin/help2man
checking for posix_memalign... yes
checking for memalign... yes
checking for asprintf... yes
checking for x86_64-pc-linux-gnu-objcopy... x86_64-pc-linux-gnu-objcopy
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-nm... x86_64-pc-linux-gnu-nm
checking whether optimization for size works... yes
checking whether -falign-loops works... yes
checking whether -fno-dwarf2-cfi-asm works... no
checking whether our target compiler is apple cc... no
checking for command to convert module to ELF format... 
checking whether `x86_64-pc-linux-gnu-gcc' generates calls to `__enable_execute_stack()'... no
checking whether `x86_64-pc-linux-gnu-gcc' has `-fPIE' as default... no
checking whether `x86_64-pc-linux-gnu-gcc' accepts `-fstack-protector'... yes
checking whether `x86_64-pc-linux-gnu-gcc' accepts `-mstack-arg-probe'... yes
checking for __bswapsi2... yes
checking for __bswapdi2... yes
checking for __ashldi3... no
checking for __ashrdi3... no
checking for __lshrdi3... no
checking for __trampoline_setup... no
checking for __ucmpdi2... no
checking whether target compiler is working... yes
checking whether x86_64-pc-linux-gnu-objcopy works for absolute addresses... yes
checking whether linker accepts --build-id=none... yes
checking if C symbols get an underscore after compilation... no
checking if __bss_start is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
checking for freetype-config... no
./configure: line 9203: freetype-config: command not found
./configure: line 9204: freetype-config: command not found
configure: error: grub-mkfont was explicitly requested but can't be compiled
Comment 10 Finn Wilke 2009-12-08 23:50:13 UTC
Created attachment 212501 [details, diff]
Patch for grub-9999.ebuild

Come on, this really isn't hard. I even created a patch for you guys. Why don't you just fix this? (and maybe additionally fix the other bug that hinders grub-9999 from compiling: Bug 296013. (also created a patch for that one))
Comment 11 Finn Wilke 2009-12-08 23:51:50 UTC
Ok, forget about the reference to the other bug ;-)
Comment 12 Ivan Anishchuk 2009-12-10 08:29:32 UTC
Created attachment 212600 [details, diff]
patch for grub-9999.ebuild

(In reply to comment #10)
> Created an attachment (id=212501) [details]

Paludis says that "Slot dependencies not safe for use here".
Comment 13 SpanKY gentoo-dev 2010-01-05 04:23:40 UTC
*** Bug 299529 has been marked as a duplicate of this bug. ***
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-01-05 15:02:52 UTC
*** Bug 299776 has been marked as a duplicate of this bug. ***
Comment 15 Jan Kundrát (RETIRED) gentoo-dev 2010-01-10 02:25:29 UTC
Base-system, could you please adjust the dependencies of Grub to include Freetype?
Comment 16 SpanKY gentoo-dev 2010-01-10 05:46:54 UTC
Comment on attachment 212501 [details, diff]
Patch for grub-9999.ebuild

no, forcing freetype on everyone is a terrible idea