On 6 September 2012 18:15, Thierry Vignaud <thierry.vign...@gmail.com> wrote: >>> > I'm not sure about this, but it seems that iurt is using a regexp to >>> > find some errors : >>> > >>> > m!/bin/ld: cannot find -l(\S*)|configure.*error.* (?:-l(\S+)|(\S+) >>> > includes)! >>> > >>> > at line 967 in this file : >>> > http://svnweb.mageia.org/soft/build_system/iurt/trunk/iurt?revision=5553&view=markup#l967 >>> > >>> > And it looks like the regexp can match this line : > > (...) > >> It has this : >> >> D: [iurt] [iurt] calling callback for >> build_@288808:net-snmp-5.7.1-7.mga3.src.rpm >> [iurt] [iurt] likely (-devel) needed to rebuilt >> @288808:net-snmp-5.7.1-7.mga3.src.rpm is not in build_requires >> E: [iurt] [iurt] ERROR: call_ret= kill= err=0 (rror.*ailed|Bad exit >> status|RPM build error) >> F: [iurt] [iurt] See >> http://pkgsubmit.mageia.org/queue/build//cauldron/x86_64//log/@288808:net-snmp-5.7.1-7.mga3.src.rpm/ >> >> Command failed: /usr/bin/sudo /usr/sbin/iurt_root_command --chroot >> /home/iurt/chroot_tmp/iurt/chroot_cauldron.x86_64.0.20120906132528 /bin/su - >> iurt -c "TMP=/home/iurt/tmp/ rpmbuild --rebuild >> /home/iurt/rpm/SRPMS/@288808:net-snmp-5.7.1-7.mga3.src.rpm" >> > > Indeed it's due to the callback. > I've commited the following patch in git
We could also log the matched lines and better stop matching at all and just relying on rpmbuild exit code...