<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/recipes-core/cacao, branch morty</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=morty</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=morty'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2016-04-29T10:17:07+00:00</updated>
<entry>
<title>java-bootstrapping: Do not rely on hardcoded paths</title>
<updated>2016-04-29T10:17:07+00:00</updated>
<author>
<name>Erkka Kääriä</name>
<email>erkka.kaaria@intel.com</email>
</author>
<published>2016-04-29T06:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=1b975523b8d0467b2e3a44097825c30cdc9e3944'/>
<id>urn:sha1:1b975523b8d0467b2e3a44097825c30cdc9e3944</id>
<content type='text'>
Various paths to files are hardcoded in either helper scripts or the
resulting binaries (like path to Java class libraries). While this works
well when using the files on the build machine, things start breaking
down when the sstate gets shared between multiple workers in CI, as
the paths between workers can differ.

Instead of using these hardcoded paths, form the paths at runtime and pass them as parameters when required.

Signed-off-by: Erkka Kääriä &lt;erkka.kaaria@intel.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>cacao: remove invalid configure options</title>
<updated>2016-01-29T09:37:51+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2016-01-26T05:58:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b7fe60a8e23664b3c637fa913ccdcfd0c122487e'/>
<id>urn:sha1:b7fe60a8e23664b3c637fa913ccdcfd0c122487e</id>
<content type='text'>
These configure options are invalid:
--with-classpath-libdir
--with-classpath-classes
--with-classpath-includedir

They had been replaced by:
--with-java-runtime-library-libdir
--with-java-runtime-library-classes
--with-jni_h and --with-jni_md_h

Remove them to avoid QA Issue:
WARNING: QA Issue: cacao-native: configure was passed unrecognised
options: --with-classpath-libdir --with-classpath-includedir
--with-classpath-classes [unknown-configure-option]

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8-native: fix improper do_install and PROVIDES</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-18T02:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=dfb21b449dd652b99bc4725796d143e8c9779cd6'/>
<id>urn:sha1:dfb21b449dd652b99bc4725796d143e8c9779cd6</id>
<content type='text'>
We had:
virtual/jar-native provided by fastjar-native
virtual/java-native provided by cacao-native and jamvm-native
virtual/javac-native provided by ecj-bootstrap-native

Then openjdk-8-native added and also provides:
virtual/java-native and virtual/javac-native
(it also installs ${STAGING_BINDIR_NATIVE}/jar but
doesn't add virtual/jar-native in the PROVIDES)

which introduces circular dependencies,
java-bootstrap-components.bbclass is to avoid the
circular dependencies but it's not a correct way
since it make two conflicted packages build into
the same sysroot:

DEPENDS_prepend_class-native = " ecj-bootstrap-native "
DEPENDS_prepend_class-target = " virtual/javac-native "

virtual/javac-native is provided by openjdk-8-native,
and it assumed that ecj-bootstrap-native, fastjar-native and
cacao-native/jamvm-native are always built before openjdk-8-native,
then in the do_install of penjdk-8-native, it removes them from
staging dirs first, then install (create symlinks for) these files
in staging dirs directly, which results with empty sstate and
builds from sstate cache or builds not in this assumption
will fail.

The fixes here includes:
- Revert "meta-java: rely on well known bootstrap-path" in
  previous commit to remove the improper
  java-bootstrap-components.bbclass

- Do not let openjdk-8-native provides jar, java and javac,
  just like what we do in icedtea7-native, which can provides
  but not to avoid circular dependencies and conflicts.

- make cacao-native back to provide virtual/java-native,
  and ecj-bootstrap-native back to provide virtual/javac-native

- Add back provider settings in README.

- Remove the update-alternatives in openjdk-8-native,
  it doesn't work for native package.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
<entry>
<title>Revert "meta-java: rely on well known bootstrap-path"</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-23T06:26:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ec7b984fbd0662b7aa1707f229ab09c555bb2cf6'/>
<id>urn:sha1:ec7b984fbd0662b7aa1707f229ab09c555bb2cf6</id>
<content type='text'>
This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566.

Detail reason is in the following commit.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
<entry>
<title>cacao: fix the depends for target package</title>
<updated>2015-12-17T12:39:21+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-14T09:01:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=a16545d6c8ecb1eda359d86ad5613f1d9d7b9f48'/>
<id>urn:sha1:a16545d6c8ecb1eda359d86ad5613f1d9d7b9f48</id>
<content type='text'>
The target package also depends on classpath, zlib, etc,
which is incorrect overrode, use _append for the
class-target instead.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>openjdk-8: add recipes for openjdk-8 and openjre-8</title>
<updated>2015-12-08T15:43:40+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-12-08T13:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=bac3b9acee5110390d15d38dacdb1622e31b2238'/>
<id>urn:sha1:bac3b9acee5110390d15d38dacdb1622e31b2238</id>
<content type='text'>
This adds openjdk-8 for native and target builds and allows a stripped
openjre-8 being built as well instead of trying to cherry-pick jre
components from jdk-image.

The recipes allow building openjdk-8 with or without:
* x11
* cups
* alsa/pulseaudio
and let packager enable unlimited-crypto, if desired.

To support certificate based java libraries, cacerts is created based on
ca-certificates from OE-core.

Since there can be only one PROVIDES for virtual/java-native and virtual/javac-native,
move the provides to openjdk-8-native (I think everyone agrees it's a better
choice than ecj-bootstrap-native).

Plus: Applying a fix from openjdk-9 repository which fixes build issues using gcc5

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>meta-java: rely on well known bootstrap-path</title>
<updated>2015-12-08T15:43:35+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-12-08T13:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=04d5d0bf414c05ca59618d77f17ff9898aa1c566'/>
<id>urn:sha1:04d5d0bf414c05ca59618d77f17ff9898aa1c566</id>
<content type='text'>
Instead of potential circular depending virtual/javac-native (even this
recipe provides such a useable java-native), rely on well known path
via cacao-native to build up to icedtea7-native in reliable manner.

virtual/javac-native should be used by parts not belonging to the bootstrap
phase.

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>cacao: fix configure error</title>
<updated>2015-11-03T10:24:34+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-11-03T10:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=fdd91aaec07e232fe5fdde316c3c97120ec25cd8'/>
<id>urn:sha1:fdd91aaec07e232fe5fdde316c3c97120ec25cd8</id>
<content type='text'>
This patch fixes the nowadays occuring configure error:
  rm: cannot remove 'src/mm/boehm-gc/ltmain.sh': No such file or directory

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>Avoid parse time errors due to dependency on x11, for distros without x11</title>
<updated>2015-10-29T11:02:28+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-10-28T17:58:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=a88718b6a6ec2a9429cbfd364d590ae69eb661e4'/>
<id>urn:sha1:a88718b6a6ec2a9429cbfd364d590ae69eb661e4</id>
<content type='text'>
BitBake raises some errors when processing recipes that depend on x11
for distros that don't have x11 in DISTRO_FEATURES. To work around
that issue, REQUIRED_DISTRO_FEATURES = "x11" (from
distro_features_check.bbclass) has been set for the following recipes:

* cacao (_class-target)
* classpath (_class-target)
* jamvm (_class-target)
* openjdk-7-release

That makes BitBake skip those recipes during the cache generation
(they'd still be parsed, but ignored).

This patch improves the idea from Mario Domenech Goulart &lt;mario@ossystems.com.br&gt;

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Acked-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>cacao-initial-native: Fix undefined behaviour in gc</title>
<updated>2015-10-23T07:51:06+00:00</updated>
<author>
<name>Erkka Kääriä</name>
<email>erkka.kaaria@intel.com</email>
</author>
<published>2015-10-21T09:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=d7d4f64a32d26fc8a92e4c89b47c78956f20a14d'/>
<id>urn:sha1:d7d4f64a32d26fc8a92e4c89b47c78956f20a14d</id>
<content type='text'>
Upstream-Status: Backport

Fixes undefined behaviour in boehm GC used by cacao-initial-native
as suggested at
https://github.com/ivmai/bdwgc/commit/16780405c899f01119bc45167122b4242f6b34fb.

The undefined behaviour at very least causes a segmentation fault during
classpath-native configure step with Fedora 22.

Signed-off-by: Erkka Kääriä &lt;erkka.kaaria@intel.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
</feed>
