From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QBHYDetDVGSHVAAASxT56A (envelope-from ) for ; Fri, 05 May 2023 01:46:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 20nKDetDVGR2MQAAauVa8A (envelope-from ) for ; Fri, 05 May 2023 01:46:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E55B512093 for ; Fri, 5 May 2023 01:46:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puieM-0000hh-GL; Thu, 04 May 2023 19:46:14 -0400 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 1puieK-0000hC-ET for guix-devel@gnu.org; Thu, 04 May 2023 19:46:12 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puieH-00079s-AB for guix-devel@gnu.org; Thu, 04 May 2023 19:46:12 -0400 Date: Thu, 04 May 2023 23:45:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683243966; x=1683503166; bh=SCRvskBfRUeT84+4RUI/dR/gMAjZCGvDfCRp2cPv8jA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=JhNUHuUvfhSDSBXuj6ccr7Q+H7OcA7btV4DZ9bIGJ8zP7Adkf4Ah7tEn0PLU0d6UK nl0PAPxKhL1i0UAfy4T6bbF/YEXzkXyYQAFvVCaUKFf5B5wdnaHhavhxYSbBg0GqFz UTa4NDGFvo4254mIxY214qmrbtGAZ164t79vRlTNGXyVaNhb8O7e+Eakk7MRqg9Frz mXySZ/y/2e/WPqfcSFDfYRRGKOU871WA64XZn/f54WL4+jSvRs+1Brfq6qHR8ObOnx 8ufHpnt2PfnImBLexdskMECXgTK37TfPpJm5gD+qvpn5GTt3xyDJ0z9goJzAkS8ov6 mN31D0C8Nm5hQ== To: John Kehayias From: Kaelyn Cc: 63267@debbugs.gnu.org, guix-devel@gnu.org Subject: Re: gcc-toolchain is missing libstdc++.so Message-ID: In-Reply-To: <87sfcbzrzy.fsf@protonmail.com> References: <87sfcbzrzy.fsf@protonmail.com> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_6reumqiAJU9fQrBRp7DD1drvjRyVTripLFMPqNQbw" Received-SPF: pass client-ip=185.70.43.16; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4316.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683244011; a=rsa-sha256; cv=none; b=kOp8s4K9zlebGG/jVG1s0LtNyOObnC3bN14+7fRUI14559cwQkgk4sY1buH8RJHtufHhdW /fjXr3kSwIuG6U4TGTq2N7Pjwiq+4/E7Z3f/UqnOp7WR5B70Xy/AzKC4zR2ookXXofjOsg YV2kHDUtqnkKYsyZg32eBM286zhZnBDDI617qUGXNYGZVqHApxG/st2Yuur/P9bjWSWFUo ZvQLsR6h+BZd3EedOPUz9B2mLI/bWO4ZpylKZsxPWosWl/o6Nj+8lpy6/OAjvG+3pa9131 5So0qS3R5JuRUIOT0ICfcVARx367H/VSaiO/3EdxvSjuIUNFxOfkNEJ8+2xjMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=JhNUHuUv; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683244011; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SCRvskBfRUeT84+4RUI/dR/gMAjZCGvDfCRp2cPv8jA=; b=qflQ1sMfaxwE4Fc8grJ12OJ7AngR8ufjpFKdbjBGk5jF5LOFlldXoyfADTBYuR2/LkNDyS CQlcAuSh696+7boeRzn2d2PXb3j2vFp6LkC2nXiz/mFg/sibX9L8BCev6bM47M1zFwV++w 3dKxJyNrzsKsv/w12cmK/rjm5/WHrKnhz9jo3kLwrCGA298Ek5mnUyTxEtLnoBRowPG7AO oVDos79+nLLavkR4s6TKOM3Xe5x0AMyCTZJHtBDzGCKrrqoG6sk61kv2p3+rqlfQ57lKZF j9coApQHbOubCH9HBNS3aImwBu47L/Kz4DBkU9BliiOjmht2uZWweGibUF9RSw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=JhNUHuUv; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.88 X-Spam-Score: -4.88 X-Migadu-Queue-Id: E55B512093 X-TUID: InMoMYFoXh5I This is a multi-part message in MIME format. --b1_6reumqiAJU9fQrBRp7DD1drvjRyVTripLFMPqNQbw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ------- Original Message ------- On Thursday, May 4th, 2023 at 9:50 PM, John Kehayias wrote: > > I have similar use cases of FHS containers to run binaries (primarily > > games). I recently ran into the issue of gcc:lib going away and no > > output from a visible package providing libstdc++. My current > > workaround was to implement a replacement for specifications->manifest > > that could handle packages and '(package "output") pairs in addition > > to strings, so that I could include `(,(@@ (gnu packages gcc) gcc) > > "lib") in place of "gcc:lib". Internally it resolves package strings > > to packages with specification->package, then passes the package and > > optional output specifier to package->manifest-entry. But I digress a > > little... >=20 >=20 > Nice little hack Kaelyn, would you mind sharing somewhere? I wonder if > this should be something we should have more easily anyway. I wasn't sure the best place to share it, so I've attached my "run" script = for running the binary download of PolyMC in a container. It is both a shel= l script and a guix package manifest, and is the one place so far I've work= ed around the removal of gcc:lib. The main program-specific bits are what C= MD defaults to and which packages need to be included (most of the various = shares are to get things like hardware 3D, pulseaudio, and dbus working and= aren't all always needed). It also contains the original manifest commente= d-out for comparison. Hope it can be of help to folks! Cheers, Kaelyn --b1_6reumqiAJU9fQrBRp7DD1drvjRyVTripLFMPqNQbw Content-Type: application/octet-stream; name=run Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=run IyEvYmluL3NoCjogJHtDTUQ6PS4vUG9seU1DfQppZiBbICQjIC1ndCAwIF0gOyB0aGVuCiAgICBD TUQ9IiRAIgpmaQoKdGVzdCAtZCBob21lLyB8fCBta2RpciBob21lCnNldCAtZXgKCmV4ZWMgZ3Vp eCBzaGVsbCAtQyAtRiAtTiAtRSBeRElTUExBWSAtLXNoYXJlPSIkUFdEL2hvbWU9JEhPTUUiIC0t c2hhcmU9IiRQV0QiIFwKICAgICAtLWV4cG9zZT0vZGV2L3NuZCAtLWV4cG9zZT0vZXRjL2Fzb3Vu ZC5jb25mIC0tZXhwb3NlPS9ldGMvbWFjaGluZS1pZCBcCiAgICAgLS1leHBvc2U9L2Rldi9kcmkg LS1leHBvc2U9L2Rldi9pbnB1dCAtLWV4cG9zZT0vc3lzL2NsYXNzL2lucHV0IFwKICAgICAtLWV4 cG9zZT0vc3lzL2RldiAtLWV4cG9zZT0vc3lzL2RldmljZXMgLS1leHBvc2U9L3Zhci9ydW4vZGJ1 cyBcCiAgICAgLS1zaGFyZT0vZGV2L3NobSAtLXNoYXJlPSRIT01FLy5jb25maWcvcHVsc2UgLS1z aGFyZT0kSE9NRS8uWGF1dGhvcml0eSBcCiAgICAgLS1zaGFyZT0vcnVuL3VzZXIvJFVJRC9wdWxz ZSAtLXNoYXJlPS9ydW4vdXNlci8kVUlEL3B1bHNlPS92YXIvcnVuL3B1bHNlIFwKICAgICAtbSAi JDAiIC0tcHVyZSAtLSBlbnYgTERfTElCUkFSWV9QQVRIPS9saWIgJHtDTUR9CiEjCgoodXNlLW1v ZHVsZXMgKGdudSkpCgo7OyAoc3BlY2lmaWNhdGlvbnMtPm1hbmlmZXN0Cjs7ICAnKCJiYXNoIiA7 IGFsd2F5cyByZXF1aXJlZAo7OyAgICAiY29yZXV0aWxzIiA7IGFsd2F5cyByZXF1aXJlZAo7OyAg ICAiZ2xpYmMiIDsgYWx3YXlzIHJlcXVpcmVkCgo7OyAgICAiZ2NjOmxpYiIKOzsgICAgInF0YmFz ZUA1LjE1Igo7OyAgICAicXRjaGFydHNANS4xNSIKOzsgICAgInpsaWIiCjs7ICAgICJnbGZ3Igo7 OyAgICAibnNzLWNlcnRzIgo7OyAgICAib3BlbmFsIgo7OyAgICAib3Blbmpka0AxOCIKOzsgICAg InB1bHNlYXVkaW8iCjs7ICAgICJ1bnJhciIKOzsgICAgInVuemlwIgo7OyAgICAiemlwIikpCgoo bWFuaWZlc3QKIChtYXAgKGxhbWJkYSAoc3BlYykKICAgICAgICAoYXBwbHkgcGFja2FnZS0+bWFu aWZlc3QtZW50cnkKICAgICAgICAgICAgICAgKGNvbmQKICAgICAgICAgICAgICAgICgocGFpcj8g c3BlYykgKGxldCAoKHBrZyAoY2FyIHNwZWMpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAob3V0cHV0IChjYWRyIHNwZWMpKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAobGlzdAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoaWYgKHN0cmluZz8g cGtnKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNwZWNpZmljYXRpb24t PnBhY2thZ2UgcGtnKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGtnKQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvdXRwdXQpKSkKICAgICAgICAgICAgICAg ICgoc3RyaW5nPyBzcGVjKSAobGlzdCAoc3BlY2lmaWNhdGlvbi0+cGFja2FnZSBzcGVjKSkpCiAg ICAgICAgICAgICAgICAoZWxzZSAobGlzdCBzcGVjKSkpKSkKICAgICAgYCgiYmFzaCIgOyBhbHdh eXMgcmVxdWlyZWQKICAgICAgICAiY29yZXV0aWxzIiA7IGFsd2F5cyByZXF1aXJlZAogICAgICAg ICJnbGliYyIgOyBhbHdheXMgcmVxdWlyZWQKCiAgICAgICAgKCwoQEAgKGdudSBwYWNrYWdlcyBn Y2MpIGdjYykgImxpYiIpCiAgICAgICAgInF0YmFzZUA1LjE1IgogICAgICAgICJxdGNoYXJ0c0A1 LjE1IgogICAgICAgICJ6bGliIgogICAgICAgICJnbGZ3IgogICAgICAgICJuc3MtY2VydHMiCiAg ICAgICAgIm9wZW5hbCIKICAgICAgICAib3Blbmpka0AxOCIKICAgICAgICAicHVsc2VhdWRpbyIK ICAgICAgICAidW5yYXIiCiAgICAgICAgInVuemlwIgogICAgICAgICJ6aXAiKSkpCg== --b1_6reumqiAJU9fQrBRp7DD1drvjRyVTripLFMPqNQbw--