Skip to content

Conversation

jfrancis71
Copy link
Contributor

See issue: #99

@Tobias-Fischer
Copy link
Contributor

Something funky is going on with the cache @traversaro

@traversaro
Copy link
Member

I think there is a bug in case no package is restored. I think we fixed it in humble it somewhere else, today I am far from keyboard so I can't immediately check

@traversaro
Copy link
Member

I think there is a bug in case no package is restored. I think we fixed it in humble it somewhere else, today I am far from keyboard so I can't immediately check

Fixed in 9ba6b43 by aligning with ros-kilted.

@traversaro
Copy link
Member

There are some failures on macOS:

  ╰─────────────────── (took 1 second)
Error:   × Failed to resolve dependencies: Cannot solve the request because of: ros-
  │ jazzy-libcamera * cannot be installed because there are no viable options:
  │ └─ ros-jazzy-libcamera 0.5.0 would require
  │    └─ libcamera >=0.5.0,<0.6.0a0, for which no candidates were found.
  │ 
  ╰─▶ Cannot solve the request because of: ros-jazzy-libcamera * cannot be
      installed because there are no viable options:
      └─ ros-jazzy-libcamera 0.5.0 would require
         └─ libcamera >=0.5.0,<0.6.0a0, for which no candidates were found.
      

it is the same problem of RoboStack/ros-humble#342, not sure why we never spotted this. Anyhow, I can apply here the same fix of RoboStack/ros-humble#343 .

@traversaro
Copy link
Member

Windows build is failing:

  │ │ [1/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\http_request_parser.cpp.obj
 │ │ [2/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\websocket_connection.cpp.obj
 │ │ FAILED: [code=2] CMakeFiles/async_web_server_cpp.dir/src/websocket_connection.cpp.obj 
 │ │ C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DROS_PACKAGE_NAME=\"async_web_server_cpp\" -D_WIN32_WINNT=0x0A00 -Dasync_web_server_cpp_EXPORTS -I%SRC_DIR%\ros-jazzy-async-web-server-cpp\src\work\include -external:I%PREFIX%\Library\include -external:W0 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MD /O2 /Ob2 /DNDEBUG /showIncludes /FoCMakeFiles\async_web_server_cpp.dir\src\websocket_connection.cpp.obj /FdCMakeFiles\async_web_server_cpp.dir\ /FS -c %SRC_DIR%\ros-jazzy-async-web-server-cpp\src\work\src\websocket_connection.cpp
 │ │ %SRC_DIR%\ros-jazzy-async-web-server-cpp\src\work\include\async_web_server_cpp/websocket_message.hpp(49): error C2338: static_assert failed: 'the Header struct is not properly packed'
 │ │ %PREFIX%\Library\include\boost/bind.hpp(41): note: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
 │ │ [3/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\http_request.cpp.obj
 │ │ [4/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\http_connection.cpp.obj
 │ │ %PREFIX%\Library\include\boost/bind.hpp(41): note: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
 │ │ [5/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\http_server.cpp.obj
 │ │ [6/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\http_reply.cpp.obj
 │ │ [7/12] Building CXX object CMakeFiles\async_web_server_cpp.dir\src\http_request_handler.cpp.obj
 │ │ %PREFIX%\Library\include\boost/bind.hpp(41): note: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
 │ │ ninja: build stopped: subcommand failed.
 │ │ × error Script failed with status 1
 │ │ × error 
 │ │ × error Script execution failed.

as the original request in #99 only mentioned Linux, let's just skip on Windows.

Re-add web_video_server package for Windows build due to dependency issues.
@traversaro
Copy link
Member

Thanks @jfrancis71 !

@traversaro traversaro merged commit 78b3ee3 into RoboStack:main Sep 7, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants