diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2011-October/009210.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-1be510f9529cb082f802408b472a77d074b394c0.tar archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2 archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz archives-1be510f9529cb082f802408b472a77d074b394c0.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009210.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-October/009210.html | 132 |
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: +><i> Hi, +</I>><i> +</I>><i> I (or better one of my padawans) have one problem: +</I>><i> When trying to build ascii the build is running fine but in the buildlogs, +</I>><i> there is a strange warning about not finding any "build ID note". +</I> +This happens when our %ldflags are not used for linking. + +You probably need to use LDFLAGS="%ldflags" 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="$RPM_OPT_FLAGS" 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="$RPM_OPT_FLAGS" to CC="gcc %optflags %ldflags", or +b) patch the Makefile to use $(CFLAGS) $(LDFLAGS) after the $(CC) +instance and use %setup_compile_flags before %make. + +><i> I have found a Mandriva bug report about a similar topic and misc showed my +</I>><i> padawan a link at Fedora about this happening when LD is called directly in +</I>><i> the Makefile. +</I>><i> +</I>><i> I have no clue what to do here, any help would be welcome... +</I>><i> +</I>><i> The behaviour has been confirmed on building ascii by three people by now. +</I>><i> +</I>><i> Here are some links... +</I>><i> - <A HREF="http://pastebin.com/w9u3FQsx">http://pastebin.com/w9u3FQsx</A> +</I>><i> (build log) +</I>><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>><i> how-resolve.html +</I>><i> (given by misc, but I don't find any direct calls of $(LD) +</I>><i> - <A HREF="https://qa.mandriva.com/show_bug.cgi?id=58487">https://qa.mandriva.com/show_bug.cgi?id=58487</A> +</I>><i> (similar prob on mandriva bs, at least the same warning...) +</I>><i> +</I>><i> Thanks for help, +</I>><i> +</I>><i> Oliver +</I>><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> |