clodl icon indicating copy to clipboard operation
clodl copied to clipboard

Turn dynamically linked ELF binaries and libraries into self-contained closures.

Results 14 clodl issues
Sort by recently updated
recently updated
newest added

The tests cover a haskell_binary with a haskell_toolchain_library dependency but not a haskell_binary with a haskell_library or even haskell_cabal_library dependency. It might be good to add such test cases as...

Se the discussion here https://github.com/tweag/clodl/pull/36#discussion_r540817939 Related to this, we had a request to use tar as an archiving format in #31. If tar files were easier to make reproducible, it...

``` ERROR: /home/centos/clodl/BUILD:54:16: Linking of rule '//:libclotest_wrapper.so' failed (Exit 1) gcc failed: error executing command /nix/store/8pbwywcj6vbswz7xmy2dh716x8blgh8w-gcc-wrapper-9.3.0/ bin/gcc @bazel-out/k8-fastbuild/bin/libclotest_wrapper.so-2.params Use --sandbox_debug to see verbose messages from the sandbox /nix/store/p792j5f44l3f0xi7ai5jllwnxqwnka88-binutils-2.31.1/bin/ld.gold: error: bazel-out/k8-fastbuild/bin/_solib_k8/_U_S_S_Clibclotest_Uwrapper.so___Uclotest_UUsolib/libhello-hs.so:...

I had build `clotestbin-cc-pie.sh` on nixos using: ``` nix-shell bazel build //:clotestbin-cc-pie ``` After coping `clotestbin-cc-pie.sh` to another computer, I realized that the closure depends on the static linker of...

From current master: Build works ``` # in git checkout of clodl $ nix-shell [nix-shell:~/tweag/clodl]$ bazel build //:clotestbin-cc-pie INFO: Analysed target //:clotestbin-cc-pie (0 packages loaded). INFO: Found 1 target... Target...

Fails with bazel 0.22: ``` root@f19bb6a322bd:/clodl# bazel build //:clotestbin-cc Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Invocation ID: 0544d3f9-ac19-42c3-b50f-6c8ef4329a5b ERROR: error loading package '': Encountered...

cc_library doesn't link the dependencies into the library, which makes relying on ldd insuficient to find the dependencies. We will have to see how to find them. Failing that we...

This likely requires using cc_haskell_import or writing some adapter rule for the purpose. As it stands, `haskell_library` doesn't yield the shared library in the outputs. cc_haskell_import was not forwarding some...

Hi, I'm new to clodl and using it to package a binary in a Bazel project for cross-platform compatibility. However, I'm facing some problems and hope to get some help....

The closures built by clodl are likely useful to anyone who needs to deliver portable binaries. There is no technical reason that requires running our scripts from bazel rules, so...