[mythtv] rpm build of master using mockchain. git help needed

John Pilkington johnpilk222 at gmail.com
Thu May 31 19:43:53 UTC 2018


On 14/05/18 17:16, Gary Buhrmaster wrote:
> On Sat, May 12, 2018 at 3:15 PM, John Pilkington <johnpilk222 at gmail.com> wrote:

I've just come back to this with the new ffmpeg4 master and my build 
system upgraded to f27 - which overwrote the mythchain patch #65

After mending that I now have two SRPMS (mythtv and plugins, maybe 
identical) and a new problem:

Start: buildsrpm
Start: rpmbuild -bs
Building target platforms: x86_64
Building for target x86_64
Wrote: 
/builddir/build/SRPMS/mythtv-plugins-30.Pre.650.g9dee6dd8e7-100.src.rpm
Finish: rpmbuild -bs
Finish: buildsrpm
INFO: Done(/tmp/tmp.jiWL9oZt0i/SPECS/mythtv-plugins.spec) 
Config(fedora-27-x86_64-rpmfusion_free) 0 minutes 46 seconds
INFO: Results and/or logs in: /tmp/tmp.DDQUrvUsgG
INFO: Cleaning up build root ('cleanup_on_success=True')
Start: clean chroot
Finish: clean chroot
Finish: run
starting logfile: None
results dir: /tmp/tmp.I7UUmOVKoi/results/fedora-27-x86_64-rpmfusion_free
config dir: /tmp/tmp.I7UUmOVKoi/configs/fedora-27-x86_64-rpmfusion_free
Traceback (most recent call last):
   File "/usr/bin/mockchain", line 419, in <module>
     sys.exit(main(sys.argv))
   File "/usr/bin/mockchain", line 301, in main
     res, msg = add_local_repo(config_opts['config_file'], 
my_mock_config, local_baseurl, 'local_build_repo')
   File "/usr/bin/mockchain", line 145, in add_local_repo
     exec(code)
   File "/etc/mock/fedora-27-x86_64-rpmfusion_free.cfg", line 1, in <module>
     include('/etc/mock/fedora-27-x86_64.cfg')
   File "<string>", line 1, in <module>
NameError: name 'config_opts' is not defined
Unable to build rpm

Thanks, of course, for the instructions - and the scripts.  I'm happy 
running my current build at present, but a fix for this new buildsystem 
would be great.

John

Since I had an SRPM I put it into the usual mock rebuild:

Processing files: mythtv-mythffmpeg-30.Pre.650.g9dee6dd8e7-100.fc27.x86_64
error: File not found: 
/builddir/build/BUILDROOT/mythtv-30.Pre.650.g9dee6dd8e7-100.fc27.x86_64/usr/bin/mythffserver
     File listed twice: 
/usr/lib/.build-id/27/3b351e2b91d470921465f85564a6a585cf0ab8
     File listed twice: 
/usr/lib/.build-id/28/199bf919db9065548efad72d278eabc564a9db
     File listed twice: 
/usr/lib/.build-id/3b/c9cfd20378ad7d630e66ba4569026e424d1e89
     File listed twice: 
/usr/lib/.build-id/48/9671cce2d9bb81322f959b06b799af0ba396af


RPM build errors:
     File listed twice: 
/usr/lib/.build-id/5e/754b695509fe4837523d61db1e5f909473aa75
     File listed twice: 
/usr/lib/.build-id/60/c65a37380d725c8dbfe247a442026f6c132b1d
     File listed twice: 
/usr/lib/.build-id/63/4b59ce8300490351a3feff13cabcbaf72ec92e
     File listed twice: 
/usr/lib/.build-id/63/f28c7ce66d3b1c46c2a734f159851ea53ba015
     File not found: 
/builddir/build/BUILDROOT/mythtv-30.Pre.650.g9dee6dd8e7-100.fc27.x86_64/usr/bin/mythffserver
ERROR: Exception(mythtv-30.Pre.650.g9dee6dd8e7-100.src.rpm) 
Config(fedora-27-x86_64) 55 minutes 23 seconds

------------------








More information about the mythtv-dev mailing list