[CentOS-devel] Cannot recompile CentOS 7 perl srpms from Vault because built files end up in unexpected dirs

Thu Jul 31 22:05:12 UTC 2014
Lars Holowko <lars.holowko at gmail.com>

Thanks Johnny,

So I know it builds on your server (and I could potentially just pull the
rrdtool-perl rpm from your buildlogs server.)
But I still would feel better if I could build it on my own server.

I added the macros from mock.cfg

config_opts['macros']['%centos_ver'] = "7"
config_opts['macros']['%rhel'] = "7"
config_opts['macros']['%el7'] = "1"
config_opts['macros']['%redhat'] = "7"
config_opts['macros']['%vendor'] = "CentOS"
config_opts['macros']['%packager'] = "CentOS BuildSystem <
config_opts['macros']['%_vendor'] = "redhat"
config_opts['macros']['%_vendor_host'] = "redhat"
config_opts['macros']['%_host'] = "x86_64-redhat-linux-gnu"

to my ~/.rpmmacros

%centos_ver 7
%rhel 7
%el7 1
%redhat 7
%vendor CentOS
%packager "CentOS BuildSystem <http://bugs.centos.org>"
%_vendor redhat
%_vendor_host redhat
%_host x86_64-redhat-linux-gnu

but the build still fails with the same error on my system.

Do you have the rpm macros set on your build server somewhere
accessible/viewable? Or can someone else build this on "normal" CentOS 7 box

1000 thanks,


On Thu, Jul 31, 2014 at 9:20 AM, <jonny at c <lars.holowko at gmail.com>entos.org>

All our build logs for CentOS 7 are on buildlogs.centos.org ... Here is
> the one for rddtool:
> http://buildlogs.centos.org/c7.00.02/rrdtool/20140529193001/1.4.8-8.el7.x86_64/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20140731/2edbf0cc/attachment-0007.html>