Package Details: libsbml 5.20.2-1

Git Clone URL: (read-only, click to copy)
Package Base: libsbml
Description: XML-based description language for computational models in systems biology
Upstream URL:
Licenses: LGPL
Submitter: mschu
Maintainer: mschu
Last Packager: mschu
Votes: 5
Popularity: 0.000000
First Submitted: 2011-04-24 08:52 (UTC)
Last Updated: 2023-10-23 19:39 (UTC)

Dependencies (12)

Sources (1)

Latest Comments

1 2 Next › Last »

pbordron commented on 2022-05-28 21:59 (UTC)

Got an error when installing the version 5.19..5

error: failed to commit transaction (conflicting files)
libsbml: /usr/share/cmake/Modules/FindZLIB.cmake exists in filesystem (owned by cmake)
Errors occurred, no packages were upgraded.
 -> exit status 1

I think it is related with this issue ->

I did a quick in the package part by removing problematic files.

package() {
  cd "$srcdir"/build-$pkgver
  DESTDIR="$pkgdir" cmake -DCMAKE_INSTALL_PREFIX=/usr -P cmake_install.cmake
  rm "$pkgdir"/usr/share/cmake/Modules/FindZLIB.cmake
  rm "$pkgdir"/usr/share/cmake/Modules/FindBZ2.cmake

please, could you update the build part using -DWITH_STABLE_PACKAGES=ON option instead of the individual -DENABLE_ options?

build() {
  cd "$srcdir"/$pkgname-$pkgver

  mkdir -p "$srcdir"/build-$pkgver && cd "$srcdir"/build-$pkgver
  cmake ../$pkgname-$pkgver \


pbordron commented on 2022-01-12 14:57 (UTC) (edited on 2022-01-12 14:58 (UTC) by pbordron)

Thanx for the update.

I think it is possible to simplify the recipe by replacing all the -DENABLE_*=ON in build section by -DWITH_STABLE_PACKAGES=ON. This way, new stable packages will be automatically build with next versions of libsbml.

It is also possible to activate experimental packages by using -DWITH_ALL_PACKAGES=ON instead. Maybe it will be interesting to have a libsbml-experimental like SBMLTeam provides for conda

pbordron commented on 2022-01-12 12:36 (UTC) (edited on 2022-01-12 12:36 (UTC) by pbordron)

I just saw that a pre-release version (5.19.2) corrects the bug

pbordron commented on 2022-01-12 11:03 (UTC)

Got this error with python-3.10

Can be corrected with this patch:

mschu commented on 2017-06-06 23:24 (UTC)

I tracked this down to the "groups" package. If you don't need it see if disabling helps, I will see if I find the exact error.

deeenes commented on 2017-06-06 08:45 (UTC)

The compiled Python2 module throws this error on import: >>> import libsbml Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/lib/python2.7/site-packages/libsbml/", line 18, in <module> _libsbml = swig_import_helper() File "/usr/lib/python2.7/site-packages/libsbml/", line 17, in swig_import_helper return importlib.import_module('_libsbml') File "/usr/lib/python2.7/importlib/", line 37, in import_module __import__(name) ImportError: /usr/lib/python2.7/site-packages/libsbml/ undefined symbol: _ZN5Group9unsetKindEv I am aware that webpage of libSBML says: "If a user's environment includes an old version of this library file, and it is picked up at run-time instead of the correct library version, linking may fail with mysterious errors about undefined symbols." However either at compile time or run time I have only version 5.15.0 of libsbml: $ ldd /usr/lib/python2.7/site-packages/libsbml/ (0x00007fff40784000) => /usr/lib/ (0x00007fcff40e4000) => /usr/lib/ (0x00007fcff3cfa000) => /usr/lib/ (0x00007fcff3adc000) => /usr/lib/ (0x00007fcff38d9000) => /usr/lib/ (0x00007fcff3571000) => /usr/lib/ (0x00007fcff334b000) => /usr/lib/ (0x00007fcff2ecb000) => /usr/lib/ (0x00007fcff2b1a000) => /usr/lib/ (0x00007fcff1007000) => /usr/lib/ (0x00007fcff0e03000) => /usr/lib/ (0x00007fcff0bec000) => /usr/lib/ (0x00007fcff09dc000) => /usr/lib/ (0x00007fcff0651000) => /usr/lib/ (0x00007fcff033f000) => /usr/lib/ (0x00007fcfeff9a000) => /usr/lib/ (0x00007fcfefd83000) /usr/lib64/ (0x000055d1c974b000) $ ls -la /usr/lib/ lrwxrwxrwx 1 root root 17 Jun 4 17:53 /usr/lib/ -> $ pacman -Qs libsbml local/libsbml 5.15.0-1 XML-based description language for computational models in systems biology I also checked if I have any other libsbml in any other path used by gcc or ld, but found nothing else.

mschu commented on 2017-06-03 17:09 (UTC)

Fixed, thank you. Also enabled Ruby support by default, but not Java.

vdubikhin commented on 2017-05-27 23:41 (UTC) (edited on 2017-05-28 01:42 (UTC) by vdubikhin)

I have noticed that, although your package downloads core+packages version of the library, additional packages are not installed by default. If possible, could you, please, modify your package file to include those extra packages? To do so you need to change configure command to look like this: ./configure --prefix=/usr \ --with-python=yes --with-python-interpreter=/usr/bin/python2 \ --with-java=no \ --with-perl=yes \ --with-octave=no \ --with-csharp=no \ --with-ruby=no \ --with-matlab=no \ --enable-layout=yes \ --enable-comp=yes \ --enable-fbc=yes \ --enable-qual=yes --enable-groups=yes

jakobcreutzfeldt commented on 2014-06-13 09:40 (UTC)

The build fails for me (including on the latest version, 5.10.0) unless I override the Make parrallel-build argument (I have to add "-j1" to the "make" command in the build function).

mschu commented on 2013-03-20 17:02 (UTC)

I will update this once I get home (one week from now). If that's too late, please someone paste a PKGBUILD.