From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 881921381F3 for ; Mon, 6 Jul 2020 09:59:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9234FE08AE; Mon, 6 Jul 2020 09:59:02 +0000 (UTC) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BF06E08AE for ; Mon, 6 Jul 2020 09:59:01 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id f2so12154812wrp.7 for ; Mon, 06 Jul 2020 02:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CFG0PKh45UvE6T3aFgE7xvONQOv7Ger3pW8k+Zxfm5E=; b=Zc2lzV+DLzRjWHhiNslwJipDRY5p26DH/Evu0CBQdkLuFinzzn9MUSJ74eBRNnju7e HxXS8d1GGXXvdJh+y3sOcBKIIOjl5Oo64mTq/mhj9RlZ/9XVNHitxPhHPxXZSMxSP7ra iR8/PWKua61DdxeFe2IlUo0EfJ5JemJdJ9Ga2PBQMbXoJuwUMsAfBsVi+FrYzqoJy7KX GLmI4yYkpSe41mMKHzvOroqsYg7RytCB4yo8iaNa91m7KqBHSCsDLd32t6+aTP5GA88P F6Bv4nDXwBuOLHh7tnQsPahiXrC4I8Av+a3xxzbT6db5rf4SWC3VGq1NVFLGutUL04Yu q3zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CFG0PKh45UvE6T3aFgE7xvONQOv7Ger3pW8k+Zxfm5E=; b=TNPoxZK016eyrodFCiJJp/15/DP0mMxAGIw2moRGYB9CzsUGjwyYoJ45DnH1V58BmS xp1sfBdgXMdymEmKLoNo4r9WZcWhVhOYkNdFBG9r8eph5XuJo0dIsqAR/YoQjBK7NXKB FbAbQjIA+RfYED+mKDK+Ep9DPPJk6O7Y+jnUs25wM5Nw14XMrg5tCm69vt4enm+9U1ZX 3WRh+JN5R3AvZ5o6JJPjQoTQR4YGO1VkPcOQxdz3dX/ZeyBMa2HDeXM1ZHss4U68EFVb N7VNzbEcY7ua+UbhAPrY1UVjhmEUwuUOLwLfoL/tsdlC8qsq+8pf/4O6JmhHudQz/9s/ 4TOg== X-Gm-Message-State: AOAM530XdBW1BUZD8b5+TucPAqEUjiQkYs1M7EiFyPHM+7zcFLVYRSc4 pwImjNh9PnveXufmBeOLKiw/K8DRx9GJ1BYYeBlksDo1/Zw= X-Google-Smtp-Source: ABdhPJxx3Bc0I3wQgPLeGBBvW1KzqM/P+nDdmnVh+IWLCFm4QMQY39JLfxB7SmdPYk7PMXFUF/2qLaxdic8xE953gkM= X-Received: by 2002:a5d:540d:: with SMTP id g13mr44351208wrv.380.1594029540175; Mon, 06 Jul 2020 02:59:00 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-soc@lists.gentoo.org Reply-to: gentoo-soc@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <87v9j1sb3b.fsf@robot.e.airelinux.org> In-Reply-To: From: Zhang Zongyu Date: Mon, 6 Jul 2020 17:58:00 +0800 Message-ID: Subject: Re: [gentoo-soc] Weekly Report: Big Data Infrastructure and Maven Overlay in Week 5 To: gentoo-soc@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: bda4749b-8a56-427a-96ba-e9824d058d64 X-Archives-Hash: 47428dff9fc3e4585ba4b01fbff1ba28 Hello, > i just would like to bring to your attention the content of > ~/.java-ebuilder/cache. it contains all packages that are based at least > on one of java eclasses, and those eclasses are also listed at the end > of each row. might help you to find all packages that are java packages, > even outside dev-java/ category. Thanks for the notice. Previously I believed that those categories other than dev-java/ and java-virtuals/* are not likely to exist in the database of Maven, so I ignored them last week. I will fill in the blank of non-dev-java packages this week. >> https://github.com/gentoo/java-ebuilder/blob/master/scripts/meta.sh > this seems to be a really clever idea :-) This helped me a lot. Last week, I started with the preliminary cache generated by meta.sh. > generally, using `git commit -s ...` adds the required line on new > commits. you can also rebase your commit messages ( `git rebase -i > c3b197f0e69c06f58f982f8d8dd16c88e2d5d518`) and push the commits again > afaik. Sorry for the mistake I have made, and I will rebase the repository. > javax/xml/bind is part of jdk:8 but was dropped later and is not present > in jdk:11 anymore which causes some packages to fail to compile against > jdk:11 (you can easily check with something like this: `for jdk in > icedtea:8 openjdk:8 openjdk:11; do echo; echo $jdk; for jar in $(query > files $jdk | grep -E ".*\.jar$"); do echo $jar; unzip -l $jar | grep > javax/xml/bind; done; done`). you have to have those jdk installed > before running this command. Thanks for the information. So it seems that I do not need concern about jaxb, and I can just set the proper classpath to make use of JAXB stuffs instead. Maybe I will need to add a variable (e.g. JAVA_NEEDS_RUNTIME) to control it. > do these work with java-pkg-simple.eclass as is in the tree or it needs > your updated eclass? The class is modified by me. It can be found here[1]. The major differences are the way to process JAVA_*_CLASSPATH variables and a new variable called "JAVA_NEEDS_TOOLS". > getting the changes in the eclass into the main tree requires review and approval by devs. Is it correct that I should trigger the review via bugs.gentoo.org? > also, before getting the ebuilds into the tree, i would really like to > see an automated test to verify that the content of our jar files > matches the content of the maven repo jar files. without this, we might > get issues because of missing resources and maybe even other causes. Currently, I do not have a clear way of reaching the goal... A preliminary thought is to maintain a modified version of java-pkg-simple. The modified eclass will automatically compare the files in postinst phase. I will try to work out it this week. > one more note. i noticed in your overlay you have only the ebuild files > but the rest of the required files are missing. generally, you need to > provide metadata.xml file for each package and need to run `repoman > manifest` for each package. also, you have to run `repoman full` and > also can run `pkgcheck scan` for each package to catch all issues that > can be caught this way. Got you, I will add the missing files. Regards, Zhang Zongyu [1] https://github.com/6-6-6/spark-overlay/blob/master/eclass/java-pkg-simple.eclass