Bug#858626: libllvm-3.8-ocaml-dev: Package is empty

Cyril Soldani cyril.soldani at legiasoft.com
Wed Apr 12 16:00:20 UTC 2017


On Sun, 9 Apr 2017 14:36:14 +0200
Sylvestre Ledru <sylvestre at debian.org> wrote:
> If you are interested to bring it back, please start from r2529
> (and try in a clean pbuilder, your patch had missing build deps)

I could not make it work for r2529 specifically (some dependency
generation problems with `dh_shlibdeps` at the end of the build), but
attached patch seems to work with later r2543. Is it OK? I can
investigate r2529 some more if necessary.

Here are the steps I took:

    sudo pbuilder clean
    sudo pbuider update

    mkdir libllvm-3.8-ocaml-dev-test
    cd libllvm-3.8-ocaml-dev-test
    debcheckout llvm-toolchain-3.8  # Checked out r2543
    cd llvm-toolchain-3.8
    patch -p0 < ../../libllvm-3.8-ocaml-dev-enable.patch
    sudo pdebuild -- --debbuildopts "-j6 -b -uc -us"  # Have a walk

    cd /var/cache/pbuilder/result
    dpkg -c libllvm-3.8-ocaml-dev_3.8.1-19\~exp4_amd64.deb # Looks OK
    sudo dpkg -i libllvm-3.8-ocaml-dev_3.8.1-19\~exp4_amd64.deb \
        llvm-3.8-dev_3.8.1-19\~exp4_amd64.deb \
        libllvm3.8_3.8.1-19\~exp4_amd64.deb \
        llvm-3.8_3.8.1-19\~exp4_amd64.deb \
        llvm-3.8-runtime_3.8.1-19\~exp4_amd64.deb

I then tested the library with some of my OCaml codebase, and it looks
fine so far. My tests are far from exhaustive, but result certainly
looks better than with the empty package :-)

> This is blocking me on other bugs and I don't have time for this bug.

I am already grateful that you are willing to accept contributions for
this seldom-used package. I hope this patch applies more cleanly.

Thanks,
-- 
"Liberty and democracy become unholy when their hands are dyed red
 with innocent blood."                                  Mahatma Gandhi

Cyril Soldani <cyril.soldani at legiasoft.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libllvm-3.8-ocaml-dev-enable.patch
Type: text/x-patch
Size: 5105 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20170412/eac30100/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20170412/eac30100/attachment.sig>


More information about the Pkg-llvm-team mailing list