Skip to content

eliminate warnings #53

Closed
Closed

Description

@dirk-thomas

Things left todo:

Activity

  1. added
    in progress
    on Jun 2, 2015
  2. self-assigned this
    on Jun 2, 2015
  3. wjwwood commented on Jun 15, 2015

    @wjwwood
    Member

    There are no warnings on Linux atm, and only 3 on OS X, for which it is not clear how I should fix it just yet. Windows still has a lot of warnings, but I just got it rebuilding and tracking the warnings.

    I propose we merge the current pull requests as is and push this issue back to the backlog in favor of other tasks. At least now we've eliminated the most crucial warnings and now we're tracking the warnings so we'll know if we've introduced a bunch all at once.

    So, if everyone could give a +1/-1 for my suggestion I'd appreciate it.

  4. dirk-thomas commented on Jun 15, 2015

    @dirk-thomas
    MemberAuthor

    The lastest state of some of the pending PRs is still that they should be evaluated on Windows. Can you add links to CI builds for them to quantify their usefulness?

  5. wjwwood commented on Jun 15, 2015

    @wjwwood
    Member
  6. wjwwood commented on Jun 15, 2015

    @wjwwood
    Member

    Actually it looks like the Windows build is now broken? Maybe this is related to the recent changes with the PYTHONPATH and PATH?

    http://54.183.26.131:8080/job/ros2_batch_ci_windows/286/console

    +++ Building 'ament_cmake_core'
    Running cmake because arguments have changed.
    ==> 'C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\ament_cmake_core\cmake__build.bat C:\Program Files (x86)\CMake\bin\cmake.EXE C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\src\ament\ament_cmake\ament_cmake_core -DAMENT_ENABLE_TESTING=1 -DCMAKE_INSTALL_PREFIX=C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\install -G Visual Studio 14 2015 Win64' in 'C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\ament_cmake_core'
    -- Found PythonInterp: C:/tools/python/python.exe (found suitable version "3.4.3", minimum required is "3") 
    -- Using PYTHON_EXECUTABLE: C:/tools/python/python.exe
    ImportError: 'from ament_package import parse_package_string' failed: No module named 'ament_package'
    
    Make sure that you have installed 'ament_package', it is up to date and on the PYTHONPATH.
    
    CMake Error at cmake/core/ament_package_xml.cmake:94 (message):
      execute_process(C:/tools/python/python.exe
      C:/Jenkins/workspace/ros2_batch_ci_windows/workspace/src/ament/ament_cmake/ament_cmake_core/cmake/core/package_xml_2_cmake.py
      C:/Jenkins/workspace/ros2_batch_ci_windows/workspace/src/ament/ament_cmake/ament_cmake_core/package.xml
      C:/Jenkins/workspace/ros2_batch_ci_windows/workspace/build/ament_cmake_core/ament_cmake_core/package.cmake)
      returned error code 1
    Call Stack (most recent call first):
      cmake/core/ament_package_xml.cmake:49 (_ament_package_xml)
      CMakeLists.txt:13 (ament_package_xml)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Jenkins/workspace/ros2_batch_ci_windows/workspace/build/ament_cmake_core/CMakeFiles/CMakeOutput.log".
    
    <== Command 'C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\build\ament_cmake_core\cmake__build.bat C:\Program Files (x86)\CMake\bin\cmake.EXE C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\src\ament\ament_cmake\ament_cmake_core -DAMENT_ENABLE_TESTING=1 -DCMAKE_INSTALL_PREFIX=C:\Jenkins\workspace\ros2_batch_ci_windows\workspace\install -G Visual Studio 14 2015 Win64' failed with exit code '1'
    <== 'env.bat C:\tools\python\python.exe -u ".\src\ament\ament_tools\scripts\ament.py" build --build-tests --build-space "build" --install-space "install" "src"' exited with return code '1'
    
  7. dirk-thomas commented on Jun 15, 2015

    @dirk-thomas
    MemberAuthor

    It looks like Windows is choking on the arguments defining the environment hooks (which are now two separated by a semicolon instead of one). I committed the following change which should help: ament/ament_tools@1fe2474

  8. wjwwood commented on Jun 15, 2015

    @wjwwood
    Member

    Ok, I'll rerun it.

  9. dirk-thomas commented on Jun 16, 2015

    @dirk-thomas
    MemberAuthor

    +1 to merge the referenced PRs since they do improve the current state.

  10. wjwwood commented on Jun 16, 2015

    @wjwwood
    Member

    bump @esteve @tfoote @jacquelinekay for +1/-1

  11. tfoote commented on Jun 16, 2015

    @tfoote
    Contributor

    +1 merge and rereview the state afterwards.

  12. added
    in review
    and removed
    in progress
    on Jun 16, 2015
  13. esteve commented on Jun 16, 2015

    @esteve
    Member

    +1 merge

  14. wjwwood commented on Jun 16, 2015

    @wjwwood
    Member

    Thanks, I'll go ahead and merge the PR's and then move this issue back to the backlog for now.

  15. removed
    in review
    on Jun 16, 2015
  16. wjwwood commented on Jun 16, 2015

    @wjwwood
    Member

    Ok, I've done that and update the description of this issue to capture what's left todo.

  17. dirk-thomas commented on Jul 30, 2015

    @dirk-thomas
    MemberAuthor

    All warnings have been resolved except:

    • usage of strerror
    • usage of strcpy
    • usage of _snprintf
  18. self-assigned this
    on Aug 17, 2015
  19. added
    in progress
    on Aug 17, 2015
  20. dirk-thomas commented on Aug 17, 2015

    @dirk-thomas
    MemberAuthor

    After the latest set of PRs there is only one kind of warnings left: http://ci.ros2.org/job/ros2_batch_ci_windows/201/warnings34Result/category.63481637/package.-2136935613/

    @esteve Can you please address those so that we can enable the email notification for the nightly Windows job.

  21. added
    in review
    and removed
    in progress
    on Aug 17, 2015
  22. dirk-thomas commented on Aug 19, 2015

    @dirk-thomas
    MemberAuthor

    Last warning fixed (suppressed) by #90.

  23. removed
    in review
    on Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions