Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #10350

Updating BND to 3.x

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com>
Newsgroups linux.debian.maint.java
Subject Updating BND to 3.x
Date Sun, 04 Mar 2018 15:50:01 +0100
Message-ID <vpD7z-5S2-7@gated-at.bofh.it> (permalink)
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Sun Mar 4 14:41:36 2018
Old-Return-Path <seamlikok@gmail.com>
X-Amavis-Spam-Status No, score=-12.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-pf0-x22d.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version; bh=EyZMPzsJAfzD4ludqwD2z9FiNxgQbWuKSjJ+qq592A0=; b=SMBPnD8mL1AxvfCxAto8dapQXhjR4KMHoogqEzLidqva8WB2g/5Zg8MQ//IjF9k2nZ 6OFmRCjkTOOa/6xBHu2Aq3M3lMklo+mPVxvgRtza6NfC522Vl7TUjkCDfN81D1TZQLUK L7Yf6V1A0VQhxgITbi5723YwmniRwsVeFXvmfaMm8f8c62QHtGSrmd32zKNlzEdjVyf5 Q2MrVL68Jo9kcsIHE4LdFlR5BA4svZsLM3x05dJWDNJVCtVC3JEUitr/oZnLZuE/3/Ig qyo4foDC67RrFUlEStLLT2vz5iXqnpZvIiAC3OrU5ux4mjSSC9xhlZuiuwBtsq3u9l4L pj3w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version; bh=EyZMPzsJAfzD4ludqwD2z9FiNxgQbWuKSjJ+qq592A0=; b=fd5nJ5vGzXHSxvIb6rJfzseBo1aZunC0u750o8DJyk9mET+lruEMfoX4J//v4rXhmB eBob5OFZ0p2MJeyTH9MFdRl04EHsXBkNayIDG6cfJEWgbSYkw+kRDEWgv8uIPhyjwfRZ ZveY98s26TJbaFxysq1/HKwsC/LTdNUeulp6yFal7hN2Gr1TrLe6ixqgivMW2olOfc6r koptHeQ/9k1kCAjtOoGR/+Am+5fTOOPwb6yT4S7OsAvZGCsXJ2dnr16ESwaptvhwrEqs KUSvDUETdLmm+WPjonKR/lDH/Dv3vzOS3wsHwBlFChior8oujMlANTGNv1kk/3UUcnTZ 4X4Q==
X-Gm-Message-State APf1xPDP1du2roSdgpYvU+nm3ekoM+8ugUJUw1R2J9HWrgJ4HYi9t4tE rGA/8EKRBmfTbqZOTVKQkfIBnM0p
X-Google-SMTP-Source AG47ELvvfROZC5LTa6Xq/MckE0q599/xVMhBcMS8DPAIgSPh7h76i58F3o8AA1+8s9Fk233ZpXN0ig==
X-Received by 10.98.35.195 with SMTP id q64mr12063317pfj.161.1520174478001; Sun, 04 Mar 2018 06:41:18 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lDjzzE8CoFNyTyfHnxEDyb1pBdX3IDflf"
X-Mailing-List <debian-java@lists.debian.org> archive/latest/20728
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/13012905-c835-130b-4259-d2eae6aa2694@gmail.com
Approved robomod@news.nic.it
Lines 116
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 4 Mar 2018 22:41:08 +0800
X-Original-Message-ID <13012905-c835-130b-4259-d2eae6aa2694@gmail.com>
Xref csiph.com linux.debian.maint.java:10350

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I have been working on updating "bnd"[1] to 3.5.0. I had to say this time it is much smoother than what Markus did 2 years ago. Here is a summary of the progress so far:

* All changes to "bnd" are now temporarily stored on Salsa [2]
* Introduced new dependency "felix-resolver" [3]
* Updated dependency "osgi-compendium" to version 6 [4]
* Tested reverse-build-dependencies on "bnd", "osgi-compendium" and "maven-bundle-plugin"
  * 176 packages build successfully without modification
  * 15 packages already FTBFS before my work:
    * activemq
    * activemq-protobuf
    * apache-directory-server
    * apache-mime4j
    * avro-java
    * cobertura
    * gradle
    * hawtbuf
    * jruby
    * libcommons-jexl2-java
    * maven-bundle-plugin
    * mockito
    * mustache-java
    * openjpa
    * tika
  * 4 packages need fixes:
    * felix-bundlerepository (done)
    * jboss-xnio
    * libquartz2-java
    * maven-bundle-plugin

Here is the summary of significant changes I made to the package:

* Added rules to build more artifacts
  * aQute.libg
  * biz.aQute.remote
  * biz.aQute.repository
  * biz.aQute.resolve
  * biz.aQute.tester
  * org.osgi.impl.bundle.repoindex.api
  * org.osgi.impl.bundle.repoindex.lib
  * The Gradle plugin (But not installing it)
* Changed the artifact/group IDs to match the upstream
  * E.g. biz.aQute:bnd => biz.aQute.bnd:biz.aQute.bnd
* Switched to use a simpler "get-orig-source" approach using "uscan" + "d/copyright"

The Gradle plugin obviously have a runtime dependency on Gradle, so it is better be put in a separated package. I'll leave it to the next update, so this time we can bypass FTP-Master.

During the update I found some issues:

* "bnd" hardcodes its data directory as "~/.bnd" which causes errors under "fakeroot" [5]
* I have no idea how to exclude certain Java source in "*.bnd" files, so I had to delete them. [6]

So far I have fixed "felix-bundlerepository", and I will fix the rest of the 3 packages. However I don't want to fix those packages that already FTBFS before this, as they tend to have other issues and fixing "bnd"-related problems will likely be trivial.

Can somebody grant me upload permission to "osgi-compendium" so that I can deal with it myself? I will signal you once other packages are ready. Thank you!

[1]: https://tracker.debian.org/pkg/bnd
[2]: https://salsa.debian.org/seamlik-guest/bnd/tree/3.5
[3]: https://anonscm.debian.org/cgit/pkg-java/felix-resolver.git
[4]: https://anonscm.debian.org/cgit/pkg-java/osgi-compendium.git
[5]: https://github.com/bndtools/bnd/issues/2327
[6]: https://salsa.debian.org/seamlik-guest/bnd/blob/920033023392d0fe9e7c01a3b3f39dc42aeaf3b8/debian/rules#L51

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Updating BND to 3.x 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2018-03-04 15:50 +0100
  Re: Updating BND to 3.x Markus Koschany <apo@debian.org> - 2018-03-04 16:00 +0100
  Re: Updating BND to 3.x Emmanuel Bourg <ebourg@apache.org> - 2018-03-05 13:50 +0100
    Re: Updating BND to 3.x 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2018-03-10 07:50 +0100
      Re: Updating BND to 3.x Emmanuel Bourg <ebourg@apache.org> - 2018-03-10 10:20 +0100
        Re: Updating BND to 3.x 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2018-03-14 07:20 +0100
          Re: Updating BND to 3.x Emmanuel Bourg <ebourg@apache.org> - 2018-03-14 14:50 +0100
            Re: Updating BND to 3.x 殷啟聰 | Kai-Chung Yan <seamlikok@gmail.com> - 2018-03-15 14:00 +0100
        Re: Updating BND to 3.x Tiago Daitx <tiago.daitx@canonical.com> - 2018-03-19 23:10 +0100
          Re: Updating BND to 3.x 殷啟聰 <seamlikok@gmail.com> - 2018-03-20 02:20 +0100
            Re: Updating BND to 3.x Tiago Daitx <tiago.daitx@canonical.com> - 2018-03-20 12:20 +0100

csiph-web