Community
cancel
Showing results for 
Search instead for 
Did you mean: 
DDape
Novice
2,457 Views

Yocto build error with the task: ncurses/ncurses_5.9.bb, do_install) failed with exit code '1'

Hi all,

I am trying to rebuild the Edison image to support 3g, GPRS module.

I am using Ubunti 14.04 LTS and building the image iot-devkit-yp-poky-edison-20160606.

I am following the instructions here: http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support

http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support Building Yocto linux for Intel Edison with 3G USB modems support - BOVS

And also:

When in the step:

bitbake edison-image u-boot

I got the flowing error:

| make: Leaving directory '/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/build/narrowc'

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/temp/log.do_install.32176)

ERROR: Task 1800 (virtual:native:/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta/recipes-core/ncurses/ncurses_5.9.bb, do_install) failed with exit code '1'

NOTE: Tasks Summary: Attempted 184 tasks of which 164 didn't need to be rerun and 1 failed.

Waiting for 0 running tasks to finish:

I have searched for many days and cannot find the answer.

Can anyone provide some info for this? Thanks a lot!

19 Replies
idata
Community Manager
256 Views

Hello dapenglan,

 

 

Thanks for reaching out!

 

 

This might be due to several factors, the most common one (in my experience) is that the internet connection went down for a moment and made the building crash. If that was the case, you could simply run bitbake again and this time it should work.

 

 

However, there are other reasons why this would happen. I would like you to check the following links:

 

 

http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-core/ncurses/ncurses_5.9.b...

 

http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-core/ncurses/ncurses_5.9.b...

 

 

Then go to /home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta/recipes-core/ncurses/ncurses_5.9.bbv verify if your ncurses recipe looks like one of those and let me know.

 

 

Also, the error log found in /home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/temp/log.do_install.32176 might also have some important information that we could use. So, if possible, could you please share the content of this file with us?

 

 

We'll be waiting for your response.

 

-Peter.
DDape
Novice
256 Views

Hi, thanks very much for efficient reply.

1. I am the WiFi connection issue before so that I am using Ethernet right now. I can exclusive the issue of connection problem now.

2. Here is the file content in my ncurse_5.9.bb:

require ncurses.inc

PR = "${INC_PR}.1"

SRC_URI += "file://tic-hang.patch \

file://config.cache \

"

SRC_URI[md5sum] = "8cb9c412e5f2d96bc6f459aa8c6282a1"

SRC_URI[sha256sum] = "9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b"

It is the same as: http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-core/ncurses/ncurses_5.9.b... http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-core/ncurses/ncurses_5.9.b...

3. here is my log.do_install.32176 file:

#

# !/bin/sh

# Emit a useful diagnostic if something fails:

bb_exit_handler() {

ret=$?

case $ret in

0) ;;

*) case $BASH_VERSION in

"") echo "WARNING: exit code $ret from a shell command.";;

*) echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from

"$BASH_COMMAND"";;

esac

exit $ret

esac

}

trap 'bb_exit_handler' 0

set -e

export prefix="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr"

export STRIP="strip"

export localstatedir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/var"

export USER="kic"

export libexecdir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib/ncurses"

export datadir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/share"

export PKG_CONFIG_SYSROOT_DIR=""

export BUILD_CXX="g++ "

export LD="ld "

export LDFLAGS="-L/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib -L/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/lib -Wl,-O1"

export bindir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/bin"

export CCLD="gcc "

export TARGET_CXXFLAGS="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P -O2 -pipe"

export includedir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include"

export BUILD_CC="gcc "

export BUILD_LDFLAGS="-L/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib -L/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/lib -Wl,-rpath-link,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath-link,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/lib -Wl,-rpath,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib -Wl,-rpath,/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/lib -Wl,-O1"

export CPP_FOR_BUILD="cpp "

unset TARGET_ARCH

export STRINGS="strings"

export BUILD_LD="ld "

export oldincludedir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include"

export BUILD_CCLD="gcc "

export CFLAGS_FOR_BUILD="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P -O2 -pipe"

export BUILD_CFLAGS="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P -O2 -pipe"

export CXXFLAGS_FOR_BUILD="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P -O2 -pipe"

export docdir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/share/doc"

export infodir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/share/info"

export base_prefix="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux"

export CC="gcc "

export TERM="xterm"

export RANLIB="ranlib"

export CPPFLAGS="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P"

export BUILD_CPP="cpp "

export base_sbindir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/sbin"

export CXX="g++ "

export FC="gfortran "

export BUILD_RANLIB="ranlib"

export PKG_CONFIG_PATH="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/lib/pkgconfig:/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/share/pkgconfig"

export BUILD_NM="nm"

export LD_FOR_BUILD="ld "

export AS="as "

export AR="ar"

export BUILD_CPPFLAGS="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P"

export CPP="gcc -E"

export mandir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/share/man"

export CONFIG_SITE="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/poky/meta/site/native"

export BUILD_CXXFLAGS="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P -O2 -pipe"

export OBJCOPY="objcopy"

export CCACHE_DISABLE="1"

export servicedir="/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/srv"

export HOME="/home/kic"

export TARGET_CPPFLAGS="-isystem/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/include -D_GNU_SOURCE -P"

export PKG_CONFIG_DIR="/home/kic/Documents/intel/ne...

idata
Community Manager
256 Views

Thank you for sharing this information. I would like to see the result of using the other recipe. Could you please try using the recipe found in http://cgit.openembedded.org/cgit.cgi/openembedded-core/tree/meta/recipes-core/ncurses/ncurses_5.9.b...?

 

 

Let us know how it goes.

 

-Peter.
DDape
Novice
256 Views

Hi,

I changed the recipe and still have the same issue as follows, can you tell me what is the reason?

installing /home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/image/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/i686-linux/usr/share/man/man3/wresize.3ncurses

| make[1]: Leaving directory '/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/build/narrowc/man'

| make: Leaving directory '/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/build/narrowc'

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/i686-linux/ncurses-native/5.9-r15.1/temp/log.do_install.20640)

ERROR: Task 1800 (virtual:native:/home/kic/Documents/intel/new1/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta/recipes-core/ncurses/ncurses_5.9.bb, do_install) failed with exit code '1'

Thanks.

idata
Community Manager
256 Views

I have tried to replicate the issue you described on my end but I'm not able to see this issue. Let me see if I can find out what might be happening. If I find something useful I'll make sure to post it here.

 

 

-Peter.
DDape
Novice
256 Views

Thanks a lot!

Can you tell me which version of linux and intel image you are using?

Maybe there is some wrong with my Linux version.

Best,

Dapeng

idata
Community Manager
256 Views

Hi Dapeng,

 

 

I ran it on an Ubuntu 14.04 PC using the latest image, which should be iot-devkit-yp-poky-edison-20160606. So, I believe we are on the same conditions.

 

 

Could you please let us know if you have done any modifications to the image already? The guide you posted on your first reply ( http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support) throws an error, so I'm not able to check it.

 

 

Could you please explain us the steps you have taken so far?

 

 

We'll be waiting for your reply.

 

-Peter.
DDape
Novice
256 Views

Hi.

(http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support)

This link now works.

Now I changed to another computer Macbook with parallel virtual machine also using Ubuntu 14.04.

It seems the problem above did not appear. However, I have another problem:

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_compile (log file is located at /home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/temp/log.do_compile.26354)

ERROR: Task 1446 (/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta-oic/recipes-core/iotivity/iotivity_1.0.0.bb, do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 2507 tasks of which 2503 didn't need to be rerun and 2 failed.

Waiting for 0 running tasks to finish:

Summary: 2 tasks failed:

/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta/recipes-extended/libarchive/libarchive_3.1.2.bb, do_configure

/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta-oic/recipes-core/iotivity/iotivity_1.0.0.bb, do_compile

Summary: There was 1 WARNING message shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

What's the problem with this one ? Thanks.

idata
Community Manager
256 Views

Although this is a different error, it is also unexpected. In my personal experience I have never seen it, I'd like to ask you, in the guide you shared ( http://bovs.org/post/168/Building-Yocto-linux-for-Intel-Edison-with-3G-USB-modems-support), you are in the "Building image without tuning" section, right?

 

 

I'm interested in your network connection, is it restricted? If so, is it possible for you to connect to an open network and try to build the image again? Network restrictions, such as the ones found on a corporate network, could affect the building process.

 

 

In case you are in an open network, could you please download the Edison's source from http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip and follow the instructions found in the README.edison file? The instructions found in that document should build the standard image, I would like to know if you are able to complete the process with those steps.

 

 

Let us know.

 

-Peter.
DDape
Novice
256 Views

Hi,

Yes. I am in the step "Building image without tuning".

1. Actually I use both the network "Eduroam" which is an University network and my personal network at home. It doesn't make much different.

2. Actually I downed the Edison's source from http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip exactly as the link you provided and got stuck at the step: bitbake edison-image u-boot

Still cannot find the reason. Maybe I need to change to another computer to test it again:(

DDape
Novice
256 Views

Hi,

here is the whole Errors info:

ocuments/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/libarchive/3.1.2-r0/temp/log.do_configure.1274)

ERROR: Task 3642 (/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/../poky/meta/recipes-extended/libarchive/libarchive_3.1.2.bb, do_configure) failed with exit code '1'

ERROR: Function failed: do_compile (log file is located at /home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/temp/log.do_compile.1273)

ERROR: Logfile of failure stored in: /home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/temp/log.do_compile.1273

Log data follows:

| DEBUG: Executing shell function do_compile

| checking file extlibs/hippomocks-master/HippoMocks/hippomocks.h

| Reversed (or previously applied) patch detected! Assume -R? [n]

| Apply anyway? [n]

| Skipping patch.

| 1 out of 1 hunk ignored

| scons: Reading SConscript files ...

| Checking for POSIX Thread Support...(cached) yes

| Given Transport is ALL

| Given OS is linux

| BUILD_SAMPLE is ON

| CA Transport is ALL

| Reading ca script ALL

| Reading common folder script

| Reading IP adapter script

| Reading BT EDR adapter script

| Reading BLE adapter script for linux

| Include path is ['../api', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/iotivity-1.0.0/deps/linux/include', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/iotivity-1.0.0/extlibs/tinycbor/tinycbor/src', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/iotivity-1.0.0/out/yocto/i586/release/resource/c_common', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/iotivity-1.0.0/out/yocto/i586/release/resource/c_common/oic_malloc/include', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/iotivity-1.0.0/out/yocto/i586/release/resource/c_common/oic_string/include', '../inc', '../lib/libcoap-4.1.1', '../common/inc', 'common/inc/', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/edison/usr/include/gio-unix-2.0/', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/edison/usr/include/glib-2.0', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/sysroots/edison/usr/lib/glib-2.0/include', '/home/parallels/Documents/intel/iot-devkit-yp-poky-edison-20160606/build_edison/tmp/work/core2-32-poky-linux/iotivity/1.0.0-r0/iotivity-1.0.0/out/yocto/i586/release/resource/csdk/connectivity/src/bt_le_adapter/linux']

| Files path is ['./../common/src/uarraylist.c', './../common/src/ulinklist.c', './../common/src/uqueue.c', './../common/src/caremotehandler.c', './../common/src/logger.c', './../common/src/oic_logger.c', './../common/src/oic_console_logger.c', './../common/src/cathreadpool_pthreads.c', './../common/src/camutex_pthreads.c', './adapter_util/caadapterutils.c', './adapter_util/cafragmentation.c', './cablockwisetransfer.c', './caconnectivitymanager.c', './cainterfacecontroller.c', './camessagehandler.c', './canetworkconfigurator.c', './caprotocolmessage.c', './caqueueingthread.c', './caretransmission.c', './ip_adapter/caipadapter.c', './ip_adapter/caipserver.c', './ip_adapter/linux/caipnwmonitor.c', './bt_edr_adapter/caedradapter.c', './bt_edr_adapter/linux/caedradapter.c', './bt_le_adapter/caleadapter.c', './bt_le_adapter/linux/object_manager-glue.c', './bt_le_adapter/linux/object_manager-glue.h', './bt_le_adapter/linux/bluez-glue.c', './bt_le_adapter/linux/bluez-glue.h', './bt_le_adapter/linux/characteristic.c', './bt_le_adapter/linux/descriptor.c', './bt_le_adapter/linux/service.c', './bt_le_adapter/linux/advertisement.c', './bt_le_adapter/linux/utils.c', './bt_le_adapter/linux/central.c', './bt_le_adapter/linux/peripheral.c', './bt_le_adapter/linux/client.c', './bt_le_adapter/linux/server.c', './bt_le_adapter/linux/recv.c', './bt_le_adapter/linux/caleinterface.c']

| Reading ca script ALL

| Reading sample application build script

| Sample secured flag is 0

| sample src ['./sample_main.c']

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

| *** Checking for installation of google unit test 1.7.0 ***

| *** Checking for installation of hippomocks ***

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are *

| * installed! *

| *******************************************************************************

|

|

| *********************************** Warning ***********************************

| * You are trying cross build, please make sure (i586) version libraries are

| * installed! *

| *******************************************************************************

|

| Checking for C++ library boost_thread... (cached) yes

| Checking for C++ library boost_system... (cached) yes

<p...
idata
Community Manager
256 Views

I understand, maybe the network found in your University could have some restrictions that might affect the building process. However, if your personal network doesn't have any restrictions it should not affect the process.

 

 

If the issue was related to a network drop, I'd doubt that it would always fail on the same point. So, I believe we can discard this possibility.

 

 

Does your PC has any sort of power saving modes? If so, do you think it could be disconnecting you from the internet after some time? If that was the case, are you able to disable these modes?

 

 

If possible, yes, I would like you to try with another PC to see if this makes a difference.

 

-Peter.
DDape
Novice
256 Views

Hi,

I have try another PC, still got some bugs.

Can you provide a ubuntu image which is successfully compiled? Therefore I can add the model I want.

Thanks a lot!

/Dapeng Lan

idata
Community Manager
256 Views

Hi Dapeng,

The behavior you are experiencing is very strange, I mean every time you try to build the image the error message is different. I'm not sure what's causing this issues as you mentioned that there are no network restrictions, that you have not done any modifications to the image and that the issues continue even if you try on a different computer.

Regarding your question, the PC I used to build an image has the following configuration:

makers@makers:~$ sudo lshw -short

 

H/W path Device Class Description

 

====================================================

 

system ()

 

/0 bus D54250WYK

 

/0/0 memory 64KiB BIOS

 

/0/3a processor Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz

 

/0/3a/3b memory 512KiB L2 cache

 

/0/3a/3c memory 128KiB L1 cache

 

/0/3a/3d memory 3MiB L3 cache

 

/0/3e memory 8GiB System Memory

 

/0/3e/0 memory 4GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)

 

/0/3e/1 memory 4GiB SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)

 

/0/100 bridge Haswell-ULT DRAM Controller

 

/0/100/2 display Haswell-ULT Integrated Graphics Controller

 

/0/100/3 multimedia Haswell-ULT HD Audio Controller

 

/0/100/14 bus 8 Series USB xHCI HC

 

/0/100/16 communication 8 Series HECI # 0

 

/0/100/19 eth0 network Ethernet Connection I218-V

 

/0/100/1b multimedia 8 Series HD Audio Controller

 

/0/100/1c bridge 8 Series PCI Express Root Port 1

 

/0/100/1c.3 bridge 8 Series PCI Express Root Port 4

 

/0/100/1c.3/0 wlan0 network Centrino Advanced-N 6205 [Taylor Peak]

 

/0/100/1d bus 8 Series USB EHCI # 1

 

/0/100/1f bridge 8 Series LPC Controller

 

/0/100/1f.2 storage 8 Series SATA Controller 1 [AHCI mode]

 

/0/100/1f.3 bus 8 Series SMBus Controller

 

/0/1 scsi0 storage

 

/0/1/0.0.0 /dev/sda disk 1TB WDC WD10JPVX-22J

 

/0/1/0.0.0/1 /dev/sda1 volume 127MiB reserved partition

 

/0/1/0.0.0/2 /dev/sda2 volume 173GiB Windows NTFS volume

 

/0/1/0.0.0/3 /dev/sda3 volume 199MiB Windows FAT volume

 

/0/1/0.0.0/4 /dev/sda4 volume 953MiB Linux swap volume

 

/0/1/0.0.0/6 /dev/sda6 volume 756GiB EXT4 volume

 

/0/2 scsi3 storage

 

/0/2/0.0.0 /dev/sdb disk 180GB INTEL SSDMCEAW18

 

/0/2/0.0.0/1 /dev/sdb1 volume 511MiB Windows FAT volume

 

/0/2/0.0.0/2 /dev/sdb2 volume 159GiB EXT4 volume

 

/0/2/0.0.0/3 /dev/sdb3 volume 8118MiB Linux swap volume

 

/1 power To Be Filled By O.E.M.

 

makers@makers:~$ uname -a

 

Linux makers 4.4.0-38-generic # 57~14.04.1-Ubuntu SMP Tue Sep 6 17:20:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Let me investigate some more about this. If I'm able to find something useful I will post it here.

 

-Peter.
DDape
Novice
256 Views

Hi,

I found the similar issue in the forum:

I reached to the author and he told that he solved the problem by " use an old toolchain."

That's the only things he can remember. what does that mean?

Thanks a lot!

Dapeng Lan

idata
Community Manager
256 Views

Hi Dapeng,

 

 

He tried to tell you is that he used an older version of Edison's source. In case you are interested in trying this as a workaround, you can find the older versions of Edison's source in http://iotdk.intel.com/src/

 

 

By the way I noted that if you click on any of those links there is a strange behavior (it is probably temporal). Let say you click on 3.0, it will take you to the link: http://iotdk.intel.com/src/3.0, it will throw an error message. To fix this issue add a "/" to the URL, so it looks like this: http://iotdk.intel.com/src/3.0/. That should make the link work.

 

 

Let me know how it goes.

 

-Peter.
idata
Community Manager
256 Views

Hi Dapeng,

 

 

We've been building the image and trying to replicate the issues you described. Nevertheless, I have not been able to do so, right now, my guess is that your PC might be missing some dependencies, such as build-essential git diffstat gawk chrpath texinfo libtool gcc-multilib nodejs gyp libsdl-dev. Could you please try to update this packages before building your image?

 

 

Also, how did your tests go? Were you able to build the image with a previous version of the toolchain?

 

 

Let us know.

 

-Peter.
DDape
Novice
256 Views

NO,I didn't solve it. I am using the image here:

using the image it provieded: https://drive.google.com/open%3Fid%3D0Bzn05byUx-dZOFNsb2tZMW9Qdjg yocto_gg_2606_1.zip - Google Drive

 

I hope the intel edison could provide the 3g image for next one as it is important for IoT.

Thanks.

Dapeng Lan

idata
Community Manager
256 Views

I understand. I'm glad you are using an image that is working for you.

 

 

Nevertheless, I'm going to take your feedback and send it to the appropriate team. Thank you for your patience and if you ever have any other doubt, please don't hesitate to come back to the community.

 

 

-Peter.