One problem with this ebuild (plus solution):
Without modification to the ebuild, I get this error:
configure: error: I could not find tclsh in your search PATH.
Please supply the location of a tclsh executable by
running configure with the following option
--with-tclsh=<full path name of tclsh>
!!! ERROR: app-office/ical-2.2.1 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed
Changing the econf line to:
src_compile() {
autoconf
econf --with-tclsh=/usr/bin/tclsh
emake || die
}
helps it go a bit farther. The error message I get is:
# emerge ical
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/ical-2.2.1 to /
>>> md5 src_uri ;-) ical-2.2.1a.tar.bz2
>>> md5 src_uri ;-) ical-2.2.1a.patch.tar.bz2
>>> Unpacking source...
>>> Unpacking ical-2.2.1a.tar.bz2 to /var/tmp/portage/ical-2.2.1/work
>>> Unpacking ical-2.2.1a.patch.tar.bz2 to /var/tmp/portage/ical-2.2.1/work
patching file ical-2.2.1a/configure.in
patching file ical-2.2.1a/ical.h
patching file ical-2.2.1a/time/parse.C
patching file ical-2.2.1a/ical_text.tcl
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for Mail... no
checking for mail... no
checking for c++... g++
checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe -fomit-frame-pointer )
works... yes
checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe -fomit-frame-pointer )
is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for POSIXized ISC... no
checking Tcl/Tk installation
checking for tclsh... /usr/bin/tclsh
checking for tclConfig.sh... /usr/lib/tclConfig.sh
checking for tkConfig.sh... /usr/lib/tkConfig.sh
checking for installed Tcl/Tk library files... ok
checking how to run the C preprocessor... gcc -E
checking for up-to-date Tcl version in tcl.h... yes
checking for up-to-date Tk version in tk.h... yes
checking for ANSI C header files... yes
checking for pid_t... yes
checking for string.h... yes
checking for sys/utsname.h... yes
checking for limits.h... yes
checking for fsync... yes
checking for strerror... yes
checking for uname... yes
checking for gethostname... yes
checking for strerror prototype... no
checking for sys_errlist prototype... no
checking for gettimeofday prototype... no
checking for gethostname prototype... no
checking for getpid prototype... no
checking for strncasecmp prototype... no
checking for gethostid prototype... no
checking for working gethostid... updating cache ./config.cache
creating ./config.status
creating Makefile
creating startup.tcl
creating calendar/Makefile
creating time/Makefile
creating config.h
configuring in types
running /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--with-tclsh=/usr/bin/tclsh --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for ranlib... (cached) ranlib
checking for c++... (cached) g++
checking whether we are using GNU C++... (cached) yes
checking for POSIXized ISC... no
updating cache .././config.cache
creating ./config.status
creating Makefile
making in time
making in types
make[1]: Entering directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/time'
g++ -O -I.. -I. -c Date.C
make[1]: Entering directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/types'
g++ -O -I. -c bitvec.C
g++ -O -I.. -I. -c Month.C
g++ -O -I.. -I. -c Time.C
g++ -O -I.. -I. -c WeekDay.C
g++ -O -I.. -I. -c Year.C
g++ -O -I.. -I. -c parse.C
rm -f libtime.a
ar r libtime.a Date.o Month.o Time.o WeekDay.o Year.o parse.o
ranlib libtime.a
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'
g++ -O -I.. -I. -I./../types -I./../time -c arrays.C
g++ -O -I.. -I. -I./../types -I./../time -c calendar.C
distcc[3191] (dcc_connect_by_addr) ERROR: failed to connect to 192.168.1.2:3632: No
route to host
distcc[3191] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
g++ -O -I.. -I. -I./../types -I./../time -c calfile.C
g++ -O -I. -c hashfuncs.C
g++ -O -I. -c intset.C
g++ -O -I.. -I. -I./../types -I./../time -c dateset.C
rm -f libtypes.a
ar r libtypes.a bitvec.o hashfuncs.o intset.o
ranlib libtypes.a
make[1]: Leaving directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/types'
g++ -O -I. -I. -I./calendar -I./types -I./time -I/usr/X11R6/include -I/usr/include -I/usr/include
-c cal_tcl.C
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C:239: invalid conversion from `int (*)(void*, Tcl_Interp*, int,
char**)' to `int (*)(void*, Tcl_Interp*, int, const char**)'
cal_tcl.C: In function `int parse_items(Tcl_Interp*, Calendar_Tcl*, ItemList&,
int&, char**&)':
cal_tcl.C:285: invalid conversion from `char***' to `const char***'
distcc[3252] ERROR: compile on localhost failed with exit code 1
make: *** [cal_tcl.o] Error 1
make: *** Waiting for unfinished jobs....
g++ -O -I.. -I. -I./../types -I./../time -c item.C
g++ -O -I.. -I. -I./../types -I./../time -c lexer.C
g++ -O -I.. -I. -I./../types -I./../time -c misc.C
g++ -O -I.. -I. -I./../types -I./../time -c options.C
g++ -O -I.. -I. -I./../types -I./../time -c smallintset.C
g++ -O -I.. -I. -I./../types -I./../time -c uid.C
rm -f libcalendar.a
ar r libcalendar.a arrays.o calendar.o calfile.o dateset.o item.o lexer.o misc.o options.o
smallintset.o uid.o
ranlib libcalendar.a
make[1]: Leaving directory `/var/tmp/portage/ical-2.2.1/work/ical-2.2.1a/calendar'
!!! ERROR: app-office/ical-2.2.1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
Reproducible: Always
Steps to Reproduce:
1. Comment out ical from /usr/portage/profiles/package.mask
2. Fix problem with tchsh in ebuild
3. Emerge ical
Actual Results:
See above.
emerge info:
# emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow encode libg++ mikmod nls xml2 xmms xv berkdb guile X sdl libwww
gphoto2 alsa apache2 apm arts atlas avi cdr crypt cups doc -esd gd gdbm ggi gif -gnome gpm
-gtk -gtk2 -gtkhtml imlib java jpeg kde maildir mmx motif mozilla mpeg mysql ncurses oav
odbc oggvorbis opengl pam pda pdflib perl plotutils png python qt quicktime readline samba
slang spell sse ssl svga tcltk tcpd tetex tiff truetype zeo zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"