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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] weird bs behaviour
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20weird%20bs%20behaviour&In-Reply-To=%3C20110612161332.GO11020%40mongueurs.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="005828.html">
<LINK REL="Next" HREF="005496.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] weird bs behaviour</H1>
<B>Jerome Quelin</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20weird%20bs%20behaviour&In-Reply-To=%3C20110612161332.GO11020%40mongueurs.net%3E"
TITLE="[Mageia-dev] weird bs behaviour">jquelin at gmail.com
</A><BR>
<I>Sun Jun 12 18:13:32 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="005828.html">[Mageia-dev] "Job offer" : mentoring program coordinator
</A></li>
<LI>Next message: <A HREF="005496.html">[Mageia-dev] weird bs behaviour
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5433">[ date ]</a>
<a href="thread.html#5433">[ thread ]</a>
<a href="subject.html#5433">[ subject ]</a>
<a href="author.html#5433">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>hi,
when rebuilding perl-DBD-SQLite and perl -DBD-SQLite2, i get some
strange cpio errors:
=== PASTE ===
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Checking if your kit is complete...
Looks good
Using DBI 1.616 (for perl 5.014000 on i386-linux-thread-multi) installed in /usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBI/
Writing Makefile for DBD::SQLite
Writing MYMETA.yml
+ make -j8 'CCFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DNDEBUG=1 -DSQLITE_PTR_SZ=4'
/usr/bin/perl5.14.0 -p -e "s/~DRIVER~/SQLite/g" /usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBI/Driver.xst > SQLite.xsi
i586-mageia-linux-gnu-gcc -c -I. -I/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBI -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -O2 -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC "-I/usr/lib/perl5/5.14.0/i386-linux-thread-multi/CORE" -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DNDEBUG=1 -DHAVE_USLEEP=1 dbdimp.c
i586-mageia-linux-gnu-gcc -c -I. -I/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBI -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -O2 -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC "-I/usr/lib/perl5/5.14.0/i386-linux-thread-multi/CORE" -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DNDEBUG=1 -DHAVE_USLEEP=1 sqlite3.c
Running Mkbootstrap for DBD::SQLite ()
/usr/bin/perl5.14.0 /usr/lib/perl5/5.14.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.14.0/ExtUtils/typemap SQLite.xs > SQLite.xsc && mv SQLite.xsc SQLite.c
chmod 644 SQLite.bs
cp SQLite.bs blib/arch/auto/DBD/SQLite/SQLite.bs
chmod 644 blib/arch/auto/DBD/SQLite/SQLite.bs
cp lib/DBD/SQLite.pm blib/lib/DBD/SQLite.pm
cp lib/DBD/SQLite/Cookbook.pod blib/lib/DBD/SQLite/Cookbook.pod
i586-mageia-linux-gnu-gcc -c -I. -I/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBI -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -O2 -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC "-I/usr/lib/perl5/5.14.0/i386-linux-thread-multi/CORE" -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_COLUMN_METADATA -DNDEBUG=1 -DHAVE_USLEEP=1 SQLite.c
rm -f blib/arch/auto/DBD/SQLite/SQLite.so
i586-mageia-linux-gnu-gcc -shared -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib SQLite.o dbdimp.o sqlite3.o -o blib/arch/auto/DBD/SQLite/SQLite.so \
\
chmod 755 blib/arch/auto/DBD/SQLite/SQLite.so
Manifying blib/man3/DBD::SQLite.3pm
Manifying blib/man3/DBD::SQLite::Cookbook.3pm
+ exit 0
Executing(%install): /bin/sh -e /home/iurt/rpm/tmp/rpm-tmp.Pf7CFt
+ umask 022
+ cd /home/iurt/rpm/BUILD
+ cd DBD-SQLite-1.33
+ '[' 1 -eq 1 ']'
+ rm -rf /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386
+ make DESTDIR=/home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386 install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBD/SQLite/SQLite.bs
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBD/SQLite/SQLite.so
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/DBD/SQLite.pm
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/DBD/SQLite/Cookbook.pod
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/share/dist/DBD-SQLite/sqlite3.h
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/share/dist/DBD-SQLite/sqlite3.c
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/share/man/man3/DBD::SQLite.3pm
Installing /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/share/man/man3/DBD::SQLite::Cookbook.3pm
Appending installation info to /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/5.14.0/i386-linux-thread-multi/perllocal.pod
+ rm -f /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/share/dist/DBD-SQLite/sqlite3.c
+ rm -f /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/share/dist/DBD-SQLite/sqlite3.h
+ /usr/lib/rpm/mageia/find-debuginfo.sh /home/iurt/rpm/BUILD/DBD-SQLite-1.33
extracting debug info from /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBD/SQLite/SQLite.so
*** WARNING: No build ID note found in /home/iurt/rpm/BUILDROOT/perl-DBD-SQLite-1.330.0-1.mga2.i386/usr/lib/perl5/vendor_perl/5.14.0/i386-linux-thread-multi/auto/DBD/SQLite/SQLite.so
cpio: gcc-4.5.2/gcc/libgcc2.c: Cannot stat: No such file or directory
cpio: gcc-4.5.2/gcc/libgcc2.h: Cannot stat: No such file or directory
cpio: gcc-4.5.2/obj-i586-mageia-linux-gnu/gcc/include/stddef.h: Cannot stat: No such file or directory
cpio: gcc-4.5.2/obj-i586-mageia-linux-gnu/i586-mageia-linux-gnu/libgcc: Cannot stat: No such file or directory
cpio: glibc-2.12.1/bits/types.h: Cannot stat: No such file or directory
cpio: glibc-2.12.1/debug: Cannot stat: No such file or directory
cpio: glibc-2.12.1/debug/stack_chk_fail_local.c: Cannot stat: No such file or directory
cpio: glibc-2.12.1/io: Cannot stat: No such file or directory
cpio: glibc-2.12.1/io/fstat64.c: Cannot stat: No such file or directory
cpio: glibc-2.12.1/io/stat64.c: Cannot stat: No such file or directory
cpio: glibc-2.12.1/sysdeps/unix/sysv/linux/bits/stat.h: Cannot stat: No such file or directory
cpio: glibc-2.12.1/time/time.h: Cannot stat: No such file or directory
9611 blocks
=== /PASTE ===
of course, tests fail afterwards.
however, building perl-DBD-SQLite module in iurt on my machine yields no
problem. (note that my machine is a x86_64, whereas the build fails on
i586 bs node - but i don't know if it's related).
==> can someone more fluent with the bs / rpm can help please?
thanks,
jérôme
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="005828.html">[Mageia-dev] "Job offer" : mentoring program coordinator
</A></li>
<LI>Next message: <A HREF="005496.html">[Mageia-dev] weird bs behaviour
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#5433">[ date ]</a>
<a href="thread.html#5433">[ thread ]</a>
<a href="subject.html#5433">[ subject ]</a>
<a href="author.html#5433">[ 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>
|