<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/classes, branch styhead</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=styhead</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=styhead'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2021-11-17T16:44:26+00:00</updated>
<entry>
<title>openjdk-build-helper: Use python raw string for regex pattern</title>
<updated>2021-11-17T16:44:26+00:00</updated>
<author>
<name>Douglas Royds</name>
<email>douglas.royds@taitradio.com</email>
</author>
<published>2021-10-15T00:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=e5444bfb0a09d19485b8b2099305b5e289f45a26'/>
<id>urn:sha1:e5444bfb0a09d19485b8b2099305b5e289f45a26</id>
<content type='text'>
See https://docs.python.org/3/library/re.html

Invalid escape sequences in Python’s usage of the backslash in string literals
now generate a DeprecationWarning, and in the future this will become a
SyntaxError. The solution is to use Python’s raw string notation for regular
expression patterns; backslashes are not handled in any special way in a string
literal prefixed with 'r'.

Signed-off-by: Douglas Royds &lt;douglas.royds@taitradio.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-build-helper: fix arm64 build</title>
<updated>2021-11-17T16:22:21+00:00</updated>
<author>
<name>Jerome Brunet</name>
<email>jbrunet@baylibre.com</email>
</author>
<published>2021-10-22T15:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=327a097f5a81eba365a80ee3c52ec885629d42f3'/>
<id>urn:sha1:327a097f5a81eba365a80ee3c52ec885629d42f3</id>
<content type='text'>
When trying to build for an arm64 machine, such as qemuarm64, parsing of
the recipes fails with the following messages:

WARNING: /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb: Exception during build_dependencies for LLVM_CONFIGURE_ARCH
WARNING: /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb: Error during finalise of /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb
ERROR: ExpansionError during parsing /meta-java/recipes-core/openjdk/openjdk-7_99b00-2.6.5.bb
Traceback (most recent call last):
  File "Var &lt;LLVM_CONFIGURE_ARCH&gt;", line 1, in &lt;module&gt;
  File "/meta-java/classes/openjdk-build-helper.bbclass", line 86, in openjdk_build_helper_get_llvm_configure_arch(d=&lt;bb.data_smart.DataSmart object at 0x7f08fed017c0&gt;):
         else:
    &gt;        if 'shark' in d.getVar('PACKAGECONFIG').split():
                 bb.warn("%s does not support %s in Shark builds yet" % (d.getVar('PN'), arch) );
bb.data_smart.ExpansionError: Failure expanding variable LLVM_CONFIGURE_ARCH, expression was ${@openjdk_build_helper_get_llvm_configure_arch(d)} which triggered exception AttributeError: 'NoneType' object has no attribute 'split'

Using 'bb.utils.contains' solves the problem.

Signed-off-by: Jerome Brunet &lt;jbrunet@baylibre.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>all: manual fixes for new override syntax</title>
<updated>2021-08-11T05:19:38+00:00</updated>
<author>
<name>AJ Bagwell</name>
<email>anthony.bagwell@hivehome.com</email>
</author>
<published>2021-08-09T13:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=a1eb2b9788ed48508bbe87acf0fd9269aa3585f4'/>
<id>urn:sha1:a1eb2b9788ed48508bbe87acf0fd9269aa3585f4</id>
<content type='text'>
Signed-off-by: AJ Bagwell &lt;anthony.bagwell@hivehome.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>all: run convert-overrides (0.9.3) script to convert to new override format</title>
<updated>2021-08-11T05:19:27+00:00</updated>
<author>
<name>AJ Bagwell</name>
<email>anthony.bagwell@hivehome.com</email>
</author>
<published>2021-08-09T13:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b71a9866abfd5292650ef0afc5ecb9ab5e29b887'/>
<id>urn:sha1:b71a9866abfd5292650ef0afc5ecb9ab5e29b887</id>
<content type='text'>
Signed-off-by: AJ Bagwell &lt;anthony.bagwell@hivehome.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-build-helper: Fix decoding GCC major version</title>
<updated>2020-05-01T09:22:15+00:00</updated>
<author>
<name>Jacob Kroon</name>
<email>jacob.kroon@gmail.com</email>
</author>
<published>2020-04-30T13:15:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2044442bbc4849c2ca33b1402883cae95de757a2'/>
<id>urn:sha1:2044442bbc4849c2ca33b1402883cae95de757a2</id>
<content type='text'>
GCC in Fedora 32 is up to version 10, so return the whole word
instead of the first letter.

Signed-off-by: Jacob Kroon &lt;jacob.kroon@gmail.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java-library: inherit python native</title>
<updated>2020-01-27T09:00:26+00:00</updated>
<author>
<name>Kraag Gorim</name>
<email>kraaggorim@gmail.com</email>
</author>
<published>2020-01-24T16:22:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ac5a9dc7113d06cc2900b5c71a4beb342f950d66'/>
<id>urn:sha1:ac5a9dc7113d06cc2900b5c71a4beb342f950d66</id>
<content type='text'>
Several components make use of python in their build process. To not
rely on python being part of the HOSTTOOLS python should be inherited.

Signed-off-by: Kraag Gorim &lt;kraaggorim@gmail.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java.bbclass: remove bashism in comparison</title>
<updated>2020-01-21T09:01:03+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2020-01-21T08:59:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=80e1bab681233d5f10c06f758b9dcef8f3161ddd'/>
<id>urn:sha1:80e1bab681233d5f10c06f758b9dcef8f3161ddd</id>
<content type='text'>
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java.bbclass: oe_makeclasspath does nothing without -s</title>
<updated>2020-01-21T06:37:04+00:00</updated>
<author>
<name>Davis, Michael</name>
<email>michael.davis@essvote.com</email>
</author>
<published>2020-01-20T20:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2a7b02e9a563f70d4ae1aa6cc44d50490168cc87'/>
<id>urn:sha1:2a7b02e9a563f70d4ae1aa6cc44d50490168cc87</id>
<content type='text'>
oe_makeclasspath is supposed to output for the target platform by default and the staging platform with -s.
However it checks if the file exists even if -s is not defined which is always false.
Additionaly remove comment around an error that never occurs.

Signed-off-by: Michael Davis &lt;michael.davis@essvote.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>remove True option to getVar calls</title>
<updated>2019-12-27T11:05:54+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-13T11:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=7a3a8322a747c8803dbfbf3aa4912cf9f8158695'/>
<id>urn:sha1:7a3a8322a747c8803dbfbf3aa4912cf9f8158695</id>
<content type='text'>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search &amp; replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>class/java-native: remove</title>
<updated>2019-12-27T11:01:39+00:00</updated>
<author>
<name>Mohamad Noor Alim Hussin</name>
<email>mohamad.noor.alim.hussin@intel.com</email>
</author>
<published>2019-12-06T01:33:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=7bb0903d1a96d0bee47236f59128db62072a7043'/>
<id>urn:sha1:7bb0903d1a96d0bee47236f59128db62072a7043</id>
<content type='text'>
Java-native class used NATIVE_INSTALL_WORKS which was removed
from oe-core around 2010. Also updated recipes that inherit
java-native to native class.

Signed-off-by: Mohamad Noor Alim Hussin &lt;mohamad.noor.alim.hussin@intel.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
</feed>
