Bug 3979

Summary: Build MythTV
Product: Fedora Reporter: Richard <hobbes1069>
Component: mythtvAssignee: Richard <hobbes1069>
Status: RESOLVED FIXED    
Severity: normal CC: jarod, sergio
Priority: P5    
Version: 23   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Richard 2016-02-19 15:44:56 CET
Please download sources and build mythtv for f22 & master.
Comment 1 Richard 2016-02-19 16:31:35 CET
Please also do the same for mythweb as they need to be released together.
Comment 2 Sérgio Basto 2016-02-19 16:36:15 CET
git clone git@github.com:rpmfusion/mythtv.git
cd mythtv
spectool -g mythtv.spec
rpmbuild -bs mythtv.spec --define "_sourcedir ." --define '_srcrpmdir .' && mock -r fedora-23-x86_64-rpmfusion_free --rebuild ./mythtv-0.27.6-2.fc23.src.rpm

but end with :
Patch #0 (mythtv-0.27-fixes.patch):
+ /usr/bin/patch -p1 -b --suffix .mythtv --fuzz=0
(...)
Reversed (or previously applied) patch detected!  Assume -R? [n] 
(...)
Skipping patch.
1 out of 1 hunk ignored 
(...)
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.47jyar (%prep)
    Bad exit status from /var/tmp/rpm-tmp.47jyar (%prep)
Comment 3 Richard 2016-02-19 16:41:02 CET
Are they synced up on the fly? I'm making all my commits in git preview as Nicolas gave me access.

$ cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = ssh://gitolite3@pkgs.kwizart.net/free/rpms/mythtv.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master
[branch "f22"]
        remote = origin
        merge = refs/heads/f22
Comment 4 Sérgio Basto 2016-02-19 23:59:51 CET
(In reply to comment #3)
> Are they synced up on the fly? 

yes, is the same , I just use github as example , still not build in F23 .
Comment 5 Sérgio Basto 2016-02-20 00:33:29 CET
build fail on koji
Comment 6 Richard 2016-02-21 14:41:29 CET
Patch didn't update like I though it did, but should be good now.
Comment 7 Sérgio Basto 2016-02-22 05:45:27 CET
Hello,

(In reply to comment #6)
> Patch didn't update like I though it did, but should be good now.

Still not build, I got one error in final,  tested on F22.x86_64 and F23.x64_64

error: Installed (but unpackaged) file(s) found:
   /usr/share/perl5/vendor_perl/MythTV/Program.pm.mythtv
    Installed (but unpackaged) file(s) found:
   /usr/share/perl5/vendor_perl/MythTV/Program.pm.mythtv
Comment 8 Richard 2016-02-22 14:40:29 CET
Bah... I should have tried a mock build first. I RARELY have any issues with mythtv updates so I though it would be OK.
Comment 9 Richard 2016-02-22 15:58:53 CET
(In reply to comment #7)
> Hello,
> 
> (In reply to comment #6)
> > Patch didn't update like I though it did, but should be good now.
> 
> Still not build, I got one error in final,  tested on F22.x86_64 and F23.x64_64
> 
> error: Installed (but unpackaged) file(s) found:
>    /usr/share/perl5/vendor_perl/MythTV/Program.pm.mythtv
>     Installed (but unpackaged) file(s) found:
>    /usr/share/perl5/vendor_perl/MythTV/Program.pm.mythtv

The perl makefile globs the MythTV directory and errantly pulls in the patch backup. I turned off backups for upstream supplied patches and committed the changes to master and f22 branches. Should be OK now.
Comment 10 Sérgio Basto 2016-02-22 20:10:03 CET
(In reply to comment #9)
> The perl makefile globs the MythTV directory and errantly pulls in the patch
> backup. I turned off backups for upstream supplied patches and committed the
> changes to master and f22 branches. Should be OK now.

yes, It is ready to build !

Thanks
Comment 11 Sérgio Basto 2016-03-21 03:26:19 CET
Published  mythweb-0.27.6-2.fc22, mythtv-0.27.6-2.fc22, mythtv-0.27.6-3.fc23 and mythweb-0.27.6-2.fc23 

http://download1.rpmfusion.org/free/fedora/updates/22/SRPMS/repoview/
http://download1.rpmfusion.org/free/fedora/updates/testing/23/SRPMS/repoview/