Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595558 - sys-boot/grub-2.02_beta3-r1 with media-libs/freetype-2.7 - targets 'build-grub-gen-asciih' and 'build-grub-gen-widthspec' failed
Summary: sys-boot/grub-2.02_beta3-r1 with media-libs/freetype-2.7 - targets 'build-gru...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-29 17:20 UTC by Phil Stracchino (Unix Ronin)
Modified: 2016-09-30 20:19 UTC (History)
4 users (show)

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


Attachments
Build log (build.log,559.46 KB, text/x-log)
2016-09-29 17:21 UTC, Phil Stracchino (Unix Ronin)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2016-09-29 17:20:45 UTC
Makefile:12690: recipe for target 'build-grub-gen-asciih' failed
make[2]: *** [build-grub-gen-asciih] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
Makefile:12693: recipe for target 'build-grub-gen-widthspec' failed
make[2]: *** [build-grub-gen-widthspec] Error 1
chmod a+x 41_custom
config.status: creating grub-set-default
config.status: creating grub-mkconfig
chmod a+x grub-mkconfig
chmod a+x grub-set-default
config.status: creating grub-reboot
chmod a+x grub-reboot
make[2]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.02_beta3-r1/work/grub-2.02~beta3-guessed'
Makefile:10891: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-boot/grub-2.02_beta3-r1/work/grub-2.02~beta3-guessed'
Makefile:3117: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: sys-boot/grub-2.02_beta3-r1::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
emerge sys-boot/grub and wait for it to fail.




babylon5:root:~:5 # emerge -pqv sys-boot/grub
[ebuild     U ] sys-boot/grub-2.02_beta3-r1 [2.02_beta2-r9] USE="fonts nls sdl themes truetype -debug -device-mapper -doc -efiemu (-libzfs) -mount -multislot -static {-test}" GRUB_PLATFORMS="-coreboot -efi-32 -efi-64 -emu -ieee1275 -loongson -multiboot -pc -qemu -qemu-mips -uboot -xen -xen-32%"


babylon5:root:~:6 # emerge --info
Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r4, 4.7.5-gentoo-babylon5 x86_64)
=================================================================
System uname: Linux-4.7.5-gentoo-babylon5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    16410264 total,   2435880 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 29 Sep 2016 06:00:01 +0000
sh bash 4.4
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.4::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://minbar/gentoo-portage
    priority: -1000

alaric
    location: /var/lib/alaric
    masters: gentoo

farmboy0
    location: /var/lib/layman/farmboy0
    sync-type: laymansync
    sync-uri: https://github.com/farmboy0/portage-overlay.git
    masters: gentoo
    priority: 50

mysql
    location: /var/lib/layman/mysql
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mysql.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --verbose-conflicts --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo                 http://gentoo.chem.wisc.edu/gentoo                 http://gentoo.osuosl.org                 ftp://mirrors.rit.edu/gentoo                 http://mirrors.cs.wmich.edu/gentoo                 "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif firefox flac fltk fortran gdbm gif glamor gpm gtk iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin nvidia ogg opengl openmp opus pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session speex spell sse sse2 sse4 ssl startup-notification svg tcpd theora threads tiff tk tools truetype udev udisks unicode upower usb utils v4l v4l2 vdpau vorbis wxwidgets x264 xattr xcb xml xpm xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Phil Stracchino (Unix Ronin) 2016-09-29 17:21:30 UTC
Created attachment 448462 [details]
Build log
Comment 2 Mike Gilbert gentoo-dev 2016-09-29 18:24:55 UTC
What version of media-libs/freetype? What USE flags are enabled for that package?
Comment 3 Phil Stracchino (Unix Ronin) 2016-09-30 02:08:00 UTC
On all three machines exhibiting this failure, media-libs/freetype-2.7-r1.  On this machine, USE flags are 'X abi_x86_32 adobe-cff bzip2 harfbuzz infinality png utils'.  The other two hosts, which exhibit the same failure, have USE 'adobe-cff bzip2 harfbuzz infinality utils'.
Comment 4 Aweal 2016-09-30 13:43:47 UTC
bump 


build.log
https://paste.pound-python.org/show/GcmFxCDKujLtjHizlWgT/

emerge --info
https://paste.pound-python.org/show/O9ppA4B7A8AXw6EMraUX/
[ebuild   R   ~] media-libs/freetype-2.7-r1:2::gentoo  USE="X adobe-cff bzip2 infinality png -bindist -cleartype_hinting -debug -doc -fontforge -harfbuzz -static-libs -utils" ABI_X86="32 (64) (-x32)" 0 KiB
Comment 5 Mike Gilbert gentoo-dev 2016-09-30 20:19:01 UTC
commit 838c92297214d6330844df0b15ba61c33c27c430
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Fri Sep 30 11:48:24 2016 -0400

    media-libs/freetype: avoid redefining TT_CONFIG_OPTION_SUBPIXEL_HINTING

    Adjust the enable_option function to remvoe comments instead of appending an
    additional line. This should resolve a build failure in sys-boot/grub.

    Also allow both cleartype and infinality to be enabled simultaneously, as
    documented in ftoption.h.

    Bug: https://bugs.gentoo.org/595558
    Package-Manager: portage-2.3.1_p4_p550764

 .../{freetype-2.7-r1.ebuild => freetype-2.7-r2.ebuild}  | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)