dev-tcltk/tclpython-4.1 does not respect LDFLAGS * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/lib/tclpython/tclpython.so.4.1 Also I found rather strange the following: >>> Compiling source in /var/tmp/portage/dev-tcltk/tclpython-4.1/work/tclpython-4.1 ... Usage: /usr/bin/python-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help] >>> Source compiled. This Usage: ... line looks like something is not working, but I'm not sure.
Well, now I'm sure it's not working: camobap-unstable ~ # tclsh % package require tclpython couldn't load file "/usr/lib/tclpython/tclpython.so.4.1": /usr/lib/tclpython/tclpython.so.4.1: undefined symbol: Py_NoSiteFlag % You need to add --libs after `python-config`. So I've not checked but it looks like: $(tc-getCC) -shared -o tclpython.so.${PV} -fPIC ${CFLAGS} ${LDFGAGS} -Wall -I/usr/include/python${PYVER} tcl{python,thread}.c `python-config --libs` -lpthread -lutil || die will fix both issues.
In CVS. Thanks Peter ;)