← Back to team overview

ius-community team mailing list archive

Re: Python 3.4.1 rpmbuild CentOS7

 

Ben,  

There is no reason to rebuild these packages other than trying to understand what the build process with_rewheel is doing. I don’t have time — unless there is something easy I am missing — so I just build them on the first iteration and build setuptools, pip and wheel alongside. It’s not including the wheel patch but…

Ta,  

--  
Justin Cook


On Monday, 4 August 2014 at 14:57, Ben Harper wrote:

> On 08/04/2014 05:53 AM, Justin Cook wrote:
> > I have tried to build the CentOS7 from SRPM el7 and centos7:
> >  
> > http://dl.iuscommunity.org/pub/ius/testing/CentOS/7/SRPMS/
> >  
> > However, both builds fail with:
> >  
> > Ran 47 tests in 10.931s
> > OK (skipped=3)
> > 362 tests OK.
> > 2 tests failed:
> > test_strptime test_tarfile
> > 25 tests skipped:
> > test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp
> > test_codecmaps_kr test_codecmaps_tw test_curses test_devpoll
> > test_kqueue test_msilib test_ossaudiodev test_pep277 test_smtpnet
> > test_socketserver test_startfile test_systemtap test_timeout
> > test_tk test_ttk_guionly test_unicode_file test_urllib2net
> > test_urllibnet test_winreg test_winsound test_xmlrpc_net
> > test_zipfile64
> > error: Bad exit status from /var/tmp/rpm-tmp.gMdJwE (%check)
> >  
> >  
> >  
> > I have installed all build dependencies with:
> >  
> > `yum-builddep python34u.spec`
> >  
> > and executed `rpm build -ba python34u.spec`, but it fails with the above test errors.
> >  
> > While writing this email, I noticed the timezone was set to America/New_York, but I am located in London. The time was correct given the time zone, but I set to Europe/London and reran `rpmbuild`. This is a virtual guest, by the way.
> >  
> > It takes a long time to run those tests, and I’m bottlenecked on my project for now in need of 3.4 for asyncio. But, it just passed — quite a while — after that change, so I can hit <send>.
> >  
> > I know it’s no one here’s fault, but that is a very misleading error. Thanks for providing a clean srpm.
> >  
> > Wrote: /home/jcook/rpmbuild/SRPMS/python34u-3.4.1-2.ius.el7.centos.src.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-libs-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-devel-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-tools-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-tkinter-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-test-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-debug-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Wrote: /home/jcook/rpmbuild/RPMS/x86_64/python34u-debuginfo-3.4.1-2.ius.el7.centos.x86_64.rpm
> > Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.klw8Xk
> > + umask 022
> > + cd /home/jcook/rpmbuild/BUILD
> > + cd Python-3.4.1
> > + rm -fr /home/jcook/rpmbuild/BUILDROOT/python34u-3.4.1-2.ius.el7.centos.x86_64
> > + exit 0
> >  
> >  
> >  
> > Cheers,
> >  
> > --
> > Justin Cook
> >  
> >  
> >  
> > _______________________________________________
> > Mailing list: https://launchpad.net/~ius-community
> > Post to : ius-community@xxxxxxxxxxxxxxxxxxx (mailto:ius-community@xxxxxxxxxxxxxxxxxxx)
> > Unsubscribe : https://launchpad.net/~ius-community
> > More help : https://help.launchpad.net/ListHelp
>  
>  
> Hello Justin,
>  
> Thanks for passing along this information. Note, that we do have  
> python34u packages already built and in the testing repo[0]. Was there  
> a reason why you needed to rebuild these packages?
>  
>  
> Ben Harper
> OS Deployment Services, RPMDEV
> Rackspace Hosting & IUS Community
>  
>  
> [0] http://dl.iuscommunity.org/pub/ius/testing/CentOS/7/x86_64/
>  
> _______________________________________________
> Mailing list: https://launchpad.net/~ius-community
> Post to : ius-community@xxxxxxxxxxxxxxxxxxx (mailto:ius-community@xxxxxxxxxxxxxxxxxxx)
> Unsubscribe : https://launchpad.net/~ius-community
> More help : https://help.launchpad.net/ListHelp





References