On 15 July 2016 at 03:47, Jacopo Malvestio <[email protected]> wrote: > On 13/07/2016 01:23, Khem Raj wrote: >> On Mon, Jul 11, 2016 at 10:09 PM, Jacopo Malvestio >> <[email protected]> wrote: >>> On 12/07/2016 01:48, Khem Raj wrote: >>>> On Mon, Jul 11, 2016 at 3:32 PM, Jacopo Malvestio >>>> <[email protected]> wrote: >>>>> Hello All, >>>>> >>>>> I've created a .bbappend file with: >>>>> >>>>> CFLAGS_remove = "-fno-lifetime-dse" >>>>> CXXFLAGS_remove = "-fno-lifetime-dse" >>>>> >>>>> but the do_configure step fail, bitbake -v openjdk-8 log: >>>>> >>>>> | configure: Current directory is >>>>> /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build. >>>>> | configure: Since this is not the source root, configure will output the >>>>> configuration here >>>>> | configure: (as opposed to creating a configuration in >>>>> <src_root>/build/<conf-name>). >>>>> | configure: However, this directory is not empty. This is not allowed, >>>>> since it could >>>>> | configure: seriously mess up just about everything. >>>>> | configure: Try 'cd >>>>> /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2' >>>>> and restart configure >>>>> | configure: (or create a new empty directory and cd to it). >>>>> | configure: error: Will not continue creating configuration in >>>>> /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build >>>>> | NOTE: The following config.log files may provide further information. >>>>> | NOTE: >>>>> /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build/config.log >>>>> | ERROR: configure failed >>>>> | ERROR: Function failed: do_configure (log file is located at >>>>> /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.2980 >>>>> >>>>> I'm running on ubuntu 14.04 with gcc4.8 and openjdk 1.8, i don't think >>>>> it's a side effect of the gcc6 patch, but in your opinion, i forgot >>>>> something? >>>>> >>>> >>>> this is building openjdk-8-native package. So you need to add a >>>> bbappend for openjdk-8-native_72b05.bb as well >>> >>> already done: >>> >>> ➜ openjdk git:(develop) cat openjdk-8-native_72b05.bbappend >>> CFLAGS_remove = "-fno-lifetime-dse" >>> CXXFLAGS_remove = "-fno-lifetime-dse" >>> >>> openjdk-8 is not a recipe, correct? any suggestion? >> >> Hmm can you revert. >> >> http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=33ddb28a6428b02ddcc82d1954ecf27cd426fbb5 > > reverted and works... > > thank you
Another thing that may be worth trying is this repo: https://[email protected]/dankm/meta-java.git, in the dankm/wip branch I have a binary openjdk-8-native recipe. Just set the PREFERRED_PROVIDER to openjdk-zulu-native. It's something I only used as a build-time improvement when working on the target recipes. > >>> >>> thank you. jacob >>> -- >>> _______________________________________________ >>> Openembedded-devel mailing list >>> [email protected] >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
