Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22924 - app-office/ical-2.2.1 doesn't build
Summary: app-office/ical-2.2.1 doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandy Westcott (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 06:43 UTC by Stephen Boulet
Modified: 2004-02-27 03:04 UTC (History)
1 user (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 Stephen Boulet 2003-06-16 06:43:57 UTC
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"
Comment 1 Pouya K 2003-08-23 01:59:46 UTC
I am able to get it to compile and work if I downgrade to dev-lang/tcl-8.3.4 and dev-lang/tk-8.3.4-r1 (the most recent 8.3 versions of tk and tcl). Note, I still need to use the ebuild modification you posted.

Here is my emerge info:

Portage 2.0.49 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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="x86 apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline tetex tcltk gpm tcpd libwww ssl perl python imlib oggvorbis motif opengl X gtk -gnome alsa sse -kde acpi avi -cdr -3dnow dvd gtk2 -oss xmms mmx -nls -pam mbox -qt encode -arts -svga tetex -cups tiff -java vim-with-x -sdl"
Comment 2 Martin Klaffenboeck 2003-09-16 12:17:57 UTC
Is anyone working on this?

I found out, that you can to the following in the ebuild file for the problem descirbed above:

src_compile() {
        autoconf
-        econf
+        econf --with-tclsh=/usr/bin/tclsh
        emake || die
}

So it works, but then there are some compiler errors, and I don't know c++ enaugh to patch this.

Martin
Comment 3 Martin Klaffenboeck 2003-09-16 12:19:13 UTC
Oh, I didn't read it enaugh....  ok, the problem was solved... I have the same problem now... sorry for my entries.

Martin
Comment 4 Stephen Boulet 2003-09-17 14:09:47 UTC
Maybe the way to resolve this is to look at how it's handled in the Mandrake cooker SRPMs, and do the same in Gentoo.

-- Stephen
Comment 5 Brandy Westcott (RETIRED) gentoo-dev 2003-11-16 00:43:38 UTC
I've tidied up the ebuild and added a patch to ical that is applied when tcl-8.4 is installed. If it works ok we'll unmask ical. :)
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-07 04:45:08 UTC
has been fixed, so close ;D
Comment 7 Andrzej Wasowski 2004-02-27 03:04:21 UTC
Just confirming that it works for me (27/02/2004, relatively recent stable system). Why is this still masked?