summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-June/005329.html
blob: 5a652ecd3dd0828165de96ae271b7845363f81c3 (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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] [RFC] Removing .la files
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Removing%20.la%20files&In-Reply-To=%3C1307702507.26948.105.camel%40akroma.ephaone.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="005312.html">
   <LINK REL="Next"  HREF="005337.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] [RFC] Removing .la files</H1>
    <B>Michael Scherer</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BRFC%5D%20Removing%20.la%20files&In-Reply-To=%3C1307702507.26948.105.camel%40akroma.ephaone.org%3E"
       TITLE="[Mageia-dev] [RFC] Removing .la files">misc at zarb.org
       </A><BR>
    <I>Fri Jun 10 12:41:46 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="005312.html">[Mageia-dev] [RFC] Removing .la files
</A></li>
        <LI>Next message: <A HREF="005337.html">[Mageia-dev] [RFC] Removing .la files
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#5329">[ date ]</a>
              <a href="thread.html#5329">[ thread ]</a>
              <a href="subject.html#5329">[ subject ]</a>
              <a href="author.html#5329">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le vendredi 10 juin 2011 &#224; 03:47 +0300, Ahmad Samir a &#233;crit :
&gt;<i> On 9 June 2011 19:35, Dexter Morgan &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">dmorganec at gmail.com</A>&gt; wrote:
</I>&gt;<i> &gt; Hello,
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; as other distributions we started to remove .la files from mageia
</I>&gt;<i> &gt; during mageia 1 development.
</I>
Could you explain the rational of removing them ?

AFAIK, the .la removal was not discussed, so starting by saying &quot;we
remove them now because last time, we didn't discussed and it broke lots
of thing&quot; is a little bit weird.


&gt;<i> &gt; Unfortunatly we didn't had enough time to finish this.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; I restarted this task today.
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Please tell me if a build fails because of a missing la file.
</I>&gt;<i> &gt;
</I>&gt;<i> 
</I>&gt;<i> &gt;From building pidgin-libnotify locally:
</I>&gt;<i> libtool: link: cannot find the library `/usr/lib64/libatk-1.0.la' or
</I>&gt;<i> unhandled argument `/usr/lib64/libatk-1.0.la'
</I>&gt;<i> 
</I>&gt;<i> &gt;From the chroot:
</I>&gt;<i> $ cd usr/lib64/
</I>&gt;<i> $ grep libatk-1.0.la *
</I>&gt;<i> libindicate-gtk.la:dependency_libs=' /usr/lib64/libindicate.la
</I>&gt;<i> /usr/lib64/libgtk-x11-2.0.la /usr/lib64/libgdk-x11-2.0.la
</I>&gt;<i> /usr/lib64/libatk-1.0.la /usr/lib64/libpangocairo-1.0.la
</I>&gt;<i> /usr/lib64/libpangoft2-1.0.la /usr/lib64/libgdk_pixbuf-2.0.la
</I>&gt;<i> /usr/lib64/libcairo.la /usr/lib64/libpixman-1.la
</I>&gt;<i> /usr/lib64/libXrender.la /usr/lib64/libX11.la /usr/lib64/libxcb.la
</I>&gt;<i> /usr/lib64/libXau.la /usr/lib64/libXdmcp.la -lpng12
</I>&gt;<i> /usr/lib64/libpango-1.0.la /usr/lib64/libfontconfig.la
</I>&gt;<i> /usr/lib64/libfreetype.la /usr/lib64/libxml2.la -lm
</I>&gt;<i> /usr/lib64/libdbusmenu-glib.la /usr/lib64/libgio-2.0.la -lresolv -lz
</I>&gt;<i> /usr/lib64/libgmodule-2.0.la -ldl -ldbus-glib-1 -ldbus-1
</I>&gt;<i> /usr/lib64/libgobject-2.0.la /usr/lib64/libgthread-2.0.la -lpthread
</I>&gt;<i> /usr/lib64/libglib-2.0.la /usr/lib64/libpcre.la -lrt'
</I>&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> I don't think just building packages and removing the .la will work,
</I>&gt;<i> the inter-dependency is too wide, I count too many .la files up there.
</I>&gt;<i> 
</I>&gt;<i> Reading these:
</I>&gt;<i> <A HREF="http://wiki.debian.org/ReleaseGoals/LAFileRemoval">http://wiki.debian.org/ReleaseGoals/LAFileRemoval</A>
</I>&gt;<i> <A HREF="http://lists.debian.org/debian-devel/2009/08/msg00783.html">http://lists.debian.org/debian-devel/2009/08/msg00783.html</A>
</I>&gt;<i> 
</I>&gt;<i> it looks like Debian are using sed to remove the .la files from
</I>&gt;<i> dependency_libs field in .la files, there's a debhelper script, IIUC
</I>&gt;<i> it's run before they build a package.
</I>&gt;<i> 
</I>&gt;<i> This means it's something that a script run as root in the chroot can
</I>&gt;<i> do, but I guess it needs to be fine-tuned.
</I>&gt;<i> 
</I>&gt;<i> Meanwhile, just removing .la files will break a lot of builds (note
</I>&gt;<i> that we have a lot of packages to rebuild for e.g. new libnotify major
</I>&gt;<i> in Cauldron)... :(
</I>
Ie, we need to remove them in the proper order. 
One first step would be to find the dependency tree ( should be
basically the same as BuildRequires ) and start bu shaving the leafs.

-- 
Michael Scherer

</PRE>















































































































<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="005312.html">[Mageia-dev] [RFC] Removing .la files
</A></li>
	<LI>Next message: <A HREF="005337.html">[Mageia-dev] [RFC] Removing .la files
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#5329">[ date ]</a>
              <a href="thread.html#5329">[ thread ]</a>
              <a href="subject.html#5329">[ subject ]</a>
              <a href="author.html#5329">[ 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>