https://bugzilla.novell.com/show_bug.cgi?id=225633 Summary: problem with /usr/lib/rpm/find-supplements.ksyms Product: openSUSE 10.2 Version: RC 5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: mls@novell.com ReportedBy: suse-tux@gmx.de QAContact: qa@suse.de CC: mrueckert@novell.com It seems that there's a problem with the find-supplements.ksyms script when you're building an rpm with rpmbuild: .. Finding Provides: /usr/lib/rpm/find-provides cyrus-imapd-kolab-testing Finding Requires: /usr/lib/rpm/find-requires cyrus-imapd-kolab-testing sed: can't read /usr/src/packages/SOURCES/cyrus-imapd-kolab-testing.spec: No such file or directory .. The first problem is that the "$RPM_SOURCE_DIR" is hardcoded which isn't a good idea IMHO (RPM_SOURCE_DIR=/usr/src/packages/SOURCES). Normally you didn't build as root so you use a different %_topdir (because a normal user has no write-access to /usr/src/packages/*). The second problem is that you have a different structure when you're building with rpmbuild: %_topdir/SPECS <= for specfiles %_topdir/SOURCES <= for sources .. It's not a good idea to look for the specfile in the sourcedir. So it only works correct in combination with "lbuild" or "build" because these tools put everything into the sourcedir (iirc). -- 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, or are watching someone who is.