Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211864 - gnome-base/libbonobo-2.20.3 depends on byacc
Summary: gnome-base/libbonobo-2.20.3 depends on byacc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 07:08 UTC by Aurélien Francillon
Modified: 2008-03-01 10:49 UTC (History)
0 users

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


Attachments
gnome-base:libbonobo-2.20.3:20080229-130939.log (gnome-base:libbonobo-2.20.3:20080229-130939.log,149.17 KB, text/plain)
2008-02-29 13:19 UTC, Aurélien Francillon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Francillon 2008-02-29 07:08:44 UTC
Building libbonobo on led to this failure :

(cd .libs && rm -f libbonobo-2.so && ln -s libbonobo-2.so.0.0.0 libbonobo-2.so)
i686-pc-linux-gnu-ar cru .libs/libbonobo-2.a  bonobo-moniker-context.o bonobo-arg.o bonobo-context.o bonobo-event-source.o bonobo-exception.o bonobo-generic-factory.o bonobo-item-container.o bonobo-item-handler.o bonobo-listener.o bonobo-main.o bonobo-moniker.o bonobo-moniker-extender.o bonobo-moniker-simple.o bonobo-moniker-util.o bonobo-object.o bonobo-foreign-object.o bonobo-persist-file.o bonobo-persist-stream.o bonobo-persist.o bonobo-persist-client.o bonobo-property-bag.o bonobo-property-bag-client.o bonobo-shlib-factory.o bonobo-storage.o bonobo-stream-client.o bonobo-stream-memory.o bonobo-storage-memory.o bonobo-running-context.o bonobo-application.o bonobo-app-client.o bonobo-types.o bonobo-debug.o Bonobo-common.o Bonobo-stubs.o Bonobo-skels.o
i686-pc-linux-gnu-ranlib .libs/libbonobo-2.a
creating libbonobo-2.la
(cd .libs && rm -f libbonobo-2.la && ln -s ../libbonobo-2.la libbonobo-2.la)
make[3]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/bonobo'
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/bonobo'
Making all in activation-server
make[2]: Entering directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/activation-server'
byacc -d -d -v ./activation-context-query-parser.y
make[2]: byacc: Command not found
make[2]: *** [stamp-parser] Error 127
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3/activation-server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/libbonobo-2.20.3/work/libbonobo-2.20.3'
make: *** [all] Error 2

note the line :
make[2]: byacc: Command not found




Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge byacc 
2. emerge -av1 =gnome-base/libbonobo-2.20.3
3. 

Actual Results:  
byacc isn't pulled as a dependency, while it should be 


Portage 2.1.4.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.3 i686)
=================================================================
System uname: 2.6.22.3 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Thu, 28 Feb 2008 13:16:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.3.5-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3, 2.17, 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/ http://gentoo.osuosl.org"
LANG="C"
LINGUAS="fr en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage /home/francill/work/sensors/tinyos-2-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acpi alsa arts audiofile berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dga djvu dri dv dvb dvd dvdr dvdread dvi eds emboss encode esd exif fam firefox flac foomaticdb fortran gcj gdbm gif gimpprint glitz glut gnome gphoto2 gpm gstreamer gtk hal iconv imlib ipv6 isdnlog jack java javacomm jpeg kde kdehiddenvisibility libcaca mad matroska micaz midi mikmod mjpeg mmx mng mono motif mp3 mpeg mudflap multislot multitarget ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pdf perforce perl pic png ppds pppd python qt3 qt4 quicktime readline reflection rtsp sdl session shout skins slp speex spell spl sse ssl subversion svg svga tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode vcd vorbis win32codecs wmf x86 xanim xine xinerama xml xorg xosd xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="radeon ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-02-29 11:19:43 UTC
do you have any implementation of yacc installed on your machine (yacc, bison, byacc ?).
Comment 2 Aurélien Francillon 2008-02-29 11:54:58 UTC
(In reply to comment #1)
> do you have any implementation of yacc installed on your machine (yacc, bison,
> byacc ?).
> 
yes dev-util/yacc-1.9.1-r3 is present ...
qlist dev-util/yacc
/usr/bin/yacc
/usr/share/doc/yacc-1.9.1-r3/NEW_FEATURES.gz
/usr/share/doc/yacc-1.9.1-r3/README.gz
/usr/share/doc/yacc-1.9.1-r3/ACKNOWLEDGEMENTS.gz
/usr/share/doc/yacc-1.9.1-r3/README.Linux.gz
/usr/share/doc/yacc-1.9.1-r3/00README-Legal-Rules-Regs.gz
/usr/share/doc/yacc-1.9.1-r3/NO_WARRANTY.gz
/usr/share/doc/yacc-1.9.1-r3/NOTES.gz
/usr/share/man/man1/yacc.1.gz

but looks like libbonobo wants byacc

Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-02-29 12:24:28 UTC
Could you attach the build.log ?

Thanks
Comment 4 Aurélien Francillon 2008-02-29 13:19:45 UTC
Created attachment 144942 [details]
gnome-base:libbonobo-2.20.3:20080229-130939.log

strange line in logs: 
checking for bison... byacc -d
checks byacc but no failure nor ok ...

the configure scripts related part : 

for ac_prog in 'bison -y' byacc
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
if test "${ac_cv_prog_YACC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  if test -n "$YACC"; then
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    ac_cv_prog_YACC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
done
IFS=$as_save_IFS

fi
fi
YACC=$ac_cv_prog_YACC
if test -n "$YACC"; then
  { echo "$as_me:$LINENO: result: $YACC" >&5
echo "${ECHO_T}$YACC" >&6; }
else
  { echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6; }
fi


  test -n "$YACC" && break
done
test -n "$YACC" || YACC="yacc"
Comment 5 Aurélien Francillon 2008-03-01 10:49:45 UTC
well after some time lost on this i eventually found that i had YACC environement 
variable set to "byacc -d" which makes autoconf bypassing it's tests...
I don't really know ho did i ended up with this variable set ... 
So i mark the bug as invalid but portage should probably warn about it, possibly in emerge --info ... 

thanks to  Remi and Gilles and sorry for wasting your time ...

Aurelien