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 igraph and fix build #589

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Update igraph and fix build #589

wants to merge 6 commits into from

Conversation

xiota
Copy link

@xiota xiota commented Sep 15, 2024

Fixes problems preventing build on Arch Linux. Closes #588

@harnhua
Copy link

harnhua commented Sep 18, 2024

Thank you for these updates.
I was able to apply these to the current published branch and build successfully on an M1 Mac.

@RenWal
Copy link
Contributor

RenWal commented Oct 14, 2024

Thanks for the contribution!

We may want to reconsider the choice for which plugins to build by default; your proposed change in 98a8e06 would cause the build to include the entire simulator toolchain by default, which comes with a bunch of dependency concerns. See my comment here: #588 (comment)

@SJulianS: any reservations against bumping igraph to 0.10.13?

@szhorvat
Copy link

Consider bumping to 0.10.15.

@xiota
Copy link
Author

xiota commented Nov 11, 2024

This PR no longer cleanly applies to HEAD. Was previously planning to rebase, but decided not to because emsec developers did not respond to the issue report or this PR.

With latest commit (f715873), cherry-picking the following commits from this PR should allow successful build with vendored igraph (0.10.12).

  • f67c717 - Add missing algorithm header
  • c3d3b81 - Cast Z3_decl_kind to std::size_t

Building all plugins produces errors related to fmt. System igraph may not work depending on system config (igraph_LIBRARIES set to NOTFOUND).

@joern274
Copy link
Contributor

@xiota : I guess it is me who is to blame for "emsec developer did not respond". I am sorry that I could not deal with this PR until now. Previously I was testing Arch Linux related fixes on a virtual machine running under VMplayer which doesn't work any more after VMware became part of the Broadcom company. There might be many workarounds (making this a lousy excuse :-) - however, they will need time and effort, thus Arch Linux related fixes have been postponed a little bit.

@xiota
Copy link
Author

xiota commented Nov 11, 2024

@joern274 Thanks for the explanation. I didn't want to open more Issues/PRs in case they weren't wanted or end up being more distracting than helpful. It did look like someone might have seen the issue and PR because some commits were potentially related.

Now only the two aforementioned commits from this PR (f67c717, c3d3b81) are needed to build. A working PKGBUILD that applies them is available at aur/hal-emsec-git. (The old package was deleted.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to build on Arch Linux
5 participants