Skip to content

marisa: update to 0.3.1.#61278

Merged
Duncaen merged 1 commit into
void-linux:masterfrom
forcol:marisa-contrib
Jun 28, 2026
Merged

marisa: update to 0.3.1.#61278
Duncaen merged 1 commit into
void-linux:masterfrom
forcol:marisa-contrib

Conversation

@forcol

@forcol forcol commented Jun 28, 2026

Copy link
Copy Markdown

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, x86_64
  • I built this PR locally for these architectures:
    • i686 (crossbuild)
    • aarch64 (crossbuild)

Reason for this update

The previous template for marisa (0.2.6) explicitly hardcoded --enable-popcnt in its configure arguments for x86_64. This caused an Illegal instruction crash on older x86_64 CPUs that lack native SSE4.2 POPCNT support (such as the Intel Core 2 Duo P8600).

This PR updates marisa to 0.3.1, which migrates the build system from Autotools to CMake. By adopting the new version and keeping -DENABLE_NATIVE_CODE=OFF, the problematic hardcoded popcnt flag is safely dropped..

Comment thread srcpkgs/marisa/template Outdated
build_style=gnu-configure
hostmakedepends="autoconf automake libtool"
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_NATIVE_CODE=OFF -DBUILD_TESTING=OFF"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove CMAKE_BUILD_TYPE which is set to none so that xbps-src cflags are used and CMAKE_INSTALL_PREFIX because that is already set too.

cmake_args+=" -DCMAKE_INSTALL_PREFIX:PATH=/usr"
cmake_args+=" -DCMAKE_BUILD_TYPE=None"

@Duncaen Duncaen merged commit 639cdb7 into void-linux:master Jun 28, 2026
8 checks passed
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.

2 participants