app-office/ical-2.2.1 compile error <snip> ... g++ -O -I. -I. -I./calendar -I./types -I./time -I/usr/X11R6/include -I/usr/include -I/usr/include -c time_tcl.C cat startup.tcl | ./f2h > ical_start.gen cat ./header.ps | ./f2h > psheader.gen cat ./doc/ical.doc | ./f2h > icaldoc.gen cat ./doc/interface.doc | ./f2h > tcldoc.gen g++ -O -I. -I. -I./calendar -I./types -I./time -I/usr/X11R6/include -I/usr/include -I/usr/include -c main.C g++ -o ical cal_tcl.o dateeditor.o dispatch.o ical.o ical_tcl.o item_tcl.o object.o time_tcl.o main.o calendar/libcalendar.a time/libtime.a types/libtypes.a -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -ldl -lieee -lm /usr/lib/libieee.a(.data+0x0): multiple definition of `_LIB_VERSION' /usr/lib/libieee.a(.data+0x0): first defined here collect2: ld returned 1 exit status make: *** [ical] Fehler 1 making in types make[1]: Entering directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/types' make[1]:
app-office/ical-2.2.1 compile error <snip> ... g++ -O -I. -I. -I./calendar -I./types -I./time -I/usr/X11R6/include -I/usr/include -I/usr/include -c time_tcl.C cat startup.tcl | ./f2h > ical_start.gen cat ./header.ps | ./f2h > psheader.gen cat ./doc/ical.doc | ./f2h > icaldoc.gen cat ./doc/interface.doc | ./f2h > tcldoc.gen g++ -O -I. -I. -I./calendar -I./types -I./time -I/usr/X11R6/include -I/usr/include -I/usr/include -c main.C g++ -o ical cal_tcl.o dateeditor.o dispatch.o ical.o ical_tcl.o item_tcl.o object.o time_tcl.o main.o calendar/libcalendar.a time/libtime.a types/libtypes.a -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -ldl -lieee -lm /usr/lib/libieee.a(.data+0x0): multiple definition of `_LIB_VERSION' /usr/lib/libieee.a(.data+0x0): first defined here collect2: ld returned 1 exit status make: *** [ical] Fehler 1 making in types make[1]: Entering directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/types' make[1]: »libtypes.a« ist bereits aktualisiert. make[1]: Leaving directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/types' making in time make[1]: Entering directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/time' make[1]: »libtime.a« ist bereits aktualisiert. make[1]: Leaving directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/time' making in calendar make[1]: Entering directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/calendar' make[1]: »libcalendar.a« ist bereits aktualisiert. make[1]: Leaving directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/calendar' g++ -o ical cal_tcl.o dateeditor.o dispatch.o ical.o ical_tcl.o item_tcl.o object.o time_tcl.o main.o calendar/libcalendar.a time/libtime.a types/libtypes.a -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -ldl -lieee -lm /usr/lib/libieee.a(.data+0x0): multiple definition of `_LIB_VERSION' /usr/lib/libieee.a(.data+0x0): first defined here collect2: ld returned 1 exit status make: *** [ical] Fehler 1 !!! ERROR: app-office/ical-2.2.1 failed. !!! Function src_compile, Line 45, Exitcode 2 !!! parallel make failed </snap> <snip> porkoo rockoo # emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-love2) ================================================================= System uname: 2.6.6-love2 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.4.15 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://128.213.5.34/gentoo/ http://gentoo.tiscali.nl/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="X X509 Xaw3d adns aim alsa amd apache2 apm arts artswrappersuid async autofs avi berkdb chroot clamav crypt cups curl dillo directfb distribution divx4linux dv dvd dvdr encode escreen esd ethereal etwin faad fam ffmpeg flac foomaticdb gd gdbm geoip gif gimp glut gphoto2 gpm gps gstreamer gtk gtk2 hbci icq ieee1394 imagemagick imap imlib imlib2 ipv6 jabber java javascript jpeg kadu-modules kadu-voice lcd libcaca libg++ libwww lirc live lufsusermount lzw-tiff mad mailwrapper matroska mikmod mldonkeypango mmx motif mpeg mplayer msn mysql ncurses nls ntlm oav oggvorbis openal opengl oscar oss pam pcap pdflib perl png python qt quicktime readline samba sdl silc skey slang sll speex spell ssl svg svga tcltk tcpd tetex theora tiff truetype usb v4l v4l2 vim-with-x wmf x86 xchattext xface xinerama xml xml2 xmms xosd xv xvid yahoo zlib" </snap>
small fix in the ebuild required; change file argument for sed in src_unpack() from Makefile.in to ${S}/Makefile.in and it builds properly otherwise get the same error as OP
thank daniel for catching this, thanks stan for fixing this. fixed in portage, without revision bump.