Created attachment 598828 [details] dev-tcltk:tdom-0.9.1:20191207-073358.log rm -f tdom0.9.1.so x86_64-pc-linux-gnu-gcc-9.2.0 -march=x86-64 -mtune=k8 -mcx16 -msahf -msse3 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -DNDEBUG -Wall -fPIC -shared -o tdom0.9.1.so xmlsimple.o dom.o domhtml.o domhtml5.o domjson.o domxpath.o domxslt.o domlock.o tcldom.o nodecmd.o tdominit.o tclexpat.o tclpull.o tdomStubInit.o -lexpat -lm "/usr/lib64/libtclstub8.6.a" -ltcl8.6 -static-libgcc -ltcl8.6 -ltcl8.6 : tdom0.9.1.so make -j12 make: *** No targets specified and no makefile found. Stop. * ERROR: dev-tcltk/tdom-0.9.1::gentoo failed (compile phase): * emake failed
It seems you cannot compile a simple program to detect the platform. You could have build dev-lang/tcl with a compiler no more installed grep TCL_CC /usr/lib64/tclConfig.sh or you could have defined _WIN32. In both case it is selecting a windows platform but you are on linux
Indeed that is the case. Can you override the compiler in tdom, so that it respects CC/CXX correctly instead of using some old hardcoded value?
rebuilding dev-lang/tcl is not an options ?
It's only a workaround. The ebuild should respect CC/CXX as present at the time of building, not some past value from other ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d60d6fa3e66bfcfbf7c945bea0236c3f58e3066 commit 2d60d6fa3e66bfcfbf7c945bea0236c3f58e3066 Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2019-12-07 21:14:38 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2019-12-07 21:14:38 +0000 dev-tcltk/tdom: use CC during configure test Closes: https://bugs.gentoo.org/702234 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> dev-tcltk/tdom/files/tdom-0.9.1-useCC.patch | 28 ++++++++++++++++++++++++++++ dev-tcltk/tdom/tdom-0.9.1.ebuild | 2 ++ 2 files changed, 30 insertions(+)