From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dired-duplicates Date: Thu, 23 Nov 2023 06:12:17 +0000 Message-ID: <87pm012e2m.fsf@posteo.net> References: <875y2nugm8.fsf@posteo.net> <87zfzx1zfz.fsf@posteo.net> <9bcb9fe9-37b7-4c6e-8292-772ebbe379d9@gmx.at> <875y2lyxfq.fsf@posteo.net> <87cywrw8ok.fsf@posteo.net> <39f488c4-9cb5-4287-a8c2-f2576aa749bf@gmx.at> <87fs1lwnb8.fsf@posteo.net> <0ebc9ddf-9d81-47e8-b8a2-a39261a5394d@gmx.at> <8734xeovfg.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38482"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Harald Judt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 23 07:12:57 2023 Return-path: Envelope-to: ged-emacs-devel@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 1r62xN-0009qf-DW for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Nov 2023 07:12:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r62wu-0000bh-Aa; Thu, 23 Nov 2023 01:12:28 -0500 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 1r62wo-0000ZK-9e for emacs-devel@gnu.org; Thu, 23 Nov 2023 01:12:23 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r62wm-00061m-G9 for emacs-devel@gnu.org; Thu, 23 Nov 2023 01:12:22 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 84E7D240103 for ; Thu, 23 Nov 2023 07:12:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1700719938; bh=NnkwTybk8sNbMcjJIg5FD/Oj9UWFV9Ehn4AoQ5S55TU=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version:From; b=WnJOIS5Rgi47ChK9ILttqoIDU/KPj2PNXzLttE0btN0LbRC+AHLhOkusLG8IOhwX7 5nGUt4TB1qubpUrjwC+HtswGdCmDvVCFfXX/D0+kcskOdamUc/+FgBqew28/PfH3qk GEC+syLfj9yxVrmNYnYm4nHwC/+YE1t6jI3w+PcrBmzWSGkYa7YWzBNzxsj2+9+0Mr jfill1HRb4HTHIyVZQXRZ/pI8jEdY5fAqGmcW6GBfTJpqwL4f9XZBPr2sPyBy0Srgs gRIEBpr+jhZsGcHsjAtuvL0rtBBuFEwqEuO5CyF8/0Zn2vk2GJ8IgXGAd3hVgv/6by 3sloziU3Ypm9w== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SbSSf15Dwz6twF; Thu, 23 Nov 2023 07:12:18 +0100 (CET) In-Reply-To: (Harald Judt's message of "Fri, 10 Nov 2023 11:02:51 +0100") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313143 Archived-At: Harald Judt writes: > Hi, > > On 2023-11-10 at 09:37, Philip Kaludercic wrote: > > [...] > >> Sorry for the late response; It appears that the package can now be >> built (see https://elpa.gnu.org/packages/dired-duplicates.html), I had >> the same issue as you describe on my local machine and now it appears to >> be gone. Perhaps this was resolved by your recent 0.2 commit? > > Thank you. Yes that seems to be so. Everything is fine now. > > I am still unable to build it locally using the elpa instructions, but > I suppose this has something todo with sandboxing and my local > configuration. It can byte-compile dired-duplicates.el but not create > the tarball: > > make packages/dired-duplicates > ----------------------------------------------------------------------------- > emacs --batch -Q -l admin/elpa-admin.el \ > -f elpaa-batch-pkg-spec-make-dependencies .pkg-descs.mk > Generating description file packages/dired-duplicates/dired-duplicates-pkg.el > Byte compiling packages/dired-duplicates/dired-duplicates.el > emacs --batch -l admin/elpa-admin.el \ > -f elpaa-batch-generate-autoloads > packages/dired-duplicates/dired-duplicates-autoloads.el > INFO Scraping files for loaddefs... > INFO Scraping files for loaddefs...done > GEN dired-duplicates-autoloads.el > ----------------------------------------------------------------------------- > > > make build/dired-duplicates > ----------------------------------------------------------------------------- > emacs --batch -l /mnt/scratch/work/elpa/admin/elpa-admin.el \ > -f elpaa-batch-make-one-package dired-duplicates > ======== Building tarball > archive-devel/dired-duplicates-0.2.0.20231109.135341.tar... > Build error for > archive-devel/dired-duplicates-0.2.0.20231109.135341.tar: (error > "Error-indicating exit code in elpaa--call-sandboxed: > emacs: error while loading shared libraries: libgccjit.so.0: cannot > open shared object file: No such file or directory > ") > ######## Build of package > archive-devel/dired-duplicates-0.2.0.20231109.135341.tar > FAILED!! > ======== Building tarball archive/dired-duplicates-0.2.tar... > Build error for archive/dired-duplicates-0.2.tar: (error > "Error-indicating exit code in elpaa--call-sandboxed: > emacs: error while loading shared libraries: libgccjit.so.0: cannot > open shared object file: No such file or directory > ") > ######## Build of package archive/dired-duplicates-0.2.tar FAILED!! > ----------------------------------------------------------------------------- > > The libgccjit.so resides in a directory that is a subdir of /usr which > is listed in the sandbox ro-binds > (/usr/lib/gcc/x86_64-pc-linux-gnu/13/libgccjit.so.0), so I wonder > what's the problem. I am not sure either... what version of bwrap do you have installed? If you manually edit the `elpaa--sandbox' in elpa-admin.el to nil, does anything change? > Harald