[MacPorts] #38182: tcLex @1.2a1 build failure: missing header: <tclInt.h>
MacPorts
noreply at macports.org
Fri Aug 23 20:10:00 UTC 2024
#38182: tcLex @1.2a1 build failure: missing header: <tclInt.h>
--------------------------+--------------------------------
Reporter: cooljeanius | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: tcLex |
--------------------------+--------------------------------
Comment (by barracuda156):
I am getting:
{{{
---> Building tcLex
---> Patching Makefile: s|-fno-common|-fno-common -framework Tcl|g
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tcLex/tcLex/work/tcLex1.2a1/src"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tcLex/tcLex/work/tcLex1.2a1/src'
/usr/bin/gcc-4.2 -fno-common -framework Tcl
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_tcl/tcl/work/tcl8.6.14/generic
-I/opt/local/include -DTCLEX_VERSION=\"1.2\" -c -o tcLex.o tcLex.c
/usr/bin/gcc-4.2 -fno-common -framework Tcl
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_tcl/tcl/work/tcl8.6.14/generic
-I/opt/local/include -DTCLEX_VERSION=\"1.2\" -c -o tcLexRE.o tcLexRE.c
(if test -f /opt/local/lib/tcLex1.2/pkgIndex.tcl; \
then grep -v 1.2 /opt/local/lib/tcLex1.2/pkgIndex.tcl; \
else true; fi;) | \
echo 'package ifneeded tcLex 1.2 [list load [file join $dir
tcLex.dylib.1.2] tcLex]' > pkgIndex.tcl
tcLexRE.c:7:23: error: tclRegexp.h: No such file or directory
In file included from tcLexRE.c:19:
RE82.c: In function ‘getRegexp’:
RE82.c:18: error: ‘TclRegexp’ undeclared (first use in this function)
RE82.c:18: error: (Each undeclared identifier is reported only once
RE82.c:18: error: for each function it appears in.)
RE82.c:18: error: ‘regexpPtr’ undeclared (first use in this function)
RE82.c:18: error: expected expression before ‘)’ token
RE82.c:19: error: ‘REG_ADVANCED’ undeclared (first use in this function)
RE82.c:19: error: ‘REG_BOSONLY’ undeclared (first use in this function)
RE82.c:19: error: ‘REG_EXPECT’ undeclared (first use in this function)
RE82.c:20: error: ‘REG_NEWLINE’ undeclared (first use in this function)
RE82.c:21: error: ‘REG_ICASE’ undeclared (first use in this function)
RE82.c:47: warning: assignment discards qualifiers from pointer target
type
RE82.c: In function ‘RuleExec’:
RE82.c:71: error: ‘TclRegexp’ undeclared (first use in this function)
RE82.c:71: error: ‘regexpPtr’ undeclared (first use in this function)
RE82.c:71: error: expected expression before ‘)’ token
RE82.c:79: error: ‘REG_NLANCH’ undeclared (first use in this function)
RE82.c:81: error: ‘REG_NOTBOL’ undeclared (first use in this function)
RE82.c: In function ‘RuleGetRange’:
RE82.c:129: error: ‘TclRegexp’ undeclared (first use in this function)
RE82.c:129: error: ‘regexpPtr’ undeclared (first use in this function)
RE82.c:129: error: expected expression before ‘)’ token
make: *** [tcLexRE.o] Error 1
make: *** Waiting for unfinished jobs....
tcLex.c: In function ‘LexerNew’:
tcLex.c:735: warning: initialization discards qualifiers from pointer
target type
tcLex.c: In function ‘LexerCreateObjCmd’:
tcLex.c:1276: warning: passing argument 7 of ‘Tcl_GetIndexFromObjStruct’
from incompatible pointer type
tcLex.c: In function ‘LexerMainObjCmd’:
tcLex.c:1474: warning: passing argument 7 of ‘Tcl_GetIndexFromObjStruct’
from incompatible pointer type
tcLex.c: In function ‘LexerEvalObjCmd’:
tcLex.c:2111: warning: assignment from incompatible pointer type
tcLex.c:2297: warning: assignment from incompatible pointer type
tcLex.c: In function ‘LexerConditionsObjCmd’:
tcLex.c:2567: warning: passing argument 7 of ‘Tcl_GetIndexFromObjStruct’
from incompatible pointer type
tcLex.c: In function ‘LexerObjCmd’:
tcLex.c:2940: warning: passing argument 7 of ‘Tcl_GetIndexFromObjStruct’
from incompatible pointer type
powerpc-apple-darwin10-gcc-4.2.1: -framework: linker input file unused
because linking not done
powerpc-apple-darwin10-gcc-4.2.1: Tcl: linker input file unused because
linking not done
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tcLex/tcLex/work/tcLex1.2a1/src'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tcLex/tcLex/work/tcLex1.2a1/src"
&& /usr/bin/make -j6 -w all
Exit code: 2
Error: Failed to build tcLex: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_tcLex/tcLex/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port tcLex failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/38182#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list