Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380019 - sys-boot/grub-1.99_rc1 shoud depend on sys-devel/bison and sys-devel/flex
Summary: sys-boot/grub-1.99_rc1 shoud depend on sys-devel/bison and sys-devel/flex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 00:32 UTC by Andrei Slavoiu
Modified: 2012-06-29 02:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2011-08-21 00:32:08 UTC
>>> Emerging (7 of 7) sys-boot/grub-1.99_rc1
 * grub-1.99~rc1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                  [ ok ]
 * Package:    sys-boot/grub-1.99_rc1
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking grub-1.99~rc1.tar.gz to /var/tmp/portage/sys-boot/grub-1.99_rc1/work
 * Applying grub-1.99-genkernel.patch ...                                                                                                                                                [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-1.99_rc1/work
>>> Compiling source in /var/tmp/portage/sys-boot/grub-1.99_rc1/work/grub-1.99~rc1 ...
 * econf: updating grub-1.99~rc1/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating grub-1.99~rc1/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./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 --disable-grub-mkfont --disable-mm-debug --disable-grub-emu --disable-grub-emu-usb --disable-grub-fstest
configure: WARNING: unrecognized options: --disable-grub-emu, --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 a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for cmp... cmp
checking for bison... no
configure: error: bison is not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-boot/grub-1.99_rc1/work/grub-1.99~rc1/config.log
 * ERROR: sys-boot/grub-1.99_rc1 failed (compile phase):
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2638:  Called econf '--disable-werror' '--sbindir=/sbin' '--bindir=/bin' '--libdir=/lib64' '--disable-efiemu' '--disable-grub-mkfont' '--disable-mm-debug' '--disable-grub-emu' '--disable-grub-emu-usb' '--disable-grub-fstest'
 *     ebuild.sh, line  557:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-boot/grub-1.99_rc1',
 * the complete build log and the output of 'emerge -pqv =sys-boot/grub-1.99_rc1'.
 * The complete build log is located at '/var/tmp/portage/sys-boot/grub-1.99_rc1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-1.99_rc1/temp/environment'.
 * S: '/var/tmp/portage/sys-boot/grub-1.99_rc1/work/grub-1.99~rc1'

>>> Failed to emerge sys-boot/grub-1.99_rc1, Log file:
Comment 1 Matt Turner gentoo-dev 2011-08-21 03:18:04 UTC
Indeed. Thanks for the report. Fixed.
Comment 2 SpanKY gentoo-dev 2011-08-21 04:32:47 UTC
not quite ... virtual/yacc, not sys-devel/bison
Comment 3 Andrei Slavoiu 2011-08-21 13:38:08 UTC
Are you sure it works with dev-util/yacc as well? The configure script seems to only check for bison, not yacc.
Comment 4 Andrei Slavoiu 2011-11-13 19:32:15 UTC
On a system with dev-util/yacc installed emerging grub-1.99-r2 results in the following error. Please change the dependency back to sys-devel/bison, not virtual/yacc

>>> Installing (3 of 4) virtual/yacc-0
 * checking 0 files for package collisions
>>> Merging virtual/yacc-0 to /
>>> virtual/yacc-0 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Emerging (4 of 4) sys-boot/grub-1.99-r2
 * grub-1.99.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking grub-1.99.tar.xz to /var/tmp/portage/sys-boot/grub-1.99-r2/work
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-1.99-r2/work
>>> Preparing source in /var/tmp/portage/sys-boot/grub-1.99-r2/work/grub-1.99 ...
 * Applying 1.99-call_proper_grub_probe.patch ...                                                                                                                [ ok ]
 * Applying 1.99-improve_devmapper.patch ...                                                                                                                     [ ok ]
 * Applying 1.99-do_not_stat_so_often.patch ...                                                                                                                  [ ok ]
 * Applying 1.99-stat_root_device_properly-p1.patch ...                                                                                                          [ ok ]
 * Applying 1.99-stat_root_device_properly-p2.patch ...                                                                                                          [ ok ]
 * Going to build following platforms: guessed
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-boot/grub-1.99-r2/work/grub-1.99 ...
>>> Running src_configure for platform "guessed"
>>> Working in: "/var/tmp/portage/sys-boot/grub-1.99-r2/work/build-guessed"
 * econf: updating grub-1.99/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating grub-1.99/build-aux/config.sub with /usr/share/gnuconfig/config.sub
/var/tmp/portage/sys-boot/grub-1.99-r2/work/grub-1.99//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-dependency-tracking --disable-werror --sbindir=/sbin --bindir=/bin --libdir=/lib64 --program-transform-name=s,grub,grub2, --disable-mm-debug --disable-grub-emu-usb --disable-device-mapper --disable-efiemu --enable-nls --disable-grub-mkfont --disable-grub-emu-sdl
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 a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for cmp... cmp
checking for bison... no
configure: error: bison is not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-boot/grub-1.99-r2/work/build-guessed/config.log
 * ERROR: sys-boot/grub-1.99-r2 failed (configure phase):
 *   econf failed
Comment 5 Mike Gilbert gentoo-dev 2012-06-29 02:52:15 UTC
+  29 Jun 2012; Mike Gilbert <floppym@gentoo.org> grub-2.00.ebuild,
+  grub-9999.ebuild:
+  Depend on bison, bug 380019.
+