Am 21.08.2015 um 23:46 schrieb Andrew Neuschwander <andrew.neuschwander at nih.gov>: > On 08/21/2015 02:04 PM, Leon Fauster wrote: >> Am 21.08.2015 um 21:08 schrieb Александр Кириллов <nevis2us at infoline.su>: >>> >>> Try to change %_tmppath in /usr/lib/rpm/macros or build in mock and place the whole chroot on a larger drive (/etc/mock/site-defaults.cfg). > > I set %_tmppath (in ~/.rpmmacros) and $TMPPATH (xz called by find-debuginfo.sh uses it) and more parts of the build process used my custom tmppath. But dwz still uses large temporary files in /tmp. > >> >> >> and if you do not need the debug packages, add >> >> %_enable_debug_packages 0 >> >> into your .rpmmacros file >> >> -- >> LF >> > > I tried disabling the debug packages but then rpmbuild > just leaves the debuginfo in the binaries and I ended > up with a 30GB binary rpm. such files (e.g. ending with .so.debug) should not be included. Check your %files section. I suggest an explicit list (without wildcards) ... -- LF