The spec file currently contains this: %configure --includedir=%{_includedir}/cdda # Using -O0 is mandatory, the build fails otherwise... # Also remove many warnings which we are aware of # Lastly, don't use _smp_mflags since it also makes the build fail make OPT="$RPM_OPT_FLAGS -O0 -Wno-pointer-sign -Wno-unused" -O0 does not appear to be necessary, but LDFLAGS injection is only partially successful. The libraries aren't linked properly: gcc -fpic -shared -o libcdda_interface.so.0.10.2 -Wl,-soname -Wl,libcdda_interface.so.0 scan_devices.o common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o -lm -lrt See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.
Fixed in git.
Would you mind putting this into Fedora 28 as well? Thanks.
cdparanoia-10.2-27.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-3fc8eba5cc
cdparanoia-10.2-27.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3fc8eba5cc
cdparanoia-10.2-27.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.