D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/backuppc-3.3.2-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2eZMEi + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf BackupPC-3.3.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/BackupPC-3.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd BackupPC-3.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (backuppc-3.1.0-fhs.patch):' Patch #0 (backuppc-3.1.0-fhs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/BackupPC/Lib.pm Hunk #1 succeeded at 96 (offset -13 lines). Hunk #2 succeeded at 115 (offset -13 lines). + rm -rf images/CVS + find lib -type f -exec chmod 644 '{}' ';' + find bin -type f -exec chmod 755 '{}' ';' + find doc -type f -exec chmod 644 '{}' ';' + find . -maxdepth 1 -type f -exec chmod 644 '{}' ';' + find . -type f -exec perl -pi -e 's|^#!/bin/perl|#!/usr/bin/perl|' '{}' ';' + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KXZ7ez + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd BackupPC-3.3.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + gcc /home/pterjan/rpmbuild/SOURCES/BackupPC_Admin.c -o BackupPC_Admin /home/pterjan/rpmbuild/SOURCES/BackupPC_Admin.c: In function 'main': /home/pterjan/rpmbuild/SOURCES/BackupPC_Admin.c:5:5: warning: type of 'ac' defaults to 'int' [-Wimplicit-int] int main(ac, av) ^~~~ + find . -type f -exec perl -pi -e 's|__INSTALLDIR__|/usr/share/backuppc|' '{}' ';' + find . -type f -exec perl -pi -e 's|__TOPDIR__|/var/lib/backuppc|' '{}' ';' + perl -pi -e 's|^\$Conf{BackupPCUser}.*|\$Conf{BackupPCUser} = "backuppc";|;' -e 's|^\$Conf{CgiDir}.*|\$Conf{CgiDir} = "/var/www/backuppc";|;' -e 's|^\$Conf{InstallDir}.*|\$Conf{InstallDir} = "/usr/share/backuppc";|;' -e 's|^\$Conf{CgiImageDirURL}.*|\$Conf{CgiImageDirURL} = "/backuppc";|;' -e 's|^\$Conf{SshPath}.*|\$Conf{SshPath} = "/usr/bin/ssh";|;' -e 's|^\$Conf{SmbClientPath}.*|\$Conf{SmbClientPath} = "/usr/bin/smbclient";|;' -e 's|^\$Conf{NmbLookupPath}.*|\$Conf{NmbLookupPath} = "/usr/bin/nmblookup";|;' -e 's|^\$Conf{PingPath}.*|\$Conf{PingPath} = "/bin/ping";|;' -e 's|^\$Conf{DfPath}.*|\$Conf{DfPath} = "/bin/df";|;' -e 's|^\$Conf{SplitPath}.*|\$Conf{SplitPath} = "/usr/bin/split";|;' -e 's|^\$Conf{CatPath}.*|\$Conf{CatPath} = "/bin/cat";|;' -e 's|^\$Conf{GzipPath}.*|\$Conf{GzipPath} = "/bin/gzip";|;' -e 's|^\$Conf{Bzip2Path}.*|\$Conf{Bzip2Path} = "/usr/bin/bzip2";|;' -e 's|^\$Conf{SendmailPath}.*|\$Conf{SendmailPath} = "/usr/sbin/sendmail";|;' -e 's|^\$Conf{ServerInitdPath}.*|\$Conf{ServerInitdPath} = "/etc/rc.d/init.d/backuppc";|;' -e 's|^\$Conf{BackupPCdPath}.*|\$Conf{BackupPCdPath} = "/usr/share/backuppc/bin/BackupPC";|;' -e 's|^\$Conf{TarClientPath}.*|\$Conf{TarClientPath} = "/bin/tar";|;' -e 's|^\$Conf{RsyncClientPath}.*|\$Conf{RsyncClientPath} = "/usr/bin/rsync";|;' -e 's|^\$Conf{TopDir}.*|\$Conf{TopDir} = "/var/lib/backuppc";|;' conf/config.pl Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\$Conf{ <-- HERE BackupPCUser}.*/ at -e line 1. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KXZ7ez (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KXZ7ez (%build) I: [iurt_root_command] ERROR: chroot