Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702234 - dev-tcltk/tdom-0.9.1: make: *** No targets specified and no makefile found. Stop.
Summary: dev-tcltk/tdom-0.9.1: make: *** No targets specified and no makefile found. ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-07 07:40 UTC by Michał Górny
Modified: 2019-12-07 21:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-tcltk:tdom-0.9.1:20191207-073358.log (dev-tcltk:tdom-0.9.1:20191207-073358.log,25.49 KB, text/plain)
2019-12-07 07:40 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-07 07:40:32 UTC
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
Comment 1 Tupone Alfredo gentoo-dev 2019-12-07 14:55:57 UTC
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
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-07 14:59:55 UTC
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?
Comment 3 Tupone Alfredo gentoo-dev 2019-12-07 16:16:11 UTC
rebuilding dev-lang/tcl is not an options ?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-07 17:00:03 UTC
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.
Comment 5 Larry the Git Cow gentoo-dev 2019-12-07 21:14:59 UTC
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(+)