Skip to content

Build issue #206

@nateskulic

Description

@nateskulic

Hi!

I wanted to try to build this (in the form of an rpm package).

It stops during a cmake build, right after the pcre2 target.

I think it might have to do with pybind11... I tried using the system provided pybind11, but it couldn't find that for some reason (maybe that is best as a separate issue).

Keep getting an error I can't seem to get any debug on, or get past.

Tried the latest release (4.7.1) and the latest checkout (as of 20250121).

Wondering if you have any clues.

The error follows:

[ 45%] Completed 'pcre2'
/usr/bin/cmake -E make_directory $HOME/rpmbuild/BUILD/dsnote-20250121/redhat-linux-build/CMakeFiles
/usr/bin/cmake -E touch $HOME/rpmbuild/BUILD/dsnote-20250121/redhat-linux-build/CMakeFiles/pcre2-complete
/usr/bin/cmake -E touch $HOME/rpmbuild/BUILD/dsnote-20250121/redhat-linux-build/pcre2-prefix/src/pcre2-stamp/pcre2-done
gmake[2]: Leaving directory '$HOME/rpmbuild/BUILD/dsnote-20250121/redhat-linux-build'
[ 45%] Built target pcre2
gmake[1]: Leaving directory '$HOME/rpmbuild/BUILD/dsnote-20250121/redhat-linux-build'
gmake: *** [Makefile:139: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.HxXc7c (%build)

($HOME is my home)

Using the following to setup cmake:

/usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DWITH_X11_FEATURES=OFF -DWITH_DESKTOP=ON -DBUILD_TAGLIB=OFF -DBUILD_RUBBERBAND=OFF -DBUILD_PYBIND11=ON -DBUILD_XZ=ON -DBUILD_OPENBLAS=OFF -DBUILD_FMT=OFF -DBUILD_LIBARCHIVE=OFF -DWITH_PY=ON -DBUILD_QQC2_BREEZE_STYLE=ON -DBUILD_VOSK=OFF -DBUILD_CATCH2=OFF -DBUILD_WHISPERCPP_VULKAN=ON -DBUILD_FFMPEG=ON -DBUILD_BERGAMOT=OFF -DBUILD_RHVOICE=OFF -DBUILD_RHVOICE_MODULE=OFF -DDOWNLOAD_LIBSTT=OFF -DBUILD_ESPEAK_MODULE=OFF -DBUILD_WHISPERCPP_CUBLAS=OFF -DBUILD_WHISPERCPP_HIPBLAS=OFF

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions