From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#32478: pcscd service activation causes boot failure Date: Mon, 20 Aug 2018 21:52:19 -0700 Message-ID: <87o9dwmid8.fsf@gmail.com> References: <87pnyd8pn5.fsf@gmail.com> <87bm9xdniy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fryfD-0006qx-TW for bug-guix@gnu.org; Tue, 21 Aug 2018 00:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fryf9-0005v8-7d for bug-guix@gnu.org; Tue, 21 Aug 2018 00:53:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fryf9-0005uo-2K for bug-guix@gnu.org; Tue, 21 Aug 2018 00:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fryf8-0000LT-Od for bug-guix@gnu.org; Tue, 21 Aug 2018 00:53:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <87bm9xdniy.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 20 Aug 2018 18:13:25 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 32478-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo and Arun, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> ERROR: In procedure dynamic-func: >> In procedure dynamic-pointer: Symbol not found: strverscmp > > This is because (guix utils) pulls in lots of things that are not really > meant to be used on the =E2=80=9Cbuild side=E2=80=9D (a misnomer in this = case, but you > see what I mean ;-)). Here, it assumes that dlopen support is available > but it=E2=80=99s not because the activation snippet runs on the > statically-linked Guile. That makes sense. I keep forgetting about this. :-) Thank you for reminding me! > I think =E2=80=9CTODO: Deduplicate=E2=80=9D would be enough as a comment,= or at least > something more concise like =E2=80=9CXXX: We cannot use (guix utils) beca= use it > requires a dynamically-linked Guile, hence the duplicate > =E2=80=98switch-symlinks=E2=80=99.=E2=80=9D I leave it up to you! Yes, I agree. I'll simplify the comment. I included the long comment mainly in the hopes that somebody would be able to help me understand why it wasn't working. Arun Isaac writes: >> Commit de30205ba0f63eb987097a9f47b6e4fd38cd9044 added a pcscd service >> (hooray!). However, its activation procedure doesn't always work. The >> system test passes, and the activation procedure works the first time >> you boot, but if you reboot, it will fail because the symlink it creates >> already exists. The attached patch fixes the problem. > > Thanks for catching and fixing this! I am still in the process of > building and testing your patch. I ran out of memory and had to `guix > gc' and rebuild again. As you said, it takes a while. But, your patch > LGTM. Please go ahead and push to master at your discretion, after > addressing Ludo's feedback. OK! I've rewritten the comment as Ludo suggested and committed this to master as 6fb6ac6857df31c55a640eead2a5f79edd7dab14. Now, I'll close this bug report. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlt7moMACgkQ3UCaFdgi Rp3kDw/+PuZNIir8BiOIIVmCdVNYC6Xr/GqSvEJd7XYb0sIc2hUbjnQwWVIZxCj8 WNQ0Lr1+ANIAPXFrP8+P4ayT21WBq7C5i+xIGMGN3+UqJ5omnAZboszoWIV0XSUS s4bJzOVFYMbCWQe1Hpj0h4TNbxZONzCrVMS2k34EJ15yaho5durRautd0TzRW5kY WrkSVrK5Kx6ZdbUJkH0DbHSPx0Yxk1eCsPXEK37WSqNPJHHf+JUcSy/4eaaxsJtq 9A5+xS4KTC48nMM0luYp/DIrDCnq30084eBFV9AAtildhEZe23nQjdTmTIl30+bA Hue/e4DyH76CulTs/LDMeHP0clYg3ocsorJxXQaajrXdEoG9hj2n2mWa8z/xf9Hv Msbpyi6HJuJImu4C6BI+e/X02f9eddALd4LMoQJ6eem31KxC4H45Aj1tn3Bqn8FL csCzj2KsSDJDhpk4caUJJdOVMNPQ9V7cR6xwCkGYHmRJp42Hd0mL+Du+73EfvkBF wdj4+HWt4t1SprlmwRC1R4ALHUU1Lk38Zn2b7Xf5HcheYXqlK/Zm83AxnrtzOKZT kRfc2nzdeOYqnkdZA7sEWh+/LAJpUxXxo6PGCy3MSSqOEwMQuOK1W/U3ATVJ+/hk JeGpexXiyPdvo9zb+JAy149QhNdJlXjqSspSZaiwIkM5Ue10wVY= =wt5f -----END PGP SIGNATURE----- --=-=-=--