> On April 28, 2016, 4:02 p.m., John Sirois wrote: > > build-support/packer/build.sh, line 44 > > <https://reviews.apache.org/r/46786/diff/1/?file=1364773#file1364773line44> > > > > I'm missing how this is needed too. > > Joshua Cohen wrote: > If I remove this we don't have a jdk in the vagrant image and therefore > can't build the scheduler. I.e., I guess default-jre-headless brings in only > the JRE but not the JDK? > > John Sirois wrote: > Backing up - were you anticipating the mesos upgrade issue linked or did > you hit a different real issue that prompted this change? If the former, > JDKs include JREs in their jre subdir and the fact we have a direct > dependency on a jdk means no upgrade will magically remove it. > > John Sirois wrote: > TLDR; the mesos thread could be said to be warning for all non-JRE-using > frameworks only.
I'm trying to build a new base box in another branch for the unified container changes and it was failing on the `install_mesos` step due to java-runtime-headless not being found. After ruling out my changes by running the script on master and getting the same results, I happened across that thread on mesos-users that described the problem. I'll confess to being unfamiliar with the internals of all this packaging. You should be able to replicate the original problem fairly trivially by running the packer build command on master. If there's a better/cleaner solution than adding this dependency (or getting mesosphere to publish a new deb), I'm open to it! - Joshua ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46786/#review130929 ----------------------------------------------------------- On April 28, 2016, 5:08 p.m., Joshua Cohen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46786/ > ----------------------------------------------------------- > > (Updated April 28, 2016, 5:08 p.m.) > > > Review request for Aurora, John Sirois and Stephan Erb. > > > Repository: aurora > > > Description > ------- > > See http://markmail.org/message/rofuiaclgkesfx3o for full details. > > > Diffs > ----- > > build-support/packer/build.sh 658dbc4bc5ae0dd1cfa69abd8fdf6119c3ccf8c9 > > Diff: https://reviews.apache.org/r/46786/diff/ > > > Testing > ------- > > Successfully built base box with these changes. > > > Thanks, > > Joshua Cohen > >