summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-June/017006.html
blob: 1e94ea2bd8f9d68d6346ec44b01d67fad5080a53 (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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Build failures. GCC related?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Build%20failures.%20GCC%20related%3F&In-Reply-To=%3C4FEDAEA1.4080008%40colin.guthr.ie%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="016998.html">
   <LINK REL="Next"  HREF="017013.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Build failures. GCC related?</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Build%20failures.%20GCC%20related%3F&In-Reply-To=%3C4FEDAEA1.4080008%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Build failures. GCC related?">mageia at colin.guthr.ie
       </A><BR>
    <I>Fri Jun 29 15:33:21 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="016998.html">[Mageia-dev] WARNING: systemd is landing!!
</A></li>
        <LI>Next message: <A HREF="017013.html">[Mageia-dev] Build failures. GCC related?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17006">[ date ]</a>
              <a href="thread.html#17006">[ thread ]</a>
              <a href="subject.html#17006">[ subject ]</a>
              <a href="author.html#17006">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi,

As I rebuild things for new systemd/udev I see a few build problems
related to the basic &quot;read&quot;, &quot;close&quot; etc functions.

Before I continue rebuilding can something maybe take a look at these
examples and let me know what they think?

Cheers

e.g. see here for libcec (very simple library):
<A HREF="http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120629130430.colin.valstar.8451/log/libcec-1.5-0.git20120305.3.mga3/build.0.20120629130450.log">http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120629130430.colin.valstar.8451/log/libcec-1.5-0.git20120305.3.mga3/build.0.20120629130450.log</A>


and here in gvfs when checking for samba support:


configure:17463: checking for SMBCCTX.close
configure:17463: gcc -c -O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-I/usr/includ
e conftest.c &gt;&amp;5
conftest.c: In function 'main':
conftest.c:70:12: error: 'SMBCCTX' has no member named 'close'
configure:17463: $? = 1
configure: failed program was:
|<i> /* confdefs.h */
</I>|<i> #define PACKAGE_NAME &quot;gvfs&quot;
</I>|<i> #define PACKAGE_TARNAME &quot;gvfs&quot;
</I>|<i> #define PACKAGE_VERSION &quot;1.13.2&quot;
</I>|<i> #define PACKAGE_STRING &quot;gvfs 1.13.2&quot;
</I>|<i> #define PACKAGE_BUGREPORT
</I>&quot;<A HREF="http://bugzilla.gnome.org/enter_bug.cgi?product=gvfs">http://bugzilla.gnome.org/enter_bug.cgi?product=gvfs</A>&quot;
|<i> #define PACKAGE_URL &quot;&quot;
</I>|<i> #define PACKAGE &quot;gvfs&quot;
</I>|<i> #define VERSION &quot;1.13.2&quot;
</I>|<i> #define STDC_HEADERS 1
</I>|<i> #define HAVE_SYS_TYPES_H 1
</I>|<i> #define HAVE_SYS_STAT_H 1
</I>|<i> #define HAVE_STDLIB_H 1
</I>|<i> #define HAVE_STRING_H 1
</I>|<i> #define HAVE_MEMORY_H 1
</I>|<i> #define HAVE_STRINGS_H 1
</I>|<i> #define HAVE_INTTYPES_H 1
</I>|<i> #define HAVE_STDINT_H 1
</I>|<i> #define HAVE_UNISTD_H 1
</I>|<i> #define HAVE_DLFCN_H 1
</I>|<i> #define LT_OBJDIR &quot;.libs/&quot;
</I>|<i> #define RETSIGTYPE void
</I>|<i> #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
</I>|<i> #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
</I>|<i> #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
</I>|<i> #define GETTEXT_PACKAGE &quot;gvfs&quot;
</I>|<i> #define HAVE_LOCALE_H 1
</I>|<i> #define HAVE_LC_MESSAGES 1
</I>|<i> #define HAVE_BIND_TEXTDOMAIN_CODESET 1
</I>|<i> #define HAVE_GETTEXT 1
</I>|<i> #define HAVE_DCGETTEXT 1
</I>|<i> #define ENABLE_NLS 1
</I>|<i> #define HAVE_SYS_UN_H 1
</I>|<i> #define HAVE_STROPTS_H 1
</I>|<i> #define HAVE_TERMIOS_H 1
</I>|<i> #define HAVE_UTMP_H 1
</I>|<i> #define HAVE_SYS_UIO_H 1
</I>|<i> #define HAVE_SYS_PARAM_H 1
</I>|<i> #define HAVE_GETPT 1
</I>|<i> #define HAVE_POSIX_OPENPT 1
</I>|<i> #define HAVE_GRANTPT 1
</I>|<i> #define HAVE_UNLOCKPT 1
</I>|<i> #define HAVE_PTSNAME 1
</I>|<i> #define HAVE_PTSNAME_R 1
</I>|<i> #define HAVE_SOCKETPAIR 1
</I>|<i> #define HAVE_LOGIN_TTY /**/
</I>|<i> #define HAVE_HTTP 1
</I>|<i> #define HAVE_AVAHI /**/
</I>|<i> #define HAVE_LIBXML /**/
</I>|<i> #define HAVE_LIBUDEV 1
</I>|<i> #define HAVE_FUSE 1
</I>|<i> #define HAVE_UDISKS2 1
</I>|<i> #define HAVE_LIBSYSTEMD_LOGIN 1
</I>|<i> #define HAVE_GUDEV 1
</I>|<i> #define HAVE_CDDA 1
</I>|<i> #define HAVE_AFC 1
</I>|<i> #define HAVE_EXPAT_H 1
</I>|<i> #define HAVE_OBEXFTP 1
</I>|<i> #define HAVE_GPHOTO2 1
</I>|<i> #define HAVE_KEYRING 1
</I>|<i> #define HAVE_BLURAY 1
</I>|<i> #define HAVE_SAMBA_FLAGS /**/
</I>|<i> /* end confdefs.h.  */
</I>|<i> #include &lt;libsmbclient.h&gt;
</I>|<i>
</I>|<i> int
</I>|<i> main ()
</I>|<i> {
</I>|<i> static SMBCCTX ac_aggr;
</I>|<i> if (ac_aggr.close)
</I>|<i> return 0;
</I>|<i>   ;
</I>|<i>   return 0;
</I>|<i> }
</I>configure:17463: gcc -c -O2 -g -pipe -Wformat -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-I/usr/includ
e conftest.c &gt;&amp;5
conftest.c: In function 'main':
conftest.c:70:19: error: 'SMBCCTX' has no member named 'close'
configure:17463: $? = 1
configure: failed program was:
|<i> /* confdefs.h */
</I>|<i> #define PACKAGE_NAME &quot;gvfs&quot;
</I>|<i> #define PACKAGE_TARNAME &quot;gvfs&quot;
</I>|<i> #define PACKAGE_VERSION &quot;1.13.2&quot;
</I>|<i> #define PACKAGE_STRING &quot;gvfs 1.13.2&quot;
</I>|<i> #define PACKAGE_BUGREPORT
</I>&quot;<A HREF="http://bugzilla.gnome.org/enter_bug.cgi?product=gvfs">http://bugzilla.gnome.org/enter_bug.cgi?product=gvfs</A>&quot;
|<i> #define PACKAGE_URL &quot;&quot;
</I>|<i> #define PACKAGE &quot;gvfs&quot;
</I>|<i> #define VERSION &quot;1.13.2&quot;
</I>|<i> #define STDC_HEADERS 1
</I>|<i> #define HAVE_SYS_TYPES_H 1
</I>|<i> #define HAVE_SYS_STAT_H 1
</I>|<i> #define HAVE_STDLIB_H 1
</I>|<i> #define HAVE_STRING_H 1
</I>|<i> #define HAVE_MEMORY_H 1
</I>|<i> #define HAVE_STRINGS_H 1
</I>|<i> #define HAVE_INTTYPES_H 1
</I>|<i> #define HAVE_STDINT_H 1
</I>|<i> #define HAVE_UNISTD_H 1
</I>|<i> #define HAVE_DLFCN_H 1
</I>|<i> #define LT_OBJDIR &quot;.libs/&quot;
</I>|<i> #define RETSIGTYPE void
</I>
|<i> #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
</I>|<i> #define HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC 1
</I>|<i> #define HAVE_STRUCT_STAT_ST_CTIM_TV_NSEC 1
</I>|<i> #define GETTEXT_PACKAGE &quot;gvfs&quot;
</I>|<i> #define HAVE_LOCALE_H 1
</I>|<i> #define HAVE_LC_MESSAGES 1
</I>|<i> #define HAVE_BIND_TEXTDOMAIN_CODESET 1
</I>|<i> #define HAVE_GETTEXT 1
</I>|<i> #define HAVE_DCGETTEXT 1
</I>|<i> #define ENABLE_NLS 1
</I>|<i> #define HAVE_SYS_UN_H 1
</I>|<i> #define HAVE_STROPTS_H 1
</I>|<i> #define HAVE_TERMIOS_H 1
</I>|<i> #define HAVE_UTMP_H 1
</I>|<i> #define HAVE_SYS_UIO_H 1
</I>|<i> #define HAVE_SYS_PARAM_H 1
</I>|<i> #define HAVE_GETPT 1
</I>|<i> #define HAVE_POSIX_OPENPT 1
</I>|<i> #define HAVE_GRANTPT 1
</I>|<i> #define HAVE_UNLOCKPT 1
</I>|<i> #define HAVE_PTSNAME 1
</I>|<i> #define HAVE_PTSNAME_R 1
</I>|<i> #define HAVE_SOCKETPAIR 1
</I>|<i> #define HAVE_LOGIN_TTY /**/
</I>|<i> #define HAVE_HTTP 1
</I>|<i> #define HAVE_AVAHI /**/
</I>|<i> #define HAVE_LIBXML /**/
</I>|<i> #define HAVE_LIBUDEV 1
</I>|<i> #define HAVE_FUSE 1
</I>|<i> #define HAVE_UDISKS2 1
</I>|<i> #define HAVE_LIBSYSTEMD_LOGIN 1
</I>|<i> #define HAVE_GUDEV 1
</I>|<i> #define HAVE_CDDA 1
</I>|<i> #define HAVE_AFC 1
</I>|<i> #define HAVE_EXPAT_H 1
</I>|<i> #define HAVE_OBEXFTP 1
</I>|<i> #define HAVE_GPHOTO2 1
</I>|<i> #define HAVE_KEYRING 1
</I>|<i> #define HAVE_BLURAY 1
</I>|<i> #define HAVE_SAMBA_FLAGS /**/
</I>|<i> /* end confdefs.h.  */
</I>|<i> #include &lt;libsmbclient.h&gt;
</I>|<i>
</I>|<i> int
</I>|<i> main ()
</I>|<i> {
</I>|<i> static SMBCCTX ac_aggr;
</I>|<i> if (sizeof ac_aggr.close)
</I>|<i> return 0;
</I>|<i>   ;
</I>|<i>   return 0;
</I>|<i> }
</I>configure:17463: result: no

-- 

Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>

Day Job:
  Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
  Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
  PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
  Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>


</PRE>










<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="016998.html">[Mageia-dev] WARNING: systemd is landing!!
</A></li>
	<LI>Next message: <A HREF="017013.html">[Mageia-dev] Build failures. GCC related?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17006">[ date ]</a>
              <a href="thread.html#17006">[ thread ]</a>
              <a href="subject.html#17006">[ subject ]</a>
              <a href="author.html#17006">[ 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>