Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75650 - dev-lang/swig 1.2.21 maketests are horribly broken
Summary: dev-lang/swig 1.2.21 maketests are horribly broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
: 61597 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-25 13:40 UTC by Petteri Räty (RETIRED)
Modified: 2005-02-19 12:21 UTC (History)
2 users (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 Petteri Räty (RETIRED) gentoo-dev 2004-12-25 13:40:31 UTC
checking Examples/tcl/class
checking Examples/tcl/constants
checking Examples/tcl/enum
checking Examples/tcl/funcptr
checking Examples/tcl/import
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lswigtcl8
collect2: ld returned 1 exit status
make[2]: *** [tcl_multi_cpp] Error 1
make[1]: *** [all] Error 2
make[1]: Target `check' not remade because of errors.
checking Examples/tcl/multimap
checking Examples/tcl/operator
checking Examples/tcl/pointer
checking Examples/tcl/reference
checking Examples/tcl/simple
checking Examples/tcl/value
checking Examples/tcl/variables
example.i:20: Warning(451): Setting const char * variable may leak memory
make: *** [check-tcl-examples] Error 1

!!! ERROR: dev-lang/swig-1.3.21 failed.
!!! Function src_test, Line 518, Exitcode 0
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

full log: http://a.bo.cx/b/gentoo/2870-swig-1.3.21.log

Reproducible: Always
Steps to Reproduce:
1. emerge swig with maketest in features




Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1,
2.6.9-nitro4 i686)
=================================================================
System uname: 2.6.9-nitro4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 12 2004, 15:52:18)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1, 2.6.8.1-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mtune=pentium4 -march=pentium4 -pipe -ffast-math
-fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium4 -march=pentium4 -pipe -ffast-math
-fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms"
GENTOO_MIRRORS=" ftp://aria/ http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://aria/portage"
USE="x86 X acl acpi alsa apm audiofile avi berkdb bitmap-fonts bootsplash bzlib
cdb cdparanoia cdr crypt cups directfb divx4linux dv dvd dvdr dvdread edl encode
fam fbcon flac foomaticdb freetype ftp gdbm gif gpm gtk gtk2 imagemagick java
jpeg junit kde libwww lzo mad makecheck mikmod mmx mmx2 motif mozilla mpeg
ncurses network nls nptl nptlonly nvidia oggvorbis opengl pam pdflib perl png
python qt quicktime readline real rtc ruby samba sdl slang slp spell sse sse2
ssl svg svga tcpd tiff truetype unicode usb userlocales v4l v4l2 xine xml2 xmms
xosd xv xvid xvmc zlib video_cards_nvidia"
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2004-12-25 13:43:02 UTC
Putting tcltk to USE flags removes the problem. 
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2004-12-25 13:45:52 UTC
FYI. I seem to have tcl installed. 
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2004-12-25 14:03:35 UTC
There's also problems with ruby maketests see:
http://a.bo.cx/b/gentoo/ruby-swig-1.3.21.log
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2005-01-08 04:52:27 UTC
also with swig/1.3.21. FEATURES=-maketest fixed that.

checking Examples/tcl/class
example_wrap.cxx:298:17: tcl.h: No such file or directory
example_wrap.cxx:333: error: `ClientData' was not declared in this scope
example_wrap.cxx:333: error: `Tcl_Interp' was not declared in this scope
example_wrap.cxx:333: error: parse error before `,' token
example_wrap.cxx:333: error: `Tcl_Obj' was not declared in this scope
example_wrap.cxx:333: error: `CONST' was not declared in this scope
example_wrap.cxx:333: error: parse error before `]' token
example_wrap.cxx:334: error: `ClientData' was not declared in this scope
example_wrap.cxx:334: error: `Tcl_Interp' was not declared in this scope
example_wrap.cxx:334: error: parse error before `,' token
example_wrap.cxx:334: error: `Tcl_Obj' was not declared in this scope
example_wrap.cxx:334: error: `CONST' was not declared in this scope
example_wrap.cxx:334: error: parse error before `]' token
example_wrap.cxx:335: error: `ClientData' was not declared in this scope
example_wrap.cxx:335: error: `Tcl_Interp' was not declared in this scope
example_wrap.cxx:335: error: parse error before `,' token
example_wrap.cxx:336: error: `ClientData' was not declared in this scope
example_wrap.cxx:336: error: typedef `swig_delete_func' is initialized (use
   __typeof__ instead)
and then a _lot_ of similar output...
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-19 12:17:42 UTC
*** Bug 61597 has been marked as a duplicate of this bug. ***
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-19 12:21:09 UTC
the maketests are disabled now, the rest is an upstream issue