Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378925 - sys-apps/iproute2-2.6.35-r2 should depend on bison
Summary: sys-apps/iproute2-2.6.35-r2 should depend on bison
Status: RESOLVED DUPLICATE of bug 376343
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-12 14:36 UTC by lain.rem
Modified: 2011-08-14 12:05 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 lain.rem 2011-08-12 14:36:28 UTC
If your system doesn't have gnu bison installed than emerging iproute2 will end with crash, because it requires gnu bison. Also it may need dev-util/yacc, because i had to manually install it before. (emerge net-libs/libpcap-1.1.1 failed without yacc, but it hadn't required it)

Reproducible: Always

Steps to Reproduce:
1. # emerge -avt sys-apps/iproute2
Actual Results:  
...
make[1]: bison: Command not found
make[1]: *** [emp_ematch.yacc.c] Error 127
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.35-r2/work/iproute2-2.6.35/tc'
make: *** [all] Error 2
emake failed
 * ERROR: sys-apps/iproute2-2.6.35-r2 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2460:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" HOSTCC="$(tc-getBUILD_CC)" AR="$(tc-getAR)" || die

Expected Results:  
successful compilation

USE="-X -kde4 -kde -qt -gnome -gtk2 -gtk cups niash gutenrpint sane mysql apache2 unicode nls cyrillic wifi aac mp3 flac
-hal amr alsa aalib a52 audio audiofile cgi dhcp dhcpcd curl faad sql theora gd pptp"


# emerge --info
Portage 2.1.10.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.30-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-AMD_Sempron-tm-_2600+-with-gentoo-2.0.3
Timestamp of tree: Sun, 31 Jul 2011 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.kiev.ua/ http://gentoo.iteam.net.ua/ http://gentoo.kiev.ua/ftp/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="a52 aac aalib acl alsa amr apache2 audio audiofile berkdb bzip2 cgi cli cracklib crypt cups curl cxx cyrillic dhcp dhcpcd dri faad flac fortran gd gdbm gpm gutenrpint iconv ipv6 modules mp3 mudflap mysql ncurses niash nls nptl nptlonly openmp pam pcre perl pppd pptp python readline sane session sql ssl sysfs tcpd theora unicode wifi x86 xorg zlib" ALSA_CARDS="i8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="niash" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-08-14 12:05:10 UTC

*** This bug has been marked as a duplicate of bug 376343 ***