Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107911 - Tix-8.2.0-r2 ebuild compile fails with incorrect library paths
Summary: Tix-8.2.0-r2 ebuild compile fails with incorrect library paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
: 143470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-02 09:42 UTC by Chad A. Simmons
Modified: 2006-09-23 23:27 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 Chad A. Simmons 2005-10-02 09:42:59 UTC
creating tixConfig.sh
 * Fixing the Makefile... ...                                             [ ok ]
gcc -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -DPEEK_XCLOSEIM=1
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
-DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1  -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_IS_LONG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1       
-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
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/unix
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/win    -O2  -fPIC -c `echo
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c` -o tixClass.o
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`Tix_ClassCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:325: warning:
passing arg 3 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`ParseClassOptions':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:361: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`InitClass':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:601: warning:
passing arg 3 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:604: warning:
passing arg 3 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`Tix_CreateInstanceCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:787: warning:
passing arg 3 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:816: warning:
assignment discards qualifiers from pointer target type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`Tix_InstanceCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:940: warning:
assignment discards qualifiers from pointer target type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`SetupMethod':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:996: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`SetupDefault':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1040: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1073: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`SetupSpec':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1155: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`InitSpec':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1243: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`SetupAttribute':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1387: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`SetupAlias':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1423: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`InitAlias':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:1457: warning:
passing arg 4 of pointer to function from incompatible pointer type
gcc -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -DPEEK_XCLOSEIM=1
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
-DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1  -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_IS_LONG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1       
-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
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/unix
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/win    -O2  -fPIC -c `echo
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c` -o tixCmds.o
In file included from
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:19:
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixDef.h:23:21: default.h:
No such file or directory
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c: In function
`Tix_DoWhenIdleCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:127: warning:
passing arg 2 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c: In function
`Tix_HandleOptionsCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:495: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:499: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c: In function
`Tix_StringSubCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:628: warning:
assignment discards qualifiers from pointer target type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c: In function
`ScaleColor':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:929: warning:
comparison is always false due to limited range of data type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:932: warning:
comparison is always false due to limited range of data type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:935: warning:
comparison is always false due to limited range of data type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c: In function
`Tix_GetDefaultCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error:
`ACTIVE_BG' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error: (Each
undeclared identifier is reported only once
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error: for
each function it appears in.)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error: (near
initialization for `table[0][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:966: error: (near
initialization for `table[0]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:967: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:967: error: (near
initialization for `table[1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:968: error:
`DISABLED' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:968: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:968: error: (near
initialization for `table[2][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:968: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:968: error: (near
initialization for `table[2]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:969: error:
`BLACK' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:969: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:969: error: (near
initialization for `table[3][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:969: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:969: error: (near
initialization for `table[3]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:970: error:
`INDICATOR' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:970: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:970: error: (near
initialization for `table[4][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:970: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:970: error: (near
initialization for `table[4]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:971: error:
`NORMAL_BG' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:971: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:971: error: (near
initialization for `table[5][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:971: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:971: error: (near
initialization for `table[5]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:972: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:972: error: (near
initialization for `table[6][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:972: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:972: error: (near
initialization for `table[6]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:973: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:973: error: (near
initialization for `table[7][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:973: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:973: error: (near
initialization for `table[7]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:974: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:974: error: (near
initialization for `table[8][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:974: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:974: error: (near
initialization for `table[8]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:975: error:
`SELECT_BG' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:975: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:975: error: (near
initialization for `table[9][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:975: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:975: error: (near
initialization for `table[9]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:976: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:976: error: (near
initialization for `table[10][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:976: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:976: error: (near
initialization for `table[10]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:977: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:977: error: (near
initialization for `table[11][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:977: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:977: error: (near
initialization for `table[11]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:978: error:
`TROUGH' undeclared (first use in this function)
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:978: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:978: error: (near
initialization for `table[12][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:978: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:978: error: (near
initialization for `table[12]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:980: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:980: error: (near
initialization for `table[13][1]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:980: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:980: error: (near
initialization for `table[13]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:981: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:981: error: (near
initialization for `table[14]')
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:982: error:
initializer element is not constant
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:982: error: (near
initialization for `table[15]')
make: *** [tixCmds.o] Error 1

!!! ERROR: dev-tcltk/tix-8.2.0-r2 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. add ~amd64 to package.keywords
2. emerge tix
3. compile fails

Actual Results:  
compile failure

Expected Results:  
compile success

chadgentoo ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -msse3 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa apm avi bash-completion berkdb bitmap-fonts
bonobo cdr crypt css cups curl dts dvd dvdr dvdread eds emboss encode esd
extensions fam ffmpeg foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk
gtk2 gtkhtml hal imagemagick imlib ipv6 java jpeg kde kdenablefinal lm_sensors
lzo lzw lzw-tiff mad mjpeg mozilla mp3 mpeg ncurses nls nvidia offensive ogg
opengl oss pam pdflib perl png python qt quicktime readline rtc samba scanner
sdl session spell ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales vorbis xine xml xml2 xmms xpm xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Chad A. Simmons 2005-10-02 10:02:40 UTC
Changeing the include in tixDef.h from <default.h> to 
Comment 2 Chad A. Simmons 2005-10-02 10:02:40 UTC
Changeing the include in tixDef.h from <default.h> to ¨default.h¨ appears to
remove this error but there are additional problems.

In file included from
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixCmds.c:19:
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixDef.h:23:21: default.h:
No such file or directory
Comment 3 Scott Stoddard (RETIRED) gentoo-dev 2005-11-24 10:06:43 UTC
No problems here.  Try as I might I cannot duplicate this problem.

delta ~ # emerge --info
Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre10
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
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="amd64 X alsa audiofile avi berkdb bitmap-fonts browserplugin bzip2 cdr
crypt cups curl dbus divx4linux dvd dvdread eds emboss encode esd exif expat fam
ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glut gnome gpm
gstreamer gtk gtk2 hal icq idn imagemagick imap imlib ipv6 jabber java jpeg lcms
live lua lzw lzw-tiff mad mjpeg mng motif mozilla mp3 mpeg msn native ncurses
network nls no-old-linux noantlr nobcel nobeanutils nobsh nptl nptlonly
offensive ogg oggvorbis opengl pam pcre pdflib perl png python qt quicktime
radeon readline real rtc sdk sdl spell sqlite ssl svg tcltk tcpd theora tiff
transcode truetype truetype-fonts type1-fonts udev usb userlocales v4l v4l2
vorbis wmf xine xml xml2 xpm xv xvid xvmc yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 4 Tres 'RiverRat' Melton 2005-11-24 18:06:56 UTC
Well, I didn't find this particular problem but a definite 64bit issue.  I'll
look into this later.

gcc -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1  -DPEEK_XCLOSEIM=1
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
-DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_LIMITS_H=1
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1
-DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1  -DHAVE_UNISTD_H=1
-DHAVE_LIMITS_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_IS_LONG=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1       
-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
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/unix
-I/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/win    -O2  -fPIC -c `echo
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c` -o tixClass.o
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`Tix_ClassCmd':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:325: warning:
passing arg 3 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`ParseClassOptions':
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c:361: warning:
passing arg 4 of pointer to function from incompatible pointer type
/var/tmp/portage/tix-8.2.0-r2/work/tix8.2.0/generic/tixClass.c: In function
`InitClass':
.....
Comment 5 Tres 'RiverRat' Melton 2005-11-29 14:25:51 UTC
Taking one error (the one right after the paste in the previous comment):

generic/tixClass.c:601: warning: passing arg 3 of pointer to function from
incompatible pointer type

And looking at the line of code in question:

        Tcl_CreateCommand(interp, cPtr->className, Tix_CreateWidgetCmd,
                (ClientData)cPtr, NULL);

You can see that Tix_CreateWidgetCmd is the parameter causing the error and
which is an externally declared function passed through a macro:

        extern TIX_DECLARE_CMD(Tix_CreateWidgetCmd);

and the macro (in generic/tix.h):

        /*
         * TIX_DECLARE_CMD --
         * 
         * This is just a handy macro to declare a C function to use as a
         * command function.
         */
        #define TIX_DECLARE_CMD(func) \
            int func _ANSI_ARGS_((ClientData clientData,\
                Tcl_Interp *interp, int argc, char ** argv))

So TIX_DECLARE_CMD is returning a pointer to a different type of function
than the one that Tcl_CreateCommand is expecting which is:

   EXTERN Tcl_Command      Tcl_CreateCommand _ANSI_ARGS_((Tcl_Interp * interp,
                                CONST char * cmdName, Tcl_CmdProc * proc,
                                ClientData clientData,
                                Tcl_CmdDeleteProc * deleteProc));

I don't know how this is supposed to work well enough to figure out what went
wrong for sure.  However, if I had to guess, I would say that at some point
there is an implicit declaration that implies int but actually uses a pointer.
That would explain why it works on 32 bit platforms but fails on 64 bit.

Sorry guys, I'm done with this one.  :/
Comment 6 Jon Hood (RETIRED) gentoo-dev 2006-06-29 17:35:38 UTC
This is solved upon upgrading to tcl/tk 8.4.13; however, 8.4.13 is not stable yet. The issue stems from the stable version in portage having incorrect include paths stored. Notice that tix is building with the following:
-I/var/tmp/portage/tk-8.4.9/work/tk8.4.9/generic
After installing tk 8.4.13, you'll notice that this changes to:
/usr/lib64/tk8.4/include/generic/

This is a bug in tk, not in tix. Assigning to the proper herd. Please make a -r bump of the current tk ebuild with this issue fixed, or mark 8.4.13 stable.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-08-10 08:48:54 UTC
*** Bug 143470 has been marked as a duplicate of this bug. ***
Comment 8 MATSUU Takuto (RETIRED) gentoo-dev 2006-09-23 23:27:46 UTC
tix-8.4.0 in cvs. this version supports generic directory.