Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2024 06:36:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 283584] irc/eggdrop: Fails to build due to tcl.h header location
Message-ID:  <bug-283584-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 283584
           Summary: irc/eggdrop: Fails to build due to tcl.h header
                    location
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ek@purplehat.org
                CC: cpetrik@proton.me
                CC: cpetrik@proton.me
             Flags: maintainer-feedback?(cpetrik@proton.me)

Created attachment 256123
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256123&action=
=3Dedit
tcl.h_patch.diff

During a port build, I got the error:

5 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20=20=20
-fstack-protector-strong  -shared -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -pipe -Wall -I. -I../../.. -I../../..  -I../../../src=
/mod
-I/usr/include -DHAVE_CONFIG_H -I/usr/local/include/tcl8.6 -o
../../../pbkdf2.so ../pbkdf2.o -L/usr/lib -L/usr/local/lib -ltcl86  -lz
-lpthread -lm -lssl -lcrypto  && touch ../../../pbkdf2.so
cc -fPIC -I/usr/local/include/python3.11 -I/usr/local/include/python3.11=20
-Wsign-compare -Wunreachable-code -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -DNDEBUG -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -pipe -Wall -I. -I../../.. -I../../..  -I../../../src=
/mod
-I/usr/include -DHAVE_CONFIG_H -I/usr/local/include/tcl8.6  -DMAKING_MODS -c
.././python.mod/python.c && mv -f python.o ../
In file included from .././python.mod/python.c:46:
.././python.mod/pycmds.c:25:10: fatal error: 'tcl8.6/tcl.h' file not found
   25 | #include <tcl8.6/tcl.h>
      |          ^~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in
/usr/ports/irc/eggdrop/work/eggdrop-1.10.0/src/mod/python.mod
*** Error code 1

It appears the location of tcl.h doesn't need to have the REINPLACE_CMD and=
 it
builds fine if commented out (or removed. Patch attached.)

--=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-283584-7788>