On 7/26/17 9:22 AM, Flavian Manea wrote: > Hello guys, > > > > I am trying to make an openJdk9, based on what have been done on the openJdk8 > recipes (excluding patches)., and I am struggling with some problems relating > to "./configure" part, in the do_configure step (which is not specified in > the recipe). > > > I suspect that yocto/autotools/autoconf tries to look for configure.ac, but > in our case, the ./configure script comes directly configured from the > repository and there is no need "regenerate" it. > > > A part of the log can be seen here: > > " > > | autoreconf: configure.ac: tracing > | autoreconf: configure.ac: creating directory > $TOPDIR/common/autoconf/build-aux > | autoreconf: cannot create $TOPDIR/common/autoconf/build-aux: No such file > or directory > | autoreconf: configure.ac: not using Libtool > | autoreconf: running: > /home/fmanea/buildPulsar8/wr-core/build-intel-x86/tmp/sysroots/x86_64-linux/usr/bin/autoconf > > --include=/home/fmanea/buildPulsar8/wr-core/build-intel-x86/tmp/work/x86_64-linux/openjdk-9-native/102b14-r0/jdk9-d2982a786f53/common/autoconf/ > > --include=/home/fmanea/buildPulsar8/wr-core/build-intel-x86/tmp/work/x86_64-linux/openjdk-9-native/102b14-r0/jdk9-d2982a786f53/common/autoconf/build-aux/ > --force > | autoreconf: configure.ac: not using Autoheader > | autoreconf: configure.ac: not using Automake > | autoreconf: running: gnu-configize > | gnu-configize: cannot create $TOPDIR/common/autoconf/build-aux: No such > file or directory > | cp: cannot create regular file '/common/autoconf/build-aux/': No such file > or directory > | gnu-configize: cp failed with exit status: 1 > | autoreconf: gnu-configize failed with exit status: 1 > | ERROR: autoreconf execution failed. > | ERROR: Function failed: do_configure (log file is located at > /home/fmanea/buildPulsar8/wr-core/build-intel-x86/tmp/work/x86_64-linux/openjdk-9-native/102b14-r0/temp/log.do_configure.16943) > " > > > Has anyone struggled with ./configure/make parts in yocto, or is this issue > familiar to someone? >
you can override do_configure if you dont want default behavior as
defined in autotools class which is to regenerate configure scripts
using autoreconf. you could do something like
do_configure() {
oe_runconf
}
>
> Thank you,
>
> Flavian
>
>
> RINF Tech
> Flavian Manea
> flavian.manea<mailto:[email protected]>@rinftech.com<mailto:[email protected]>
> | www.rinftech.com<http://www.rinftech.com>
> 4 Gara Herastrau Street, Building B – Skanska Green Court, 3rd floor, 2nd
> District, Bucharest Romania
>
signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
