Bug 2512861
| Summary: | Building cmake packages that require libsndfile need a missing .cmake file, can't get the compilation to work | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Owen Zimmerman <owen> |
| Component: | libsndfile | Assignee: | Andreas Thienemann <andreas> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 45 | CC: | andreas, dominik, mhlavink |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| URL: | https://src.fedoraproject.org/fork/owensz/rpms/libsndfile/c/41816915993f775307cbae550fba9be4a0b4efab?branch=cmakeswitch | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2218117 | ||
|
Description
Owen Zimmerman
2026-08-09 05:42:29 UTC
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. |