[Mageia-dev] weird bs behaviour
Jerome Quelin
jquelin at gmail.com
Sun Jun 12 18:13:32 CEST 2011
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
More information about the Mageia-dev
mailing list