Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152066 - dev-tcltk/ck-8.0 fails to compile
Summary: dev-tcltk/ck-8.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 01:55 UTC by Evil Compile Person
Modified: 2006-12-12 16:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Tcl_panic patch (ck-8.0-tcl_panic.patch,265 bytes, patch)
2006-12-12 15:21 UTC, Ali Polatel (RETIRED)
Details | Diff
updated ebuild (ck-8.0.ebuild,893 bytes, text/plain)
2006-12-12 15:22 UTC, Ali Polatel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2006-10-20 01:55:34 UTC
creating Makefile
creating ckConfig.sh
gcc -pipe -c -O2 -march=i686 -pipe -DUSE_NON_CONST -fPIC -I. -I/usr/include -I/usr/include -DUSE_NCURSES -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DRETSIGTYPE=void -DHAVE_SIGACTION=1 -DHAVE_SCR_DUMP=1 -DHAVE_GPM=1 -DTK_FILE_READ_PTR=1    -DCK_LIBRARY=\"/usr/lib/ck8.4\" ckAppInit.c
gcc -pipe -c -O2 -march=i686 -pipe -DUSE_NON_CONST -fPIC -I. -I/usr/include -I/usr/include -DUSE_NCURSES -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DSTDC_HEADERS=1 -DRETSIGTYPE=void -DHAVE_SIGACTION=1 -DHAVE_SCR_DUMP=1 -DHAVE_GPM=1 -DTK_FILE_READ_PTR=1    -DCK_LIBRARY=\"/usr/lib/ck8.4\" ckBind.c
In file included from ckBind.c:15:
ckPort.h:226: error: conflicting types for 'Tcl_Panic'
ckPort.h:226: note: a parameter list with an ellipsis can't match an empty parameter name list declaration
/usr/include/tclDecls.h:39: error: previous declaration of 'Tcl_Panic' was here
make: *** [ckBind.o] Error 1

!!! ERROR: dev-tcltk/ck-8.0 failed.

Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 i686)
=================================================================
System uname: 2.6.16.16 i686 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Wed, 18 Oct 2006 17:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  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.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LINGUAS=""
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.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2006-12-12 15:17:44 UTC
  The problem is in ckPort.h on this line:
extern void panic();
  But this has been defined before so changing this to:
#ifndef panic
extern void panic();
#endif
  does it.I'm attaching a patch and an ebuild to make it work.

  Ali
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2006-12-12 15:21:10 UTC
Created attachment 103898 [details, diff]
Tcl_panic patch
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2006-12-12 15:22:52 UTC
Created attachment 103899 [details]
updated ebuild
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-12 16:21:38 UTC
Looks like upstream got there first, but they didn't bump the tarball when they fixed it. *sigh*. Manifest updated in CVS.