From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 22 14:19:48 2022 Received: (at 32947) by debbugs.gnu.org; 22 Mar 2022 18:19:48 +0000 Received: from localhost ([127.0.0.1]:41812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWj6i-0000bP-2i for submit@debbugs.gnu.org; Tue, 22 Mar 2022 14:19:48 -0400 Received: from lepiller.eu ([89.234.186.109]:59312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWj6g-0000bG-3K for 32947@debbugs.gnu.org; Tue, 22 Mar 2022 14:19:47 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 3707f510; Tue, 22 Mar 2022 18:19:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=yVfU0dv26Qu3 T3xYEzcU30PbR7u5bq/CCfP3y0iSZ38=; b=YO747cBsTFZqrrnZAxhntc89QrYm 6ZHuAvaBFMn/icRM7DBKRS6yINvRV1qbj4/hhwK1koA8QASoZvNwDWMs278ucdKk 8/SQ2/no1XnWSgqbp6oStuKgtG54ceECBWUpmFL3MeVdnsYm3XOSPkgdIpcAZVsV EnGtGWqhR2pCjPi4JAryUBsWpo/oeVSUUy+3Y7fBHg1ufv6U8FH+TkO2ZUDt7C1i CKL5uSufr3H8qvFzWkgn9mJmKCp30lHH5n+Nq6I1glngIGxD0fv5xTU6Rxn8wP3i V0PkSpw7YCbL9N8dC8KdM7BOiH273WwvyK18+O0cuuh74aiXWdM8RyMCjA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 4e8da0ea (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 22 Mar 2022 18:19:42 +0000 (UTC) Date: Tue, 22 Mar 2022 19:18:11 +0100 From: Julien Lepiller To: guix-patches@gnu.org, Maxime Devos , Frank Pursel , 32947@debbugs.gnu.org Subject: Re: [bug#32947] Add java-xalan. User-Agent: K-9 Mail for Android In-Reply-To: References: <87y217gjfa.fsf@Ginko.local.i-did-not-set--mail-host-address--so-tickle-me> Message-ID: <748F479C-EE10-4720-BF39-525589A2AD50@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32947 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On March 22, 2022 6:45:15 PM GMT+01:00, Maxime Devos wrote: >Maxime Devos schreef op vr 18-03-2022 om 21:07 [+0100]: >> I've been reading the source code, not seeing anything >> =E2=80=98suspicous=E2=80=99 (malware etc=2E) so far (I'm currently at >> xalan-j_2_7_2/src/org/apache/xalan/templates/FuncKey=2Ejava, 25%)=2E > >Now I'm at 42% (src/org/apache/xalan/xsltc/compiler/XPathLexer=2Ejava)=2E >I've found two binaries (*): > > * src/org/apache/xalan/xsltc/compiler/XPathLexer=2Ejava > * src/org/apache/xalan/xsltc/compiler/XPathParser=2Ejava > >They appear to be generated by a lexer and parser generator -- >apparently it's named =E2=80=98java_cup=E2=80=99? Given that they are in= the 'xsltc' >part, which is currently unused in the java-xalan package IIUC, I >believe it would be sufficient to just delete these two files=2E To add to your comment=2E I've encountered java_cup in tge past=2E It's no= t bootstrappable as far as I can see=2E It has a dependency on jflex and it= self, and jflex requires itself and java_cup=2E I looked at the first commi= t of jflex, and it already depends on itself (but not cup)=2E According to = the devs, chey used a hand-written lexer that was too aweful to commit, and= so we can't rebuild jflex=2E If someone is interested, they would have to write a lexer for an early ve= rsion of jflex :) > >(*) Here I mean 'binaries'=3D'generated, not source code' -- it's still >=2Ejava and not =2Eclass=2E > >Greetings, >Maxime=2E