pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/24866: tcl-itcl (current) doesn't build correct if tcl&tk-8.4.6 is installed



>Number:         24866
>Category:       pkg
>Synopsis:       tcl-itcl (current) doesn't build correct if tcl&tk-8.4.6 is 
>installed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 20 22:27:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Noud de Brouwer
>Release:        1.6ZK
>Organization:
none
>Environment:
NetBSD host016.template 1.6ZK NetBSD 1.6ZK (GENERIC.MP) #0: Thu Mar 18 03:44:55 
UTC 2004  
autobuild%tgm.netbsd.org@localhost:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC.MP
 i386



>Description:
===> Extracting for tcl-itcl-3.2
===> Required installed package tcl>=8.3.4: tcl-8.4.6 found
===> Required installed package tk>=8.3.4: tk-8.4.6 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.2nb5 
found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
=> Checksum OK for tcl8.3.4.tar.gz.
===> Extracting for tcl-8.3.4
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.2nb5 
found
=> Checksum OK for tk8.3.4.tar.gz.
===> Extracting for tk-8.3.4
===> Required installed package tcl>=8.3.4: tcl-8.4.6 found
===> Required installed package libtool-base>=1.5.2nb4: libtool-base-1.5.2nb5 
found
===> Required installed package x11-links>=0.23: x11-links-0.23 found
===> Patching for tcl-itcl-3.2
===> Applying pkgsrc patches for tcl-itcl-3.2
===> Overriding tools for tcl-itcl-3.2
===> Buildlinking for tcl-itcl-3.2


so lateron things happen like:

 gcc -DVERSION=\"3.2\" -DITCL_LIBRARY=\"/usr/pkg/lib/tcl/itcl3.2\" 
-I/usr/pkgsrc/lang/tcl/work/tcl8.4.6/generic 
-I/usr/pkgsrc/lang/tcl/work/tcl8.4.6/unix -I./generic -I./unix 
-I/usr/pkgsrc/lang/tcl-itcl/work/.buildlink/include 
-I/usr/pkgsrc/lang/tcl-itcl/work/.buildlink-x11/include -O -fPIC -c 
./generic/itcl_class.c  -fPIC -DPIC -o .libs/itcl_class.o
generic/itcl_class.c: In function `Itcl_CreateClass':
generic/itcl_class.c:214: warning: passing arg 2 of `Tcl_SetNamespaceResolvers' 
from incompatible pointer type
generic/itcl_class.c:214: warning: passing arg 3 of `Tcl_SetNamespaceResolvers' 
from incompatible pointer type
generic/itcl_class.c:214: warning: passing arg 4 of `Tcl_SetNamespaceResolvers' 
from incompatible pointer type
generic/itcl_class.c: In function `Itcl_ClassCmdResolver':
generic/itcl_class.c:963: error: structure has no member named `deleted'
generic/itcl_class.c: In function `Itcl_GetCommonVar':
generic/itcl_class.c:1642: warning: assignment discards qualifiers from pointer 
target type
*** Error code 1

Stop.

>How-To-Repeat:
get and install
releng.netbsd.org/pub/NetBSD-daily/current/200403170000/i386
pkgsrc dated Mar 19 2004


cd /usr/pkgsrc/x11/tk;make install
cd /usr/pkgsrc/lang/tcl-itcl; make install

>Fix:
pkg_delete -r tcl-8.4.6
cd /usr/pkgsrc/lang/tcl-itcl; make deinstall clean;make package

but this is just a correction, ideally tcl-itcl should warn or build correct if 
tcl&tk-8.4.6 is installed.
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index