[Bug 283584] irc/eggdrop: Fails to build due to tcl.h header location

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Dec 2024 22:28:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283584

--- Comment #3 from ek@purplehat.org ---
(In reply to Zsolt Udvari from comment #1)

Hello,

I just built straight from ports with the latest tree (just pulled again to be
sure.) I've attached the build log in case you're curious. The "tcl8.6/tcl.h"
header file does exist in /usr/local/include:

# ls -al /usr/local/include/tcl8.6/tcl.h
-rw-r--r--  1 root wheel 94238 Dec 24 22:38 /usr/local/include/tcl8.6/tcl.h

It looks like what is happening is that the ${TCL_INCLUDEDIR} variable is
already set with the ${TCL_VER} (verified by running "make -V TCL_INCLUDEDIR"
in irc/eggdrop directory.)

So, it's looking for the "tcl.h" header file in
/usr/local/include/tcl8.6/tcl8.6/ when the @${REINPLACE_CMD} is run for the
${WRKSRC}/src/mod/python.mod/pycmds.c file.

Have you tried testing in Poudriere to see if it builds fine without this
reinplace command? I'd be curious to know why the ${TCL_INCLUDEDIR} would be
different inside and outside of Poudriere.

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