From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Victor Collod Newsgroups: gmane.emacs.bugs Subject: bug#38777: 26.3; tar-mode doesn't list a file / crashes on package-tar-file-info Date: Sat, 28 Dec 2019 19:09:40 +0100 Message-ID: <1577555517.09cwixy20a.astroid@thinkingbus.none> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="33178"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) To: 38777@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 28 20:05:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ilHOf-0008Qv-Sf for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2019 20:05:10 +0100 Original-Received: from localhost ([::1]:45638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilHOe-0000xU-JH for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Dec 2019 14:05:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43381) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilHKj-0007VQ-S1 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:01:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilHKh-0004F1-Bm for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:01:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilHKg-0004Dj-NL for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:01:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ilHKg-00081K-Mf for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Victor Collod Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2019 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38777 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157755963030779 (code B ref -1); Sat, 28 Dec 2019 19:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Dec 2019 19:00:30 +0000 Original-Received: from localhost ([127.0.0.1]:58915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilHK9-00080M-14 for submit@debbugs.gnu.org; Sat, 28 Dec 2019 14:00:29 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:35361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilGXD-0006pa-Mw for submit@debbugs.gnu.org; Sat, 28 Dec 2019 13:09:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41719) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilGXB-0004FS-JR for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 13:09:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilGX8-0007at-W6 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 13:09:52 -0500 Original-Received: from mail-eopbgr140045.outbound.protection.outlook.com ([40.107.14.45]:23542 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ilGX8-0007HR-FK for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 13:09:50 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NSgT/t/tzEEMb68B8lCZQ9xI3yS3sWZpJ7gNEijDvUi4rkIt3iIJVuibaRpY6sFaXctTWJUCwkOtXCTqZ6T0eyk+8Udbj/N8UNhaaC7gZDwHCQAhZyZOvYRyWWbsYZ9sAszX26pw1DKijy4KBmrPuYJWd3IOjoXZfpJ2V52dku6vcu2G4rR9/0cCyPpks/xqdktZmI9x7b9f+P/lcK5VtKyEhdZ2gBVLPwDfFoKhoO8EAFFMGDz2syL2z5gTNI9euCzUe+IPl2gNvrXuBGwhUbcMfZwJqGXO30BYNUvjvjNT/wN2lTfYi2/MwZrmauSuN7xuS5ufGruRgweLxze6gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=phDJYtB9E62LpqP0FHcNWhC4GMcbm2XuyrDV06ndLzY=; b=hZLshuTaxbk8xyE+TiFc3FuEYYujCO1WtEq0ex0be6q1vFVlU6PPi4e95q0GapeTpEcbj6d0Xpj0eCumVBQD1EdpjlaQ9DimpBavphZudYMT9qSrEpi/C1h2j8Zfc20OvAFBbsD+2FuCZHo1l04i+6r3sSeWmsDYkvHB0uPHfsa0byXxZxav5oQtCz3lcAliXzhwexWaa30W1iAdmgBaRNv3fzgWEQyBPmNLxQbO4yKqL1CmGCjBkjqfr78cK3QJmSbQKVNQkCXF6ePT+bwhqd3O1QN77d7/AQlDhJSD04SRJrut+DIQT9IuSrw279xy4LR/wLOR9Y0WxSFoT8ZY4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epita.fr; dmarc=pass action=none header.from=epita.fr; dkim=pass header.d=epita.fr; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epitafr.onmicrosoft.com; s=selector2-epitafr-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=phDJYtB9E62LpqP0FHcNWhC4GMcbm2XuyrDV06ndLzY=; b=L3bjNe6VmkIdes5oix2E5rIegZvMaEhLIOWO8HtJ1hqkt/foEmMYm858G961qkfnI/pvh1jiPUYGRO2heOl339K5lwNsUcgVncUZBYJhMQpbbxtBM9ZjStDagh5rMTgCk2+oEh/fKJ6VAz2EtEUQcFo03/u/wXObD0GgQj+5gb4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=victor.collod@epita.fr; Original-Received: from AM6PR07MB4645.eurprd07.prod.outlook.com (20.176.243.75) by AM6PR07MB5496.eurprd07.prod.outlook.com (20.178.90.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.8; Sat, 28 Dec 2019 18:09:46 +0000 Original-Received: from AM6PR07MB4645.eurprd07.prod.outlook.com ([fe80::458c:5798:9abe:5c99]) by AM6PR07MB4645.eurprd07.prod.outlook.com ([fe80::458c:5798:9abe:5c99%7]) with mapi id 15.20.2602.009; Sat, 28 Dec 2019 18:09:45 +0000 X-ClientProxiedBy: PR0P264CA0206.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1f::26) To AM6PR07MB4645.eurprd07.prod.outlook.com (2603:10a6:20b:25::11) Original-Received: from localhost (109.214.140.73) by PR0P264CA0206.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Sat, 28 Dec 2019 18:09:45 +0000 X-Originating-IP: [109.214.140.73] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5deb67d2-19c6-4ca6-09da-08d78bc11e95 X-MS-TrafficTypeDiagnostic: AM6PR07MB5496: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-Forefront-PRVS: 02652BD10A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39850400004)(396003)(136003)(366004)(199004)(189003)(6916009)(66556008)(66476007)(26005)(16526019)(186003)(66946007)(478600001)(52116002)(2906002)(6496006)(44832011)(966005)(6486002)(9686003)(6666004)(786003)(316002)(81156014)(8676002)(8936002)(81166006)(86362001)(36756003)(5660300002)(956004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR07MB5496; H:AM6PR07MB4645.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: epita.fr does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yUgz7lMAmkLuYGS5v/8eoAITY/oXkjYrMpoBlFpA6ePU/1ZJShgwIefw4rrs86wm/ZBpcIIjeRS59HJno5k0BFc1BDc8SGhh4omJAoIfyjfDPFqyVgONrjdJnOId9UJ2xUNQVD8X/8mDklwkkA/KgEYR7YRBWYXQmWx8R04fMPJGnZV1izZtyqpnNDpDH149bwEe7XxGMOYXUS/XNiNJtklFrKlcQ01aUUCh0XQjnhgWIJCMQSrvN2MU3dU+Jk6+eFKeItHkFGi+TpE+H2W7mGn8o5MAMzBAe3zWKXhCYQ7G0B05TGWrIltYmt5dnm6Cb5xexg5Ybh5WJTWW/XEjdBTLoSFc9S00KYusz1nVx63GD4y7yWFlJhV887fHnDL4ksty2ASs8N0nQ5hkJ+77I7V2FIgaPUZs+WYuOUYbgfCACSuPb8tVssNomYbftl/inLLmSX5IO5PZimS7Bfd4ISkB2cw1MxKW9x45LVRf3PQ= X-OriginatorOrg: epita.fr X-MS-Exchange-CrossTenant-Network-Message-Id: 5deb67d2-19c6-4ca6-09da-08d78bc11e95 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2019 18:09:45.6825 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3534b3d7-316c-4bc9-9ede-605c860f49d2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: S/z8rO2KU5fWDtxNDej9lgjADad9Vqynksv3ZP7scdDlC4C/ZyAOp4Afnk1Sz8sADz1q/OyAazRL6DWZc3ylJw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR07MB5496 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Mailman-Approved-At: Sat, 28 Dec 2019 14:00:28 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173862 Archived-At: Hello! A few months ago, the nix port of irony stopped building for a very, very s= trange reason: when the complete path of the package metadata file is 32 characters long (= plus some other unknown conditions), it isn't shown in the tar-mode file li= st view, and running (package-tar-file-info) fails with the following stack= trace: > Debugger entered--Lisp error: (wrong-type-argument arrayp nil) > tar--describe-as-link(nil) > tar--check-descriptor(nil) > tar-get-file-descriptor("irony-20190703.1732/irony-pkg.el") > package-tar-file-info() > eval((package-tar-file-info) nil) > eval-expression((package-tar-file-info) nil nil 127) > funcall-interactively(eval-expression (package-tar-file-info) nil nil 1= 27) > call-interactively(eval-expression record nil) > command-execute(eval-expression record) > execute-extended-command(nil "eval-expression" nil) > funcall-interactively(execute-extended-command nil "eval-expression" ni= l) > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) Unfortunately, my yet to be found lisp programming skills are way too low t= o solve this issue. I have tried and failed to understand what's going on. Perhaps this bug isn= 't a good introduction to lisp programming :/ Here is the related (worked around) NixOS issue: https://github.com/NixOS/nixpkgs/issues/66556#issuecomment-522809883 And a link to a zip file containing the cursed tar file: https://github.com/NixOS/nixpkgs/files/3522572/repro.zip Configured using: 'configure --prefix=3D/nix/store/bgv2mpq96crnldxkq79iwc31qadnq5al-emacs-26.3 --disable-build-details --with-modules --with-x-toolkit=3Dgtk3 --with-xft CFLAGS=3D-DMAC_OS_X_VERSION_MAX_ALLOWED=3D101200' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD Important settings: value of $EMACSLOADPATH: /nix/store/62ynkkg5w0c1kxwlxdwzcvja47wmxycl-emac= s-packages-deps/share/emacs/site-lisp: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: shell-dirtrack-mode: t global-whitespace-mode: t which-key-mode: t editorconfig-mode: t diff-auto-refine-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/multun/.nix-profile/share/emacs/site-lisp/git hides /run/current-syst= em/sw/share/emacs/site-lisp/git /home/multun/.nix-profile/share/emacs/site-lisp/git-blame hides /run/curren= t-system/sw/share/emacs/site-lisp/git-blame /run/current-system/sw/share/emacs/site-lisp/site-start hides /nix/store/62= ynkkg5w0c1kxwlxdwzcvja47wmxycl-emacs-packages-deps/share/emacs/site-lisp/si= te-start /run/current-system/sw/share/emacs/site-lisp/site-start hides /nix/store/bg= v2mpq96crnldxkq79iwc31qadnq5al-emacs-26.3/share/emacs/site-lisp/site-start /nix/store/62ynkkg5w0c1kxwlxdwzcvja47wmxycl-emacs-packages-deps/share/emacs= /site-lisp/elpa/seq-2.20/seq hides /nix/store/bgv2mpq96crnldxkq79iwc31qadnq= 5al-emacs-26.3/share/emacs/26.3/lisp/emacs-lisp/seq /nix/store/62ynkkg5w0c1kxwlxdwzcvja47wmxycl-emacs-packages-deps/share/emacs= /site-lisp/elpa/let-alist-1.0.6/let-alist hides /nix/store/bgv2mpq96crnldxk= q79iwc31qadnq5al-emacs-26.3/share/emacs/26.3/lisp/emacs-lisp/let-alist Features: (cl-print debug shadow sort company-oddmuse company-keywords company-etags etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-bbdb company-irony company-template company pcase mail-extr tar-mode arc-mode archive-mode emacsbug yaml-mode diff novice xref project vc vc-dispatcher smerge-mode js sgml-mode dom imenu rst compile writeroom-mode visual-fill-column dired-aux face-remap nix-mode ffap nix-repl nix-shell nix-store nix-instantiate nix-shebang nix-format nix markdown-mode color noutline outline python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete parse-time comint ring ansi-color make-mode two-column iso-transl sendmail misearch multi-isearch lisp-mnt irony-cdb-libclang irony-cdb-json pp irony-cdb-clang-complete irony-cdb irony-completion irony-snippet flycheck-irony irony-diagnostics irony irony-iotask flycheck cl-extra json map find-func help-mode rx subr-x dash cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-git sh-script smie executable server elec-pair multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors mc-edit-lines multiple-cursors-core rect clang-format xml whitespace rainbow-delimiters which-key editorconfig notmuch hl-line notmuch-hello wid-edit notmuch-tree notmuch-show notmuch-print notmuch-crypto notmuch-mua notmuch-message notmuch-draft notmuch-maildir-fcc notmuch-address notmuch-company notmuch-parser notmuch-wash diff-mode easy-mmode coolj notmuch-query goto-addr thingatpt icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs notmuch-tag edmacro kmacro crm notmuch-lib advice notmuch-version notmuch-compat cl message rmc puny dired dired-loaddefs format-spec rfc822 mml mailabbrev gmm-utils mailheader mm-view mml-smime mml-sec epa derived epg gnus-util rmail rmail-loaddefs mail-utils smime dig mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr time-date tsdh-dark-theme paren cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq seq-25 byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 813410 99456) (symbols 48 53733 20) (miscs 40 4416 6082) (strings 32 159751 8703) (string-bytes 1 4644355) (vectors 16 74595) (vector-slots 8 2364846 103216) (floats 8 328 893) (intervals 56 71244 222) (buffers 992 99)) --=20 Victor Collod