https://bugzilla.novell.com/show_bug.cgi?id=667711 https://bugzilla.novell.com/show_bug.cgi?id=667711#c0 Summary: rpmbuild does not %files to contain broken symlinks even when legitimate Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: archie@dellroad.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 If you attempt to include a broken symlink in your RPM fileset, rpmbuild fails with: ERROR: link target doesn't exist (neither in build root nor in installed system): Add the package providing the target to neededforbuild and Requires While the intent here it noble, this check is overly-conservative and should be removed, or at least, there should be some way to disable it. This check is invalid because it breaks two perfectly legitimate cases: (1) When your RPM A contains a symlink to a file contained in another RRM B, and RPM A Requires: B (2) When your RPM wishes to store non-filename information in a symlink (an admittedly obscure case, but perfectly legal nonetheless) Reproducible: Always Steps to Reproduce: %install ln -s /nonexistent /somefile %files /somefile Actual Results: ERROR: link target doesn't exist (neither in build root nor in installed system): /somefile -> /nonexistent Add the package providing the target to neededforbuild and Requires Expected Results: rpm build successful -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.