All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java] openjdk-8 fail to build
@ 2015-12-11 17:16 Federico Pietro Briata
  2015-12-13  9:03 ` Jens Rehsack
  2015-12-19  9:38 ` Stef
  0 siblings, 2 replies; 9+ messages in thread
From: Federico Pietro Briata @ 2015-12-11 17:16 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]

Hi All,
I'm trying to build openjdk-8 but I'm stuck.

my current setup does not define anything for:

#PREFERRED_PROVIDER_virtual/java-native
#PREFERRED_PROVIDER_virtual/javac-native

follow the log error

ERROR: Function failed: do_configure (log file is located at
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)
ERROR: Logfile of failure stored in:
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| ERROR: no configure script found at
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/configure
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)
ERROR: Task 146
(/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
openjdk-8-native_72b05.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't need to be
rerun and 1 failed.
No currently running tasks (1139 of 1150)

Summary: 1 task failed:
  /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
openjdk-8-native_72b05.bb, do_configure

thanks and regards
Federico

[-- Attachment #2: Type: text/html, Size: 2309 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2015-12-11 17:16 [meta-java] openjdk-8 fail to build Federico Pietro Briata
@ 2015-12-13  9:03 ` Jens Rehsack
  2015-12-14 16:42   ` Federico Pietro Briata
  2015-12-19  9:38 ` Stef
  1 sibling, 1 reply; 9+ messages in thread
From: Jens Rehsack @ 2015-12-13  9:03 UTC (permalink / raw)
  To: Federico Pietro Briata; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2212 bytes --]


> Am 11.12.2015 um 18:16 schrieb Federico Pietro Briata <federicobriata@gmail.com>:
> 
> Hi All,
> I'm trying to build openjdk-8 but I'm stuck.
> 
> my current setup does not define anything for:
> 
> #PREFERRED_PROVIDER_virtual/java-native
> #PREFERRED_PROVIDER_virtual/javac-native
> 
> follow the log error
> 
> ERROR: Function failed: do_configure (log file is located at /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)
> ERROR: Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024
> Log data follows:
> | DEBUG: Executing python function sysroot_cleansstate
> | DEBUG: Python function sysroot_cleansstate finished
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
> | DEBUG: Executing shell function autotools_preconfigure
> | DEBUG: Shell function autotools_preconfigure finished
> | DEBUG: Executing python function autotools_copy_aclocals
> | DEBUG: Python function autotools_copy_aclocals finished
> | DEBUG: Executing shell function do_configure
> | ERROR: no configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/configure

Are you on poky/master or cherry-picked fe506edd?

> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_configure (log file is located at /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)
> ERROR: Task 146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't need to be rerun and 1 failed.
> No currently running tasks (1139 of 1150)
> 
> Summary: 1 task failed:
>   /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb, do_configure
> 
> thanks and regards
> Federico
> 

--
Jens Rehsack - rehsack@gmail.com


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 859 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2015-12-13  9:03 ` Jens Rehsack
@ 2015-12-14 16:42   ` Federico Pietro Briata
  0 siblings, 0 replies; 9+ messages in thread
From: Federico Pietro Briata @ 2015-12-14 16:42 UTC (permalink / raw)
  To: Jens Rehsack, yocto

[-- Attachment #1: Type: text/plain, Size: 512 bytes --]

Hi Jens

2015-12-13 10:03 GMT+01:00 Jens Rehsack <rehsack@gmail.com>:

>
> > Am 11.12.2015 um 18:16 schrieb Federico Pietro Briata <
> federicobriata@gmail.com>:
>
> > | ERROR: no configure script found at
> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/configure
>
> Are you on poky/master or cherry-picked fe506edd?


I'm on poky/master Tag: daisy-11.0.2
Hash: e3dd621197548b4cf64988e757e9bc926082db73

regards
Federico

[-- Attachment #2: Type: text/html, Size: 999 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2015-12-11 17:16 [meta-java] openjdk-8 fail to build Federico Pietro Briata
  2015-12-13  9:03 ` Jens Rehsack
@ 2015-12-19  9:38 ` Stef
  2016-01-12 16:41   ` Federico Pietro Briata
  1 sibling, 1 reply; 9+ messages in thread
From: Stef @ 2015-12-19  9:38 UTC (permalink / raw)
  To: yocto

Federico Pietro Briata <federicobriata@...> writes:

> 
> 
> 
> Hi All,
> I'm trying to build openjdk-8 but I'm stuck.my current setup does not 
define anything for:#PREFERRED_PROVIDER_virtual/java-
native#PREFERRED_PROVIDER_virtual/javac-native
> 
> follow the log error
> 
> 
> 
> ERROR: Function failed: do_configure (log file is located at 
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: 
Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-
mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
r0/temp/log.do_configure.27024Log data follows:| DEBUG: Executing python 
function sysroot_cleansstate| DEBUG: Python function sysroot_cleansstate 
finished| DEBUG: SITE files ['endian-little', 'common-linux', 'common-
glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Executing shell 
function autotools_preconfigure| DEBUG: Shell function 
autotools_preconfigure finished| DEBUG: Executing python function 
autotools_copy_aclocals| DEBUG: Python function autotools_copy_aclocals 
finished| DEBUG: Executing shell function do_configure| ERROR: no 
configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-
mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
e8bed1496ff2/configure| WARNING: exit code 1 from a shell command.| 
ERROR: Function failed: do_configure (log file is located at 
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: Task 
146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit 
code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't 
need to be rerun and 1 failed.No currently running tasks (1139 of 
1150)Summary: 1 task failed:  
/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
core/openjdk/openjdk-8-native_72b05.bb, do_configure
> 
> thanks and regards
> 
> Federico
> 
> 
> 
> 
> 

Try to apply this patch to meta layer:
https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
1e19a40

It worked for me

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2015-12-19  9:38 ` Stef
@ 2016-01-12 16:41   ` Federico Pietro Briata
  2016-01-13 17:46     ` Federico Pietro Briata
  0 siblings, 1 reply; 9+ messages in thread
From: Federico Pietro Briata @ 2016-01-12 16:41 UTC (permalink / raw)
  To: Stef; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 5588 bytes --]

Hi Stef,
Thanks, I've tried to apply that patch and also
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4

and now I'm getting this:

ERROR: Function failed: do_compile (log file is located at
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
ERROR: Logfile of failure stored in:
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
OE_CFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
-O2 -pipe -DHEADLESS=true
OE_CPPFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
-DHEADLESS=true
OE_CXXFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
-O2 -pipe -DHEADLESS=true
OE_LDFLAGS=-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
-Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
-Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
-Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
-Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
-Wl,-O1 BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true BUILD_SOUNDLESS_ONLY=1
X11_NOT_NEEDED=1 CUPS_NOT_NEEDED=1 ALSA_NOT_NEEDED=1 PULSE_NOT_NEEDED=1
MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace QUIETLY= images
|
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile:27:
*** Too many open files.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
ERROR: Task 207
(/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
openjdk-8-native_72b05.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1469 tasks of which 1237 didn't need to be
rerun and 1 failed.
No currently running tasks (1469 of 1483)

Summary: 1 task failed:
  /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
openjdk-8-native_72b05.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

thanks and regards
federico

2015-12-19 10:38 GMT+01:00 Stef <Stefboerrigter@gmail.com>:

> Federico Pietro Briata <federicobriata@...> writes:
>
> >
> >
> >
> > Hi All,
> > I'm trying to build openjdk-8 but I'm stuck.my current setup does not
> define anything for:#PREFERRED_PROVIDER_virtual/java-
> native#PREFERRED_PROVIDER_virtual/javac-native
> >
> > follow the log error
> >
> >
> >
> > ERROR: Function failed: do_configure (log file is located at
> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR:
> Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-
> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
> r0/temp/log.do_configure.27024Log data follows:| DEBUG: Executing python
> function sysroot_cleansstate| DEBUG: Python function sysroot_cleansstate
> finished| DEBUG: SITE files ['endian-little', 'common-linux', 'common-
> glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Executing shell
> function autotools_preconfigure| DEBUG: Shell function
> autotools_preconfigure finished| DEBUG: Executing python function
> autotools_copy_aclocals| DEBUG: Python function autotools_copy_aclocals
> finished| DEBUG: Executing shell function do_configure| ERROR: no
> configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-
> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
> e8bed1496ff2/configure| WARNING: exit code 1 from a shell command.|
> ERROR: Function failed: do_configure (log file is located at
> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: Task
> 146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
> core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit
> code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't
> need to be rerun and 1 failed.No currently running tasks (1139 of
> 1150)Summary: 1 task failed:
> /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
> core/openjdk/openjdk-8-native_72b05.bb, do_configure
> >
> > thanks and regards
> >
> > Federico
> >
> >
> >
> >
> >
>
> Try to apply this patch to meta layer:
> https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
> 1e19a40
>
> It worked for me
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>

[-- Attachment #2: Type: text/html, Size: 7075 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2016-01-12 16:41   ` Federico Pietro Briata
@ 2016-01-13 17:46     ` Federico Pietro Briata
  2016-01-14  7:45       ` Stef Boerrigter
  0 siblings, 1 reply; 9+ messages in thread
From: Federico Pietro Briata @ 2016-01-13 17:46 UTC (permalink / raw)
  To: Stef; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 6697 bytes --]

Hi again,
looking to the above error on Makefile, seems there is still something
wrong with autotools


cat
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
# This Makefile was generated by configure Tue Jan 12 22:44:00 CET 2016
# GENERATED FILE, DO NOT EDIT
SPEC:=/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/build/linux-x86_64-normal-server-release/spec.gmk
include
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile

so the build stuck here in this loop I think.

regards
Federico

2016-01-12 17:41 GMT+01:00 Federico Pietro Briata <federico@briata.org>:

> Hi Stef,
> Thanks, I've tried to apply that patch and also
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4
>
> and now I'm getting this:
>
> ERROR: Function failed: do_compile (log file is located at
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
> ERROR: Logfile of failure stored in:
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
> 'bit-64', 'x86_64-linux', 'common']
> | DEBUG: Executing shell function do_compile
> | NOTE: make
> OE_CFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
> -O2 -pipe -DHEADLESS=true
> OE_CPPFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
> -DHEADLESS=true
> OE_CXXFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
> -O2 -pipe -DHEADLESS=true
> OE_LDFLAGS=-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
> -L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
> -Wl,-O1 BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true BUILD_SOUNDLESS_ONLY=1
> X11_NOT_NEEDED=1 CUPS_NOT_NEEDED=1 ALSA_NOT_NEEDED=1 PULSE_NOT_NEEDED=1
> MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace QUIETLY= images
> |
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile:27:
> *** Too many open files.  Stop.
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
> ERROR: Task 207
> (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
> openjdk-8-native_72b05.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1469 tasks of which 1237 didn't need to be
> rerun and 1 failed.
> No currently running tasks (1469 of 1483)
>
> Summary: 1 task failed:
>   /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
> openjdk-8-native_72b05.bb, do_compile
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> thanks and regards
> federico
>
> 2015-12-19 10:38 GMT+01:00 Stef <Stefboerrigter@gmail.com>:
>
>> Federico Pietro Briata <federicobriata@...> writes:
>>
>> >
>> >
>> >
>> > Hi All,
>> > I'm trying to build openjdk-8 but I'm stuck.my current setup does not
>> define anything for:#PREFERRED_PROVIDER_virtual/java-
>> native#PREFERRED_PROVIDER_virtual/javac-native
>> >
>> > follow the log error
>> >
>> >
>> >
>> > ERROR: Function failed: do_configure (log file is located at
>> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR:
>> Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-
>> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
>> r0/temp/log.do_configure.27024Log data follows:| DEBUG: Executing python
>> function sysroot_cleansstate| DEBUG: Python function sysroot_cleansstate
>> finished| DEBUG: SITE files ['endian-little', 'common-linux', 'common-
>> glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Executing shell
>> function autotools_preconfigure| DEBUG: Shell function
>> autotools_preconfigure finished| DEBUG: Executing python function
>> autotools_copy_aclocals| DEBUG: Python function autotools_copy_aclocals
>> finished| DEBUG: Executing shell function do_configure| ERROR: no
>> configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-
>> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
>> e8bed1496ff2/configure| WARNING: exit code 1 from a shell command.|
>> ERROR: Function failed: do_configure (log file is located at
>> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: Task
>> 146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>> core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit
>> code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't
>> need to be rerun and 1 failed.No currently running tasks (1139 of
>> 1150)Summary: 1 task failed:
>> /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>> core/openjdk/openjdk-8-native_72b05.bb, do_configure
>> >
>> > thanks and regards
>> >
>> > Federico
>> >
>> >
>> >
>> >
>> >
>>
>> Try to apply this patch to meta layer:
>> https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
>> 1e19a40
>> <https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c1e19a40>
>>
>> It worked for me
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>

[-- Attachment #2: Type: text/html, Size: 8567 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2016-01-13 17:46     ` Federico Pietro Briata
@ 2016-01-14  7:45       ` Stef Boerrigter
  2016-01-14 12:37         ` Federico Pietro Briata
  0 siblings, 1 reply; 9+ messages in thread
From: Stef Boerrigter @ 2016-01-14  7:45 UTC (permalink / raw)
  To: Federico Pietro Briata; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 7197 bytes --]

Hi,

What version of Yocto are you using?
I'm using 1.7.1 version with only the patch i described in my previous
answer.
When using it on the master of meta-java i got it working without any
issues.. You mentioned you use another patch as well?

Regards

2016-01-13 18:46 GMT+01:00 Federico Pietro Briata <federico@briata.org>:

> Hi again,
> looking to the above error on Makefile, seems there is still something
> wrong with autotools
>
>
> cat
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
> # This Makefile was generated by configure Tue Jan 12 22:44:00 CET 2016
> # GENERATED FILE, DO NOT EDIT
>
> SPEC:=/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/build/linux-x86_64-normal-server-release/spec.gmk
> include
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
>
> so the build stuck here in this loop I think.
>
> regards
> Federico
>
> 2016-01-12 17:41 GMT+01:00 Federico Pietro Briata <federico@briata.org>:
>
>> Hi Stef,
>> Thanks, I've tried to apply that patch and also
>>
>> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4
>>
>> and now I'm getting this:
>>
>> ERROR: Function failed: do_compile (log file is located at
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
>> ERROR: Logfile of failure stored in:
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889
>> Log data follows:
>> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
>> 'bit-64', 'x86_64-linux', 'common']
>> | DEBUG: Executing shell function do_compile
>> | NOTE: make
>> OE_CFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>> -O2 -pipe -DHEADLESS=true
>> OE_CPPFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>> -DHEADLESS=true
>> OE_CXXFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>> -O2 -pipe -DHEADLESS=true
>> OE_LDFLAGS=-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>> -L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>> -Wl,-O1 BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true BUILD_SOUNDLESS_ONLY=1
>> X11_NOT_NEEDED=1 CUPS_NOT_NEEDED=1 ALSA_NOT_NEEDED=1 PULSE_NOT_NEEDED=1
>> MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace QUIETLY= images
>> |
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile:27:
>> *** Too many open files.  Stop.
>> | ERROR: oe_runmake failed
>> | WARNING: exit code 1 from a shell command.
>> | ERROR: Function failed: do_compile (log file is located at
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
>> ERROR: Task 207
>> (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
>> openjdk-8-native_72b05.bb, do_compile) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 1469 tasks of which 1237 didn't need to be
>> rerun and 1 failed.
>> No currently running tasks (1469 of 1483)
>>
>> Summary: 1 task failed:
>>   /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
>> openjdk-8-native_72b05.bb, do_compile
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>> thanks and regards
>> federico
>>
>> 2015-12-19 10:38 GMT+01:00 Stef <Stefboerrigter@gmail.com>:
>>
>>> Federico Pietro Briata <federicobriata@...> writes:
>>>
>>> >
>>> >
>>> >
>>> > Hi All,
>>> > I'm trying to build openjdk-8 but I'm stuck.my current setup does not
>>> define anything for:#PREFERRED_PROVIDER_virtual/java-
>>> native#PREFERRED_PROVIDER_virtual/javac-native
>>> >
>>> > follow the log error
>>> >
>>> >
>>> >
>>> > ERROR: Function failed: do_configure (log file is located at
>>> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>>> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR:
>>> Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-
>>> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
>>> r0/temp/log.do_configure.27024Log data follows:| DEBUG: Executing python
>>> function sysroot_cleansstate| DEBUG: Python function sysroot_cleansstate
>>> finished| DEBUG: SITE files ['endian-little', 'common-linux', 'common-
>>> glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Executing shell
>>> function autotools_preconfigure| DEBUG: Shell function
>>> autotools_preconfigure finished| DEBUG: Executing python function
>>> autotools_copy_aclocals| DEBUG: Python function autotools_copy_aclocals
>>> finished| DEBUG: Executing shell function do_configure| ERROR: no
>>> configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-
>>> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
>>> e8bed1496ff2/configure| WARNING: exit code 1 from a shell command.|
>>> ERROR: Function failed: do_configure (log file is located at
>>> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>>> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: Task
>>> 146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>>> core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit
>>> code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't
>>> need to be rerun and 1 failed.No currently running tasks (1139 of
>>> 1150)Summary: 1 task failed:
>>> /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>>> core/openjdk/openjdk-8-native_72b05.bb, do_configure
>>> >
>>> > thanks and regards
>>> >
>>> > Federico
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>> Try to apply this patch to meta layer:
>>> https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
>>> 1e19a40
>>> <https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c1e19a40>
>>>
>>> It worked for me
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 9315 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2016-01-14  7:45       ` Stef Boerrigter
@ 2016-01-14 12:37         ` Federico Pietro Briata
  2016-09-01  9:11           ` Stefano Babic
  0 siblings, 1 reply; 9+ messages in thread
From: Federico Pietro Briata @ 2016-01-14 12:37 UTC (permalink / raw)
  To: Stef Boerrigter; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 7494 bytes --]

Hi,

I'm on 1.6.2 (daisy Branch), so probably I've to cherry-pick something more
on poky.

With poky-daisy-11.0.2 (Hash: e3dd621197548b4cf64988e757e9bc926082db73) I
confirm that openjdk 7 was working for sure with this commit
d7d4f64a32d26fc8a92e4c89b47c78956f20a14d

Regards,
Federico
Hi,

What version of Yocto are you using?
I'm using 1.7.1 version with only the patch i described in my previous
answer.
When using it on the master of meta-java i got it working without any
issues.. You mentioned you use another patch as well?

Regards

2016-01-13 18:46 GMT+01:00 Federico Pietro Briata <federico@briata.org>:

> Hi again,
> looking to the above error on Makefile, seems there is still something
> wrong with autotools
>
>
> cat
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
> # This Makefile was generated by configure Tue Jan 12 22:44:00 CET 2016
> # GENERATED FILE, DO NOT EDIT
>
> SPEC:=/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/build/linux-x86_64-normal-server-release/spec.gmk
> include
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
>
> so the build stuck here in this loop I think.
>
> regards
> Federico
>
> 2016-01-12 17:41 GMT+01:00 Federico Pietro Briata <federico@briata.org>:
>
>> Hi Stef,
>> Thanks, I've tried to apply that patch and also
>>
>> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4
>>
>> and now I'm getting this:
>>
>> ERROR: Function failed: do_compile (log file is located at
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
>> ERROR: Logfile of failure stored in:
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889
>> Log data follows:
>> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
>> 'bit-64', 'x86_64-linux', 'common']
>> | DEBUG: Executing shell function do_compile
>> | NOTE: make
>> OE_CFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>> -O2 -pipe -DHEADLESS=true
>> OE_CPPFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>> -DHEADLESS=true
>> OE_CXXFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>> -O2 -pipe -DHEADLESS=true
>> OE_LDFLAGS=-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>> -L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>> -Wl,-O1 BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true BUILD_SOUNDLESS_ONLY=1
>> X11_NOT_NEEDED=1 CUPS_NOT_NEEDED=1 ALSA_NOT_NEEDED=1 PULSE_NOT_NEEDED=1
>> MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace QUIETLY= images
>> |
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile:27:
>> *** Too many open files.  Stop.
>> | ERROR: oe_runmake failed
>> | WARNING: exit code 1 from a shell command.
>> | ERROR: Function failed: do_compile (log file is located at
>> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
>> ERROR: Task 207
>> (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
>> openjdk-8-native_72b05.bb, do_compile) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 1469 tasks of which 1237 didn't need to be
>> rerun and 1 failed.
>> No currently running tasks (1469 of 1483)
>>
>> Summary: 1 task failed:
>>   /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
>> openjdk-8-native_72b05.bb, do_compile
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>> thanks and regards
>> federico
>>
>> 2015-12-19 10:38 GMT+01:00 Stef <Stefboerrigter@gmail.com>:
>>
>>> Federico Pietro Briata <federicobriata@...> writes:
>>>
>>> >
>>> >
>>> >
>>> > Hi All,
>>> > I'm trying to build openjdk-8 but I'm stuck.my current setup does not
>>> define anything for:#PREFERRED_PROVIDER_virtual/java-
>>> native#PREFERRED_PROVIDER_virtual/javac-native
>>> >
>>> > follow the log error
>>> >
>>> >
>>> >
>>> > ERROR: Function failed: do_configure (log file is located at
>>> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>>> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR:
>>> Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-
>>> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
>>> r0/temp/log.do_configure.27024Log data follows:| DEBUG: Executing python
>>> function sysroot_cleansstate| DEBUG: Python function sysroot_cleansstate
>>> finished| DEBUG: SITE files ['endian-little', 'common-linux', 'common-
>>> glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Executing shell
>>> function autotools_preconfigure| DEBUG: Shell function
>>> autotools_preconfigure finished| DEBUG: Executing python function
>>> autotools_copy_aclocals| DEBUG: Python function autotools_copy_aclocals
>>> finished| DEBUG: Executing shell function do_configure| ERROR: no
>>> configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-
>>> mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
>>> e8bed1496ff2/configure| WARNING: exit code 1 from a shell command.|
>>> ERROR: Function failed: do_configure (log file is located at
>>> /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>>> linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: Task
>>> 146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>>> core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit
>>> code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't
>>> need to be rerun and 1 failed.No currently running tasks (1139 of
>>> 1150)Summary: 1 task failed:
>>> /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>>> core/openjdk/openjdk-8-native_72b05.bb, do_configure
>>> >
>>> > thanks and regards
>>> >
>>> > Federico
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>> Try to apply this patch to meta layer:
>>> https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
>>> 1e19a40
>>> <https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c1e19a40>
>>>
>>> It worked for me
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 9760 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] openjdk-8 fail to build
  2016-01-14 12:37         ` Federico Pietro Briata
@ 2016-09-01  9:11           ` Stefano Babic
  0 siblings, 0 replies; 9+ messages in thread
From: Stefano Babic @ 2016-09-01  9:11 UTC (permalink / raw)
  To: Federico Pietro Briata, Stef Boerrigter; +Cc: yocto

Hi Federico,


On 14/01/2016 13:37, Federico Pietro Briata wrote:
> Hi,
>  
> I'm on 1.6.2 (daisy Branch), so probably I've to cherry-pick something
> more on poky.
> 
> With poky-daisy-11.0.2 (Hash: e3dd621197548b4cf64988e757e9bc926082db73)
> I confirm that openjdk 7 was working for sure with this commit
> d7d4f64a32d26fc8a92e4c89b47c78956f20a14d
> 

Sorry to bring back to life this very old thread - I am getting the same
issue because I have an old project (with 1.6, daisy), but developers
want to use openjdk-8. Have you found a solution for daisy or you
upgraded to a newer Yocto version ?

Regards,
Stefano

> Regards,
> Federico
> 
> Hi, 
> 
> What version of Yocto are you using? 
> I'm using 1.7.1 version with only the patch i described in my previous
> answer.
> When using it on the master of meta-java i got it working without any
> issues.. You mentioned you use another patch as well?
> 
> Regards
> 
> 2016-01-13 18:46 GMT+01:00 Federico Pietro Briata <federico@briata.org
> <mailto:federico@briata.org>>:
> 
>     Hi again,
>     looking to the above error on Makefile, seems there is still
>     something wrong with autotools
>      
>      
>     cat
>     /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
>     # This Makefile was generated by configure Tue Jan 12 22:44:00 CET 2016
>     # GENERATED FILE, DO NOT EDIT
>     SPEC:=/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/build/linux-x86_64-normal-server-release/spec.gmk
>     include
>     /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
>      
>     so the build stuck here in this loop I think.
>      
>     regards
>     Federico
> 
>     2016-01-12 17:41 GMT+01:00 Federico Pietro Briata
>     <federico@briata.org <mailto:federico@briata.org>>:
> 
>         Hi Stef,
>         Thanks, I've tried to apply that patch and also
>         http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4
> 
>         and now I'm getting this:
> 
>         ERROR: Function failed: do_compile (log file is located at
>         /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
>         ERROR: Logfile of failure stored in:
>         /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889
>         Log data follows:
>         | DEBUG: SITE files ['endian-little', 'common-linux',
>         'common-glibc', 'bit-64', 'x86_64-linux', 'common']
>         | DEBUG: Executing shell function do_compile
>         | NOTE: make
>         OE_CFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>         -O2 -pipe -DHEADLESS=true
>         OE_CPPFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>         -DHEADLESS=true
>         OE_CXXFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
>         -O2 -pipe -DHEADLESS=true
>         OE_LDFLAGS=-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>         -L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>         -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>         -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>         -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
>         -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
>         -Wl,-O1 BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true
>         BUILD_SOUNDLESS_ONLY=1 X11_NOT_NEEDED=1 CUPS_NOT_NEEDED=1
>         ALSA_NOT_NEEDED=1 PULSE_NOT_NEEDED=1 MAKE_VERBOSE=y VERBOSE=-s
>         LOG_LEVEL=trace QUIETLY= images
>         |
>         /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile:27:
>         *** Too many open files.  Stop.
>         | ERROR: oe_runmake failed
>         | WARNING: exit code 1 from a shell command.
>         | ERROR: Function failed: do_compile (log file is located at
>         /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
>         ERROR: Task 207
>         (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb
>         <http://openjdk-8-native_72b05.bb>, do_compile) failed with exit
>         code '1'
>         NOTE: Tasks Summary: Attempted 1469 tasks of which 1237 didn't
>         need to be rerun and 1 failed.
>         No currently running tasks (1469 of 1483)
> 
>         Summary: 1 task failed:
>          
>         /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb
>         <http://openjdk-8-native_72b05.bb>, do_compile
>         Summary: There was 1 ERROR message shown, returning a non-zero
>         exit code.
> 
>         thanks and regards
>         federico
> 
>         2015-12-19 10:38 GMT+01:00 Stef <Stefboerrigter@gmail.com
>         <mailto:Stefboerrigter@gmail.com>>:
> 
>             Federico Pietro Briata <federicobriata@...> writes:
> 
>             >
>             >
>             >
>             > Hi All,
>             > I'm trying to build openjdk-8 but I'm stuck.my current
>             setup does not
>             define anything for:#PREFERRED_PROVIDER_virtual/java-
>             native#PREFERRED_PROVIDER_virtual/javac-native
>             >
>             > follow the log error
>             >
>             >
>             >
>             > ERROR: Function failed: do_configure (log file is located at
>             /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>             linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR:
>             Logfile of failure stored in:
>             /home/federico/yocto/imx6/R6.0/build-imx6-
>             mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
>             r0/temp/log.do_configure.27024Log data follows:| DEBUG:
>             Executing python
>             function sysroot_cleansstate| DEBUG: Python function
>             sysroot_cleansstate
>             finished| DEBUG: SITE files ['endian-little',
>             'common-linux', 'common-
>             glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG:
>             Executing shell
>             function autotools_preconfigure| DEBUG: Shell function
>             autotools_preconfigure finished| DEBUG: Executing python
>             function
>             autotools_copy_aclocals| DEBUG: Python function
>             autotools_copy_aclocals
>             finished| DEBUG: Executing shell function do_configure|
>             ERROR: no
>             configure script found at
>             /home/federico/yocto/imx6/R6.0/build-imx6-
>             mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
>             e8bed1496ff2/configure| WARNING: exit code 1 from a shell
>             command.|
>             ERROR: Function failed: do_configure (log file is located at
>             /home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
>             linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR:
>             Task
>             146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>             core/openjdk/openjdk-8-native_72b05.bb
>             <http://openjdk-8-native_72b05.bb>, do_configure) failed
>             with exit
>             code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which
>             15 didn't
>             need to be rerun and 1 failed.No currently running tasks
>             (1139 of
>             1150)Summary: 1 task failed: 
>             /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
>             core/openjdk/openjdk-8-native_72b05.bb
>             <http://openjdk-8-native_72b05.bb>, do_configure
>             >
>             > thanks and regards
>             >
>             > Federico
>             >
>             >
>             >
>             >
>             >
> 
>             Try to apply this patch to meta layer:
>             https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
>             1e19a40
>             <https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c1e19a40>
> 
>             It worked for me
>             --
>             _______________________________________________
>             yocto mailing list
>             yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
>             https://lists.yoctoproject.org/listinfo/yocto
> 
> 
> 
> 
> 
> 


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-09-01  9:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-11 17:16 [meta-java] openjdk-8 fail to build Federico Pietro Briata
2015-12-13  9:03 ` Jens Rehsack
2015-12-14 16:42   ` Federico Pietro Briata
2015-12-19  9:38 ` Stef
2016-01-12 16:41   ` Federico Pietro Briata
2016-01-13 17:46     ` Federico Pietro Briata
2016-01-14  7:45       ` Stef Boerrigter
2016-01-14 12:37         ` Federico Pietro Briata
2016-09-01  9:11           ` Stefano Babic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.