summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009210.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009210.html')
-rw-r--r--zarb-ml/mageia-dev/2011-October/009210.html132
1 files changed, 132 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009210.html b/zarb-ml/mageia-dev/2011-October/009210.html
new file mode 100644
index 000000000..4613e0dc5
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-October/009210.html
@@ -0,0 +1,132 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Strange warning when building ascii
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Strange%20warning%20when%20building%20ascii&In-Reply-To=%3C4EAD02B5.3050903%40mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="009201.html">
+ <LINK REL="Next" HREF="009212.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Strange warning when building ascii</H1>
+ <B>Anssi Hannula</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Strange%20warning%20when%20building%20ascii&In-Reply-To=%3C4EAD02B5.3050903%40mageia.org%3E"
+ TITLE="[Mageia-dev] Strange warning when building ascii">anssi at mageia.org
+ </A><BR>
+ <I>Sun Oct 30 08:54:29 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="009201.html">[Mageia-dev] Strange warning when building ascii
+</A></li>
+ <LI>Next message: <A HREF="009212.html">[Mageia-dev] Strange warning when building ascii
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9210">[ date ]</a>
+ <a href="thread.html#9210">[ thread ]</a>
+ <a href="subject.html#9210">[ subject ]</a>
+ <a href="author.html#9210">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 30.10.2011 00:07, Oliver Burger wrote:
+&gt;<i> Hi,
+</I>&gt;<i>
+</I>&gt;<i> I (or better one of my padawans) have one problem:
+</I>&gt;<i> When trying to build ascii the build is running fine but in the buildlogs,
+</I>&gt;<i> there is a strange warning about not finding any &quot;build ID note&quot;.
+</I>
+This happens when our %ldflags are not used for linking.
+
+You probably need to use LDFLAGS=&quot;%ldflags&quot; somewhere or some other flag
+or variable, to get the %ldflags to appear after 'cc' in this line in
+the build:
+cc -DREVISION=3.11 ascii.c -o ascii
+
+- Spoilers below -
+
+OK, looked at the package.
+First, your %build is wrong. You use CFLAGS=&quot;$RPM_OPT_FLAGS&quot; in the
+%make command, but the Makefile doesn't even use any CFLAGS variable!
+
+Similarly, it doesn't use LDFLAGS so setting that would do no good either.
+
+You need to either e.g.
+a) change the CFLAGS=&quot;$RPM_OPT_FLAGS&quot; to CC=&quot;gcc %optflags %ldflags&quot;, or
+b) patch the Makefile to use $(CFLAGS) $(LDFLAGS) after the $(CC)
+instance and use %setup_compile_flags before %make.
+
+&gt;<i> I have found a Mandriva bug report about a similar topic and misc showed my
+</I>&gt;<i> padawan a link at Fedora about this happening when LD is called directly in
+</I>&gt;<i> the Makefile.
+</I>&gt;<i>
+</I>&gt;<i> I have no clue what to do here, any help would be welcome...
+</I>&gt;<i>
+</I>&gt;<i> The behaviour has been confirmed on building ascii by three people by now.
+</I>&gt;<i>
+</I>&gt;<i> Here are some links...
+</I>&gt;<i> - <A HREF="http://pastebin.com/w9u3FQsx">http://pastebin.com/w9u3FQsx</A>
+</I>&gt;<i> (build log)
+</I>&gt;<i> - <A HREF="http://www.linux-archive.org/fedora-packaging/103083-no-build-id-note-found-">http://www.linux-archive.org/fedora-packaging/103083-no-build-id-note-found-</A>
+</I>&gt;<i> how-resolve.html
+</I>&gt;<i> (given by misc, but I don't find any direct calls of $(LD)
+</I>&gt;<i> - <A HREF="https://qa.mandriva.com/show_bug.cgi?id=58487">https://qa.mandriva.com/show_bug.cgi?id=58487</A>
+</I>&gt;<i> (similar prob on mandriva bs, at least the same warning...)
+</I>&gt;<i>
+</I>&gt;<i> Thanks for help,
+</I>&gt;<i>
+</I>&gt;<i> Oliver
+</I>&gt;<i>
+</I>
+
+--
+Anssi Hannula
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="009201.html">[Mageia-dev] Strange warning when building ascii
+</A></li>
+ <LI>Next message: <A HREF="009212.html">[Mageia-dev] Strange warning when building ascii
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#9210">[ date ]</a>
+ <a href="thread.html#9210">[ thread ]</a>
+ <a href="subject.html#9210">[ subject ]</a>
+ <a href="author.html#9210">[ 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>