Description of problem: dhcpv6 can only be built by root, because the file named configure is already shipped in dhcp-0.10.tgz and is read-only. Version-Release number of selected component (if applicable): 0.10-24_EL4 How reproducible: Always Steps to Reproduce: 1. Build dhcpv6 while not being root 2. 3. Actual results: rpmbuild fails during %build phase with : autom4te: cannot open configure: Permission denied Expected results: rpmbuild should end normally Additional info:
Oops, I didn't saw bug 185598 and the %_fixperms workaround. Sorry. I'm not sure that setting %_fixperms is a good idea, since this assumes that all packages have correct %defattr and %attr settings, which is not obvious. It would be better to correct dhcpv6.spec as the user in 185598 suggested.
I am able to build the dhcpv6 package as a non-root user on RHEL 4.7 just fine. You have to create a local rpmbuild directory and set that as your rpmbuild topdir, but this is standard practice. The attached typescript.txt shows what I did.
Created attachment 317840 [details] typescript.txt
Of course the build environment was fine. As I said, setting %_fixperms solved the problem of the non-writable configure file. Thanks for your answer.