2009/2/16 Glen Gray <[email protected]>:
> Hey Yan,
>
> Eventually that would be my goal. However, please refer back up the thread
> to the issues that Axel has been having getting the SRPMS for the system to
> build. I would need to go through a similar process, so if there's scripts
> or documentation on how to setup a build host for the moblin packages then
> it would be greatly appreciated if it could be shared.
>
> Cheers,
>
>
> On 16 Feb 2009, at 05:49, Li, Yan wrote:
>
>> On Fri, Feb 13, 2009 at 12:57:02AM +0800, Glen Gray wrote:
>>>
>>> Arjan van de Ven wrote:
>>>>
>>>> axel lin wrote:
>>>>>
>>>>> hi all,
>>>>> I try to build all moblin2 SRPMS.
>>>>> Total 630 SRPMs built, 78 failed.
>>>>> Most of the failed build are because of patch failed.
>>>>> Can someone help to correct it?
>>>>>
>>>>> Below is the list of SRPMs that cannot be successfuly built:
>>>>
>>>>
>>>> this is an rpm settings things;
>>>> some distributions set rpm to not allow any fuzz in patches
>>>> our buildsystem currently allows that standard "2" fuzz in patches.
>>>>
>>> Is your build system available for other to setup and replicate ?
>>
>> Intel has done nothing special for a build system, and actually
>> picking such a system is more process oriented, rather than
>> technically oriented.
>>
>> Why not just using your current building system, which everyone in
>> your org understands, works well and more importantly, adapted to your
>> process, and considering to import Moblin v2.0's packages into it?
>>
For the 11 failed to build packages, the error log looks like a bug in
SRPMs itself
but not related to configuring build system.
Below shows part of my error log.
a...@mola:~$ grep -B 15 "EXIT 1" /tmp/build0216-5
PASS: test-expandargv-2.
PASS: test-expandargv-3.
make[3]: Leaving directory
`/usr/src/redhat/BUILD/binutils-2.19/build-dir/libiberty/testsuite'
make[2]: Leaving directory
`/usr/src/redhat/BUILD/binutils-2.19/build-dir/libiberty'
make[1]: Target `check-host' not remade because of errors.
make[1]: Nothing to be done for `check-target'.
make[1]: Leaving directory `/usr/src/redhat/BUILD/binutils-2.19/build-dir'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.
+ false
error: Bad exit status from /var/tmp/rpm-tmp.6BhD8U (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.6BhD8U (%check)
DONE binutils-2.19-9.21.moblin2.src.rpm EXIT 1
--
make[2]: *** [../../gcc/c-parse.c] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../gcc/genpreds.c:28:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
rm -f gcc.pod
make[2]: Leaving directory
`/usr/src/redhat/BUILD/gcc-3.2.3-20040701/obj-i586-redhat-linux/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory
`/usr/src/redhat/BUILD/gcc-3.2.3-20040701/obj-i586-redhat-linux/gcc'
make: *** [bootstrap-lean] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.HSVgWA (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.HSVgWA (%build)
DONE compat-gcc-32-3.2.3-64.22.moblin2.src.rpm EXIT 1
--
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-error
-DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include c-parse.c -o c-parse.o
gcc: c-parse.c: No such file or directory
gcc: no input files
make[2]: *** [c-parse.o] Error 1
make[2]: *** Waiting for unfinished jobs....
rm cpp.pod fsf-funding.pod gcc.pod gcov.pod g77.pod gfdl.pod gpl.pod
make[2]: Leaving directory
`/usr/src/redhat/BUILD/gcc-3.4.6-20060404/obj-i586-redhat-linux/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory
`/usr/src/redhat/BUILD/gcc-3.4.6-20060404/obj-i586-redhat-linux/gcc'
make: *** [profiledbootstrap] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.V8T1xz (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.V8T1xz (%build)
DONE compat-gcc-34-3.4.6-9.18.moblin2.src.rpm EXIT 1
--
/usr/src/redhat/BUILD/cyrus-sasl-2.1.22/sasldb/db_berkeley.c:228:
undefined reference to `db_strerror_cyrus_sasl_sasldb_rh'
../sasldb/.libs/libsasldb.a(db_berkeley.o): In function `_sasldb_putdata':
/usr/src/redhat/BUILD/cyrus-sasl-2.1.22/sasldb/db_berkeley.c:318:
undefined reference to `db_strerror_cyrus_sasl_sasldb_rh'
/usr/src/redhat/BUILD/cyrus-sasl-2.1.22/sasldb/db_berkeley.c:330:
undefined reference to `db_strerror_cyrus_sasl_sasldb_rh'
collect2: ld returned 1 exit status
make[2]: *** [dbconverter-2] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/cyrus-sasl-2.1.22/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/cyrus-sasl-2.1.22'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.8E3DkM (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.8E3DkM (%build)
DONE cyrus-sasl-2.1.22-17.29.moblin2.src.rpm EXIT 1
--
+ for file in 'testsuite*/gdb.$t'
+ suffix='testsuite*/gdb.log'
+ suffix='testsuite*'
+ ln 'testsuite*/gdb.log' 'gdb-i586-redhat-linux-gnutestsuite*.log'
ln: accessing `testsuite*/gdb.log': No such file or directory
+ :
+ tar cjf gdb-i586-redhat-linux-gnu.tar.bz2
'gdb-i586-redhat-linux-gnu*.sum' 'gdb-i586-redhat-linux-gnu*.log'
tar: gdb-i586-redhat-linux-gnu*.sum: Cannot stat: No such file or directory
tar: gdb-i586-redhat-linux-gnu*.log: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
error: Bad exit status from /var/tmp/rpm-tmp.sejDm8 (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.sejDm8 (%check)
DONE gdb-6.8-26.10.moblin2.src.rpm EXIT 1
--
libtool: link: `/lib/libattr.la' is not a valid libtool archive
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/gettext-0.17/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/usr/src/redhat/BUILD/gettext-0.17/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gettext-0.17/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/gettext-0.17/gettext-tools'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.lpKxBt (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.lpKxBt (%build)
DONE gettext-0.17-14.197.moblin2.src.rpm EXIT 1
--
mv -f libarchive/.deps/libarchive_la-archive_write_set_format_ustar.Tpo
libarchive/.deps/libarchive_la-archive_write_set_format_ustar.Plo
mv -f libarchive/.deps/libarchive_la-archive_write_set_format_pax.Tpo
libarchive/.deps/libarchive_la-archive_write_set_format_pax.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=pentium-m
-fasynchronous-unwind-tables -no-undefined -version-info 8:0:6 -o
libarchive.la -rpath /usr/lib
libarchive/libarchive_la-archive_check_magic.lo
libarchive/libarchive_la-archive_entry.lo
libarchive/libarchive_la-archive_entry_copy_stat.lo
libarchive/libarchive_la-archive_entry_link_resolver.lo
libarchive/libarchive_la-archive_entry_stat.lo
libarchive/libarchive_la-archive_entry_strmode.lo
libarchive/libarchive_la-archive_read.lo
libarchive/libarchive_la-archive_read_data_into_fd.lo
libarchive/libarchive_la-archive_read_extract.lo
libarchive/libarchive_la-archive_read_open_fd.lo
libarchive/libarchive_la-archive_read_open_file.lo
libarchive/libarchive_la-archive_read_open_filename.lo
libarchive/libarchive_la-archive_read_open_memory.lo
libarchive/libarchive_la-archive_read_support_compression_all.lo
libarchive/libarchive_la-archive_read_support_compression_bzip2.lo
libarchive/libarchive_la-archive_read_support_compression_compress.lo
libarchive/libarchive_la-archive_read_support_compression_gzip.lo
libarchive/libarchive_la-archive_read_support_compression_none.lo
libarchive/libarchive_la-archive_read_support_compression_program.lo
libarchive/libarchive_la-archive_read_support_compression_lzma.lo
libarchive/libarchive_la-archive_read_support_format_all.lo
libarchive/libarchive_la-archive_read_support_format_ar.lo
libarchive/libarchive_la-archive_read_support_format_cpio.lo
libarchive/libarchive_la-archive_read_support_format_empty.lo
libarchive/libarchive_la-archive_read_support_format_iso9660.lo
libarchive/libarchive_la-archive_read_support_format_mtree.lo
libarchive/libarchive_la-archive_read_support_format_tar.lo
libarchive/libarchive_la-archive_read_support_format_zip.lo
libarchive/libarchive_la-archive_string.lo
libarchive/libarchive_la-archive_string_sprintf.lo
libarchive/libarchive_la-archive_util.lo
libarchive/libarchive_la-archive_virtual.lo
libarchive/libarchive_la-archive_write.lo
libarchive/libarchive_la-archive_write_disk.lo
libarchive/libarchive_la-archive_write_disk_set_standard_lookup.lo
libarchive/libarchive_la-archive_write_open_fd.lo
libarchive/libarchive_la-archive_write_open_file.lo
libarchive/libarchive_la-archive_write_open_filename.lo
libarchive/libarchive_la-archive_write_open_memory.lo
libarchive/libarchive_la-archive_write_set_compression_bzip2.lo
libarchive/libarchive_la-archive_write_set_compression_compress.lo
libarchive/libarchive_la-archive_write_set_compression_gzip.lo
libarchive/libarchive_la-archive_write_set_compression_none.lo
libarchive/libarchive_la-archive_write_set_compression_program.lo
libarchive/libarchive_la-archive_write_set_format.lo
libarchive/libarchive_la-archive_write_set_format_ar.lo
libarchive/libarchive_la-archive_write_set_format_by_name.lo
libarchive/libarchive_la-archive_write_set_format_cpio.lo
libarchive/libarchive_la-archive_write_set_format_cpio_newc.lo
libarchive/libarchive_la-archive_write_set_format_mtree.lo
libarchive/libarchive_la-archive_write_set_format_pax.lo
libarchive/libarchive_la-archive_write_set_format_shar.lo
libarchive/libarchive_la-archive_write_set_format_ustar.lo
libarchive/libarchive_la-filter_fork.lo -lacl -lattr -lbz2 -lz
mkdir .libs
grep: /lib/libattr.la: No such file or directory
/bin/sed: can't read /lib/libattr.la: No such file or directory
libtool: link: `/lib/libattr.la' is not a valid libtool archive
make[1]: *** [libarchive.la] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/libarchive-2.6.0'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.oWx2pD (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.oWx2pD (%build)
DONE libarchive-2.6.0-1.9.moblin2.src.rpm EXIT 1
--
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd libxml2-2.7.2
+
DOCDIR=/usr/src/redhat/BUILDROOT/libxml2-python-2.7.2-9.2.moblin2.i386/usr/share/doc/libxml2-python-2.7.2
+ export DOCDIR
+ rm -rf
/usr/src/redhat/BUILDROOT/libxml2-python-2.7.2-9.2.moblin2.i386/usr/share/doc/libxml2-python-2.7.2
+ /bin/mkdir -p
/usr/src/redhat/BUILDROOT/libxml2-python-2.7.2-9.2.moblin2.i386/usr/share/doc/libxml2-python-2.7.2
+ cp -pr python/TODO
/usr/src/redhat/BUILDROOT/libxml2-python-2.7.2-9.2.moblin2.i386/usr/share/doc/libxml2-python-2.7.2
+ cp -pr python/libxml2class.txt
/usr/src/redhat/BUILDROOT/libxml2-python-2.7.2-9.2.moblin2.i386/usr/share/doc/libxml2-python-2.7.2
+ cp -pr python/tests
/usr/src/redhat/BUILDROOT/libxml2-python-2.7.2-9.2.moblin2.i386/usr/share/doc/libxml2-python-2.7.2
+ exit 0
RPM build errors:
File must begin with "/": %{py_sitedir}/*
DONE libxml2-python-2.7.2-9.2.moblin2.src.rpm EXIT 1
--
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: newt-python-0.52.10-3.54.moblin2
error: File not found by glob:
/usr/src/redhat/BUILDROOT/newt-python-0.52.10-3.54.moblin2.i386/usr/lib/python2.6/site-packages/*.so
error: File not found by glob:
/usr/src/redhat/BUILDROOT/newt-python-0.52.10-3.54.moblin2.i386/usr/lib/python2.6/site-packages/*.py*
RPM build errors:
File not found by glob:
/usr/src/redhat/BUILDROOT/newt-python-0.52.10-3.54.moblin2.i386/usr/lib/python2.6/site-packages/*.so
File not found by glob:
/usr/src/redhat/BUILDROOT/newt-python-0.52.10-3.54.moblin2.i386/usr/lib/python2.6/site-packages/*.py*
DONE newt-python-0.52.10-3.54.moblin2.src.rpm EXIT 1
--
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd presto-utils-0.3.3
+
DOCDIR=/usr/src/redhat/BUILDROOT/presto-utils-0.3.3-2.22.moblin2.i386/usr/share/doc/presto-utils-0.3.3
+ export DOCDIR
+ rm -rf
/usr/src/redhat/BUILDROOT/presto-utils-0.3.3-2.22.moblin2.i386/usr/share/doc/presto-utils-0.3.3
+ /bin/mkdir -p
/usr/src/redhat/BUILDROOT/presto-utils-0.3.3-2.22.moblin2.i386/usr/share/doc/presto-utils-0.3.3
+ cp -pr README
/usr/src/redhat/BUILDROOT/presto-utils-0.3.3-2.22.moblin2.i386/usr/share/doc/presto-utils-0.3.3
+ cp -pr COPYING
/usr/src/redhat/BUILDROOT/presto-utils-0.3.3-2.22.moblin2.i386/usr/share/doc/presto-utils-0.3.3
+ cp -pr ChangeLog
/usr/src/redhat/BUILDROOT/presto-utils-0.3.3-2.22.moblin2.i386/usr/share/doc/presto-utils-0.3.3
+ exit 0
RPM build errors:
File must begin with "/": %{py_sitedir}/presto-utils
DONE presto-utils-0.3.3-2.22.moblin2.src.rpm EXIT 1
--
make[3]: Entering directory `/usr/src/redhat/BUILD/rpm-4.6.0-rc3/tests'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/usr/src/redhat/BUILD/rpm-4.6.0-rc3/tests'
make[2]: Leaving directory `/usr/src/redhat/BUILD/rpm-4.6.0-rc3/tests'
make[1]: Leaving directory `/usr/src/redhat/BUILD/rpm-4.6.0-rc3'
+ find /usr/src/redhat/BUILDROOT/rpm-python-4.6.0-14.9.moblin2.i386
-not -type d -and -not -path
'/usr/src/redhat/BUILDROOT/rpm-python-4.6.0-14.9.moblin2.i386/usr/lib/python%{py_ver}/site-packages/rpm/*'
-print0
+ xargs -0 rm
+ pushd
/usr/src/redhat/BUILDROOT/rpm-python-4.6.0-14.9.moblin2.i386/%py_sitedir/rpm
/var/tmp/rpm-tmp.MDEtaC: line 33: pushd:
/usr/src/redhat/BUILDROOT/rpm-python-4.6.0-14.9.moblin2.i386/%py_sitedir/rpm:
No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.MDEtaC (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.MDEtaC (%install)
DONE rpm-python-4.6.0-14.9.moblin2.src.rpm EXIT 1
>>> Specifically referring to my previous emails of wanting older CPU
>>> architectures supported. This is probably what axel is attempting too.
>>
>>> I've recently got an alpha port of our software stack as it stands
>>> running on Fedora 10. So my next step of migrating our system to Moblin
>>> v2 would be setting up a build host that can re-create the rpms with
>>> non-Atom specific compiler flags and a yum repository.
>>>
>>> Kind Regards,
>>
>> --
>> Best regards,
>> Li, Yan
>>
>> Moblin Team, Opensource Technology Center, SSG, Intel
>> Office tel.: +86-10-82171695 (inet: 8-758-1695)
>> OpenPGP key: ED6192E5
>> IRC: yanli on network irc.freenode.net
>
> --
> Glen Gray <[email protected]> Digital Depot, Thomas Street
> Software Engineering Manager Dublin 8, Ireland
> Lincor Solutions Ltd. Ph: +353 (0) 1 4893682
>
> _______________________________________________
> Moblin dev Mailing List
> [email protected]
>
> To manage or unsubscribe from this mailing list visit:
> https://lists.moblin.org/mailman/listinfo/dev or your user account on
> http://moblin.org once logged in.
>
> For more information on the Moblin Developer Mailing lists visit:
> http://moblin.org/community/mailing-lists
>
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on
http://moblin.org once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists