diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-February/023184.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-February/023184.html | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-February/023184.html b/zarb-ml/mageia-dev/2013-February/023184.html new file mode 100644 index 000000000..3a238218f --- /dev/null +++ b/zarb-ml/mageia-dev/2013-February/023184.html @@ -0,0 +1,101 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] A question about BuildRequires and other RPM questions. + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20question%20about%20BuildRequires%20and%20other%20RPM%0A%09questions.&In-Reply-To=%3C1683951.XTAhJviiX5%40localhost%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="023183.html"> + <LINK REL="Next" HREF="023191.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] A question about BuildRequires and other RPM questions.</H1> + <B>AL13N</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20question%20about%20BuildRequires%20and%20other%20RPM%0A%09questions.&In-Reply-To=%3C1683951.XTAhJviiX5%40localhost%3E" + TITLE="[Mageia-dev] A question about BuildRequires and other RPM questions.">alien at rmail.be + </A><BR> + <I>Thu Feb 28 16:59:10 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="023183.html">[Mageia-dev] A question about BuildRequires and other RPM questions. +</A></li> + <LI>Next message: <A HREF="023191.html">[Mageia-dev] A question about BuildRequires and other RPM questions. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23184">[ date ]</a> + <a href="thread.html#23184">[ thread ]</a> + <a href="subject.html#23184">[ subject ]</a> + <a href="author.html#23184">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Op donderdag 28 februari 2013 15:43:22 schreef Robert Wood: +><i> On 28/02/13 14:25, Guillaume Rousse wrote: +</I>><i> > There is not much choice, beside building from a specified build +</I>><i> > environment, which is usually the minimal installation for your target +</I>><i> > distribution + rpmbuild. Most distributions use dedicated systems to +</I>><i> > automatically deploy such clean environment before eac package build +</I>><i> > attempt (iurt, mock, etc...). +</I>><i> +</I>><i> So, I should maybe install a minimal install on a virtual machine? Then +</I>><i> when it needs packages I can add those to the dependencies list? It +</I>><i> strikes me the problem with that would be that once you've added a load +</I>><i> of packages for one RPM, then started on another, you'd be back to the +</I>><i> same problem as before and need to keep reinstalling Mageia for each RPM +</I>><i> you do. There must be a better way than that. +</I> +i myself have made a script that uses a minimal install btrfs subvolume, makes +a snapshots for this package, then builds the rpm in a screen session, then +removes the snapshot again. + +i use this script mostly for testbuilding on my local machine. + +in the past i just submitted it to the buildsystem (to updates_testing) when i +was done working on it, and if it failed, i added some extra buildrequires, +until it built, after that i did a final test + +><i> > Build dependencies are usually specified in installation instructions. +</I>><i> > For humans, of course. You may also try to parse the outpout of +</I>><i> > ./configure (or equivalent) script. In both case, there is not garanty +</I>><i> > then every build dependency will get specified. +</I>><i> +</I>><i> It sounds like there is a load of trial and error then? I am sure I must +</I>><i> misunderstand, building reliable RPMs must be a relatively +</I>><i> straightforward thing once you're up and running surely? +</I> +trial and error for buildrequires yes, mostly for new packages, if you're +updateing packages, you sort of know more about the package and if it has +extra builddependencies, the BS will tell you this. + +so, in short for new packages you can have some trial and error (usually no +more than 5 or 6 tries, wrt buildrequires). + +it's not such a big deal... +</PRE> + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="023183.html">[Mageia-dev] A question about BuildRequires and other RPM questions. +</A></li> + <LI>Next message: <A HREF="023191.html">[Mageia-dev] A question about BuildRequires and other RPM questions. +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23184">[ date ]</a> + <a href="thread.html#23184">[ thread ]</a> + <a href="subject.html#23184">[ subject ]</a> + <a href="author.html#23184">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |