From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050520 Fedora/1.7.8-1.icc Description of problem: In the course of rebuilding this package, the files to be packaged are written to /usr/X11R6/lib/X11/xcin/, their final location. The files should be written to %_tmppath/xcin-buildroot/usr/X11R6/lib/X11/xcin/ prior to packaging. Version-Release number of selected component (if applicable): xcin-2.5.3.pre3-24 How reproducible: Didn't try Steps to Reproduce: 1.Run: rpmbuild --rebuild xcin-2.5.3.pre3-24.src.rpm 2.Build fails because the files are not in the expected location 3. Actual Results: The contents of /usr/X11R6/lib/X11/xcin/ are ovewritten by the files to be packaged, then the packaing fails because the files are not found in the correct location. Expected Results: The file to be packaged should be written beneath %_tmppath/xcin-buildroot/. Additional info: A request: please do test builds on a system with /usr mounted read-only. I'm seeing way too many RHEL4 package builds that erroneously write to a directory beneath /usr in the course of the processing. Only directories beneath %_tmppath and %_builddir should be written to during a package build. Mounting /usr as read-only would let you catch these spec file mistakes before your customers do. Thanks.
Created attachment 150719 [details] local build log Test built on a system with /usr/X11R6/lib/X11/xcin as a read-only empty file. - SUCCESS OS: RHEL4-U5 (beta) Package: xcin-2.5.3.pre3-25