Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150094

Summary: dev-tcltk/tix-8.4.0 does not build
Product: Gentoo Linux Reporter: Daniel Tourde - Caelae.se <daniel.tourde>
Component: New packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED FIXED    
Severity: normal CC: nairb774
Priority: High    
Version: 2005.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 164649    
Bug Blocks:    

Description Daniel Tourde - Caelae.se 2006-10-04 12:29:21 UTC
Hello,

When I try to build tix-8.4.0 on my amd64 box I get the following:
./generic/tixImgXpm.c:497: warning: passing arg 4 of pointer to function from incompatible pointer type
x86_64-pc-linux-gnu-gcc -pipe -DPACKAGE_NAME=\"Tix\" -DPACKAGE_TARNAME=\"tix\" -DPACKAGE_VERSION=\"8.4\" -DPACKAGE_STRING=\"Tix\ 8.4\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1   -I. -I"./generic" -I. -I"./unix" -I/usr/lib64/tcl8.4/include/generic -I/usr/lib64/tcl8.4/include/unix -I/var/tmp/portage/tk-8.4.9/work/tk8.4.9/generic -I/var/tmp/portage/tk-8.4.9/work/tk8.4.9/unix     -march=athlon64 -O2 -pipe -O2 -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tixInputO.c`
./generic/tixInputO.c:17:19: tkInt.h: No such file or directory
./generic/tixInputO.c: In function `Tix_MakeInputOnlyWindowExist':
./generic/tixInputO.c:122: error: `TkWindow' undeclared (first use in this function)
./generic/tixInputO.c:122: error: (Each undeclared identifier is reported only once
./generic/tixInputO.c:122: error: for each function it appears in.)
./generic/tixInputO.c:122: error: `winPtr' undeclared (first use in this function)
./generic/tixInputO.c:127: error: syntax error before ')' token
make: *** [tixInputO.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-tcltk/tix-8.4.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die


The strangest being that tkInt.h is on my system:
ted@morghaan ~ $ locate tkInt.h
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Tk/pTk/tkInt.h
/usr/lib64/tk8.4/include/generic/tkInt.h


Portage 2.1.1-r1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Wed, 04 Oct 2006 18:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="sv fr si"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib akode alsa ansi apache apache2 arts artswrappersuid auctex audiofile berkdb bitmap-fonts bl blas bzip2 cddb cdparanoia cli cpudetection crypt cups curl cvsgraph dba dbus dga directfb divx4linux dlloader doc dri dts dv dvb dvd dvdr dvdread edl elibc_glibc emacs emboss encode enscript exif expat fame ffmpeg fftw flac fontconfig foomaticdb fortran freetype gcj gcl gd gdbm gif ginac gmp gpm gstreamer gtk gtk2 hal idn ieee1394 imagemagick imlib innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jpeg jpeg2k kde kdeenablefinal kernel_linux lapack lcms libcaca linguas_fr linguas_si linguas_sv live lm_sensors logitech-mouse lzo lzw lzw-tiff mad madwifi matroska mhash mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mysql ncurses nls nptl nptlonly nsplugin nvidia objc objc++ octave ogg opengl oss pam pascal pcre pdflib pear perl php plotutils png postgres pppd python qhull qt3 qt4 quicktime readline reflection reiserfs ruby sdl session spell spl ssl subtitles subversion svg tcl tcltk tcpd tetex tga theora tiff tk toolbar transcode truetype truetype-fonts type1-fonts unicode usb userland_GNU utf8 vhosts video_cards_nvidia vorbis wifi wxwindows xine xorg xpm xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 12:32:22 UTC
Don't restrict bugs without any reason. Just leave the checkboxes alone.
Comment 2 Brian Atkinson 2007-01-31 03:44:18 UTC
This depends on 164649 which would solve the problem here.
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-28 00:14:56 UTC
164649 fixed.