[Interest] Buggy Makefile for config.tests\arch?
Gisle Vanem
gvanem at broadpark.no
Wed Feb 13 16:55:01 CET 2013
My generated "g:\Qt\5.0\config.tests\arch\Makefile" looks funny. If I do
a dry-run:
g:\Qt\5.0\qtbase\config.tests\arch> nmake -n -nologo
86: echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */
"arch.exe.embed.manifest">arch.exe_manifest.rc
87: if not exist arch.exe del arch.exe.embed.manifest>NUL 2>&1
88: if exist arch.exe.embed.manifest copy /Y arch.exe.embed.manifest arch.exe_manifest.bak
Why on line 88 is it checking the presence of "arch.exe.embed.manifest"
when it was potentially deleted on line 87. This doesn't look right. A bug in
msvc_nmake.cpp?
If I nmake w/o '-n', the result is:
if not exist arch.exe del arch.exe.embed.manifest>NUL
4NT: (Sys) Systemet finner ikke angitt fil. <<< ! file not found
"G:\Qt\5.0\qtbase\config.tests\arch\arch.exe.embed.manifest"
NMAKE : fatal error U1077: 'if' : return code '0x2'
Stop.
An install error here? I think I followed the README + README.git to
the letter. qmake.exe gets built okay and the results from "qmake -query"
is:
qmake.exe -query
QT_SYSROOT:
QT_INSTALL_PREFIX:G:/Qt/5.0
QT_INSTALL_ARCHDATA:G:/Qt/5.0
QT_INSTALL_DATA:G:/Qt/5.0
QT_INSTALL_DOCS:G:/Qt/5.0/doc
QT_INSTALL_HEADERS:G:/Qt/5.0/include
QT_INSTALL_LIBS:G:/Qt/5.0/lib
QT_INSTALL_LIBEXECS:G:/Qt/5.0/libexec
QT_INSTALL_BINS:G:/Qt/5.0/bin
QT_INSTALL_TESTS:G:/Qt/5.0/tests
QT_INSTALL_PLUGINS:G:/Qt/5.0/plugins
QT_INSTALL_IMPORTS:G:/Qt/5.0/imports
QT_INSTALL_QML:G:/Qt/5.0/qml
QT_INSTALL_TRANSLATIONS:G:/Qt/5.0/translations
QT_INSTALL_CONFIGURATION:
QT_INSTALL_EXAMPLES:G:/Qt/5.0/examples
QT_INSTALL_DEMOS:G:/Qt/5.0/examples
QT_HOST_PREFIX:G:/Qt/5.0
QT_HOST_DATA:G:/Qt/5.0
QT_HOST_BINS:G:/Qt/5.0/bin
QMAKE_SPEC:win32-msvc2010
QMAKE_XSPEC:win32-msvc2010
QMAKE_VERSION:3.0
QT_VERSION:5.0.1
Anybody spot the problem?
--gv
More information about the Interest
mailing list