Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jan 2023 19:16:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268774] lang/itcl: fails to build
Message-ID:  <bug-268774-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268774

            Bug ID: 268774
           Summary: lang/itcl: fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dvl@FreeBSD.org
                CC: erik@bz.bzflag.bz
             Flags: maintainer-feedback?(erik@bz.bzflag.bz)
                CC: erik@bz.bzflag.bz

>From https://portsfallout.com/fallout?port=3Dlang%2Fitcl%24 this port is fa=
iling
to build on multiple platforms.  I'm having trouble with FreeBSD 13.1 on am=
d64
using the 2023Q1 branch and on head.

From
https://pkg-status.freebsd.org/beefy8/data/main-armv6-default/pb9763bb5d470=
_sb069d3e019/logs/itcl-3.4.1_1,1.log

 /nxb-bin/usr/bin/cc -DPACKAGE_NAME=3D\"itcl\" -DPACKAGE_TARNAME=3D\"itcl\"
-DPACKAGE_VERSION=3D\"3.4\" -DPACKAGE_STRING=3D\"itcl\ 3.4\"
-DPACKAGE_BUGREPORT=3D\"\" -DBUILD_itcl=3D -DSTDC_HEADERS=3D1 -DHAVE_SYS_TY=
PES_H=3D1
-DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY=
_H=3D1
-DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNIST=
D_H=3D1
-DNO_VALUES_H=3D1 -DHAVE_LIMITS_H=3D1 -DHAVE_SYS_PARAM_H=3D1 -DTCL_THREADS=
=3D1
-DMODULE_SCOPE=3Dextern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-DTCL_WIDE_INT_TYPE=3Dlong\ long -DUSE_TCL_STUBS=3D1=20=20=20
-DITCL_LIBRARY=3D\"/usr/local/lib/itcl3.4\" -I"./generic"
-I"/usr/local/include/tcl8.6/generic" -I"/usr/local/include/tcl8.6/unix"   =
 -O2
-pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe  -O2 -Wall -fPI=
C -c
`echo ./generic/itcl_methods.c` -o itcl_methods.o
./generic/itcl_methods.c:1148:48: error: invalid application of 'sizeof' to=
 an
incomplete type 'char[]'
        (unsigned)(sizeof(CompiledLocal)-sizeof(localPtr->name) + nameLen+1)
                                               ^~~~~~~~~~~~~~~~
/usr/local/include/tcl8.6/generic/tcl.h:2462:36: note: expanded from macro
'ckalloc'
    ((void *) Tcl_Alloc((unsigned)(x)))
                                   ^
1 error generated.
*** Error code 1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268774-7788>