Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74284 - [sympol] FTBFS

Attached to Project: Community Packages
Opened by rvalue (rvalue) - Thursday, 31 March 2022, 00:04 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 31 March 2022, 06:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Investigation shows that one of the dependency, bliss, had interface change since version 0.75[1]. Probably because sympol doesn't require bliss in runtime when built with an old version of bliss, it didn't get rebuilt when bliss is updated.

Also, the linker generates reference to libbliss.so from libsympol.so.0.1.9 so bliss should be moved from makedepends to depends.

Suggested changes are attatched.

[1]: https://users.aalto.fi/~tjunttil/bliss/CHANGES.txt

Related log:

---
[ 84%] Building CXX object sympol/CMakeFiles/sympol.dir/yal/usagestats.cpp.o
/build/sympol/src/SymPol-0.1.9/sympol/symmetrygroupconstruction/graphconstructionbliss.cpp: In member function ‘virtual boost::shared_ptr<permlib::BSGS<permlib::Permutation, permlib::SchreierTreeTransversal<permlib::Permutation> > > sympol::GraphConstructionBliss::compute(const sympol::MatrixConstruction*) const’:
/build/sympol/src/SymPol-0.1.9/sympol/symmetrygroupconstruction/graphconstructionbliss.cpp:81:37: error: cannot convert ‘void(void*, unsigned int, const unsigned int*)’ to ‘const std::function<void(unsigned int, const unsigned int*)>&’
81 | G.find_automorphisms(stats, blisshook, &data);
| ^~~~~~~~~
| |
| void(void*, unsigned int, const unsigned int*)
In file included from /usr/include/bliss/graph.hh:22,
from /build/sympol/src/SymPol-0.1.9/sympol/symmetrygroupconstruction/graphconstructionbliss.cpp:10:
/usr/include/bliss/abstractgraph.hh:175:95: note: initializing argument 2 of ‘void bliss::AbstractGraph::find_automorphisms(bliss::Stats&, const std::function<void(unsigned int, const unsigned int*)>&, const std::function<bool()>&)’
175 | const std::function<void(unsigned int n, const unsigned int* aut)>& report = nullptr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
[ 88%] Linking CXX executable test-rank
make[2]: *** [sympol/CMakeFiles/sympol.dir/build.make:314: sympol/CMakeFiles/sympol.dir/symmetrygroupconstruction/graphconstructionbliss.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 88%] Built target test-rank
---
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 31 March 2022, 06:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  sympol 0.1.9-11
Comment by Antonio Rojas (arojas) - Thursday, 31 March 2022, 06:39 GMT
> Probably because sympol doesn't require bliss in runtime when built with an old version of bliss, it didn't get rebuilt when bliss is updated

Correct, bliss used to be a static library the last time sympol was compiled.

Loading...