https://bugzilla.novell.com/show_bug.cgi?id=166170 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Development |Development OS/Version|SuSE Linux 10.1 |All Product|SUSE Linux 10.1 |openSUSE 10.2 Platform|x86-64 |All Version|RC 1 |Alpha 5 ------- Comment #10 from andreas.hanke@gmx-topmail.de 2006-10-10 10:31 MST ------- The problem is still present in rpm-4.4.2-57 as distributed with openSUSE 10.2 Alpha 5. Just as an example, rebuilding xorg-x11.src.rpm from Factory fails with the following output: ####### $ rpmbuild -bb xorg-x11.spec suse_update_desktop_file: invalid option -- i error: Unknown option ? in suse_update_desktop_file() suse_update_desktop_file: invalid option -- i error: Unknown option ? in suse_update_desktop_file() suse_update_desktop_file: invalid option -- i error: Unknown option ? in suse_update_desktop_file() suse_update_desktop_file: invalid option -- i error: Unknown option ? in suse_update_desktop_file() suse_update_desktop_file: invalid option -- i error: Unknown option ? in suse_update_desktop_file() suse_update_desktop_file: invalid option -- i error: Unknown option ? in suse_update_desktop_file() error: Unknown option ? in verify_permissions(:-:) Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77856 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + cd . ++ /usr/bin/id -u + '[' 1000 = 0 ']' ++ /usr/bin/id -u + '[' 1000 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . error: Bad exit status from /var/tmp/rpm-tmp.77856 (%prep) RPM build errors: Unknown option ? in suse_update_desktop_file() Unknown option ? in suse_update_desktop_file() Unknown option ? in suse_update_desktop_file() Unknown option ? in suse_update_desktop_file() Unknown option ? in suse_update_desktop_file() Unknown option ? in suse_update_desktop_file() Unknown option ? in verify_permissions(:-:) Bad exit status from /var/tmp/rpm-tmp.77856 (%prep) ####### I know that the build failure is not caused by %suse_update_desktop_file (it's because %setup tries to do something which is not allowed => spec file bug). But the output is highly misleading, many people will conclude that rpm is just broken. Just for clarity: Both %suse_update_desktop_file and %verify_permissions are broken in a way that does *not* cause the build failures, but broken anyway, and this results in error messages which point users into the wrong direction in case there is a build failure for an unrelated reason. I'd like to see this fixed in openSUSE 10.2. -- 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.