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

Update bliss to 0.77 #34747

Closed
mkoeppe opened this issue Nov 14, 2022 · 9 comments
Closed

Update bliss to 0.77 #34747

mkoeppe opened this issue Nov 14, 2022 · 9 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Nov 14, 2022

Using the fork https://github.com/ds4dm/Bliss

(see mkoeppe/bliss#3)

CC: @kiwifb

Component: packages: optional

Author: Matthias Koeppe

Branch/Commit: u/mkoeppe/update_bliss_to_0_77 @ 46dc79b

Issue created by migration from https://trac.sagemath.org/ticket/34747

@mkoeppe mkoeppe added this to the sage-9.8 milestone Nov 14, 2022
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 14, 2022

Branch: u/mkoeppe/update_bliss_to_0_77

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 14, 2022

New commits:

67c5c84build/pkgs/bliss: Update to 0.77+ds4dm

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 14, 2022

Commit: 67c5c84

@dcoudert
Copy link
Contributor

comment:3

I tried on macOS silicon (M1) 12.6.1 and get multiple dockets errors, all

sage -t --warn-long 33.5 --random-seed=322045618648464306013656253226348851101 src/sage/graphs/bliss.pyx
**********************************************************************
File "src/sage/graphs/bliss.pyx", line 413, in sage.graphs.bliss.canonical_form
Failed example:
    from sage.graphs.bliss import canonical_form                  # optional - bliss
Exception raised:
    Traceback (most recent call last):
      File "/Users/dcoudert/sage/src/sage/doctest/forker.py", line 695, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/Users/dcoudert/sage/src/sage/doctest/forker.py", line 1093, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.graphs.bliss.canonical_form[0]>", line 1, in <module>
        from sage.graphs.bliss import canonical_form                  # optional - bliss
    ImportError: dlopen(/Users/dcoudert/sage/src/sage/graphs/bliss.cpython-310-darwin.so, 0x0002): Library not loaded: '/Users/dcoudert/sage/local/lib/libbliss.2.dylib'
      Referenced from: '/Users/dcoudert/sage/src/sage/graphs/bliss.cpython-310-darwin.so'
      Reason: tried: '/Users/dcoudert/sage/local/lib/libbliss.2.dylib' (no such file), '/usr/local/lib/libbliss.2.dylib' (no such file), '/usr/lib/libbliss.2.dylib' (no such file)

I see file /Users/dcoudert/sage/local/lib/libbliss.a but not libbliss.2.dylib.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 14, 2022

comment:4

Thanks for testing! Indeed the shared library seems to be missing; I'll investigate

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 14, 2022

Changed commit from 67c5c84 to 46dc79b

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 14, 2022

Branch pushed to git repo; I updated commit sha1. New commits:

46dc79bbuild/pkgs/bliss/spkg-install.in: Use -DBUILD_SHARED_LIBS=ON

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Nov 14, 2022

comment:7

Remaining issue on macOS: ds4dm/Bliss#8

@antonio-rojas
Copy link
Contributor

comment:8

Duplicate #33010

@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Dec 31, 2022
@mkoeppe mkoeppe removed this from the sage-10.0 milestone Apr 30, 2023
@mkoeppe mkoeppe closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants