| Summary: | expect 5.40.0-r2 fails to compile with error: too many arguments to function `setpgrp' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jason Ahrens <gentoobugs> |
| Component: | Current packages | Assignee: | TCL/TK Project <tcltk> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
While emerging expect 5.40.0-r2, the following compilation failure occurs: gcc -pipe -c -I. -I. -I/usr/lib/tcl8.4/include/generic -I/usr/X11R6/include -DEXP_VERSION=\"5.40.0\" -DSCRIPTDIR=\"/usr/ lib/expect5.40\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.40\" -DTCL_DEBUGGER -DUSE_NON_CONST -O3 -march=pentium3 -fforce-addr -fom it-frame-pointer -pipe -fPIC -DDFLT_STTY="\"sane\"" exp_main_exp.c -o shared/exp_main_exp.o ; \ fi gcc -pipe -c -I. -I. -I/usr/lib/tcl8.4/include/generic -I/usr/X11R6/include -DEXP_VERSION=\"5.40.0\" -DSCRIPTDIR=\"/usr/lib /expect5.40\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.40\" -DTCL_DEBUGGER -DUSE_NON_CONST -O3 -march=pentium3 -fforce-addr -fomit- frame-pointer -pipe -DDFLT_STTY="\"sane\"" expect.c exp_command.c: In function `expSetpgrp': exp_command.c:519: error: too many arguments to function `setpgrp' exp_command.c: In function `Exp_SpawnCmd': exp_command.c:1224: warning: passing arg 2 of `waitpid' from incompatible pointer type exp_command.c: In function `Exp_WaitCmd': exp_command.c:2584: warning: passing arg 2 of `waitpid' from incompatible pointer type exp_command.c:2618: warning: passing arg 2 of `waitpid' from incompatible pointer type expect.c: In function `exp_eval_with_one_arg': expect.c:345: warning: assignment discards qualifiers from pointer target type make: *** [exp_command.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** Waiting for unfinished jobs.... if [ "xlibexpect5.40.a" != "xlibexpect5.40.so" ] ; then \ if [ ! -d shared ] ; then \ mkdir shared ; \ else true; fi ; \ gcc -pipe -c -I. -I. -I/usr/lib/tcl8.4/include/generic -I/usr/X11R6/include -DEXP_VERSION=\"5.40.0\" -DSCRIPTDIR=\"/usr/ lib/expect5.40\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.40\" -DTCL_DEBUGGER -DUSE_NON_CONST -O3 -march=pentium3 -fforce-addr -fom it-frame-pointer -pipe -fPIC -DDFLT_STTY="\"sane\"" expect.c -o shared/expect.o ; \ fi expect.c: In function `exp_eval_with_one_arg': expect.c:345: warning: assignment discards qualifiers from pointer target type Reproducible: Always Steps to Reproduce: 1. emerge expect 2. 3. Actual Results: expect compile/ebuild failure Expected Results: Complete compile and install cougar portage # emerge info Portage 2.0.51_rc7 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 Pentium III (Katmai) Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fforce-addr -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fforce-addr -fomit-frame-pointer -pipe" DISTDIR="/mnt/xtra/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.tds.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/xtra/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apm arts artswrappersuid audiofile avi berkdb bitmap-fonts cdparanoia cdr crypt cups dga directfb divx4linux dvd dvdread encode fbcon flac flash foomaticdb gdbm ggi gif gphoto2 gpm gps gstreamer gtk gtk2 imagemagick imap imlibjabber java jpeg kde lcd lcms libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mpi mysql mythtv ncurses network nls nvidia oggvorbis opengl openssh oss pam pda pdflib perl png ppds python qt quicktime readline samba sdl slang sml sml2 speex spell sse ssl svga tcltk tcpd theora tiff truetype unicode usb wmf x86 xml2 xmms xprint xv xvid xvmc xvz zlib video_cards_nvidia linguas_en_GB"