From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: jar files won't open in emacs 27.1 on debian 11.6 "bullseye" Date: Sun, 02 Apr 2023 08:15:27 +0200 Message-ID: <87o7o6lshs.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33258"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 02 08:16:27 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pir0t-0008Rd-9f for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 02 Apr 2023 08:16:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pir0L-00036F-9w; Sun, 02 Apr 2023 02:15:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pir0J-00035g-8d for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 02:15:51 -0400 Original-Received: from cadalora.bang.priv.no ([2001:41c9:1:424::90]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pir0G-0000Tb-SI for help-gnu-emacs@gnu.org; Sun, 02 Apr 2023 02:15:50 -0400 Original-Received: from marquez (unknown [84.210.69.52]) by cadalora.bang.priv.no (Postfix) with ESMTPSA id 60DFB10057B for ; Sun, 2 Apr 2023 07:15:30 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dod.no; s=sb; t=1680416131; bh=MTEPdo4dK9pouQ3v8lZOnr0FupKrAPcbzczWAPgJ9+E=; h=From:To:Subject:Date:From; b=kuigBICSVXKflmTGTWt/ZJSTkuQw8S94Z/QtDbfH89g5xIE0JWIPvrw+VRmsrZfnP kY8Nuh2gk9QW++Qn7LlR/GkPSnmddZ6ZfOBdFnd84zq5q7Sno5mbxkNN5o5gKUNDeU 4TJTQIFLLH4PXpypeBt8UGU6cfhyKeL5aInPPTq8= Received-SPF: none client-ip=2001:41c9:1:424::90; envelope-from=sb@dod.no; helo=cadalora.bang.priv.no X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143189 Archived-At: Platform: amd64 debian 11.6 "bullseye" GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2023-02-23, modified by Debian unzip 6.0-26+deb11u1 libbz2 1.0.8-4 I tried opening some jar files yesterday. I expected them to open in unzip mode and show the "directory listing" of the jar file contents (jar files are zip files). But of these files: -rw-r--r-- 1 sb sb 52055 Apr 1 20:41 modelstore.backend-1.0.0-SNAPSHOT.jar -rw-r--r-- 1 sb sb 455179 Apr 1 20:41 modelstore.backend-1.0.0-SNAPSHOT-javadoc.jar -rw-r--r-- 1 sb sb 28639 Apr 1 20:41 modelstore.backend-1.0.0-SNAPSHOT-sources.jar The modelstore.backend-1.0.0-SNAPSHOT.jar and the modelstore.backend-1.0.0-SNAPSHOT-sources.jar file opened showing just the following contents: M Filemode Length Date Time File - ---------- -------- ----------- -------- -------- - ---------- -------- ----------- -------- -------- 0 0 files The modelstore.backend-1.0.0-SNAPSHOT-javadoc.jar files just gives the following error message, and doesn't open: File mode specification error: (args-out-of-range modelstore.backend-1.0.0-SNAPSHOT-javadoc.jar 445526 445530) Any idea of how to debug this? Alternatively, does someone recognize this behaviour and have a workaround? Does the zip support of emacs 27.1 come in the form of running unzip in a sub-process? Or does it use a linked in library? (libbz2...?) Thanks! - Steinar