Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211373 - compiling dev-tcltk/expect-5.43.0 with tcl 8.5.1 fails
Summary: compiling dev-tcltk/expect-5.43.0 with tcl 8.5.1 fails
Status: RESOLVED DUPLICATE of bug 200477
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 13:15 UTC by Ivan Anishchuk
Modified: 2008-02-25 13:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fuul build.log (build.log,15.79 KB, text/plain)
2008-02-25 13:26 UTC, Ivan Anishchuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Anishchuk 2008-02-25 13:15:28 UTC
.......
O2 -march=i686 -pipe  -DDFLT_STTY="\"sane\""  exp_command.c
In file included from /usr/lib/tcl8.5/include/generic/tclInt.h:3836,
                 from exp_command.c:62:
/usr/lib/tcl8.5/include/generic/tclPort.h:27:28: error: tclUnixPort.h: No such file or directory
In file included from /usr/lib/tcl8.5/include/generic/tclInt.h:3838,
                 from exp_command.c:62:
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:113: warning: ‘struct in_addr’ declared inside parameter list
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:113: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:388: error: expected specifier-qualifier-list before ‘Tcl_DirEntry’
In file included from exp_command.c:72:
exp_command.h:117: error: expected specifier-qualifier-list before ‘WAIT_STATUS_TYPE’
......
make: *** [exp_command.o] Error 1
 

Reproducible: Always

Steps to Reproduce:
1.install tcl 8.5.1
2.try to emerge expect
3.look & cry))




>>> Emerging (21 of 108) dev-tcltk/expect-5.43.0 to /
  ...                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking expect-5.43.0.tar.gz to /var/tmp/portage/dev-tcltk/expect-5.43.0/work
 * Applying  ...                                                         [ ok ]
  ...                                                           [ ok ]
 * Running autoconf ...                                                                          [ 
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-tcltk/expect-5.43.0/work/expect-5.43 ...
 * econf: updating expect-5.43/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating expect-5.43/config.guess with /usr/share/gnuconfig/config.guess
./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-tcl=/usr/lib --with-tclinclude=/usr/lib/tcl8.5/include/generic --without-x --enable-shared --build=i686-pc-linux-gnu
configuring Expect 5.43.0
checking for autoconf... yes
checking configure up to date... no
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking shell to use within Make... 
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i686 -pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=i686 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for building with threads... no (default)
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking Tcl build library... -L$/usr/lib -ltcl8.5 -ldl  -lieee -lm
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
checking for Tk configuration... configure: warning: Can't find Tk configuration definitions
checking for Tk_Init... no
checking if Tk library build specification is valid... no
checking whether the compiler (i686-pc-linux-gnu-gcc) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking if running LynxOS... no
checking for ANSI C header files... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if running Mach... no
checking if running MachTen... no
checking if on Pyramid... no
checking if on Apollo... no
checking if on Interactive... no
checking stty to use... /bin/stty
checking if stty reads stdout... no
checking if running Solaris... no
checking for sin... no
checking for Tcl private headers... found in /usr/lib/tcl8.5/include/generic
checking type of library to build... both shared and unshared
creating cache .././config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking Tcl build library... -L$/usr/lib -ltcl8.5 -ldl  -lieee -lm
checking for Tcl_CreateCommand... yes
checking if Tcl library build specification is valid... yes
checking whether the compiler (i686-pc-linux-gnu-gcc) actually works... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking if running LynxOS... no
checking for Tcl private headers... found in /usr/lib/tcl8.5/include/generic
checking if we are running Linux... yes
checking for strchr... yes
checking for stdlib.h... yes
checking type of library to build... both shared and unshared
updating cache .././config.cache
creating ./config.status
creating Makefile
creating pkgIndex
creating tcldbgcf.h
Begin tests for function/library dependencies.  Tests may be repeated
up to three times.  First test is for building Expect's shared library.
Second set is for building with Tcl.  Third is for building with Tk.
checking for gethostname... yes
checking for gethostname... yes
checking for gethostname... yes
checking for socket... yes
checking for socket... yes
checking for socket... yes
checking for select... yes
checking for select... yes
checking for select... yes
checking for getpseudotty... no
checking for getpseudotty in -lseq... no
checking for getpseudotty... no
checking for getpseudotty in -lseq... no
checking for getpseudotty... no
checking for getpseudotty in -lseq... no
checking for openpty... no
checking for openpty in -lutil... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking if running Sequent running SVR4... no
checking for sys/sysmacros.h... yes
checking for stdlib.h... yes
checking for inttypes.h... yes
checking for varargs.h... no
checking for unistd.h... yes
checking for sys/stropts.h... yes
checking for sys/sysconfig.h... no
checking for sys/fcntl.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/ptem.h... no
checking for sys/strredir.h... no
checking for sys/strpty.h... no
checking for sys/bsdtypes.h... no
checking for memmove... yes
checking for sysconf... yes
checking for strftime... yes
checking for strchr... yes
checking for timezone... yes
checking for siglongjmp... yes
checking for memcpy... yes
checking if WNOHANG requires _POSIX_SOURCE... no
checking if any value exists for WNOHANG... yes
checking union wait... yes
checking mask type of select... none
checking if signals need to be re-armed... no
checking if on Convex... no
checking if on NeXT... no
checking if on HP... no
checking sane default stty arguments... 
checking for HP style pty allocation... no
checking for HP style pty trapping... no
checking for AIX new-style pty allocation... no
checking for SGI old-style pty allocation... no
checking for SCO style pty allocation... no
checking for SVR4 style pty allocation... yes
checking for libpts=-lpt in -lpt... no
checking for ptsname... yes
checking for ptsname... (cached) yes
checking for ptsname... (cached) yes
checking for OSF/1 style pty allocation... no
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for struct sgttyb... no
checking for struct termio... yes
checking for struct termios... yes
checking if TCGETS or TCGETA in termios.h... no
checking if TIOCGWINSZ in termios.h... no
checking for Cray-style ptys... no
checking for select... yes
checking for poll... yes
checking event handling... via select
checking for _getpty... no
checking for getpty... no
checking whether setpgrp takes no argument... yes
checking for SV-style timezone... yes
configure: warning: No X based programs will be built
        WARNING: Can't find Tk headers or library.  You can still
        build expect, but not expectk.  See Expect's README for
        information on how to obtain Tk.  If Tk is installed, see
        Expect's INSTALL on how to tell configure where Tk is
        installed.
checking for long file names... yes
checking for type of library to build... both shared and unshared
creating ./config.status
creating Makefile
creating pkgIndex
creating expect_cf.h
configuring in testsuite
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-tcl=/usr/lib --with-tclinclude=/usr/lib/tcl8.5/include/generic --without-x --enable-shared --build=i686-pc-linux-gnu --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for Tcl configuration... (cached) found /usr/lib/tclConfig.sh
checking Tcl build library... -L$/usr/lib -ltcl8.5 -ldl  -lieee -lm
checking for Tcl_CreateCommand... (cached) yes
checking if Tcl library build specification is valid... yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -march=i686 -pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=i686 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... yes
checking whether the compiler (gcc) actually works... yes
checking how to run the C preprocessor... (cached) i686-pc-linux-gnu-gcc -E
checking if running LynxOS... (cached) no
checking for Tcl private headers... (cached) found in /usr/lib/tcl8.5/include/generic
.......
O2 -march=i686 -pipe  -DDFLT_STTY="\"sane\""  exp_command.c
In file included from /usr/lib/tcl8.5/include/generic/tclInt.h:3836,
                 from exp_command.c:62:
/usr/lib/tcl8.5/include/generic/tclPort.h:27:28: error: tclUnixPort.h: No such file or directory
In file included from /usr/lib/tcl8.5/include/generic/tclInt.h:3838,
                 from exp_command.c:62:
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:113: warning: ‘struct in_addr’ declared inside parameter list
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:113: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/lib/tcl8.5/include/generic/tclIntPlatDecls.h:388: error: expected specifier-qualifier-list before ‘Tcl_DirEntry’
In file included from exp_command.c:72:
exp_command.h:117: error: expected specifier-qualifier-list before ‘WAIT_STATUS_TYPE’
exp_command.c: In function ‘exp_wait_zero’:
exp_command.c:244: error: expected declaration specifiers before ‘WAIT_STATUS_TYPE’
exp_command.c:248: error: ‘WAIT_STATUS_TYPE’ undeclared (first use in this function)
exp_command.c:248: error: (Each undeclared identifier is reported only once
exp_command.c:248: error: for each function it appears in.)
exp_command.c: In function ‘exp_state_prep_for_invalidation’:
exp_command.c:263: error: ‘ExpState’ has no member named ‘fg_armed’
exp_command.c: In function ‘expBusy’:
exp_command.c:314: error: ‘ExpState’ has no member named ‘fdBusy’
exp_command.c: In function ‘exp_close’:
exp_command.c:345: error: ‘ExpState’ has no member named ‘leaveopen’
exp_command.c: In function ‘exp_init_spawn_ids’:
exp_command.c:462: error: ‘ExpState’ has no member named ‘keepForever’
exp_command.c:465: error: ‘ExpState’ has no member named ‘keepForever’
exp_command.c:469: error: ‘ExpState’ has no member named ‘keepForever’
exp_command.c: In function ‘Exp_SpawnCmd’:
exp_command.c:849: error: ‘ExpState’ has no member named ‘leaveopen’
exp_command.c:856: error: ‘ExpState’ has no member named ‘wait’
exp_command.c:1234: error: ‘ExpState’ has no member named ‘wait’
exp_command.c: At top level:
exp_command.c:2465: error: expected specifier-qualifier-list before ‘WAIT_STATUS_TYPE’
exp_command.c: In function ‘fork_clear_all’:
exp_command.c:2475: error: ‘struct forked_proc’ has no member named ‘next’
exp_command.c:2476: error: ‘struct forked_proc’ has no member named ‘link_status’
exp_command.c:2476: error: ‘not_in_use’ undeclared (first use in this function)
exp_command.c: In function ‘fork_init’:
exp_command.c:2486: error: ‘struct forked_proc’ has no member named ‘link_status’
exp_command.c:2486: error: ‘wait_not_done’ undeclared (first use in this function)
exp_command.c: In function ‘fork_add’:
exp_command.c:2496: error: ‘struct forked_proc’ has no member named ‘next’
exp_command.c:2497: error: ‘struct forked_proc’ has no member named ‘link_status’
exp_command.c:2497: error: ‘not_in_use’ undeclared (first use in this function)
exp_command.c:2503: error: ‘struct forked_proc’ has no member named ‘next’
exp_command.c: In function ‘Exp_WaitCmd’:
exp_command.c:2577: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2585: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2616: error: ‘struct forked_proc’ has no member named ‘next’
exp_command.c:2617: error: ‘struct forked_proc’ has no member named ‘link_status’
exp_command.c:2617: error: ‘not_in_use’ undeclared (first use in this function)
exp_command.c:2619: error: ‘struct forked_proc’ has no member named ‘wait_status’
exp_command.c:2651: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2651: error: ‘struct forked_proc’ has no member named ‘wait_status’
exp_command.c:2665: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2665: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2666: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2666: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2668: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2668: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2669: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2669: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2670: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2670: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2672: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2672: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2673: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2673: error: ‘struct ExpState’ has no member named ‘wait’
exp_command.c:2678: error: ‘struct forked_proc’ has no member named ‘link_status’
exp_command.c: In function ‘Exp_DisconnectCmd’:
exp_command.c:2775: error: ‘ExpState’ has no member named ‘valid’
exp_command.c:2790: error: ‘ExpState’ has no member named ‘valid’
make: *** [exp_command.o] Error 1
 * 
 * ERROR: dev-tcltk/expect-5.43.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2492:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 13:20:20 UTC

*** This bug has been marked as a duplicate of bug 200477 ***
Comment 2 Ivan Anishchuk 2008-02-25 13:26:12 UTC
Created attachment 144578 [details]
fuul build.log