SkyWhiteEagle opened a new issue, #643: URL: https://github.com/apache/celix/issues/643
Hi, I don't think this is related to #642 so I'm opening another issue. I am trying to make a project using Celix. I am using Conan V2 and CMake to build the project. I locally exported the Conan recipe from the master branch (https://github.com/apache/celix/commit/e1d7fc1b544bc2c43cbcdb6b76f1b66fffccad96, as far as I can tell, the previous release is not Conan V2 compatible) and required it in my consumer recipe. I set the following in my recipe: ```python requires = ( "celix/2.3.0", ) default_options = { "celix/*:build_framework": True, "celix/*:build_shell_tui": True, "celix/*:build_shell_wui": True, } def layout(self): cmake_layout(self) def generate(self): # This generates "conan_toolchain.cmake" in self.generators_folder tc = CMakeToolchain(self) tc.generate() # This generates "foo-config.cmake" and "bar-config.cmake" in self.generators_folder deps = CMakeDeps(self) deps.generate() ``` In my CMake I have: ```cmake add_celix_container(TestCelixContainer CXX BUNDLES Celix::ShellCxx Celix::shell_tui ) # Patch mentioned in #642 target_link_libraries(TestCelixContainer PRIVATE libzip::zip ) ``` When running the container in release, I get: ```text [2023-09-17T16:46:56] [ error] [celix_framework] [celix_framework_utils_extractBundlePath:217] No such file or directory(0x2): "Could not extract bundle zip file `bundles/celix_ShellCxx.zip` to `.cache/bundle1/resources`"; Cause: No such file or directory [2023-09-17T16:46:56] [ error] [celix_framework] [celix_bundleArchive_extractBundle:164] Failed to initialize archive. Failed to extract bundle zip to revision directory. [2023-09-17T16:46:56] [ error] [celix_framework] [celix_bundleArchive_createCacheDirectory:198] Failed to initialize archive. Failed to extract bundle. [2023-09-17T16:46:56] [ error] [celix_framework] [celix_bundleArchive_create:322] No such file or directory(0x2): "Could not create archive."; Cause: Failed to initialize archive or create manifest. [2023-09-17T16:46:56] [ error] [celix_framework] [celix_bundleCache_createArchive:222] No such file or directory(0x2): Failed to create archive. [2023-09-17T16:46:56] [ error] [celix_framework] [celix_framework_installBundleInternalImpl:686] No such file or directory(0x2): Could not install bundle [2023-09-17T16:46:56] [ error] [celix_framework] [framework_autoInstallConfiguredBundlesForList:538] Could not install bundle from location 'celix_ShellCxx.zip'. [2023-09-17T16:46:56] [ error] [celix_framework] [framework_start:471] Could not auto start or install all configured bundles -> [2023-09-17T16:46:56] [ info] [celix_framework] [framework_start:476] Celix framework started [2023-09-17T16:46:56] [ info] [celix_framework] Framework error event received -> registering framework.error condition service ``` In debug however, the container works like a charm. In can see no obvious difference between the release and debug folder. beside the fact that the bundles have a `-Debug` suffix. Even more puzzling to me, in the `.cache` or the release, I see a `bundle2` folder, does that mean that the shell TUI bundle was extracted just fine? Thanks in advance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org