Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: cadabra #53851

Open
Clos3y opened this issue Jan 5, 2025 · 0 comments
Open

Package request: cadabra #53851

Clos3y opened this issue Jan 5, 2025 · 0 comments
Labels
request Package request

Comments

@Clos3y
Copy link
Contributor

Clos3y commented Jan 5, 2025

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.

@Clos3y Clos3y added the request Package request label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

1 participant