|
From: | anand vaidya |
Subject: | Re: [Ltib] git-1.5.6.5 build issue with ltib-10-1-1a-sv |
Date: | Thu, 15 Sep 2011 02:39:00 -0700 (PDT) |
Hi Stuart, By mistake I have deleted "/opt/ltib/usr/src/rpm/BUILD" instead of "/opt/ltib/usr/src/rpm/BUILD/git-1.5.6.5". Then I have created the BUILD folder manually. Hope this should not be issue. After running I got the following error log mentioned below for your reference. After that i have installed the "perl-ExtUtils-MakeMaker". Then I got the same error which I have sent you earlier. Then I have used following command to resolve the issue. rm -rf /opt/ltib/usr/src/rpm/BUILD/git-1.5.6.5 ./ltib (this time it worked) Thanks, Anand -------------------------------------------------------------------------------------------------------------------- address@hidden ltib-10-1-1a-sv]# ./ltib Installing host support packages. This only needs to be done once per host, but may take up to an hour to complete ... If an error occurs, a log file with the full output may be found in: /root/ltib-10-1-1a-sv/host_config.log Exiting on error or interrupt Please see >> /root/ltib-10-1-1a-sv/host_config.log for details address@hidden ltib-10-1-1a-sv]# more /root/ltib-10-1-1a-sv/host_config.log Processing platform: Host support packages ============================================ using /root/ltib-10-1-1a-sv/config/platform/host/ltib.preconfig Processing: fake-provides =========================== Processing: mkspooflinks ========================== Processing: distcc ==================== Processing: ccache ==================== Processing: bison =================== Processing: flex ================== Processing: texinfo ===================== Processing: autoconf ====================== Processing: libtool ===================== Processing: lkc ================= Processing: wget ================== Processing: uclinux-cksum =========================== Processing: genext2fs ======================= Processing: genromfs ====================== Processing: gen_init_cpio =========================== Processing: u-boot-tools ========================== Processing: mtd-utils-20060302 ================================ Processing: pkgconfig ======================= Processing: yaffs-utils ========================= Processing: dtc ================= Processing: cramfs ==================== Processing: unifdef ===================== Processing: sparse ==================== Processing: git ================= Build path taken because: no prebuilt rpm, rpmbuild --dbpath ///opt/ltib/var/lib/rpm --target x86_64 --define '_unpackaged_ files_terminate_build 0' --define '_target_cpu x86_64' --define '__strip strip' --define '_topdir /opt/ltib/usr/src/rpm' --define '_prefix /opt/ltib/usr' --defi ne '_tmppath /root/ltib-10-1-1a-sv/tmp' --define '_rpmdir /opt/ltib/usr/src/rpm/ RPMS' --define '_mandir /opt/ltib/usr/share/man' --define '_sysconfdir /opt/lti b/etc' --define '_localstatedir /var' -bb --clean --rmsource /root/ltib-10-1-1a -sv/dist/lfs-5.1/git/git.spec Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /root/ltib-10-1-1a-sv/tmp/rpm-tmp.94008 + umask 022 + cd /opt/ltib/usr/src/rpm/BUILD + cd /opt/ltib/usr/src/rpm/BUILD + rm -rf git-1.5.6.5 + tar -xf - + /bin/gzip -dc /opt/ltib/usr/src/rpm/SOURCES/git-1.5.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd git-1.5.6.5 + echo 'Patch #0 (git-1.5.6.5-no-perl-install.patch):' Patch #0 (git-1.5.6.5-no-perl-install.patch): + patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /root/ltib-10-1-1a-sv/tmp/rpm-tmp.91776 + umask 022 + cd /opt/ltib/usr/src/rpm/BUILD + cd git-1.5.6.5 + config_opts='ac_cv_c_c99_format=yes ac_cv_fread_reads_directories=no ac_cv_snp rintf_returns_bogus=no' + eval ac_cv_c_c99_format=yes ac_cv_fread_reads_directories=no ac_cv_snprintf_re turns_bogus=no ./configure --prefix=/opt/ltib/usr --host=x86_64-linux ++ ac_cv_c_c99_format=yes ++ ac_cv_fread_reads_directories=no ++ ac_cv_snprintf_returns_bogus=no ++ ./configure --prefix=/opt/ltib/usr --host=x86_64-linux configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: CHECKS for programs checking for x86_64-linux-cc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for x86_64-linux-gar... ar checking for gtar... gtar checking for asciidoc... no configure: CHECKS for libraries checking for SHA1_Init in -lcrypto... no checking for SHA1_Init in -lssl... no checking for curl_global_init in -lcurl... no checking for XML_ParserCreate in -lexpat... no checking for iconv in -lc... yes checking for deflateBound in -lz... yes checking for socket in -lc... yes configure: CHECKS for header files checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for old iconv()... no configure: CHECKS for typedefs, structures, and compiler characteristics checking for struct dirent.d_ino... yes checking for struct dirent.d_type... yes checking for struct sockaddr_storage... yes checking for struct addrinfo... yes checking for getaddrinfo... yes checking whether formatted IO functions support C99 size specifiers... (cached) yes checking whether system succeeds to read fopen'ed directory... (cached) no checking whether snprintf() and/or vsnprintf() return bogus value... (cached) no configure: CHECKS for library functions checking for strcasestr... yes checking for memmem... yes checking for strlcpy... no checking for strtoumax... yes checking for setenv... yes checking for unsetenv... yes checking for mkdtemp... yes configure: CHECKS for site configuration configure: creating ./config.status config.status: creating config.mak.autogen + make GIT_VERSION = 1.5.6.5 * new build flags or prefix CC daemon.o CC alias.o CC alloc.o CC archive.o CC archive-tar.o CC archive-zip.o CC attr.o CC base85.o CC blob.o CC branch.o CC bundle.o CC cache-tree.o CC color.o CC combine-diff.o CC commit.o CC config.o CC connect.o CC convert.o CC copy.o CC csum-file.o CC ctype.o CC date.o CC decorate.o CC diffcore-break.o CC diffcore-delta.o CC diffcore-order.o CC diffcore-pickaxe.o CC diffcore-rename.o CC diff-delta.o CC diff-no-index.o CC diff-lib.o CC diff.o CC dir.o CC entry.o CC environment.o CC exec_cmd.o CC fsck.o CC graph.o CC grep.o CC hash.o GEN common-cmds.h CC help.o CC ident.o CC interpolate.o CC list-objects.o CC ll-merge.o CC lockfile.o CC log-tree.o CC mailmap.o CC match-trees.o CC merge-file.o CC name-hash.o CC object.o CC pack-check.o CC pack-revindex.o CC pack-write.o CC pager.o CC parse-options.o CC patch-delta.o CC patch-ids.o CC path-list.o CC path.o CC pkt-line.o CC pretty.o CC progress.o CC quote.o CC reachable.o CC read-cache.o CC reflog-walk.o CC refs.o CC remote.o CC revision.o CC run-command.o CC server-info.o CC setup.o CC sha1_file.o CC sha1-lookup.o CC sha1_name.o CC shallow.o CC sideband.o CC strbuf.o CC symlinks.o CC tag.o CC trace.o CC transport.o CC tree-diff.o CC tree.o CC tree-walk.o CC unpack-trees.o CC usage.o CC utf8.o CC walker.o CC write_or_die.o CC ws.o CC wt-status.o CC xdiff-interface.o CC mozilla-sha1/sha1.o CC compat/strlcpy.o AR libgit.a CC xdiff/xdiffi.o CC xdiff/xprepare.o CC xdiff/xutils.o CC xdiff/xemit.o CC xdiff/xmerge.o AR xdiff/lib.a LINK git-daemon CC fast-import.o LINK git-fast-import CC git.o CC builtin-add.o CC builtin-annotate.o CC builtin-apply.o CC builtin-archive.o CC builtin-blame.o CC builtin-branch.o CC builtin-bundle.o CC builtin-cat-file.o CC builtin-check-attr.o CC builtin-check-ref-format.o CC builtin-checkout-index.o CC builtin-checkout.o CC builtin-clean.o CC builtin-clone.o CC builtin-commit-tree.o CC builtin-commit.o CC builtin-config.o CC builtin-count-objects.o CC builtin-describe.o CC builtin-diff-files.o CC builtin-diff-index.o CC builtin-diff-tree.o CC builtin-diff.o CC builtin-fast-export.o CC builtin-fetch--tool.o CC builtin-fetch-pack.o CC builtin-fetch.o CC builtin-fmt-merge-msg.o CC builtin-for-each-ref.o CC builtin-fsck.o CC builtin-gc.o CC builtin-grep.o CC builtin-init-db.o CC builtin-log.o CC builtin-ls-files.o CC builtin-ls-remote.o CC builtin-ls-tree.o CC builtin-mailinfo.o CC builtin-mailsplit.o CC builtin-merge-base.o CC builtin-merge-file.o CC builtin-merge-ours.o CC builtin-merge-recursive.o CC builtin-mv.o CC builtin-name-rev.o CC builtin-pack-objects.o CC builtin-pack-refs.o CC builtin-prune-packed.o CC builtin-prune.o CC builtin-push.o CC builtin-read-tree.o CC builtin-reflog.o CC builtin-remote.o CC builtin-rerere.o CC builtin-reset.o CC builtin-rev-list.o CC builtin-rev-parse.o CC builtin-revert.o CC builtin-rm.o CC builtin-send-pack.o CC builtin-shortlog.o CC builtin-show-branch.o CC builtin-show-ref.o CC builtin-stripspace.o CC builtin-symbolic-ref.o CC builtin-tag.o CC builtin-tar-tree.o CC builtin-unpack-objects.o CC builtin-update-index.o CC builtin-update-ref.o CC builtin-upload-archive.o CC builtin-verify-pack.o CC builtin-verify-tag.o CC builtin-write-tree.o LINK git BUILTIN git-fetch-pack CC hash-object.o LINK git-hash-object CC imap-send.o LINK git-imap-send CC index-pack.o LINK git-index-pack CC merge-index.o LINK git-merge-index CC merge-tree.o LINK git-merge-tree CC mktag.o LINK git-mktag CC mktree.o LINK git-mktree CC pack-redundant.o LINK git-pack-redundant CC patch-id.o LINK git-patch-id CC receive-pack.o LINK git-receive-pack BUILTIN git-send-pack CC shell.o LINK git-shell CC show-index.o LINK git-show-index CC unpack-file.o LINK git-unpack-file CC update-server-info.o LINK git-update-server-info CC upload-pack.o LINK git-upload-pack CC var.o LINK git-var GEN git-am GEN git-bisect GEN git-filter-branch GEN git-lost-found GEN git-merge-octopus GEN git-merge-one-file GEN git-merge-resolve GEN git-merge GEN git-merge-stupid GEN git-mergetool GEN git-parse-remote GEN git-pull GEN git-quiltimport GEN git-rebase--interactive GEN git-rebase GEN git-repack GEN git-request-pull GEN git-sh-setup GEN git-stash GEN git-submodule GEN git-web--browse SUBDIR perl /usr/bin/perl Makefile.PL PREFIX='/opt/ltib/usr' Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl 5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib64/perl5 /usr/share/perl 5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /usr/local/lib64/perl5/site _perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /us r/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor _perl /usr/lib/perl5/site_perl .) at Makefile.PL line 1. BEGIN failed--compilation aborted at Makefile.PL line 1. make[1]: *** [perl.mak] Error 2 make: *** [perl/perl.mak] Error 2 error: Bad exit status from /root/ltib-10-1-1a-sv/tmp/rpm-tmp.91776 (%build) RPM build errors: Bad exit status from /root/ltib-10-1-1a-sv/tmp/rpm-tmp.91776 (%build) Build time for git: 42 seconds Failed building git Died at ./ltib line 1388. traceback: main::build_host_rpms:1388 main::host_checks:1443 main:543 Started: Thu Sep 15 07:22:46 2011 Ended: Thu Sep 15 07:23:31 2011 Elapsed: 45 seconds These packages failed to build: git Build Failed address@hidden ltib-10-1-1a-sv]# --- On Thu, 9/15/11, Stuart Hughes <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |