Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149926 - net-mail/gnubiff-2.2.2 fails to compile with errors in local.h
Summary: net-mail/gnubiff-2.2.2 fails to compile with errors in local.h
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Masatomo Nakano (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-03 00:43 UTC by Ilya Schurov
Modified: 2006-10-25 22:23 UTC (History)
3 users (show)

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 Ilya Schurov 2006-10-03 00:43:20 UTC
# emerge -uDv world
<...>
>>> Emerging (16 of 25) net-mail/gnubiff-2.2.2 to /
<...>
Making all in src
make[1]: Entering directory `/var/tmp/portage/gnubiff-2.2.2/work/gnubiff-2.2.2/src'
Compiling gnubiff.cc...                 if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../config  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2    -DGNUBIFF_LOCALEDIR=\""/usr/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic    -march=k8 -O2 -pipe -MT gnubiff.o -MD -MP -MF ".deps/gnubiff.Tpo" -c -o gnubiff.o gnubiff.cc; \
		then mv -f ".deps/gnubiff.Tpo" ".deps/gnubiff.Po"; else rm -f ".deps/gnubiff.Tpo"; exit 1; fi
Compiling biff.cc...                    if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../config  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2    -DGNUBIFF_LOCALEDIR=\""/usr/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic    -march=k8 -O2 -pipe -MT biff.o -MD -MP -MF ".deps/biff.Tpo" -c -o biff.o biff.cc; \
		then mv -f ".deps/biff.Tpo" ".deps/biff.Po"; else rm -f ".deps/biff.Tpo"; exit 1; fi
In file included from file.h:35,
                 from biff.cc:47:
local.h:59: error: `FAMConnection' does not name a type
local.h:59: error: extra semicolon
local.h:60: error: `FAMRequest' does not name a type
local.h:60: error: extra semicolon
local.h:61: error: `FAMEvent' does not name a type
local.h:61: error: extra semicolon
#	source='gnubiff.cc' object='gnubiff.o' libtool=no \
	#	DEPDIR=.deps depmode=gcc3 /bin/sh ../config/depcomp \
	#	x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../config  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2    -DGNUBIFF_LOCALEDIR=\""/usr/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic    -march=k8 -O2 -pipe -c -o gnubiff.o gnubiff.cc
make[1]: *** [biff.o] Error 1
make[1]: *** Waiting for unfinished jobs....
[OK]
make[1]: Leaving directory `/var/tmp/portage/gnubiff-2.2.2/work/gnubiff-2.2.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-mail/gnubiff-2.2.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gnubiff-2.2.2.ebuild, line 37:   Called die

[user@heartofgold gcc-config #2065]$ emerge --info                                          /usr/portage/sys-devel/gcc-config
Portage 2.1.2_pre2-r2 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r3, 2.6.15-gentoo x86_64)
=================================================================
System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 06:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.0-r2, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/"
LANG="en_US.UTF-8"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X alsa amd64 ansi avi berkdb bitmap-fonts cli crypt cups dlloader dri dvd eds elibc_glibc emboss encode foomaticdb fortran gd gif gnutls gpm gstreamer gtk gtk2 hal ieee1394 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux linguas_en linguas_ru lzw lzw-tiff mono mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdflib perl plotutils png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 03:52:46 UTC
Please, emerge --sync and try again. Reopen if it still fails on fam.

*** This bug has been marked as a duplicate of 122892 ***
Comment 2 Ilya Schurov 2006-10-24 12:19:27 UTC
# emerge gnubiff
<...>
--------------------------------------------------------------------------------
 Password saving : no
  If you want gnubiff to save password within configuration file, use
  ./configure --with-password --with-password-string="any string you like...".
  But be careful, it is highly unsecure, you've been warned!
 FAM support     : no
 Gnome support   : no
 Expert tab      : yes

 Just type 'make' and then 'make install' to install gnubiff
--------------------------------------------------------------------------------

Making all in src
make[1]: Entering directory `/var/tmp/portage/net-mail/gnubiff-2.2.2/work/gnubiff-2.2.2/src'
Compiling gnubiff.cc...                 if x86_64-pc-linux-gnu-g++ 
<...>
Compiling mailbox.cc...                 if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../config  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2    -DGNUBIFF_LOCALEDIR=\""/usr/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic    -march=k8 -O2 -pipe -MT mailbox.o -MD -MP -MF ".deps/mailbox.Tpo" -c -o mailbox.o mailbox.cc; \
		then mv -f ".deps/mailbox.Tpo" ".deps/mailbox.Po"; else rm -f ".deps/mailbox.Tpo"; exit 1; fi
In file included from file.h:35,
                 from biff.cc:47:
local.h:59: error: `FAMConnection' does not name a type
local.h:59: error: extra semicolon
local.h:60: error: `FAMRequest' does not name a type
local.h:60: error: extra semicolon
local.h:61: error: `FAMEvent' does not name a type
local.h:61: error: extra semicolon
make[1]: *** [biff.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from file.h:35,
                 from mailbox.cc:36:
local.h:59: error: `FAMConnection' does not name a type
local.h:59: error: extra semicolon
local.h:60: error: `FAMRequest' does not name a type
local.h:60: error: extra semicolon
local.h:61: error: `FAMEvent' does not name a type
local.h:61: error: extra semicolon
make[1]: *** [mailbox.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-mail/gnubiff-2.2.2/work/gnubiff-2.2.2/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-mail/gnubiff-2.2.2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gnubiff-2.2.2.ebuild, line 37:   Called die
Comment 3 toon 2006-10-25 14:47:39 UTC
I'm having the same problem.
The last lines of the emerge are:

Compiling biff.cc...                    if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../config  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2   -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2   -DGNUBIFF_LOCALEDIR=\""/usr/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic    -march=k8 -O2 -pipe -fomit-frame-pointer -MT biff.o -MD -MP -MF ".deps/biff.Tpo" -c -o biff.o biff.cc; \
                then mv -f ".deps/biff.Tpo" ".deps/biff.Po"; else rm -f ".deps/biff.Tpo"; exit 1; fi
In file included from file.h:35,
                 from biff.cc:47:
local.h:59: error: `FAMConnection' does not name a type
local.h:59: error: extra semicolon
local.h:60: error: `FAMRequest' does not name a type
local.h:60: error: extra semicolon
local.h:61: error: `FAMEvent' does not name a type
local.h:61: error: extra semicolon
make[1]: *** [biff.o] Fout 1
make[1]: Map '/var/tmp/portage/gnubiff-2.2.2/work/gnubiff-2.2.2/src' wordt verlaten
make: *** [all-recursive] Fout 1

!!! ERROR: net-mail/gnubiff-2.2.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gnubiff-2.2.2.ebuild, line 37:   Called die

My emerge --info is:

# emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Wed, 25 Oct 2006 17:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LC_ALL="nl_NL.utf8"
LINGUAS="nl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X X509 a52 aac acpi4linux alsa apache2 berkdb bidi bindist bitmap-fonts bluetooth bzlib cdda cdio cdparanoia chroot cli corba cracklib crypt cups dbus dga dlloader doc dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode esd evo evo2 fbcon firefox flac foomaticdb fortran freetype gb gif gimp gimpprint gnokii gnome gnome-print gnomedb gphoto2 gpm gs gstreamer gtk gtk2 ieee1394 imap imlib inkjar innodb input_devices_keyboard input_devices_mouse insecure-drivers ipv6 irmc isdnlog ithreads j2ee jabber javadoc javamail javascript jboss jdepend jmx jpeg kde kerberos kernel_linux largeterminal leim libgda linguas_nl live lm_sensors lprng lzw lzw-tiff mailwrapper mbox mod mozcalendar mozp3p mozplaintext mp3 mpeg mpeg2 mpeg4 mplayer mule ncurses nls nptl nptlonly nsplugin oav offensive ogg oggvorbis on-the-fly-crypt opengl pam pam_console passfile pcap pcre perl php pic png ppds pppd procmail python qt3 qt4 quicktime readline reflection rrdtool sasl scanner sdl session slp smime sndfile snmp soap socks5 sox spell spl ssl stream syslog tcpd theora threads tiff truetype-fonts type1 type1-fonts unicode usb userland_GNU utf8 vcd video_cards_nvidia vlm vorbis wavelan wxwindows xanim xface xinerama xmlrpc xorg xosd xpm xprint xv zeo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 toon 2006-10-25 15:07:53 UTC
I think this web page gives you some explanation (but not all).
Appearantly the bug is acknowledged by the developers?

Regards,
Toon.
Comment 5 toon 2006-10-25 15:09:10 UTC
Well, and now with the URL:

http://comments.gmane.org/gmane.comp.gnu.gnubiff.bugs/66

Regards,
Toon.
Comment 6 Ilya Schurov 2006-10-25 22:23:33 UTC
Thanks, Toon. Looks like upstream bug. So we can either try to compile gnubiff with FAM support (USE=FAM emerge gnubiff, didn't try yet) or wait for new release. I'm closing this as UPSTREAM.