# rpmbuild --rebuild "openjpeg2-2.5.0-3.fc38.src.rpm" results in the error: /usr/bin/ld: cannot find -lLerc: No such file or directory Installing liblerc-devel resolves the issue and allows the package to build successfully. The spec file should be updated to include a Build Prerequisite for liblerc-devel. Reproducible: Always Steps to Reproduce: Run the following without liblerc-devel installed: # rpmbuild --rebuild "openjpeg2-2.5.0-3.fc38.src.rpm" Actual Results: Makefile command: /usr/lib64/ccache/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=znver2 -mtune=znver2 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic CMakeFiles/opj_decompress.dir/opj_decompress.c.o CMakeFiles/opj_decompress.dir/convert.c.o CMakeFiles/opj_decompress.dir/convertbmp.c.o CMakeFiles/opj_decompress.dir/index.c.o CMakeFiles/opj_decompress.dir/__/common/color.c.o CMakeFiles/opj_decompress.dir/__/common/opj_getopt.c.o CMakeFiles/opj_decompress.dir/converttif.c.o CMakeFiles/opj_decompress.dir/convertpng.c.o -o ../../../bin/opj2_decompress -Wl,-rpath,/home/joseph/rpmbuild/BUILD/openjpeg-2.5.0/redhat-linux-build/bin: ../../../bin/libopenjp2.so.2.5.0 -lpng -lz -ltiff -ltiff -lwebp -lzstd -lLerc -ljbig -ljpeg -lz -lm -llcms2 -llcms2 -lm -lz -lm -lrt -ltiff -ltiff -lwebp -lzstd -lLerc -ljbig -ljpeg -lz -llcms2 -llcms2 -lm -lrt Produces Error: /usr/bin/ld: cannot find -lLerc: No such file or directory Expected Results: Should error out before rebuild starts with an error message that it is missing the Build Prerequisite liblerc-devel.
FEDORA-2023-e005f257c8 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e005f257c8
FEDORA-2023-e1b677cf5a has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e1b677cf5a
FEDORA-2023-0f0e6ddea3 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0f0e6ddea3
FEDORA-2023-e005f257c8 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e005f257c8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e005f257c8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-0f0e6ddea3 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-0f0e6ddea3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-0f0e6ddea3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-e1b677cf5a has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e1b677cf5a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e1b677cf5a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-e1b677cf5a has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-e005f257c8 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-0f0e6ddea3 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.