Teck Choon Giam
2011-Apr-03 19:13 UTC
[Xen-devel] xen-4.1.1-rc1-pre changeset 23016 make stubdom/newlib-x86_32 problem
Hi, I think something has changed about the stubdom/Makefile which breaks compilation especially in mock or rpm packaging using non-root user. Especially the error with "make[2]: warning: jobserver unavailable: using -j1. Add `+'' to parent make rule." This looks like as if it doesn''t honour DESTDIR... ... This is my first time trying to compile/build for xen-4.1.x as xen-4.0.x I have no issues though. Below are the related errors: checking for i686-xen-elf-ranlib... (cached) ranlib configure: creating ./config.status config.status: creating Makefile Adding multilib support to Makefile in ../../../../newlib-1.16.0/libgloss/i386 with_multisubdirconfig.status: executing depfiles commands make[4]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss'' make[5]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss/doc'' make[5]: Nothing to be done for `all''. make[5]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss/doc'' make[5]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss/libnosys'' make[5]: Nothing to be done for `all''. make[5]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss/libnosys'' make[5]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss/i386'' make[5]: Nothing to be done for `all''. make[5]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss/i386'' make[4]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/i686-xen-elf/libgloss'' make[3]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32'' make[2]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32'' make[2]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32'' make[2]: warning: jobserver unavailable: using -j1. Add `+'' to parent make rule. << THIS IS THE ONE make[3]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32'' /bin/sh ../newlib-1.16.0/mkinstalldirs /usr /usr make[4]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/etc'' for f in standards.info configure.info; do \ if test -f ../../newlib-1.16.0/etc/`echo $f | sed -e ''s/.info$/.texi/''`; then \ if /usr/bin/make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \ true; \ else \ exit 1; \ fi; \ fi; \ done make[5]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/etc'' make[5]: `standards.info'' is up to date. make[5]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/etc'' make[5]: Entering directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/etc'' make[5]: `configure.info'' is up to date. make[5]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/etc'' /bin/sh ../../newlib-1.16.0/etc/../mkinstalldirs /usr/info mkdir -p -- /usr/info << DOESN''T HONOUR DESTDIR? mkdir: cannot create directory `/usr/info'': Permission denied make[4]: *** [install-info] Error 1 make[4]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32/etc'' make[3]: *** [install-etc] Error 2 make[3]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32'' make[2]: *** [install] Error 2 make[2]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom/newlib-x86_32'' make[1]: *** [cross-root-i686/i686-xen-elf/lib/libc.a] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/xen-4.1.1-rc1-pre-src/stubdom'' make: *** [install-stubdom] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.5130 (%install) Thanks. Kindest regards, Giam Teck Choon _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel