Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385613 - sys-apps/groff-1.21 with LINGUAS="ja" is missing virtual/yacc build dependency
Summary: sys-apps/groff-1.21 with LINGUAS="ja" is missing virtual/yacc build dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (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-10-04 15:45 UTC by Khumba
Modified: 2012-06-08 05:17 UTC (History)
0 users

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


Attachments
sys-apps/groff-1.21 build log (build.log,48.03 KB, text/plain)
2011-10-04 15:46 UTC, Khumba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Khumba 2011-10-04 15:45:24 UTC
I started a fresh amd64 install, getting the base system set up then starting to emerge my usual package set.  The build order was, with irrelevant packages stripped out:

# emerge -uvD --changed-use @world
Calculating dependencies  ..... done!
[ebuild   R    ] sys-apps/groff-1.21  USE="X* -examples" LINGUAS="ja*" 3,826 kB
[ebuild  N     ] sys-devel/bison-2.4.3  USE="nls -static" 0 kB
[ebuild  N     ] virtual/yacc-0  0 kB

groff tries to use yacc at build time, only when LINGUAS contains "ja", and fails.  Seems to be missing DEPEND="linguas_ja? ( virtual/yacc )".

Reproducible: Always

Steps to Reproduce:
Start with a fresh install, try to install emerge with LINGUAS="en ja" without yacc or bison installed.
Actual Results:  
groff fails to build with:

make[2]: Entering directory `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/src/preproc/eqn'
rm -f neqn
sed -e 's/@g@//g' \
-f /var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/arch/misc/shdeps.sed \
-e 1s/a/a/ ./neqn.sh >neqn
chmod +x neqn
if test -n "eqn_tab.h"; then \
  yacc -v -d eqn.y; \
else \
  yacc -v eqn.y; \
fi
/bin/sh: line 1: yacc: command not found
make[2]: *** [eqn.cpp] Error 127
make[2]: Leaving directory `/var/tmp/portage/sys-apps/groff-1.21/work/groff-1.21/src/preproc/eqn'
make[1]: *** [src/preproc/eqn] Error 2
make[1]: *** Waiting for unfinished jobs....

Expected Results:  
groff should emerge properly.
Comment 1 Khumba 2011-10-04 15:46:48 UTC
Created attachment 288785 [details]
sys-apps/groff-1.21 build log
Comment 2 Khumba 2011-10-04 15:49:25 UTC
emerge --info:

(The kernel of the new system is actually 2.6.39-gentoo-r3.  I reproduced the bug within a chroot.)

Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.38-hardened-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-hardened-r6-x86_64-Intel-R-_Atom-TM-_CPU_N450_@_1.66GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 04 Oct 2011 00:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig:       0.26
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.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/local/distfiles"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use y --quiet-build --quiet-unmerge-warn"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="/mnt/oldroot/usr/local/distfiles/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/local/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="/mnt/portage/gentoo"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 avahi berkdb branding bzip2 cairo cdda cjk cli consolekit cracklib crypt curl cxx dbus djvu dri dvd dvi emacs encode exif fam fat ffmpeg firefox flac fontconfig fortran ftp gdbm gif git gnutls gpm gstreamer gtk iconv id3tag imap imlib ipod ipv6 java jit jpeg kde kipi kpathsea lame lcms libnotify mad maildir mmx mng modules mp3 mp4 mpeg msn mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 rdesktop readline rss sbcl scanner sdl semantic-desktop session smp snmp sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vnc vorbis wifi x264 xcb xft xml xorg xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan stage tables krita karbon braindump" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 SpanKY gentoo-dev 2012-06-08 05:17:24 UTC
should be all set now in the tree; thanks for the report!

Commit message: Depend on yacc when LINGUAS=ja
http://sources.gentoo.org/sys-apps/groff/groff-1.21-r1.ebuild?r1=1.3&r2=1.4
http://sources.gentoo.org/sys-apps/groff/groff-1.21.ebuild?r1=1.9&r2=1.10