Description of problem: I was trying to build a package from jpackage, and rpmbuild bailed out with "error: Installed (but unpackaged) file(s) found:" and gave the path of a symlink. However, the symlink should have been matched by a wildcard in the %files section. I manually expanded the wildcard, built again, and got the same error. I have attached a reduced test case. Version-Release number of selected component (if applicable): rpm-build-4.4.1-20 How reproducible: Always Steps to Reproduce: 1. Download attached file testcase.spec 2. rpmbuild -bb testcase.spec Actual results: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.82777 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.82777 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.82777 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/testcase-1.0-buildroot + mkdir -p /var/tmp/testcase-1.0-buildroot/usr/share + cd /var/tmp/testcase-1.0-buildroot/usr/share + touch dest + ln -s dest link + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump Processing files: testcase-1.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/testcase-1.0-buildroot error: Installed (but unpackaged) file(s) found: /usr/share/link RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/link Expected results: Should build successfully
Created attachment 114750 [details] reduced test case
Upgraded rpm-libs to 4.4.1-20 and now I can't reproduce this bug. Marking as RAWHIDE.