Fwd: New builds from the build-infra team

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Nov 8 12:03:32 PST 2012


I'm trying to use the new build system.

I'm working in a langtools repo, and I have a full shared TL forest 
elsewhere on my system.

In my langtools repo, I've created a build directory and I've executed 
the configure script from the shared TL forest, specifying that I want 
to override langtools ...

>     mkdir toybuild
>     cd toybuild
> bash /w/jjg/work/tl/common/autoconf/configure --with-override-langtools=..


The script appears to succeed, saying

> A new configuration has been successfully created in
> /w/jjg/work/newbuild/8/langtools/toybuild
> using configure arguments '--with-override-langtools=..'.


But when I try and build the "langtools" target, I get ...

> $ make langtools
> Building OpenJDK for target 'langtools' in configuration 
> '/w/jjg/work/newbuild/8/langtools/toybuild'
>
>
> ########################################################################
> ########################################################################
> ##### Entering langtools for target(s) all                         #####
> ########################################################################
>
> Makefile:45: *** Build from top-level Makefile instead.  Stop.
> Cannot locate top-level Makefile. Is this repo not checked out as part 
> of a complete forest?
> make: *** [langtools-only] Error 2


Has configure not correctly recognized the root of my shared TL 
forest?   Is there an option I can use to specify where the full forest 
is?  I tried --srcdir, but the description is somewhat obscure and I 
wasn't sure if that was the one I should be using, but anyway, it didn't 
work (for me.)

Also, another comment on the --help output,   many options explicitly 
list that they take a value.  For example,
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]

But most of the other --with-* options do not, implying that they do not 
accept a value.  But something seems to work if you give them a value.  
It's not clear (to me) if they are ignoring the value, or whether the 
value is accepted, but something else is stopping my config from working.

-- Jon

On 11/06/2012 04:54 PM, Kelly O'Hair wrote:
> Just another reminder.
> For those of you that have tried the new builds, thank you.
>
> But we have gotten very few reports from anyone having problems with these new build-infra builds.
> That means things are working really well and we have done a fantastic job, or people are too busy to try it.
> At some point, we will have to assume that everything is working really well and get puffy chests. ;^)
>
> So if you have some time, please give it a try, and keep us honest.
>
> Please only reply to the build-infra-dev mailing list, or just me.
>
> -kto
>
>




More information about the build-infra-dev mailing list