Allow build for multiple ARCH in the same builddir
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyIn review
- v16 of 7 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | cleanup whitespace in tasksrecipes-core/ recipes-core/ recipes-core/ +3 more | +108 | 0 replies | |
| 2/6 | licence: add missing LIC_FILES_CHKSUMrecipes-core/ recipes-core/ recipes-core/ +17 more | +28 | 0 replies | |
| 3/6 | rxtx: use autotools-brokenseprecipes-extended/ | +1 | 0 replies | |
| 4/6 | java-library: inherit allarchclasses/ recipes-core/ recipes-extended/ | +7 | 0 replies | |
| 5/6 | antlr: fix override for native buildrecipes-core/ | +9 | 0 replies | |
| 6/6 | mark broken recipes with PNBLACKLISTrecipes-core/ recipes-core/ recipes-core/ +4 more | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [meta-java][PATCH v2 0/6] Allow build for multiple ARCH in the same builddir
v2: Patch 6/6: mark broken recipes with PNBLACKLIST[recipe] rather than
documenting them in a README.nonworking
Building a recipe which provides packages for allarch and ${TUNE_PKGARCH} fails if one builds in the same build directory for different TUNE_PKGARCHs.
An example is rhino which fails as follows when one builds first for armv7at2hf-vfp and then for armv7at2hf-vfp-neon.
ERROR: The recipe rhino is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/.../ipk/all/librhino-java_1.7r4-r0_all.ipk
Matched in manifest-armv7at2hf-vfp-rhino-package_write_ipk
The change in package arch is done in java-library.bbclass. Most of the users of java-library.bbclass don't install any files in the ${TUNE_PKGARCH} packages or install shell scripts which may also be deployed in an allarch package.
Most of the recipes including java-library.bbclass no longer build with newer layer revisions.
This patchset first update the recipes to build again, changes java-library build all packages in allarch by default and recipes which must have some of their packages in ${TUNE_PKGARCH} to have all of their recipes in ${TUNE_PKGARCH}.
Finaly some of the recipes I tried did not build before and after the proposed changes. Adding a PNBLACKLIST statement to mark them as I don't have the time to work on these and I guess no one has been interested in years.
Regards
Max
Max Krummenacher (6):
cleanup whitespace in tasks
licence: add missing LIC_FILES_CHKSUM
rxtx: use autotools-brokensep
java-library: inherit allarch
antlr: fix override for native build
mark broken recipes with PNBLACKLIST
classes/java-library.bbclass | 8 ++- recipes-core/antlr/antlr_2.7.7.bb | 18 +++--- recipes-core/jakarta-commons/commons-cli_1.1.bb | 1 + recipes-core/jakarta-commons/commons-codec_1.3.bb | 1 + .../jakarta-commons/commons-configuration_1.5.bb | 2 + .../jakarta-commons/commons-discovery_0.4.bb | 1 + recipes-core/jakarta-commons/commons-el_1.0.bb | 3 +- .../jakarta-commons/commons-fileupload_1.2.1.bb | 1 + .../jakarta-commons/commons-httpclient_3.1.bb | 1 + recipes-core/jakarta-commons/commons-io_1.4.bb | 1 + recipes-core/jakarta-commons/commons-jxpath_1.3.bb | 2 + recipes-core/jakarta-commons/commons-lang_2.4.bb | 1 + .../jakarta-commons/commons-logging_1.1.1.bb | 1 - recipes-core/jakarta-commons/commons-pool_1.4.bb | 1 + recipes-core/jakarta-commons/jakarta-commons.inc | 68 +++++++++++----------- recipes-core/jakarta-libs/poi_3.0.bb | 3 +- recipes-core/junit/junit4_4.3.1.bb | 3 +- recipes-core/libmatthew/libmatthew.inc | 1 + recipes-core/servlet-api/jsp2.0_5.5.26.bb | 3 +- recipes-core/servlet-api/servlet2.4_5.5.26.bb | 3 +- recipes-core/xml-commons/dom4j_1.6.1.bb | 2 + recipes-core/xml-commons/jaxen_1.1.1.bb | 2 + recipes-core/xml-commons/jaxme_0.5.2.bb | 57 +++++++++++------- recipes-core/xml-commons/jdom_1.1.bb | 2 + recipes-core/xml-commons/xom_1.1.bb | 40 ++++++++----- recipes-core/xml-commons/xpp2_2.1.10.bb | 24 ++++---- recipes-core/xml-commons/xpp3_1.1.3.4.O.bb | 39 +++++++------ recipes-extended/hsqldb/hsqldb_1.8.0.10.bb | 29 ++++----- recipes-extended/rxtx/rxtx_2.2.0.bb | 3 +- 29 files changed, 188 insertions(+), 133 deletions(-)
Signature · 1 line
1.9.3