diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021178.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-January/021178.html | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021178.html b/zarb-ml/mageia-dev/2013-January/021178.html new file mode 100644 index 000000000..d3bdfb401 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021178.html @@ -0,0 +1,183 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] problem with %_smp_mflags in Cauldron + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20problem%20with%20%25_smp_mflags%20in%20Cauldron&In-Reply-To=%3CCA%2BCX%2Bbh4w7buy54caYXLMmPnsBN5ysHF0dMairqSr8N_MxFQ2Q%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="021176.html"> + <LINK REL="Next" HREF="021180.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] problem with %_smp_mflags in Cauldron</H1> + <B>Pascal Terjan</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20problem%20with%20%25_smp_mflags%20in%20Cauldron&In-Reply-To=%3CCA%2BCX%2Bbh4w7buy54caYXLMmPnsBN5ysHF0dMairqSr8N_MxFQ2Q%40mail.gmail.com%3E" + TITLE="[Mageia-dev] problem with %_smp_mflags in Cauldron">pterjan at gmail.com + </A><BR> + <I>Sun Jan 6 15:59:17 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="021176.html">[Mageia-dev] problem with %_smp_mflags in Cauldron +</A></li> + <LI>Next message: <A HREF="021180.html">[Mageia-dev] problem with %_smp_mflags in Cauldron +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21178">[ date ]</a> + <a href="thread.html#21178">[ thread ]</a> + <a href="subject.html#21178">[ subject ]</a> + <a href="author.html#21178">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Sun, Jan 6, 2013 at 2:44 PM, PhilippeDidier +<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">philippedidier at laposte.net</A>> wrote: +><i> Pierre-Malo Deniélou a écrit : +</I>>><i> Le 06/01/13 13:19,philippe makowski nous adresse ces quelques mots : +</I>>>><i> Hi, +</I>>>><i> +</I>>>><i> I have a build fail in Cauldron +</I>>>><i> (<A HREF="http://pkgsubmit.mageia.org/autobuild/cauldron/x86_64/core/log/python-cairo-1.10.0-3.mga3.src.rpm/build.0.20130104032637.log">http://pkgsubmit.mageia.org/autobuild/cauldron/x86_64/core/log/python-cairo-1.10.0-3.mga3.src.rpm/build.0.20130104032637.log</A>) +</I>>>><i> +</I>>>><i> because %python3_waf is resolved as /usr/bin/waf-3.3 build -l12 -j12 +</I>>>><i> +</I>>>><i> and I don't understand why +</I>>>><i> +</I>>>><i> we have in /etc/rpm/macros.d/waf-python3.macros : +</I>>>><i> +</I>>>><i> %python3_waf %__python3_waf build %_smp_mflags +</I>>>><i> and +</I>>>><i> %__python3_waf %{_bindir}/waf-%{python3_version} +</I>>>><i> +</I>>>><i> +</I>>>><i> so why getting /usr/bin/waf-3.3 build -l12 -j12 +</I>>>><i> instead of /usr/bin/waf-3.3 build -j12 +</I>>>><i> +</I>>>><i> from where come this -l that is not supported by waf (waf-3.3: error: +</I>>>><i> no such option: -l) +</I>>><i> +</I>>><i> I believe the answer is in how the autobuild is done: +</I>>><i> <A HREF="http://fasmz.org/~pterjan/blog/?date=20130103#p01">http://fasmz.org/~pterjan/blog/?date=20130103#p01</A> +</I>>><i> +</I>>><i> The parameters are not exactly the same as the ones on the build system. +</I>>><i> +</I>>><i> Cheers, +</I>>><i> +</I>><i> There was the same problem for lv2 with the autobuild system... +</I>><i> lv2 uses waf too ! +</I>><i> +</I>><i> It could correctly build on the Build System but failed with autobuild, +</I>><i> for the same reason +</I>><i> +</I>><i> A workaround consists to modify the spec file : +</I>><i> replace "./waf %{?_smp_mflags}" with simply "./waf build" +</I>><i> +</I>><i> but it will take more time to build :( +</I>><i> +</I>><i> +</I>><i> A contrario : +</I>><i> Ardour3 that uses waf can be built without any problem with the +</I>><i> autobuild system : +</I>><i> the spec file contains symply ; ./waf build +</I>><i> +</I>><i> +</I>><i> Nevertheless, the autobuild system is now different from the +</I>><i> BuildSystem, and I don't know if it's useful to modify your spec file, +</I>><i> to be compliant with the autobuild, not knowing for now if the same +</I>><i> modification will be applied inside the BS. +</I> +I had suggested few months ago to use it on build system too to not +kill the machine when it gets to build several kernels each of them +using -jN, but it is being tested on autobuild first (using it allowed +to reduce total build time from 6 days to 30h). + +So far only waf should be a problem. Maybe we could add a macro with +only the number of cpus and use -j%n_cpus with waf instead of using +the make flags given that it is not compatible with other make +options? (In smp_mflags the second m is for make) + +I just searched for it and it seems rpm upstream will add such macro +<A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=669638#c13">https://bugzilla.redhat.com/show_bug.cgi?id=669638#c13</A> + +><i> NB some programs ask to use their own bundled version of waf... +</I> +This is very sad + +><i> which means that modifying Mageia waf-rpm and the waf-python3.macros will not +</I>><i> solve the problem of the smp_flags for them. +</I></PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="021176.html">[Mageia-dev] problem with %_smp_mflags in Cauldron +</A></li> + <LI>Next message: <A HREF="021180.html">[Mageia-dev] problem with %_smp_mflags in Cauldron +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21178">[ date ]</a> + <a href="thread.html#21178">[ thread ]</a> + <a href="subject.html#21178">[ subject ]</a> + <a href="author.html#21178">[ 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> |