• [RFC] Removing support for GCJ and GCJFLAGS from dpkg?

    From Guillem Jover@21:1/5 to All on Thu Aug 31 02:30:02 2023
    XPost: linux.debian.maint.java

    Hi!

    While going through the supported compilers and build flags recently,
    I noticed that dpkg-buildflags and the various dpkg Makefile fragment
    files still have support for gcj, but that compiler seems to have
    stopped being maintained some time ago. According to Wikipedia (<https://en.wikipedia.org/wiki/GNU_Compiler_for_Java>) the final
    release was in 2018, and we do not even have it in Debian anymore.

    So I guess it should be fine to rip that off? A quick codesearch.d.n
    didn't reveal much of a usage. But I'd like to hear whether this would
    break or disrupt things, before I consider removing these.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tony mancill@21:1/5 to Guillem Jover on Thu Aug 31 05:40:02 2023
    XPost: linux.debian.maint.java

    Hi Guillem,

    On Thu, Aug 31, 2023 at 02:23:00AM +0200, Guillem Jover wrote:
    While going through the supported compilers and build flags recently,
    I noticed that dpkg-buildflags and the various dpkg Makefile fragment
    files still have support for gcj, but that compiler seems to have
    stopped being maintained some time ago. According to Wikipedia (<https://en.wikipedia.org/wiki/GNU_Compiler_for_Java>) the final
    release was in 2018, and we do not even have it in Debian anymore.

    So I guess it should be fine to rip that off? A quick codesearch.d.n
    didn't reveal much of a usage. But I'd like to hear whether this would
    break or disrupt things, before I consider removing these.

    No concerns from the Debian Java team. I can't imagine any breakage,
    but if there is any fall-out, it would be due to cruft that we should
    clean up anyway. The dependency on gcj-jdk was dropped from javahelper (src:javatools) for buster [0].

    Thanks for catching this.

    Cheers,
    tony

    [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892530

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmTwCowACgkQIdIFiZdL Ppa9cg/+JBoazFaVw66ZANe2EE3oePGFBuvEkfbvIsyuSV4YFKz3/0kZ/c85x/Mb F+6cmomO7Nzhd0FuDMBLYHSkDPT7xDS4kTBQzxOfaAqJpYoWP8aHJguEchXUulUL 90en/pEBN5isokiFgcUIDLVI949DYSsofmyQaqeyHs7+ULKQ4BFJWtm4CiZRQCpS IdogujqC3oB1J/k468QccLFo2prgWBAP43jIZtdKHeqqXazUndkING9RCwPJ1RFY f3eiycS59q5BHQThjXGrW57r4/DV2EEbuK3S2fkep0gDWRipSwMP+mZ/74p5I0FT rHqtplndfs/wHxoK3J89y8PbmZtSRU5Tlbz2JCDI9ICifpafIt+xJAkBOMIvrV6y fBXz9gtNB7cIgPAaqqjyXnezNal9j/RA43UivF62hRzSy+JdTcFT9OB9GN7UoCMf Jt/nTbnLj9yr4YUNjmypNBeAMuWp0M3SfVZLu4ttbulzmEQXPB242yOW03Sus/u0 8mS2hTjjTd4JIO7oxhpv2G7ENjp4wL870BnoVWE+ZjkyPDiOliVOOA1rW05v6lM3 +QexTblxWts/y4Y696eut/uwCtAI0dJYuDTx6QgiybRpal55TorxmvUkqyFC8L9P vUrHfhID5Ge/ra462Wn2BopJIxQzehfNyqzcGZ2eEfvHhAwwqjs=
    =tFEt
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Emmanuel Bourg@21:1/5 to Guillem Jover on Thu Aug 31 19:30:01 2023
    XPost: linux.debian.maint.java

    Hi Guillem,

    On 31/08/2023 02:23, Guillem Jover wrote:

    So I guess it should be fine to rip that off?

    Yes go ahead, GCJ is long dead and gone, you can remove the remaining references safely.

    Emmanuel Bourg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to tony mancill on Fri Sep 1 12:00:01 2023
    XPost: linux.debian.maint.java

    Hi!

    On Wed, 2023-08-30 at 20:35:40 -0700, tony mancill wrote:
    No concerns from the Debian Java team. I can't imagine any breakage,
    but if there is any fall-out, it would be due to cruft that we should
    clean up anyway. The dependency on gcj-jdk was dropped from javahelper (src:javatools) for buster [0].

    [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892530

    On Thu, 2023-08-31 at 19:19:50 +0200, Emmanuel Bourg wrote:
    Yes go ahead, GCJ is long dead and gone, you can remove the remaining references safely.

    Thanks both for the confirmation! I've queued the attached patch which
    will be included in my next git push targeting dpkg 1.22.1.

    Regards,
    Guillem

    From 444a0d7b0546cde45c752f12125810cfeb5bf667 Mon Sep 17 00:00:00 2001
    From: Guillem Jover <guillem@debian.org>
    Date: Thu, 31 Aug 2023 20:00:46 +0200
    Subject: [PATCH] scripts: Remove unused GCJ and GCJFLAGS support

    The gcj project is dead since 2018.
    ---
    doc/README.feature-removal-schedule | 6 ++++++
    man/dpkg-buildflags.pod | 22 +++++++++-------------
    scripts/Dpkg/BuildFlags.pm | 3 ---
    scripts/Dpkg/BuildInfo.pm | 1 -
    scripts/Dpkg/Vendor/Debian.pm | 1 -
    scripts/mk/buildflags.mk | 3 +--
    scripts/mk/buildtools.mk | 2 --
    scripts/t/Dpkg_BuildFlags_Ubuntu.t | 4 ++--
    scripts/t/Dpkg_BuildInfo.t | 2 +-
    scripts/t/mk.t | 1 -
    scripts/t/mk/buildflags.mk | 1 -
    scripts/t/mk/buildtools.mk | 2 --
    12 files changed, 19 insertions(+), 29 deletions(-)

    diff --git a/doc/README.feature-removal-schedule b/doc/README.feature-removal-schedule
    index 928880f0a..f9b1f0b53 100644
    --- a/doc/README.feature-removal-schedule
    +++ b/doc/README.feature-removal-schedule
    @@ -172,3 +172,9 @@ Warning: program
    Why:
    Obsoleted long time ago (2005-01-22). Remaining packages should switch to
    use 'dpkg --print-architecture'.
    +
    +What: GCJ and GC