Created attachment 498987 [details] Build with $RPM_OPT_FLAGS grub2 1.99-0.1 is not built with $RPM_OPT_FLAGS due to a sed error, http://kojipkgs.fedoraproject.org/packages/grub2/1.99/0.1.fc16/data/logs/x86_64/build.log ++ sed -e s/-fstack-protector//g -e s/--param=ssp-buffer-size=4//g -e s/-mregparm=3/-mregparm=4//g -e s/-fasynchronous-unwind-tables//g sed: -e expression #3, char 27: unknown option to `s' There's one slash too many in "s/-mregparm=3/-mregparm=4//g". Fix attached, and CFLAGS setting moved to before %configure so any errors in it will break the build instead of failing semi-silently. However applying this patch will cause the build to fail at least for some reasons (maybe there's still something in optflags that needs to be filtered out). 1.98-3 did not have this problem, and it was built with full $RPM_OPT_FLAGS. Two other unrelated issues that should be fixed: %changelog entries are missing for > 1.98-4. The release tag is not compliant to packaging guidelines, it should be 0.X.rc1%{?dist} instead of just 0.x%{?dist}.
Fixed in rawhide, grub2-1.99-1.fc17 F16 build coming soon. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
(In reply to comment #1) > Fixed in rawhide, grub2-1.99-1.fc17 It is not fixed, the sed error is still there (also in 1.99-4.16) and $RPM_OPT_FLAGS are not being used: http://kojipkgs.fedoraproject.org/packages/grub2/1.99/1.fc17/data/logs/x86_64/build.log ++ sed -e s/-fstack-protector//g -e s/--param=ssp-buffer-size=4//g -e s/-mregparm=3/-mregparm=4//g -e s/-fexceptions//g -e s/-fasynchronous-unwind-tables//g sed: -e expression #3, char 27: unknown option to `s'
*** Bug 731111 has been marked as a duplicate of this bug. ***
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
grub2-1.99-13.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/grub2-1.99-13.fc16
Package grub2-1.99-13.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing grub2-1.99-13.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16975/grub2-1.99-13.fc16 then log in and leave karma (feedback).
grub2-1.99-13.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.