Bug#902109: clasp: Please install static library (and build with -fPIC)

Julian Andres Klode jak at debian.org
Fri Jun 22 11:45:07 BST 2018


Package: clasp
Version: 3.3.3-3
Severity: wishlist
Tags: patch

Hi,

the attached patch does three things:

(1) Ship the static library in the package
(2) Make the package provide libclasp-dev (= ${binary:Version}), so packages can depend on that,
    in case we want to split it out
(3) makes clasp build with -fPIC, so we can link the static library into shared libraries

This will allow us to ship apt-solver-kalel[1] in Debian, and provide it as a shared library that
we can load into an apt process to avoid the overhead from EDSP and/or make it the default
solver.

[1] https://salsa.debian.org/apt-team/apt-solver-kalel


-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (100, 'cosmic-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clasp depends on:
ii  libc6       2.27-3ubuntu1
ii  libgcc1     1:8.1.0-8ubuntu1
ii  libstdc++6  8.1.0-8ubuntu1

Versions of packages clasp recommends:
ii  gringo  5.2.2-6

clasp suggests no packages.

-- no debconf information

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clasp-build-library.diff
Type: text/x-diff
Size: 2025 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180622/8adde66f/attachment-0001.diff>


More information about the debian-science-maintainers mailing list