Skip to contentSkip to conversation

acpica failing to build

DISCUSSION Martin Jansa 2 participants 4 messages Aug 23, 2013 – Aug 26, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Can you please check why it's sometimes failing like this:

| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/acpica/20130626-r1/acpica-unix2-20130626/generate/unix/acpidump'
| 64-bit version of acpidump:
| -rwxr-xr-x 1 jenkins jenkins 121136 Aug 23 17:54 ../bin/acpidump
| 
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserlex.o obj/dtparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbstats.o ../../../source/components/debugger/dbstats.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserparse.o obj/dtparserparse.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/prparserlex.o obj/prparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_NAMES_APP -I../../../source/tools/acpinames -Wall -o obj/excreate.o ../../../source/components/executer/excreate.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbutils.o ../../../source/components/debugger/dbutils.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbxface.o ../../../source/components/debugger/dbxface.c
| ../../../source/compiler/prparser.l:46:24: fatal error: prparser.y.h: No such file or directory
|  #include "prparser.y.h"
|                         ^
| compilation terminated.
| make[1]: *** [obj/prparserlex.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw
In reply to a message not in the archive
Quoted 2 lines · Naresh Bhat

Are you able to see the "prparser.y.h" under acpica source and recipe is unable to locate it ?

I can check later when it fails again on jenkins, but workspace is gone already.

Quoted 23 lines · Martin Jansa
Quoted 22 lines

Can you please check why it's sometimes failing like this:

| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/acpica/20130626-r1/acpica-unix2-20130626/generate/unix/acpidump'
| 64-bit version of acpidump:
| -rwxr-xr-x 1 jenkins jenkins 121136 Aug 23 17:54 ../bin/acpidump
|
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserlex.o obj/dtparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbstats.o ../../../source/components/debugger/dbstats.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserparse.o obj/dtparserparse.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/prparserlex.o obj/prparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_NAMES_APP -I../../../source/tools/acpinames -Wall -o obj/excreate.o ../../../source/components/executer/excreate.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbutils.o ../../../source/components/debugger/dbutils.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbxface.o ../../../source/components/debugger/dbxface.c
| ../../../source/compiler/prparser.l:46:24: fatal error: prparser.y.h: No such file or directory
|  #include "prparser.y.h"
|                         ^
| compilation terminated.
| make[1]: *** [obj/prparserlex.o] Error 1
| make[1]: *** Waiting for unfinished jobs....

--
Martin 'JaMa' Jansa jabber: [email protected]

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Hi,

Quoted 27 lines · Martin Jansa
Quoted 2 lines · Naresh Bhat

Are you able to see the "prparser.y.h" under acpica source and recipe is unable to locate it ?

I can check later when it fails again on jenkins, but workspace is gone already.

Quoted 20 lines · Martin Jansa
Quoted 19 lines

Can you please check why it's sometimes failing like this:

| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/acpica/20130626-r1/acpica-unix2-20130626/generate/unix/acpidump'
| 64-bit version of acpidump:
| -rwxr-xr-x 1 jenkins jenkins 121136 Aug 23 17:54 ../bin/acpidump
|
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserlex.o obj/dtparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbstats.o ../../../source/components/debugger/dbstats.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserparse.o obj/dtparserparse.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/prparserlex.o obj/prparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_NAMES_APP -I../../../source/tools/acpinames -Wall -o obj/excreate.o ../../../source/components/executer/excreate.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbutils.o ../../../source/components/debugger/dbutils.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbxface.o ../../../source/components/debugger/dbxface.c
| ../../../source/compiler/prparser.l:46:24: fatal error: prparser.y.h: No such file or directory
|  #include "prparser.y.h"
|                         ^
| compilation terminated.
| make[1]: *** [obj/prparserlex.o] Error 1
| make[1]: *** Waiting for unfinished jobs....

we have a patch to fix parallel builds:
https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=commit;h=c4eeb9d314440962c8d732468dfac2f9360918b1

There's a discussion to get the patch merged upstream:
https://lists.acpica.org/pipermail/devel/2013-August/000549.html

but upstream is going to propose a better approach.

Do you want to add our patch in the meantime?

#4 lore raw
Quoted 34 lines · Fathi Boudra

Hi,

Quoted 27 lines · Martin Jansa
Quoted 2 lines · Naresh Bhat

Are you able to see the "prparser.y.h" under acpica source and recipe is unable to locate it ?

I can check later when it fails again on jenkins, but workspace is gone already.

Quoted 20 lines · Martin Jansa
Quoted 19 lines

Can you please check why it's sometimes failing like this:

| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/acpica/20130626-r1/acpica-unix2-20130626/generate/unix/acpidump'
| 64-bit version of acpidump:
| -rwxr-xr-x 1 jenkins jenkins 121136 Aug 23 17:54 ../bin/acpidump
|
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserlex.o obj/dtparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbstats.o ../../../source/components/debugger/dbstats.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/dtparserparse.o obj/dtparserparse.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_ASL_COMPILER -I../../../source/compiler -Iobj -Wall -oobj/prparserlex.o obj/prparserlex.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_NAMES_APP -I../../../source/tools/acpinames -Wall -o obj/excreate.o ../../../source/components/executer/excreate.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbutils.o ../../../source/components/debugger/dbutils.c
| arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -c -O2 -pipe -g -feliminate-unused-debug-types -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -D_CYGWIN -D_GNU_SOURCE -I../../../source/include -DACPI_EXEC_APP -I../../../source/tools/acpiexec -Wall -o obj/dbxface.o ../../../source/components/debugger/dbxface.c
| ../../../source/compiler/prparser.l:46:24: fatal error: prparser.y.h: No such file or directory
|  #include "prparser.y.h"
|                         ^
| compilation terminated.
| make[1]: *** [obj/prparserlex.o] Error 1
| make[1]: *** Waiting for unfinished jobs....

we have a patch to fix parallel builds:
https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=commit;h=c4eeb9d314440962c8d732468dfac2f9360918b1

Quoted 6 lines

There's a discussion to get the patch merged upstream:
https://lists.acpica.org/pipermail/devel/2013-August/000549.html

but upstream is going to propose a better approach.

Do you want to add our patch in the meantime?

Yes please.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]