Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488030 - =sys-boot/grub-2.00_p5107-r1 - configure: error: grub-mkfont was explicitly requested but can't be compiled
Summary: =sys-boot/grub-2.00_p5107-r1 - configure: error: grub-mkfont was explicitly r...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-14 16:25 UTC by Emre Eryilmaz
Modified: 2013-11-12 09:47 UTC (History)
2 users (show)

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


Attachments
"emerge --info '=sys-boot/grub-2.00_p5107-r1::gentoo'" (info,5.29 KB, text/plain)
2013-10-14 16:25 UTC, Emre Eryilmaz
Details
"emerge -pqv '=sys-boot/grub-2.00_p5107-r1::gentoo'" (build_log,271 bytes, text/plain)
2013-10-14 16:26 UTC, Emre Eryilmaz
Details
config.log (config.log,588.52 KB, text/plain)
2013-10-21 10:56 UTC, Emre Eryilmaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emre Eryilmaz 2013-10-14 16:25:50 UTC
Created attachment 360888 [details]
"emerge --info '=sys-boot/grub-2.00_p5107-r1::gentoo'"

New stable grub(grub2) failed.
Comment 1 Emre Eryilmaz 2013-10-14 16:26:40 UTC
Created attachment 360890 [details]
"emerge -pqv '=sys-boot/grub-2.00_p5107-r1::gentoo'"
Comment 2 Emre Eryilmaz 2013-10-14 16:28:27 UTC
and compile error details:

checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether -nostdinc -isystem works... yes
checking whether -Wtrampolines work... yes
checking for x86_64-pc-linux-gnu-freetype-config... no
checking for freetype-config... freetype-config
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
configure: error: grub-mkfont was explicitly requested but can't be compiled

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-pc/config.log
 * ERROR: sys-boot/grub-2.00_p5107-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 4157:  Called multibuild_parallel_foreach_variant 'grub_configure'
 *        environment, line 3391:  Called multibuild_foreach_variant '_multibuild_parallel' 'grub_configure'
 *        environment, line 3339:  Called _multibuild_run '_multibuild_parallel' 'grub_configure'
 *        environment, line 3337:  Called _multibuild_parallel 'grub_configure'
 *        environment, line 3382:  Called grub_configure
 *        environment, line 2821:  Called autotools-utils_src_configure
 *        environment, line  780:  Called econf '--docdir=/usr/share/doc/grub-2.00_p5107-r1' '--disable-werror' '--program-prefix=' '--libdir=/usr/lib' '--htmldir=/usr/share/doc/grub-2.00_p5107-r1/html' '--disable-mm-debug' '--disable-grub-emu-usb' '--disable-grub-mount' '--enable-nls' '--enable-grub-mkfont' '--disable-libzfs' '--disable-grub-emu-sdl' '--with-platform=pc' '--disable-efiemu' '--program-transform-name=s,grub,grub2,'
 *   phase-helpers.sh, line  521:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-boot/grub-2.00_p5107-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-boot/grub-2.00_p5107-r1::gentoo'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 188: wait: `econf failed': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-pc'
 * S: '/var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00'
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-14 18:52:12 UTC
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/sys-boot/grub-2.00_p5107-r1/work/grub-2.00-pc/config.log

Please do, thank you in advance. :)
Comment 4 Emre Eryilmaz 2013-10-21 10:56:51 UTC
Created attachment 361500 [details]
config.log

added "/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00-pc/config.log"
Comment 5 Emre Eryilmaz 2013-10-21 10:57:53 UTC
Added to the file
Comment 6 Emre Eryilmaz 2013-11-10 00:52:48 UTC
What is the latest situation?
Comment 7 Mike Gilbert gentoo-dev 2013-11-10 01:13:55 UTC
configure:25720: checking for freetype-config
configure:25736: found /usr/bin/freetype-config
configure:25747: result: freetype-config
configure:25784: checking ft2build.h usability
configure:25784: x86_64-pc-linux-gnu-gcc -c   -I/usr/armv6j-hardfloat-linux-gnueabi//usr/include/freetype2 -I/usr/armv6j-hardfloat-linux-gnueabi//usr/include conftest.c >&5
In file included from conftest.c:394:0:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory

Your freetype-config binary seems to have been configured for an ARM cross-compilation environment.

Have you trying re-installing freetype?
Comment 8 Emre Eryilmaz 2013-11-11 09:25:15 UTC
(In reply to Mike Gilbert from comment #7)
> configure:25720: checking for freetype-config
> configure:25736: found /usr/bin/freetype-config
> configure:25747: result: freetype-config
> configure:25784: checking ft2build.h usability
> configure:25784: x86_64-pc-linux-gnu-gcc -c  
> -I/usr/armv6j-hardfloat-linux-gnueabi//usr/include/freetype2
> -I/usr/armv6j-hardfloat-linux-gnueabi//usr/include conftest.c >&5
> In file included from conftest.c:394:0:
> /usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No
> such file or directory
> 
> Your freetype-config binary seems to have been configured for an ARM
> cross-compilation environment.
> 
> Have you trying re-installing freetype?

Im re-installing freetype.But freetype-config not change.

(after re-installing) Example Outputs:

# freetype-config --prefix
/usr/armv6j-hardfloat-linux-gnueabi//usr

# freetype-config --exec-prefix
/usr/armv6j-hardfloat-linux-gnueabi//usr

# freetype-config --libs
-L/usr/armv6j-hardfloat-linux-gnueabi//usr/lib64 -lfreetype -lz -lbz2

# freetype-config --libtool
/usr/armv6j-hardfloat-linux-gnueabi//usr/lib64/libfreetype.la
Comment 9 Mike Gilbert gentoo-dev 2013-11-11 16:43:04 UTC
Do you have any weird settings being applied via package.env?

This really seems like a system config issue (not a bug). I would suggest that you seek support in forums/irc/mailing lists to figure out what is going wrong with your freetype build.
Comment 10 Mike Gilbert gentoo-dev 2013-11-11 16:54:37 UTC
Do you have SYSROOT set in your environment or make.conf or pacakge.env? That would mess up the paths returned by freetype-config.
Comment 11 Emre Eryilmaz 2013-11-12 09:47:29 UTC
(In reply to Mike Gilbert from comment #10)
> Do you have SYSROOT set in your environment or make.conf or pacakge.env?
> That would mess up the paths returned by freetype-config.

Ohhhh,yes.I forgot what I wrote in /root/.bashrc .

in /root/.bashrc :

export SYSROOT=/usr/armv6j-hardfloat-linux-gnueabi

really sorry.Thanks Mike.It's resolved.