summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017485.html
blob: 583ce877a0b00ffedd671a70c9737b3eb6f154f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [usrmove] Help building some unbuildable packages: db51 &amp; grub
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Busrmove%5D%20Help%20building%20some%20unbuildable%20packages%3A%0A%20db51%20%26%20grub&In-Reply-To=%3C20120719150043.1807f80d%40lap.shlomifish.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="017481.html">
   <LINK REL="Next"  HREF="017476.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 &amp; grub</H1>
    <B>Shlomi Fish</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Busrmove%5D%20Help%20building%20some%20unbuildable%20packages%3A%0A%20db51%20%26%20grub&In-Reply-To=%3C20120719150043.1807f80d%40lap.shlomifish.org%3E"
       TITLE="[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 &amp; grub">shlomif at shlomifish.org
       </A><BR>
    <I>Thu Jul 19 14:00:43 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="017481.html">[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 &amp; grub
</A></li>
        <LI>Next message: <A HREF="017476.html">[Mageia-dev] Updating ruby to 1.9 series?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17485">[ date ]</a>
              <a href="thread.html#17485">[ thread ]</a>
              <a href="subject.html#17485">[ subject ]</a>
              <a href="author.html#17485">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Thu, 19 Jul 2012 14:53:43 +0300
Shlomi Fish &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:

&gt;<i> Hi,
</I>&gt;<i> 
</I>&gt;<i> On Thu, 19 Jul 2012 14:33:52 +0300
</I>&gt;<i> Shlomi Fish &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:
</I>&gt;<i> 
</I>&gt;<i> &gt; Hi Colin,
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; On Thu, 19 Jul 2012 11:09:10 +0100
</I>&gt;<i> &gt; Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; &gt; Hi,
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; As part of the usrmove, I need to rebuild both db51 and grub. Neither of
</I>&gt;<i> &gt; &gt; them build just now.
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; I added one patch to db51 which gets over an initial error, but another
</I>&gt;<i> &gt; &gt; relating to asm shows up.
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; Please can someone have a look at these? I just need them to build, I
</I>&gt;<i> &gt; &gt; don't specifically need them submitted, but feel free to do so.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Just a note on my finding: unpacking the db-5.1.29 sources and doing 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; cd build_unix
</I>&gt;<i> &gt; ../dist/configure
</I>&gt;<i> &gt; make
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Is successful here. So it could be a patch or a configure option that causes it
</I>&gt;<i> &gt; to fail. I'll investigate further.
</I>&gt;<i> &gt; 
</I>&gt;<i> 
</I>&gt;<i> The plot thickens. Apparently in the bm -l -p source, this command (which as
</I>&gt;<i> far as I can tell is what rpmbuild is running) is successful:
</I>&gt;<i> 
</I>&gt;<i> ../dist/configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --includedir=/usr/include/db51 --enable-shared --enable-static --enable-dbm --enable-systemtap --enable-o_direct --enable-sql --enable-compat185 --enable-dump185 --enable-tcl --with-tcl=/usr/lib64 --enable-test --enable-cxx --enable-java --enable-posixmutexes --with-mutex=POSIX/pthreads/library
</I>&gt;<i> 
</I>&gt;<i> (Followed by make).
</I>&gt;<i> 
</I>
OK, if I first do:

export CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-pre -fno-tree-pta'

Then I am able to reproduce this bug outside rpm. So I am going to gradually
eliminate compile flags until I find the culprit.

Regards,

	Shlomi Fish

&gt;<i> Regards,
</I>&gt;<i> 
</I>&gt;<i> 	Shlomi Fish
</I>&gt;<i> 
</I>&gt;<i> &gt; Regards,
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 	Shlomi Fish
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; The sooner the better if possible :)
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; Cheers
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; &gt; Col
</I>&gt;<i> &gt; &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> 
</I>


-- 
-----------------------------------------------------------------
Shlomi Fish       <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
Stop Using MSIE - <A HREF="http://www.shlomifish.org/no-ie/">http://www.shlomifish.org/no-ie/</A>

XSLT is the number one cause of programmers&#8217; suicides since Visual Basic 1.0.

Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>

















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="017481.html">[Mageia-dev] [usrmove] Help building some unbuildable packages: db51 &amp; grub
</A></li>
	<LI>Next message: <A HREF="017476.html">[Mageia-dev] Updating ruby to 1.9 series?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17485">[ date ]</a>
              <a href="thread.html#17485">[ thread ]</a>
              <a href="subject.html#17485">[ subject ]</a>
              <a href="author.html#17485">[ 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>