Boost logo

Boost Testing :

Subject: [Boost-testing] [log][regression] Error with Boost.Lob build jamfile breaks MinGW regression tester in develop
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2016-07-09 05:53:51


Hi,

My develop branch regression runner fails whereas the master one works
fine. The develop runner fails with all Mingw targets (msvc 7.1 works
fine), with this error:

************************************

# Starting tests
("c:\boost\develop\boost_bb\src\engine\bin.ntx86\bjam.exe"
"-sBOOST_BUILD_PATH=c:\boost\develop;c:\boost\develop\boost_bb\src"
"-sBOOST_ROOT=c:\boost\develop\boost_root"
"--boost=c:\boost\develop\boost_root"
"--boost-root=c:\boost\develop\boost_root"
"--boost-build=c:\boost\develop\boost_bb\src" "--debug-configuration"
-l300 toolset=gcc-6.1c++14 -d2 preserve-test-targets=off --dump-tests
-j3 --abbreviate-paths debug-symbols=off -m64
"--build-dir=c:\boost\develop\results"
>>"c:\boost\develop\results\bjam.log" 2>&1)...

c:\boost\develop\boost_root\status>
    "c:\boost\develop\boost_bb\src\engine\bin.ntx86\bjam.exe"
    "-sBOOST_BUILD_PATH=c:\boost\develop;c:\boost\develop\boost_bb\src"
    "-sBOOST_ROOT=c:\boost\develop\boost_root"
    "--boost=c:\boost\develop\boost_root"
    "--boost-root=c:\boost\develop\boost_root"
    "--boost-build=c:\boost\develop\boost_bb\src"
    "--debug-configuration"
    -l300
     toolset=gcc-6.1c++14
     -d2 preserve-test-targets=off --dump-tests -j3
     --abbreviate-paths debug-symbols=off -m64
     "--build-dir=c:\boost\develop\results"
     1>>"c:\boost\develop\results\bjam.log" 2>&1

# Running Boost.Build tests

Traceback (most recent call last):
    File "run.py", line 71, in <module>
      runner(root)
    File "c:\boost\develop\boost_regression_src\regression.py", line
287, in __init__
      self.main()
    File "c:\boost\develop\boost_regression_src\regression.py", line
624, in main
      getattr(self,action_m)()
    File "c:\boost\develop\boost_regression_src\regression.py", line
589, in command_regression
      self.command_test()
    File "c:\boost\develop\boost_regression_src\regression.py", line
368, in command_test
      self.command_test_boost_build()
    File "c:\boost\develop\boost_regression_src\regression.py", line
410, in command_test_boost_build
      "boost/bin.v2/libs/any/test/any_test.test"));
WindowsError: [Error 3] The system cannot find the path specified:
'c:\\boost\\develop\\results\\boost/bin.v2/libs/any/test/any_test.test/*.*'

************************************

That path ("..libs/any/test/any_test.test/) is hardcoded in
regression.py, but it's not generated in my bin.v2 so it's reasonable an
error saying that the system can't find the path ;-)

It seems that error occurs before boost.build tests, as bjam.log shows:

************************************

C:/boost/develop/boost_bb/src/build\targets.jam:1077: in
evaluate-requirements from module targets
error: Can not evaluate conditional properties
<conditional>@Jamfile<C:\boost\develop\boost_root>%Jamfile<C:\boost\develop\boost_root>.handle-static-runtime
<conditional>@Jamfile<C:\boost\develop\boost_root>%boostcpp.deduce-address-model
<conditional>@Jamfile<C:\boost\develop\boost_root>%boostcpp.deduce-architecture
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.check-instruction-set
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.check-message-compiler
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.check-pthread-mutex-robust
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.check-visibility
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.select-arch-specific-sources
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.select-platform-specific-sources
<conditional>@Jamfile<C:\boost\develop\boost_root\libs\log\build>%Jamfile<C:\boost\develop\boost_root\libs\log\build>.select-regex-backend
<link>shared:<define>BOOST_LOG_DLL
<target-os>cygwin:<define>BOOST_USE_WINDOWS_H
<target-os>cygwin:<define>NOMINMAX
<target-os>cygwin:<define>SECURITY_WIN32
<target-os>cygwin:<define>WIN32_LEAN_AND_MEAN
<target-os>cygwin:<define>__USE_W32_SOCKETS
<target-os>cygwin:<library>/boost/log//advapi32
<target-os>cygwin:<library>/boost/log//mswsock
<target-os>cygwin:<library>/boost/log//ws2_32
<target-os>freebsd:<library>/boost/log//rt
<target-os>hpux:<define>_XOPEN_SOURCE=600
<target-os>hpux:<library>/boost/log//ipv6
<target-os>linux:<define>_XOPEN_SOURCE=600
<target-os>linux:<library>/boost/log//rt
<target-os>qnxnto:<library>/boost/log//socket
<target-os>solaris:<define>_XOPEN_SOURCE=500
<target-os>solaris:<define>__EXTENSIONS__
<target-os>solaris:<library>/boost/log//nsl
<target-os>solaris:<library>/boost/log//socket
<target-os>windows:<define>BOOST_USE_WINDOWS_H
<target-os>windows:<define>NOMINMAX
<target-os>windows:<define>SECURITY_WIN32
<target-os>windows:<define>WIN32_LEAN_AND_MEAN
<target-os>windows:<library>/boost/log//advapi32
<target-os>windows:<library>/boost/log//mswsock
<target-os>windows:<library>/boost/log//ws2_32
<threading>multi:<library>/boost/atomic//boost_atomic
<threading>multi:<library>/boost/thread//boost_thread
<threading>single:<define>BOOST_LOG_NO_THREADS
<toolset>clang:<cxxflags>-ftemplate-depth-1024
<toolset>como-linux:<define>_GNU_SOURCE=1 <toolset>como:<link>static
<toolset>darwin:<cxxflags>-ftemplate-depth-1024
<toolset>gcc,<target-os>cygwin:<linkflags>-Wl,--enable-auto-import
<toolset>gcc,<target-os>windows:<linkflags>-Wl,--enable-auto-import
<toolset>gcc:<cxxflags>-fno-strict-aliasing
<toolset>gcc:<cxxflags>-ftemplate-depth-1024
<toolset>intel-darwin:<cxxflags>-wd177,780,2196,1782,193,304,981,1418,411,734,279
<toolset>intel-linux:<cxxflags>-wd177,780,2196,1782,193,304,981,1418,411,734,279
<toolset>intel-win:<cxxflags>/Qwd177,780,2196,1782,193,304,981,1418,411,734,279
<toolset>intel-win:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>intel-win:<define>_CRT_SECURE_NO_WARNINGS
<toolset>intel-win:<define>_SCL_SECURE_NO_DEPRECATE
<toolset>intel-win:<define>_SCL_SECURE_NO_WARNINGS
<toolset>msvc,<runtime-link>shared:<threading>multi
<toolset>msvc:<cxxflags>/bigobj <toolset>msvc:<cxxflags>/wd4003
<toolset>msvc:<cxxflags>/wd4456 <toolset>msvc:<cxxflags>/wd4459
<toolset>msvc:<cxxflags>/wd4503
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
<toolset>pgi:<library>/boost/log//rt
C:/boost/develop/boost_bb/src/build\targets.jam:1112: in
common-properties2 from module targets
C:/boost/develop/boost_bb/src/build\targets.jam:977: in
targets.common-properties from module targets
C:/boost/develop/boost_bb/src/build\targets.jam:1303: in
class_at_basic-target.generate from module object(typed-target)@1504
C:/boost/develop/boost_bb/src/build\targets.jam:774: in generate-really
from module object(main-target)@49045
C:/boost/develop/boost_bb/src/build\targets.jam:746: in
class_at_main-target.generate from module object(main-target)@49045
C:/boost/develop/boost_bb/src/build\targets.jam:895: in
targets.generate-from-reference from module targets
C:/boost/develop/boost_bb/src/build\targets.jam:1266: in
generate-dependencies from module object(typed-target)@14269
C:/boost/develop/boost_bb/src/build\targets.jam:1320: in
class_at_basic-target.generate from module object(typed-target)@14269
C:/boost/develop/boost_bb/src/build\targets.jam:774: in generate-really
from module object(main-target)@49008
C:/boost/develop/boost_bb/src/build\targets.jam:746: in
class_at_main-target.generate from module object(main-target)@49008
C:/boost/develop/boost_bb/src/build\targets.jam:895: in
targets.generate-from-reference from module targets
C:/boost/develop/boost_bb/src/build\targets.jam:1266: in
generate-dependencies from module object(alias-target-class)@36618
C:/boost/develop/boost_bb/src/build\targets.jam:1323: in
class_at_basic-target.generate from module object(alias-target-class)@36618
C:/boost/develop/boost_bb/src/build\targets.jam:774: in generate-really
from module object(main-target)@36634
C:/boost/develop/boost_bb/src/build\targets.jam:746: in
class_at_main-target.generate from module object(main-target)@36634
C:/boost/develop/boost_bb/src/build\targets.jam:272: in
class_at_project-target.generate from module object(project-target)@2141
c:/boost/develop/boost_bb/src\build-system.jam:714: in load from module
build-system
C:\boost\develop\boost_bb\src/kernel\modules.jam:295: in import from
module modules
C:\boost\develop\boost_bb\src/kernel/bootstrap.jam:139: in boost-build
from module
C:\boost\develop\boost_root\boost-build.jam:17: in module scope from module

************************************

I can't see why this Jamfile from Boost.Log is accepted when MSVC-7.1 is
the target but fails when MinGW is the selected target. I could neither
t deduce what is the failing piece of the configuration.

The same error happens with a wide range of MINGW targets:

GCC-3.4, GCC-4.1, GCC-4.2, GCC-4.3, GCC-4.4, GCC-4.5, GCC-4.6, GCC-4.7,
GCC-4.8, GCC-4.9, GCC-5.1, GCC-5.2, GCC-5.3 and GCC-6.1.

Any clue on what can be happening and how can it be fixed? Attached
regression logs for a failed MINGW regression with GCC 6.1.

Best,

Ion




Boost-testing list run by mbergal at meta-comm.com