Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118424 - etpan-ng-0.7 fails to compile (an error)
Summary: etpan-ng-0.7 fails to compile (an error)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 09:56 UTC by Rumen Yotov
Modified: 2011-01-18 11:49 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 Rumen Yotov 2006-01-09 09:56:43 UTC
Hi,
While upgrading libetpan to version 0.42 saw "etpan-ng" mail client and tried to install it - got an error while compiling.
All ~x86 system, next goes part of emerge's log:
...BEGIN...
checking for sigaction... yes
checking for snprintf... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create with libc... no
checking for pthread_create with -pthreads... no
checking for pthread_create with -pthread... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for initscr in -lncurses... yes
checking for libetpan-config... /usr/bin/libetpan-config
checking libetpan/libetpan.h usability... yes
checking libetpan/libetpan.h presence... yes
checking for libetpan/libetpan.h... yes
checking whether libetpan-config hints compiles and links fine... yes
checking ldap.h usability... no
checking ldap.h presence... no
checking for ldap.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
Making all in src
make[1]: Entering directory `/var/tmp/portage/etpan-ng-0.7/work/etpan-ng-0.7/src'
i686-pc-linux-gnu-gcc -I.. -Ilibversit  -D_REENTRANT  -DHAVE_CONFIG_H -O2 -march=athlon-xp -pipe -fomit-frame-pointer -O2 -W -Wall -g  -D_REENTRANT  -c -o
etpan-config.o etpan-config.c
Making all in libversit
make[2]: Entering directory `/var/tmp/portage/etpan-ng-0.7/work/etpan-ng-0.7/src/libversit'
yacc vcc.y
vcc.y: conflicts: 2 shift/reduce
etpan-config.c: In function `etpan_app_config_init':
etpan-config.c:1404: warning: label `free_sender' defined but not used
etpan-config.c: At top level:
etpan-config.c:935: warning: unused parameter 'vfolder_config'
mv y.tab.c vcc.c
mv: cannot stat `y.tab.c': No such file or directory
make[2]: *** [vcc.c] Error 1
make[2]: Leaving directory `/var/tmp/portage/etpan-ng-0.7/work/etpan-ng-0.7/src/libversit'
make[1]: *** [all-recursive] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/etpan-ng-0.7/work/etpan-ng-0.7/src'
make: *** [all-recursive] Error 1

!!! ERROR: mail-client/etpan-ng-0.7 failed.
...END...
Didn't found any similar Bugs in Bugzilla.
Thanks.Rumen
Below goes "emerge info":
Gentoo Base System version 1.12.0_pre13
Portage 2.1_pre3-r1 (!/usr/portage/profiles/default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm) XP 2200+
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks enotice gpg metadb sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://files.gentoo.gr http://mirror.etf.bg.ac.yu/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X X509 a52 aac acl acpi alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdb cdr crypt cups curl dvd dvdr eds encode esd ethereal evo exif expat fam ffmpeg flac foomaticdb freetype gd gif glut gmp gnutls gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imap imlib ipv6 ithreads javascript jpeg kdexdeltas lcms libg++ libwww mad maildir matroska mikmod mime mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png posix postgres ppds prelude python quicktime readline recode ruby sdl skey slang speex spell sse ssl svg symlink tcltk tcpd theora threads tiff transcode truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xine xml xml2 xsl xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Andrej Kacian (RETIRED) gentoo-dev 2006-01-09 11:42:00 UTC
Can you try 0.7.1, which followed shortly after?
Comment 2 Scott Stoddard (RETIRED) gentoo-dev 2006-01-09 17:42:50 UTC
I cannot duplicate this error (nor should I be able to, it's rare that you see a parser generator error in a release package).

delta ~ # emerge --info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.13-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3 -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3 -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdr crypt cups curl dbus divx4linux dvd dvdread eds emboss encode esd exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 hal icq idn imagemagick imap imlib ipv6 jabber java jpeg lcms live lua lzw lzw-tiff mad mjpeg mng motif mozilla mp3 mpeg msn mysql native ncurses network nls no-old-linux noantlr nobcel nobeanutils nobsh nptl nptlonly offensive ogg oggvorbis openal opengl pam pcre pdflib perl png python qt quicktime radeon readline real rtc sdk sdl spell sqlite ssl svg tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2 vorbis wmf xine xml xml2 xpm xv xvid xvmc yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Rumen Yotov 2006-01-11 12:54:06 UTC
Hi,
Tried the new (0.7.1) version with quite exactly same error, while parsing a file.
But looking at the output saw an error while running yacc ..., so tried to recompile yacc - it wasn't present on my system.
The "/usr/bin/yacc" is a link ponting to "bison" binary IIRC.
Logically emerged 'yacc' and then again 'etpan-ng' - all OK.
Could post the logs if required, but for me the error was 'a missing yacc' dependency (or wrong/missing bison options).
Thanks.Rumen
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 18:42:45 UTC
Right, it's missing yacc which causes this. I've added a dependency on yacc or byacc to etpan-ng.

Thanks!
Comment 5 pille 2011-01-18 11:49:53 UTC
this issue isn't still fixed in mail-client/etpan-ng-0.7.1-r1.
neither ~arch, nor stable version compile.