Skip to contentSkip to conversation

Problems building compiler for Pandaboard

denzil Luke A. Guest 4 participants 9 messages Aug 9, 2012 – Aug 14, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I was originally trying to build for Gumstix Overo IronStorm board using the MACHINE ??= "overo-storm", this failed
(https://bugzilla.yoctoproject.org/show_bug.cgi?id=2924), so I thought I'd try a build for my Pandaboard ES.

There's no ES specific version yet, but I thought I'd try to build using MACHINE = "pandaboard" - I don't know if the ??= or = should make a difference, I was told not. But now this is failing in gcc-cross-initial-4.6.3+svnr184847-r25:

| for file
in .. /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/float.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/iso646.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdarg.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdbool.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stddef.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/varargs.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdfix.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/config/arm/mmintrin.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/config/arm/arm_neon.h; do \

| 	  if [ X$file != X.. ]; then \
| 	    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
| 	    echo timestamp > include/$realfile; \
| 	    rm -f include/$realfile; \
| 	    cp $file include; \
| 	    chmod a+r include/$realfile; \
| 	  fi; \
| 	done
| for file in .. ; do \
| 	  if [ X$file != X.. ]; then \
|             mv include/$file include/x_$file; \
|             echo "#include_next <$file>" >include/$file; \
|             cat include/x_$file >>include/$file; \
|             rm -f include/x_$file; \
| 	    chmod a+r include/$file; \
| 	  fi; \
| 	done
| for file in .. ; do \
| 	  if [ X$file != X.. ]; then \
| 	    echo "#include_next <$file>" >>include/$file; \
| 	    chmod a+r include/$file; \
| 	  fi; \
| 	done
| rm -f include/unwind.h
| cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/config/arm/unwind-arm.h
include/unwind.h
| chmod a+r include/unwind.h
| rm -f include/stdint.h
| if [ wrap = wrap ]; then \
| 	  rm -f include/stdint-gcc.h; \
|

cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3 +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-gcc.h include/stdint-gcc.h; \
| chmod a+r include/stdint-gcc.h; \
|
cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3 +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-wrap.h include/stdint.h; \

| 	  chmod a+r include/stdint.h; \
| 	elif [ wrap = provide ]; then \
|
cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-gcc.h
include/stdint.h; \
| 	  chmod a+r include/stdint.h; \
| 	fi
| set -e; for ml in `cat fixinc_list`; do \
| 	  sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
| 	  multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
| 	  fix_dir=include-fixed${multi_dir}; \
| 	  if [ -f

`echo /home/laguest/src/others/poky/poky-build/tmp/sysroots/pandaboard
${sysroot_headers_suffix}/usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,'
-e ta`/limits.h ] ; then \
|
cat /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/limitx.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/glimits.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/limity.h > tmp-xlimits.h; \
| else \
|
cat /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/glimits.h > tmp-xlimits.h; \
| fi; \
|

	  /bin/sh /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/../mkinstalldirs ${fix_dir}; \
| 	  chmod a+rx ${fix_dir} || true; \
| 	  rm -f ${fix_dir}/limits.h; \
| 	  mv tmp-xlimits.h ${fix_dir}/limits.h; \
| 	  chmod a+r ${fix_dir}/limits.h; \
| 	done
| rm -f include-fixed/README
| cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/../fixincludes/README-fixinc
include-fixed/README
| chmod a+r include-fixed/README
| echo timestamp > stmp-int-hdrs
| make[2]: Leaving directory
`/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.arm-poky-linux-gnueabi/gcc'
| Checking multilib configuration for libgcc...
| Configuring in arm-poky-linux-gnueabi/libgcc
| configure: loading cache ./config.cache
| configure: error: `CC' has changed since the previous run:
| configure:   former value:

`/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-brERROR: Function failed: do_compile (see /home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/temp/log.do_compile.24746 for further information) | anch/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/xgcc
-B/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -isystem/home/laguest/src/others/poky/poky-build/tmp/sysroots/overo-storm/usr/include -B/home/laguest/src/others/poky/poky-build/tmp/sysroots/x86_64-linux/usr/a
NOTE: package gcc-cross-initial-4.6.3+svnr184847-r25: task do_compile:
Failed
ERROR: Task 1323
(/home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb, do_compile) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: linux-libc-headers-3.2-r1 do_package (pid 6063)
NOTE: package linux-libc-headers-3.2-r1: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 363 tasks of which 351 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:
/home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb, do_compile
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.

Can anybody help me get started with this? I've only been able to build an qemux86 image so far which is not that useful for real boards.

Thanks,
Luke.

#1 lore raw
Quoted 7 lines · Luke A. Guest

Hi,

I was originally trying to build for Gumstix Overo IronStorm board using the MACHINE ??= "overo-storm", this failed
(https://bugzilla.yoctoproject.org/show_bug.cgi?id=2924), so I thought I'd try a build for my Pandaboard ES.

Quoted 8 lines

There's no ES specific version yet, but I thought I'd try to build using MACHINE = "pandaboard" - I don't know if the ??= or = should make a difference, I was told not. But now this is failing in gcc-cross-initial-4.6.3+svnr184847-r25:

| for file
in .. /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/float.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/iso646.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdarg.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdbool.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stddef.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/varargs.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdfix.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/config/arm/mmintrin.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/

gc

Quoted 98 lines

c/config/arm/arm_neon.h; do \

| 	  if [ X$file != X.. ]; then \
| 	    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
| 	    echo timestamp > include/$realfile; \
| 	    rm -f include/$realfile; \
| 	    cp $file include; \
| 	    chmod a+r include/$realfile; \
| 	  fi; \
| 	done
| for file in .. ; do \
| 	  if [ X$file != X.. ]; then \
|             mv include/$file include/x_$file; \
|             echo "#include_next <$file>" >include/$file; \
|             cat include/x_$file >>include/$file; \
|             rm -f include/x_$file; \
| 	    chmod a+r include/$file; \
| 	  fi; \
| 	done
| for file in .. ; do \
| 	  if [ X$file != X.. ]; then \
| 	    echo "#include_next <$file>" >>include/$file; \
| 	    chmod a+r include/$file; \
| 	  fi; \
| 	done
| rm -f include/unwind.h
| cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/config/arm/unwind-arm.h
include/unwind.h
| chmod a+r include/unwind.h
| rm -f include/stdint.h
| if [ wrap = wrap ]; then \
| 	  rm -f include/stdint-gcc.h; \
|

cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3 +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-gcc.h include/stdint-gcc.h; \
| chmod a+r include/stdint-gcc.h; \
|
cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3 +svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-wrap.h include/stdint.h; \

| 	  chmod a+r include/stdint.h; \
| 	elif [ wrap = provide ]; then \
|
cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/ginclude/stdint-gcc.h
include/stdint.h; \
| 	  chmod a+r include/stdint.h; \
| 	fi
| set -e; for ml in `cat fixinc_list`; do \
| 	  sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
| 	  multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
| 	  fix_dir=include-fixed${multi_dir}; \
| 	  if [ -f

`echo /home/laguest/src/others/poky/poky-build/tmp/sysroots/pandaboard
${sysroot_headers_suffix}/usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,'
-e ta`/limits.h ] ; then \
|
cat /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/limitx.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/glimits.h /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/limity.h > tmp-xlimits.h; \
| else \
|
cat /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/glimits.h > tmp-xlimits.h; \
| fi; \
|

	  /bin/sh /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3+svnr184847-r25/gcc-4_6-branch/gcc/../mkinstalldirs ${fix_dir}; \
| 	  chmod a+rx ${fix_dir} || true; \
| 	  rm -f ${fix_dir}/limits.h; \
| 	  mv tmp-xlimits.h ${fix_dir}/limits.h; \
| 	  chmod a+r ${fix_dir}/limits.h; \
| 	done
| rm -f include-fixed/README
| cp /home/laguest/src/others/poky/poky-build/tmp/work-shared/gcc-4.6.3
+svnr184847-r25/gcc-4_6-branch/gcc/../fixincludes/README-fixinc
include-fixed/README
| chmod a+r include-fixed/README
| echo timestamp > stmp-int-hdrs
| make[2]: Leaving directory
`/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.arm-poky-linux-gnueabi/gcc'
| Checking multilib configuration for libgcc...
| Configuring in arm-poky-linux-gnueabi/libgcc
| configure: loading cache ./config.cache
| configure: error: `CC' has changed since the previous run:
| configure:   former value:

`/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-brERROR: Function failed: do_compile (see /home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/temp/log.do_compile.24746 for further information) | anch/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/xgcc
-B/home/laguest/src/others/poky/poky-build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-cross-initial-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.arm-poky-linux-gnueabi/./gcc/ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -isystem/home/laguest/src/others/poky/poky-build/tmp/sysroots/overo-storm/usr/include -B/home/laguest/src/others/poky/poky-build/tmp/sysroots/x86_64-linux/usr/a
NOTE: package gcc-cross-initial-4.6.3+svnr184847-r25: task do_compile:
Failed
ERROR: Task 1323
(/home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb, do_compile) failed with exit code '1'
Waiting for 1 running tasks to finish:
0: linux-libc-headers-3.2-r1 do_package (pid 6063)
NOTE: package linux-libc-headers-3.2-r1: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 363 tasks of which 351 didn't need to be
rerun and 1 failed.

Quoted 8 lines

Summary: 1 task failed:
/home/laguest/src/others/poky/poky/meta/recipes-devtools/gcc/gcc-cross-initial_4.6.bb, do_compile
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.

Can anybody help me get started with this? I've only been able to build an qemux86 image so far which is not that useful for real boards.

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw
Quoted 7 lines · On Thursday 09 August 2012 11:32:21 Gary Thomas wrote:
Quoted 2 lines · Luke A. Guest

Can anybody help me get started with this? I've only been able to build an qemux86 image so far which is not that useful for real boards.

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

Sharing build directory between disparate machines should be perfectly allowable, if there are failures that block it we should fix them. I'm not sure what this specific failure is caused by though.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre
#3 lore raw
Quoted 5 lines · Paul Eggleton
Quoted 4 lines · On Thursday 09 August 2012 11:32:21 Gary Thomas wrote:
Quoted 2 lines · Luke A. Guest

Can anybody help me get started with this? I've only been able to build an qemux86 image so far which is not that useful for real boards.

Quoted 7 lines
Quoted 3 lines

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

Sharing build directory between disparate machines should be perfectly allowable, if there are failures that block it we should fix them. I'm not sure what this specific failure is caused by though.

I see this problem a lot when updating my master tree and trying to rebuild. Sadly, once it happens, it's hard to reproduce and I never know when it will bite me.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#4 lore raw
In reply to Gary Thomas
Quoted 3 lines · Gary Thomas

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

I did this and did it get further, failed somewhere else though.

Luke.

#5 lore raw
Quoted 8 lines · Luke A. Guest
Quoted 3 lines · Gary Thomas

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

I did this and did it get further, failed somewhere else though.

Without more information, it will be hard for anyone to help you out :-(

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#6 lore raw
Quoted 12 lines · Gary Thomas
Quoted 8 lines · Luke A. Guest
Quoted 3 lines · Gary Thomas

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

I did this and did it get further, failed somewhere else though.

Without more information, it will be hard for anyone to help you out :-(

Yup, well I wanted to do a search first. I did come across the issue as it's already known, but I thought it would be patched already.

| Compiling deb/deblistparser.cc
to /home/laguest/src/others/poky/poky-build/tmp/work/x86_64-linux/apt-native-0.7.14-r7/apt-0.7.14/obj/apt-pkg/deblistparser.opic | deb/deblistparser.cc: In member function 'virtual short unsigned int
debListParser::VersionHash()':
| deb/deblistparser.cc:212:13: error: redeclaration of 'char* I'
| deb/deblistparser.cc:202:22: error: 'const char** I' previously
declared here
| make[2]: *** [/home/laguest/src/others/poky/poky-build/tmp/work/x86_64-linux/apt-native-0.7.14-r7/apt-0.7.14/obj/apt-pkg/deblistparser.opic] Error 1

| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [all] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed

NOTE: package apt-native-0.7.14-r7: task do_compile: Failed
ERROR: Task 74
(/home/laguest/src/others/poky/poky/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_compile) failed with exit code '1' Waiting for 1 running tasks to finish:
0: busybox-1.19.4-r6 do_compile (pid 30279)
NOTE: package busybox-1.19.4-r6: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 1744 tasks of which 162 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:
/home/laguest/src/others/poky/poky/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_compile
Summary: There were 57 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.

#7 lore raw
Quoted 30 lines · Luke A. Guest
Quoted 12 lines · Gary Thomas
Quoted 8 lines · Luke A. Guest
Quoted 3 lines · Gary Thomas

Try cleaning out your build tree (remove sstate-cache/ and tmp/) and run it again. The error you are seeing is related to reusing the same tree with [somewhat] different target machines.

I did this and did it get further, failed somewhere else though.

Without more information, it will be hard for anyone to help you out :-(

Yup, well I wanted to do a search first. I did come across the issue as it's already known, but I thought it would be patched already.

| Compiling deb/deblistparser.cc
to /home/laguest/src/others/poky/poky-build/tmp/work/x86_64-linux/apt-native-0.7.14-r7/apt-0.7.14/obj/apt-pkg/deblistparser.opic | deb/deblistparser.cc: In member function 'virtual short unsigned int
debListParser::VersionHash()':
| deb/deblistparser.cc:212:13: error: redeclaration of 'char* I'
| deb/deblistparser.cc:202:22: error: 'const char** I' previously
declared here
| make[2]: *** [/home/laguest/src/others/poky/poky-build/tmp/work/x86_64-linux/apt-native-0.7.14-r7/apt-0.7.14/obj/apt-pkg/deblistparser.opic] Error 1

| make[2]: *** Waiting for unfinished jobs....
| make[1]: *** [all] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
Quoted 8 lines

NOTE: package apt-native-0.7.14-r7: task do_compile: Failed
ERROR: Task 74
(/home/laguest/src/others/poky/poky/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_compile) failed with exit code '1' Waiting for 1 running tasks to finish:
0: busybox-1.19.4-r6 do_compile (pid 30279)
NOTE: package busybox-1.19.4-r6: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 1744 tasks of which 162 didn't need to be
rerun and 1 failed.

Do you have following patch applied ? If not then I guess you need some backports.

commit fae7fc49052720f037bac128084851c09d420381

Author: Robert Yang <[email protected]>
Date:   Thu Jun 7 16:37:09 2012 -0700

apt 0.7.14: do_compile failed with gcc 4.7

apt do_compile failed with gcc 4.7:

deb/deblistparser.cc: In member function 'virtual short unsigned
int debListParser::VersionHash()':
deb/deblistparser.cc:212:13: error: redeclaration of 'char* I' deb/deblistparser.cc:202:22: error: 'const char** I' previously
declared here

Quoted 12 lines

Summary: 1 task failed:
/home/laguest/src/others/poky/poky/meta/recipes-devtools/apt/apt-native_0.7.14.bb, do_compile
Summary: There were 57 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit
code.

_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky

#8 lore raw

Which patch do I need for this? I can't seem to find it, but then my gitfu isn't up to scratch really - still learning it.

Thanks,
Luke.