[yocto] FW: Regarding offline build
Amit Kumar
Amit.Kumar at lntinfotech.com
Thu Jul 25 07:16:27 PDT 2013
Hi,
I am still struggling to build the yocto project offline. Please find below the details of DL_DIR after the "bitbake -c fetchall core-image-minimal" step.
If anyone have idea about this, please guide me.
Thanks & Regards
Amit K
________________________________________
From: yocto-bounces at yoctoproject.org [yocto-bounces at yoctoproject.org] On Behalf Of Amit Kumar [Amit.Kumar at lntinfotech.com]
Sent: Wednesday, July 24, 2013 10:05 PM
To: Gary Thomas; yocto at yoctoproject.org
Subject: Re: [yocto] FW: Regarding offline build
> Hi,
> I have tried the steps suggested by Mr. Paul.
> But still i am facing an error to build yocto project offline.
> First - I use the machine that have full Internet access and execute the - bitbake -c fetchall core-image-minimal Before that i have enabled the DL_DIR in conf/local.conf file.
>
> One the fetching done, i remove the internet and build the image - bitbake -k core-image-minimal But still i am facing an error, some packages still required internet access during build.
>
> Please find the attached error log with this mail.
> Please let me know if i missed out any step.
This process should have worked. What files were in your DL_DIR at
the end of the fetchall step?
After the end of fetchall step.. the files avaliable under the download is -
////////////////////////////////////////////////////////////////////
amit at amit-HP:~/Downloads/poky-dylan-9.0.1/build$ cd downloads/
backport/ debian/ eglibc-2.17/ etc/ git2/ licenses/ share/
amit at amit-HP:~/Downloads/poky-dylan-9.0.1/build$
///////////////////////////////////////////////////////////////////
Check again after the build error -
////////////////////////////////////////////////////////////////////
amit at amit-HP:~/Downloads/poky-dylan-9.0.1/build/downloads$ ls
0001-crtstuff.c-USE_PT_GNU_EH_FRAME-Define-for-systems-us.patch.done host.conf.done
0001-eglibc-menuconfig-support.patch.done hostname.sh.done
0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch.done hosts.done
0001-Fixing-keyboard_force_release.sh-shell-script-path.patch.done hwclock.sh.done
0001-libffi-update-for-3.0.11.patch.done improve_auto_header_gen.patch.done
0001-Makefile.in-vis_hide-gen-hide-list-Do-not-make-defin.patch.done inetd.conf.done
0001-man-disable-man-page-generation-because-we-don-t-hav.patch.done inetd.done
0001-R_ARM_TLS_DTPOFF32.patch.done init.done
0002-eglibc-menuconfig-hex-string-options.patch.done initgroups_keys.patch.done
0003-eglibc-menuconfig-build-instructions.patch.done inittab.done
04-default-is-optimized.patch.done input.patch.done
05-enable-ctypes-cross-build.patch.done inputrc.done
06-ctypes-libffi-fix-configure.patch.done install.patch.done
100-uclibc-conf.patch.done interfaces.done
10-distutils-fix-swig-parameter.patch.done int-is-not-the-same-size-as-size_t.patch.done
11-distutils-never-modify-shebang-line.patch.done IO-acquire-lock-fix.patch.done
12-distutils-prefix-is-inside-staging-area.patch.done issue.done
187b7b1646ee.patch.done issue.net.done
200-uclibc-locale.patch.done kconfig-frontends-3.8.0.0.tar.xz
203-uclibc-locale-no__x.patch.done kconfig-frontends-3.8.0.0.tar.xz.done
204-uclibc-locale-wchar_fix.patch.done ldflags.patch.done
205-uclibc-locale-update.patch.done lib-build-fix.patch.done
301-missing-execinfo_h.patch.done libcap2_2.22.orig.tar.gz
302-c99-snprintf.patch.done libcap2_2.22.orig.tar.gz.done
303-c99-complex-ugly-hack.patch.done libffi-3.0.11.tar.gz
304-index_macro.patch.done libffi-3.0.11.tar.gz.done
305-libmudflap-susv3-legacy.patch.done libgcc-sjlj-check.patch.done
306-libstdc++-namespace.patch.done libgcrypt-1.5.0.tar.gz
64bithack.patch.done libgcrypt-1.5.0.tar.gz.done
740-sh-pr24836.patch.done libgpg-error-1.11.tar.bz2
800-arm-bigendian.patch.done libgpg-error-1.11.tar.bz2.done
aarch64-adding-build-support.patch.done libiberty_path_fix.patch.done
ac_config_links.patch.done libmpc_fix_for_automake-1.12.patch.done
acinclude.m4.done libtasn1-2.14.tar.gz
acl-2.2.51.src.tar.gz libtasn1-2.14.tar.gz.done
acl-2.2.51.src.tar.gz.done libtasn1_fix_for_automake_1.12.patch.done
aclocal.tgz.done libtool-2.4.2.tar.gz
add-aarch64-support.patch.done libtool-2.4.2.tar.gz.done
add-md5module-support.patch.done libtool-2.4-update.patch.done
add-pkgconfig-support.patch.done libtool2.patch.done
add_resource_h_to_wait_h.patch.done libtool.patch.done
add-system.patch.done libtool-rpath-fix.patch.done
adduser-empty_pwd.patch.done libusb-1.0.9.tar.bz2
add-verbose.patch.done libusb-1.0.9.tar.bz2.done
amd64.patch.done libusb-compat-0.1.4.tar.bz2
ansidecl.patch.done libusb-compat-0.1.4.tar.bz2.done
apr-1.4.6.tar.bz2 libxml2-2.9.0.tar.gz
apr-1.4.6.tar.bz2.done libxml2-2.9.0.tar.gz.done
apr-util-1.5.1.tar.gz libxml2-CVE-2012-2871.patch.done
apr-util-1.5.1.tar.gz.done libxml-64bit.patch.done
ar-from-env.patch.done libxslt-1.1.28.tar.gz
argparse-1.2.1.tar.gz libxslt-1.1.28.tar.gz.done
argparse-1.2.1.tar.gz.done licenses
arm-hard-float-loader.patch.done links.conf.done
attr-2.4.46.src.tar.gz linux-3.8.tar.bz2
attr-2.4.46.src.tar.gz.done linux-3.8.tar.bz2.done
autoconf-2.69.tar.gz localextra.rules.done
autoconf-2.69.tar.gz.done local.rules.done
autofoo.patch.done long-long-thumb.patch.done
autoheader-nonfatal-warnings.patch.done lzo-2.06.tar.gz
automake-1.12.6.tar.gz lzo-2.06.tar.gz.done
automake-1.12.6.tar.gz.done m4-1.4.16.tar.gz
automount.rules.done m4-1.4.16.tar.gz.done
autonet.rules.done m4.patch.done
autoreconf-exclude.patch.done Makefile.am.done
autoreconf-foreign.patch.done Makefile.in.in.done
autoreconf-gnuconfigize.patch.done makefile.patch.done
autoreconf-include.patch.done Makefile-ptest.patch.done
autotools.patch.done make_git_commands_conditional.patch.done
avoid_absolute_paths_for_general_utils.patch.done make_include.done
avoid_AM_PROG_MKDIR_P_warning_error_with_automake_1.12.patch.done mbsalign-license.patch.done
avoid-FORTIFY-warnings.patch.done MCONFIG.done
avoid-oob-array-access.patch.done mdev.conf.done
avoid_static.patch.done mdev.done
B921600.patch.done mips64-default-ld-emulation.patch.done
backport mips64-default-n64.patch.done
banner.sh.done mips-rld-map-check.patch.done
base-passwd_3.5.26.tar.gz modutils.sh.done
base-passwd_3.5.26.tar.gz.done motd.done
binutils-2.23.1.tar.bz2 mountall.sh.done
binutils-2.23.1.tar.bz2.done mount.blacklist.done
binutils-armv5e.patch.done mount.busybox.done
binutils-fix-over-array-bounds-issue.patch.done mountnfs.sh.done
binutils-poison.patch.done mount.sh.done
binutils-uclibc-100-uclibc-conf.patch.done mpc-0.8.2.tar.gz
binutils-uclibc-300-001_ld_makefile_patch.patch.done mpc-0.8.2.tar.gz.done
binutils-uclibc-300-006_better_file_error.patch.done mpfr-3.1.1.tar.bz2
binutils-uclibc-300-012_check_ldrunpath_length.patch.done mpfr-3.1.1.tar.bz2.done
binutils-uclibc-gas-needs-libm.patch.done multilib.patch.done
binutils-x86_64_i386_biarch.patch.done multilib_readlib.patch.done
bison-2.7.tar.gz ncurses-5.9.tar.gz
bison-2.7.tar.gz.done ncurses-5.9.tar.gz.done
bootlogd.init.done need.done
bootmisc.sh.done neon-0.29.6.tar.gz
builddir.patch.done neon-0.29.6.tar.gz.done
buildtest.patch.done netbase_5.0.tar.gz
busybox-1.20.2-kernel_ver.patch.done netbase_5.0.tar.gz.done
busybox-1.20.2.tar.bz2 network.sh.done
busybox-1.20.2.tar.bz2.done nfsroot.done
busybox-appletlib-dependency.patch.done nobash.patch.done
busybox-cron.done nohostlibs.patch.done
busybox-httpd.done norm-rpath.patch.done
busybox-klogd.service.in.done norpath.patch.done
busybox-mkfs-minix-tests_bigendian.patch.done nsswitch.conf.done
busybox-syslog.service.in.done obsolete_automake_macros.patch.done
busybox-udhcpc-no_deconfig.patch.done ocf-linux-20120127.tar.gz
busybox-udhcpd.done ocf-linux-20120127.tar.gz.done
bzip2-1.0.6.tar.gz oe-ldflags.patch.done
bzip2-1.0.6.tar.gz.done openssl-1.0.1e.tar.gz
check-automake-cross-warning.patch.done openssl-1.0.1e.tar.gz.done
checkfs.sh.done openssl_fix_for_x32.patch.done
check-if-symlinks-are-valid.patch.done openssl-fix-link.patch.done
checkroot.sh.done optional_head_check.patch.done
cleanup.patch.done optional_libstdc.patch.done
COLLECT_GCC_OPTIONS.patch.done parallel.patch.done
config.cache.done passwd_rotate_check.patch.done
configfix.patch.done pcimodules-pciutils.diff.done
config-guess-uclibc.patch.done pciutils-3.1.10.tar.bz2
config.rpath.done pciutils-3.1.10.tar.bz2.done
config_site.patch.done PD.patch.done
configure.ac.done permissions.rules.done
configure_fixes.patch.done pigz-2.3.tar.gz
configure-fix.patch.done pigz-2.3.tar.gz.done
configure-libtool.patch.done pkg-config-0.25.tar.gz
configure.patch.done pkg-config-0.25.tar.gz.done
configure-sbindir.patch.done pkgconfig_fix.patch.done
configure-targets.patch.done pkg-config-native.in.done
COPYING.done pkgconfig.patch.done
copyright.done populate-volatile.sh.done
correct_rpl_gettimeofday_signature.patch.done ppce5500-e6500-support.patch.done
cpp-honor-sysroot.patch.done ppc_no_crtsavres.patch.done
crypt-lib.patch.done ppc_slow_ieee754_sqrt.patch.done
cvs-20040608.patch.done ppc-sqrt_finite.patch.done
debian ppc_with_cpu.patch.done
debug.patch.done pr32219.patch.done
default.script.done prefer-cpio-over-pax-for-ustar-archives.patch.done
defconfig.done prefix.patch.done
define_insn_reservation.patch.done profile.done
defines.h.done program_prefix.patch.done
depmod-search.conf.done provide.done
devfs-udev.rules.done pseudo-1.5.1.tar.bz2
device_table.txt.done pseudo-1.5.1.tar.bz2.done
devpts.done py-compile-compile-only-optimized-byte-code.patch.done
devpts.sh.done Python-2.7.3.tar.bz2
disable-legacy.patch.done Python-2.7.3.tar.bz2.done
disable_relax_pic_calls_flag.patch.done python-libdir.patch.done
disablesdt.patch.done quilt-0.60.tar.gz
disable-texinfo-5.patch.done quilt-0.60.tar.gz.done
dont-depend-on-help2man.patch.done rc.done
eglibc-2.17 rcS-default.done
eglibc-2.17-svnr22064.tar.bz2 rcS.done
eglibc-2.17-svnr22064.tar.bz2.done readline62-001
eglibc_fix_findidx_parameters.patch.done readline62-001.done
eglibc-svn-arm-lowlevellock-include-tls.patch.done readline62-002
engines-install-in-libdir-ssl.patch.done readline62-002.done
etc readline62-003
expat-2.1.0.tar.gz readline62-003.done
expat-2.1.0.tar.gz.done readline62-004
fail_on_no_media.patch.done readline62-004.done
fbsetup.done readline-6.2.tar.gz
fileops-without-wchar-io.patch.done readline-6.2.tar.gz.done
filesystems.done read-only-rootfs-hook.sh.done
find.pl.done reboot.done
find-touchscreen.sh.done relative-libdir.patch.done
fix-configure.patch.done remove-gets.patch.done
fix-conflicting-rand.patch.done remove-index.patch.done
fix-final-rpath.patch.done remove.ldconfig.call.patch.done
fix-for-spurious-testsuite-failure.patch.done remove-potcdate.sin.done
fix-gettext-version.patch.done remove-usr-local-lib-from-m4.patch.done
fix-g++-sysroot.patch.done rename-with-sysroot.patch.done
fix-install-depends.patch.done respect-fstack-protector.patch.done
fixinstall.patch.done rmnologin.sh.done
Fix-NULL-pointer-crash.patch.done rotation.done
fix_path_xtra.patch.done rs6000-tables.patch.done
fix-rpath.patch.done run-parts.in.usr-bin.patch.done
fix-tibetian-locales.patch.done run-ptest.done
fix-undefined-O_CLOEXEC.patch.done run.rules.done
flex-2.5.35.tar.bz2 save-rtc.sh.done
flex-2.5.35.tar.bz2.done scripts-Makefile.headersinst-install-headers-from-sc.patch.done
fortran-cross-compile-hack.patch.done sendsigs.done
fsl-ppc-no-fsqrt.patch.done setuptools-0.6c11.tar.gz
fstab.done setuptools-0.6c11.tar.gz.done
functions.done share
gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch.done shared-libs.patch.done
gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch.done shells.done
gcc-4.7.2.tar.bz2 simple.script.done
gcc-4.7.2.tar.bz2.done single.done
gcc-argument-list-too-long.patch.done sqlite-autoconf-3071502.tar.gz
gcc-armv4-pass-fix-v4bx-to-ld.patch.done sqlite-autoconf-3071502.tar.gz.done
gcc-poison-dir-extend.patch.done stat-usr-bin.patch.done
gcc-poison-system-directories.patch.done strict-atime.patch.done
gcc-uclibc-locale-ctype_touplow_t.patch.done subversion-1.7.8.tar.bz2
gdbm-1.10.tar.gz subversion-1.7.8.tar.bz2.done
gdbm-1.10.tar.gz.done swapargs.h.done
generate-supported.mk.done symver.patch.done
generic-syscalls.patch.done sysfs.sh.done
get_header_tar.patch.done syslog.done
gettext-0.18.2.tar.gz syslog-startup.conf.done
gettext-0.18.2.tar.gz.done sys_resource.patch.done
git2 sysvinit-2.88dsf.tar.bz2
git2_git.gnome.org.gtk-doc-stub.tar.gz sysvinit-2.88dsf.tar.bz2.done
git2_git.gnome.org.gtk-doc-stub.tar.gz.done testsuite-du-du-k-works-fix-false-positive.patch.done
git2_github.com.philb.update-rc.d.git.tar.gz tic-hang.patch.done
git2_github.com.philb.update-rc.d.git.tar.gz.done tinylogin-1.4.tar.bz2
git2_git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git.tar.gz tinylogin-1.4.tar.bz2.done
git2_git.kernel.org.pub.scm.utils.kernel.kmod.kmod.git.tar.gz.done trailingslash.patch.done
git2_git.yoctoproject.org.linux-yocto-3.8.git.tar.gz trunk_opkg.googlecode.com_.svn_649_.tar.gz
git2_git.yoctoproject.org.linux-yocto-3.8.git.tar.gz.done trunk_opkg.googlecode.com_.svn_649_.tar.gz.done
git2_git.yoctoproject.org.yocto-kernel-tools.git.tar.gz tzselect-awk.patch.done
git2_git.yoctoproject.org.yocto-kernel-tools.git.tar.gz.done tzselect-sh.patch.done
glib-2.0_fix_for_x32.patch.done uclibc-__progname-conflict.patch.done
glib-2.34.3.tar.xz udev-182.tar.gz
glib-2.34.3.tar.xz.done udev-182.tar.gz.done
glibc_crypt_fix.patch.done udev-cache.default.done
GLIBC_DYNAMIC_LINKER.patch.done udev-cache.done
glibc.fix_sqrt2.patch.done udev.rules.done
glibconfig-sysdefs.h.done umount.busybox.done
glib-gettextize-dir.patch.done umountfs.done
GLRO_dl_debug_mask.patch.done umountnfs.sh.done
gmp-5.1.0a.tar.bz2 unifdef.c.done
gmp-5.1.0a.tar.bz2.done uninstall_force.patch.done
gmp_fix_for_x32.patch.done unixccompiler.patch.done
gnu-config-20120814.tar.bz2 urandom.done
gnu-config-20120814.tar.bz2.done usbd.done
gnu-configize.in.done usb-devices-avoid-dependency-on-bash.patch.done
gnutls-2.12.21.tar.bz2 usbutils-006.tar.gz
gnutls-2.12.21.tar.bz2.done usbutils-006.tar.gz.done
gnutls_fix_for_automake_1.12.1.patch.done use-defaults.h-and-t-oe-in-B.patch.done
gnutls-openssl.patch.done use-includedir.patch.done
gperf-3.0.4.tar.gz use-ml-conf-files-from-B.patch.done
gperf-3.0.4.tar.gz.done use_O2_option.patch.done
GPLv2.patch.done use-sysroot-in-libpath.patch.done
guess-fix.patch.done util-linux-2.22.2.tar.bz2
guilt_0.33.orig.tar.gz util-linux-2.22.2.tar.bz2.done
guilt_0.33.orig.tar.gz.done util-linux-ng-2.16-mount_lock_path.patch.done
guilt-bash.patch.done util-linux-ng-replace-siginterrupt.patch.done
guilt-import-commit.patch.done v86d-0.1.10.tar.bz2
guilt-init.patch.done v86d-0.1.10.tar.bz2.done
guilt.patch.done volatiles.done
guilt-pop.patch.done watch.in.usr-bin.patch.done
guilt-push-no-series.patch.done wcast-qual-PR55383.patch.done
guilt-push.patch.done wget_dl_dir_fix.patch.done
guilt-update-supported-git-versions-to-1.8.x.patch.done zlib-1.2.7.tar.bz2
halt.done zlib-1.2.7.tar.bz2.done
amit at amit-HP:~/Downloads/poky-dylan-9.0.1/build/downloads$
////////////////////////////////////////////////////////////////////
________________________________________
From: yocto-bounces at yoctoproject.org [yocto-bounces at yoctoproject.org] On Behalf Of Gary Thomas [gary at mlbassoc.com]
Sent: Wednesday, July 24, 2013 7:17 PM
To: yocto at yoctoproject.org
Subject: Re: [yocto] FW: Regarding offline build
On 2013-07-24 06:48, Amit Kumar wrote:
>
>
> -----Original Message-----
> From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Amit Kumar
> Sent: Wednesday, July 24, 2013 8:10 AM
> To: Paul Eggleton
> Cc: yocto at yoctoproject.org; Lee_Ballard at Dell.com
> Subject: Re: [yocto] Regarding offline build
>
> Hi,
> I have tried the steps suggested by Mr. Paul.
> But still i am facing an error to build yocto project offline.
> First - I use the machine that have full Internet access and execute the - bitbake -c fetchall core-image-minimal Before that i have enabled the DL_DIR in conf/local.conf file.
>
> One the fetching done, i remove the internet and build the image - bitbake -k core-image-minimal But still i am facing an error, some packages still required internet access during build.
>
> Please find the attached error log with this mail.
> Please let me know if i missed out any step.
This process should have worked. What files were in your DL_DIR at
the end of the fetchall step?
> ________________________________________
> From: Paul Eggleton [paul.eggleton at linux.intel.com]
> Sent: Tuesday, July 23, 2013 4:05 PM
> To: Amit Kumar
> Cc: Lee_Ballard at Dell.com; yocto at yoctoproject.org
> Subject: Re: [yocto] Regarding offline build
>
> Amit Kumar wrote:
>>> To build the Yocot Project offline, i have done the following- [1]
>>> Downloaded the Poky-<latest>.tar.bz2 [2] Untar it. and enter the
>>> poky dir.
>>> [3] execute the - source oe-init-build-env [4] edit the
>>> conf/local.conf file as per ur suggesion.
>>> [5] Build the image - bitbake core-image-minimal
>>>
>>> But still i am getting an error-
>>> To have to look into the error plz find the attached error log-
>
> The missing step is you haven't populated DL_DIR (defaults to downloads/ under the build directory) with files that would normally be downloaded by the system, so it is attempting to download them and stopping because BB_NO_NETWORK is set, hence:
>
> | ERROR: Function failed: Network access disabled through BB_NO_NETWORK
>
> The easiest thing to do is to go to a machine that does have full internet access, untar poky, source oe-init-build-env and then run:
>
> bitbake -c fetchall <imagename>
>
> Then copy the contents of DL_DIR to the machine without network access and you should be ready to go.
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>
> The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list