[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6043 [RPM packaging]: Patch for building multi-arch RPMs with mock
#6043: Patch for building multi-arch RPMs with mock
-----------------------------+----------------------------------------------
Reporter: haviah | Owner: marlowe
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: RPM packaging | Version:
Keywords: rpm fedora rhel | Parent:
Points: | Actualpoints:
-----------------------------+----------------------------------------------
Comment(by haviah):
Replying to [comment:1 nickm]:
Not sure if any Tor developer knows rpm format spec (I don't know all the
details either), but I could ask someone maintaining EPEL packages to
check.
Mock is basically wrapper for rpmbuild that does chroot, then creates a
copy of target build environment (libraries, etc) and finally builds using
rpmbuild. The dependencies are added to .spec file so that mock will pull
them into the chrooted environment, otherwise build fails.
I've created a Fedora 17 VM and tested the above patch. Works for building
EL6, F17, F16, F15 (both x86_64 and i686), EL5 build fails due to some
internal error (MD5 verification of unpacked cpio archive). Adding
attachment (root.log) for later reference, error is at line 385.
Note: about 1-1.5 GB is required for one build per distro/arch
combination, but it could grow since mock keeps cache.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6043#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs