Fedora Account System
Red Hat Associate
Red Hat Customer
I am working on fixing the Terra zrythm package and getting this error: https://github.com/terrapkg/packages/actions/runs/31284837876/job/93171757325?pr=13046#step:8:220 It needs a `.cmake` file that is currently not packaged by libsndfile as it's using the autotools build system. I tried switching the package to the cmake build system myself, but getting an error I cannot figure out, if someone could assist me in finding a solution that would be great. Here is my attempt: https://src.fedoraproject.org/fork/owensz/rpms/libsndfile/c/41816915993f775307cbae550fba9be4a0b4efab?branch=cmakeswitch Reproducible: Always Steps to Reproduce: 1. Switch to the cmakeswitch branch on my fork 2. Attempt a build Actual Results: /usr/bin/ld.bfd: libsndfile.so.1.0.37: undefined reference to `gsm610_init' Expected Results: The package should build and linked to libgsm properly.
Can you open a PR? Also, please do not disable tests: +%dnl LD_LIBRARY_PATH=$PWD/src/.libs make check
(In reply to Owen Zimmerman from comment #0) gsm610_init is part of libsndfile wrapper for gsm. $ grep gsm610_init -r src/aiff.c: error = gsm610_init (psf) ; src/wav.c: error = gsm610_init (psf) ; src/w64.c: error = gsm610_init (psf) ; src/gsm610.c:gsm610_init (SF_PRIVATE *psf) src/gsm610.c:} /* gsm610_init */ src/common.h:int gsm610_init (SF_PRIVATE *psf) ; src/raw.c: error = gsm610_init (psf) ; > Actual Results: > /usr/bin/ld.bfd: libsndfile.so.1.0.37: undefined reference to `gsm610_init' > > It does link properly to libgsm > Expected Results: > The package should build and linked to libgsm properly. This patch fixes building libsndfile with cmake https://src.fedoraproject.org/rpms/libsndfile/pull-request/8 I doubt fedora will switch build systems until %check is fixed, ctest fails to find the tests.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle. Changing version to 45.