Created attachment 360888 [details] "emerge --info '=sys-boot/grub-2.00_p5107-r1::gentoo'" New stable grub(grub2) failed.
Created attachment 360890 [details] "emerge -pqv '=sys-boot/grub-2.00_p5107-r1::gentoo'"
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'
> !!! 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. :)
Created attachment 361500 [details] config.log added "/var/tmp/portage/sys-boot/grub-2.00_p5107-r2/work/grub-2.00-pc/config.log"
Added to the file
What is the latest situation?
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?
(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
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.
Do you have SYSROOT set in your environment or make.conf or pacakge.env? That would mess up the paths returned by freetype-config.
(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.