[Bug 268774] lang/itcl: fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 05 Jan 2023 19:16:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268774

            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=lang%2Fitcl%24 this port is failing
to build on multiple platforms.  I'm having trouble with FreeBSD 13.1 on amd64
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=\"itcl\" -DPACKAGE_TARNAME=\"itcl\"
-DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"itcl\ 3.4\"
-DPACKAGE_BUGREPORT=\"\" -DBUILD_itcl= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_THREADS=1
-DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
-DTCL_WIDE_INT_TYPE=long\ long -DUSE_TCL_STUBS=1   
-DITCL_LIBRARY=\"/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 -fPIC -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

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