void-linux / void-linux/void-packages

Package request: cadabra

Open
#53,851 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

request
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Package name

cadabra

Package homepage

https://cadabra.science

Description

'A field-theory motivated approach to computer algebra'

Does the requested package meet the package requirements?

System, Compiled

Is the requested package released?

Yes

I've been trying to make it myself, but I'm having issues linking files in the install stage.

# Template file for 'cadabra2'
pkgname=cadabra2
version=2.5.10
revision=1
build_style=cmake
hostmakedepends="python3-devel pkg-config glibmm-devel sqlite-devel boost-devel openssl-devel gmp-devel gmpxx-devel gtkmm-devel python3-pybind11 git"
depends="python3-gmpy2 python3-sympy python3-numpy"
checkdepends=$depends
short_desc="Field-theory motivated approach to computer algebra"
maintainer="clos3y <sam.w.close@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://cadabra.science"
changelog="https://cadabra.science/changelog.html"
distfiles="https://github.com/kpeeters/cadabra2/archive/refs/tags/${version}.tar.gz"
checksum=d08bc3a159c677263a4e7ec6823b8e7cef04d540e1a540e1da1ef70c16f6abc7
make_check="ci-skip" # cyclic dependencies

In particular,

=> WARNING: cadabra2-2.5.10_1: renamed '_component.cpython-313-x86_64-linux-gnu.so' to '_component.so'.
=> WARNING: cadabra2-2.5.10_1: renamed '_algorithm.cpython-313-x86_64-linux-gnu.so' to '_algorithm.so'.
=> WARNING: cadabra2-2.5.10_1: renamed 'cadabra2.cpython-313-x86_64-linux-gnu.so' to 'cadabra2.so'.
=> cadabra2-2.5.10_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> cadabra2-2.5.10_1: running post-install hook: 14-fix-permissions ...
=> cadabra2-2.5.10_1: running post-install hook: 15-qt-private-api ...
=> cadabra2-2.5.10_1: running post-install hook: 80-prepare-32bit ...
=> cadabra2-2.5.10_1: running post-install hook: 98-shlib-provides ...
=> cadabra2-2.5.10_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> cadabra2-2.5.10_1: running pre-pkg hook: 03-rewrite-python-shebang ...
   Shebang converted to '#!/usr/bin/python3': /usr/bin/cadabra2
   Shebang converted to '#!/usr/bin/python3': /usr/lib/python3.13/site-packages/cdb_appdirs.py
=> cadabra2-2.5.10_1: running pre-pkg hook: 04-generate-provides ...
=> WARNING: cadabra2-2.5.10_1: missing packaging module!
=> WARNING: cadabra2-2.5.10_1: please add python3-packaging-bootstrap to hostmakedepends to run this check
=> cadabra2-2.5.10_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libstdc++.so.6 <-> libstdc++>=4.4.0_1
   SONAME: libgcc_s.so.1 <-> libgcc>=4.4.0_1
   SONAME: libc.so.6 <-> glibc>=2.39_1
   SONAME: libpython3.13.so.1.0 <-> python3>=3.13.0_1
   SONAME: libboost_program_options.so.1.83.0 <-> libboost_program_options>=1.83.0_1
   SONAME: libsqlite3.so.0 <-> sqlite>=3.38.0_1
   SONAME: libglibmm-2.4.so.1 <-> glibmm>=2.24.0_1
   SONAME: libssl.so.3 <-> libssl3>=3.1.2_1
   SONAME: libcrypto.so.3 <-> libcrypto3>=3.1.2_1
   SONAME: libgtkmm-3.0.so.1 <-> gtkmm>=2.99.5_1
   SONAME: libatkmm-1.6.so.1 <-> atkmm>=2.22.1_1
   SONAME: libgdkmm-3.0.so.1 <-> gtkmm>=2.99.5_1
   SONAME: libgiomm-2.4.so.1 <-> glibmm>=2.24.0_1
   SONAME: libpangomm-1.4.so.1 <-> pangomm>=2.26.0_1
   SONAME: libcairomm-1.0.so.1 <-> cairomm>=1.8.4_1
   SONAME: libsigc-2.0.so.0 <-> libsigc++>=1.1_1
   SONAME: libcairo.so.2 <-> cairo>=1.8.6_1
   SONAME: libglib-2.0.so.0 <-> glib>=2.80.0_1
   SONAME: libfontconfig.so.1 <-> fontconfig>=2.6.0_1
   SONAME: libpangocairo-1.0.so.0 <-> pango>=1.24.0_1
   SONAME: libpango-1.0.so.0 <-> pango>=1.24.0_1
   SONAME: libgobject-2.0.so.0 <-> glib>=2.80.0_1
   SONAME: libm.so.6 <-> glibc>=2.39_1
   SONAME: cadabra2.cpython-313-x86_64-linux-gnu.so <-> UNKNOWN PKG PLEASE FIX!
   SONAME: libgmp.so.10 <-> gmp>=5.0.1_1
   SONAME: libgmpxx.so.4 <-> gmpxx>=6.0.0_2
=> ERROR: cadabra2-2.5.10_1: cannot guess required shlibs, aborting!

cadabra provides its own shlib, but I can't get it to link properly.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the provided cadabra2 template and its build_style=cmake configuration. Reproduce the package build, then inspect the generated runtime-dependency output where cadabra2.cpython-313-x86_64-linux-gnu.so is reported as unknown. Done means the package builds without the shlib-detection error and the requested cadabra package is installable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.