Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35519 - fail while trying merge amsn 0.83 on make session
Summary: fail while trying merge amsn 0.83 on make session
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 05:14 UTC by wan
Modified: 2003-12-12 06:06 UTC (History)
0 users

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 wan 2003-12-10 05:14:26 UTC
When i try to emerge amsn, i get errors about Tk.8.4 and Tcl 8.4 in tk.h and tray.c 


Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -C amsn
3. emerge amsn

Actual Results:  
wan@jmp wan $ sudo emerge amsn
Calculating dependencies ...done!
>>> emerge (1 of 1) net-im/amsn-0.83 to /
>>> md5 src_uri ;-) amsn-0_83.tar.gz
>>> Unpacking source...
>>> Unpacking amsn-0_83.tar.gz to /var/tmp/portage/amsn-0.83/work
>>> Source unpacked.
 * Compiling the freedesktop notification plugin
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for Tk configuration... found /usr/lib/tkConfig.sh
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for imlib-config... /usr/bin/imlib-config
checking for IMLIB - version >= 1.8.2... yes
checking how to run the C preprocessor... gcc -pipe -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for size_t... yes
checking how to build libraries... shared
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
gcc -pipe -c -O -fPIC -I/usr/X11R6/include -I/usr/X11R6/include 
-I/usr/lib/tcl8.3/include/generic -I/usr/lib/tk8.4/include/generic tray.c
In file included from tray.c:6:
/usr/include/tk.h:72:9: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
In file included from tray.c:6:
/usr/include/tk.h:339: parse error before "CONST84"
In file included from /usr/include/tk.h:1576,
                 from tray.c:6:
/usr/include/tkDecls.h:145: parse error before "CONST84"
/usr/include/tkDecls.h:237: syntax error before "char"
/usr/include/tkDecls.h:327: syntax error before "char"
/usr/include/tkDecls.h:330: syntax error before "char"
/usr/include/tkDecls.h:412: parse error before "CONST84"
/usr/include/tkDecls.h:479: syntax error before "char"
/usr/include/tkDecls.h:482: syntax error before "char"
/usr/include/tkDecls.h:484: syntax error before "char"
/usr/include/tkDecls.h:487: syntax error before "char"
/usr/include/tkDecls.h:489: syntax error before "char"
/usr/include/tkDecls.h:491: syntax error before "char"
/usr/include/tkDecls.h:494: syntax error before "char"
/usr/include/tkDecls.h:496: syntax error before "char"
/usr/include/tkDecls.h:499: syntax error before "char"
/usr/include/tkDecls.h:501: syntax error before "char"
/usr/include/tkDecls.h:504: syntax error before "char"
/usr/include/tkDecls.h:516: parse error before "CONST84"
/usr/include/tkDecls.h:960: parse error before "CONST84"
/usr/include/tkDecls.h:986: parse error before "CONST84_RETURN"
/usr/include/tkDecls.h:1014: syntax error before "char"
/usr/include/tkDecls.h:1015: syntax error before "char"
/usr/include/tkDecls.h:1039: parse error before "CONST84"
/usr/include/tkDecls.h:1061: syntax error before "char"
/usr/include/tkDecls.h:1062: syntax error before "char"
/usr/include/tkDecls.h:1063: syntax error before "char"
/usr/include/tkDecls.h:1064: syntax error before "char"
/usr/include/tkDecls.h:1065: syntax error before "char"
/usr/include/tkDecls.h:1066: syntax error before "char"
/usr/include/tkDecls.h:1067: syntax error before "char"
/usr/include/tkDecls.h:1068: syntax error before "char"
/usr/include/tkDecls.h:1069: syntax error before "char"
/usr/include/tkDecls.h:1070: syntax error before "char"
/usr/include/tkDecls.h:1071: syntax error before "char"
/usr/include/tkDecls.h:1074: parse error before "CONST84"
/usr/include/tkDecls.h:1196: parse error before '}' token
/usr/include/tkDecls.h:1201: parse error before '*' token
make: ** [tray.o] Erro 1
 
!!! ERROR: net-im/amsn-0.83 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
 
wan@jmp wan $



wan@jmp wan $ sudo emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Intel(R) Celeron(TM) CPU                1200MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad
mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib
gdbm berkdb slang readline arts svga tcltk java sdl gpm tcpd pam ssl perl python
esd imlib oggvorbis qt motif opengl mozilla X -gtk gtk2 gnome -alsa -kde"
                                                                               
                                                                 
wan@jmp wan $
Comment 1 Benjamin Coles 2003-12-10 13:12:12 UTC
assigned to wrong product
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2003-12-10 14:05:59 UTC
I can't reproduce.. did you try re-emerging tcl/tk (emerge tcl tk)
Comment 3 wan 2003-12-12 06:06:16 UTC
Olivier.... its fixed.... look

/usr/include/tk.h:72:9: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4

Then... i try merge Tk and tcl more newest... so... when i try re-merge amsn its fixed.... TK version 8.4.4 and Tcl 8.4.4 

thanks guys.