From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WO8dGIoi9l+qMgAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 20:50:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qAnqE4oi9l8YfwAA1q6Kng (envelope-from ) for ; Wed, 06 Jan 2021 20:50:18 +0000 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 455E5940149 for ; Wed, 6 Jan 2021 20:50:12 +0000 (UTC) Received: from localhost ([::1]:40740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxFkw-0005ZW-TZ for larch@yhetil.org; Wed, 06 Jan 2021 15:50:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxFko-0005Z5-8h for bug-guix@gnu.org; Wed, 06 Jan 2021 15:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxFko-0004vm-05 for bug-guix@gnu.org; Wed, 06 Jan 2021 15:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxFkn-0002ya-US for bug-guix@gnu.org; Wed, 06 Jan 2021 15:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45706: vscodium Resent-From: "Hamzeh Nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Jan 2021 20:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45706 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45706@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160996618811414 (code B ref -1); Wed, 06 Jan 2021 20:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jan 2021 20:49:48 +0000 Received: from localhost ([127.0.0.1]:45716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFkZ-0002y2-Jl for submit@debbugs.gnu.org; Wed, 06 Jan 2021 15:49:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:34870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxFkY-0002xt-2o for submit@debbugs.gnu.org; Wed, 06 Jan 2021 15:49:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxFkX-0005YF-RT for bug-guix@gnu.org; Wed, 06 Jan 2021 15:49:45 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:41045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxFkV-0004m9-6w for bug-guix@gnu.org; Wed, 06 Jan 2021 15:49:45 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 2706294A for ; Wed, 6 Jan 2021 15:49:40 -0500 (EST) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Wed, 06 Jan 2021 15:49:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=DcbILuuV8cQYD2708ZXC3bPBtow+JH/y6rZ3X3Tiics=; b=YYJAEwdx Htk+JD2W0XDBBIhS2AuLyTIZUAVUjgwygLR/QO2yk2O+aNg4ZMs42WzDEMje9Z5N mMYmE5jTCgf+dIeok7l3hqJTDXR1oxIgMFaIqLhoVsslInT7xjm/5GKe6oGuCK2g iu0Kdl0d99YfQu1s2AfLCHAmrg4bbKJbtC0r7geepuLqBzCCIbFdz8VXd8tMqLIP jEtNQ0yxOCxqjBTrqkUM0BskqamHmv6PPs3CHuByK7r+WhNKH+IrCQww0Qu17eg0 xJSfEGmStdyFlmT4kyJaUc2J8rrOMwxoBwEl4//LpVei9WzJcLcH7YAMcoVDWdOA ON/HAUaLvJJqkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=DcbILuuV8cQYD2708ZXC3bPBtow+J H/y6rZ3X3Tiics=; b=l6ATL+FccDIde6zKceKmWcoQhXS5pZo9mLZOM8LOe8yyr dUpgKhbV/z+IjmQS/IR+K0NbUIVlTg49j+hje3CNWYD0BmLuD6g9o5/L6vu/2n8Y +u0rmnby5mRA2OJoBXyjpyDkEdhqPAIEzKvSckX9stDCLhHHdNC8Pwp1ocZuALte VTsgVvtdRBi4Iuq7sCx10rB3YPQShOKdrEQnrwpaTMq+O6sJdXuKN3ZrK/s/SdVM oeL7WE1d+j0XiMLrqFXkf9wVQgaWJv8WPj2t52pbBG4Tf0jnFOCLYvW3zEleDuaB nqgI5n8Ycq94FxDNsZLBrP/1KFPfXk65Rz+HaVoJw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdegtddggeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfjfgrmhiivghhucfprghsrghjphhouhhrfdcuoehhrdhnrghs rghjphhouhhrsehprghnthhhvghrgidrohhrgheqnecuggftrfgrthhtvghrnhepfeekge efjefhvdfguedufeetuefghfeifeeljeekvdetudetkeekfeffveevieetnecuffhomhgr ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehhrdhnrghsrghjphhouhhrsehprghnthhhvghrgidrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6F3855C0099; Wed, 6 Jan 2021 15:49:39 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 Mime-Version: 1.0 Message-Id: <21b57d16-d87b-408f-ad9d-7be207072676@www.fastmail.com> Date: Thu, 07 Jan 2021 00:19:18 +0330 From: "Hamzeh Nasajpour" Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.19; envelope-from=h.nasajpour@pantherx.org; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=pantherx.org header.s=fm1 header.b=YYJAEwdx; dkim=fail (headers rsa verify failed) header.d=messagingengine.com header.s=fm1 header.b=l6ATL+Fc; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 455E5940149 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZppTcA1/0s2K Hello, I want to package the `vscode` in guix. Actually I packaged it, but I faced with some issues that I think the package definition needs some modifications. I installed it and I get this error: ``` $ codium --verbose Cannot upload crash dump: cannot exec /usr/bin/wget Unexpected crash report id length Failed to get crash dump id. Report Id: [1338:1217/162312.625705:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. Cannot upload crash dump: cannot exec /usr/bin/wget Unexpected crash report id length Failed to get crash dump id. Report Id: $ codium --verbose --disable-gpu Cannot upload crash dump: cannot exec /usr/bin/wget Unexpected crash report id length Failed to get crash dump id. Report Id: Cannot upload crash dump: cannot exec /usr/bin/wget Unexpected crash report id length Failed to get crash dump id. Report Id: ``` While I can run it with `--help` and `--version` options: ``` $ codium --version 1.51.1 e5a624b788d92b8d34d1392e4c4d9789406efe8f x64 $ codium --help VSCodium 1.51.1 Usage: codium [options][paths...] To read from stdin, append '-' (e.g. 'ps aux | grep code | codium -') Options -d --diff Compare two files with each other. -a --add Add folder(s) to the last active window. -g --goto Open a file at the path on the specified line and character position. -n --new-window Force to open a new window. -r --reuse-window Force to open a file or folder in an already opened window. --folder-uri Opens a window with given folder uri(s) --file-uri Opens a window with given file uri(s) -w --wait Wait for the files to be closed before returning. --locale The locale to use (e.g. en-US or zh-TW). --user-data-dir Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code. -h --help Print usage. ... ``` The package definition is here: ``` (define-module (px packages programming) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix build-system trivial) #:use-module (gnu packages bash) #:use-module (gnu packages bootstrap) #:use-module (gnu packages commencement) #:use-module (gnu packages compression) #:use-module (gnu packages cups) #:use-module (gnu packages elf) #:use-module (gnu packages fontutils) #:use-module (gnu packages gl) #:use-module (gnu packages base) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages linux) #:use-module (gnu packages nss) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) (define-public vscodium (package (name "vscodium") (version "1.51.1") (source (origin (method url-fetch) (uri "https://github.com/VSCodium/vscodium/releases/download/1.51.1/VSCodium-linux-x64-1.51.1.tar.gz") (sha256 (base32 "0hn4pqmabz3qf3bbqnn1fz7fcgzdkp2lwr2yzgmx8hhh3cff8bnb")))) (build-system trivial-build-system) (arguments `(#:modules ((guix build utils)) #:builder (begin (use-modules (guix build utils) (srfi srfi-26)) (let* ((source (assoc-ref %build-inputs "source")) (alsa-lib (assoc-ref %build-inputs "alsa-lib")) (at-spi2-atk (assoc-ref %build-inputs "at-spi2-atk")) (at-spi2-core(assoc-ref %build-inputs "at-spi2-core")) (atk (assoc-ref %build-inputs "atk")) (bash (assoc-ref %build-inputs "bash")) (cairo (assoc-ref %build-inputs "cairo")) (coreutils (assoc-ref %build-inputs "coreutils")) (cups (assoc-ref %build-inputs "cups")) (dbus (assoc-ref %build-inputs "dbus")) (expat (assoc-ref %build-inputs "expat")) (fontconfig (assoc-ref %build-inputs "fontconfig")) (gcc (assoc-ref %build-inputs "gcc")) (ar (assoc-ref %build-inputs "gcc-toolchain")) (gdk-pixbuf (assoc-ref %build-inputs "gdk-pixbuf")) (glib (assoc-ref %build-inputs "glib")) (gzip (assoc-ref %build-inputs "gzip")) (gtk (assoc-ref %build-inputs "gtk+")) (pango (assoc-ref %build-inputs "pango")) (patchelf (assoc-ref %build-inputs "patchelf")) (tar (assoc-ref %build-inputs "tar")) (xz (assoc-ref %build-inputs "xz")) (libdrm (assoc-ref %build-inputs "libdrm")) (libx11 (assoc-ref %build-inputs "libx11")) (libxcb (assoc-ref %build-inputs "libxcb")) (libxcursor (assoc-ref %build-inputs "libxcursor")) (libxcomposite (assoc-ref %build-inputs "libxcomposite")) (libxdamage (assoc-ref %build-inputs "libxdamage")) (libxext (assoc-ref %build-inputs "libxext")) (libxfixes (assoc-ref %build-inputs "libxfixes")) (libxi (assoc-ref %build-inputs "libxi")) (libxrandr (assoc-ref %build-inputs "libxrandr")) (libxrender (assoc-ref %build-inputs "libxrender")) (libxss (assoc-ref %build-inputs "libxscrnsaver")) (libxtst (assoc-ref %build-inputs "libxtst")) (libnss (assoc-ref %build-inputs "nss")) (libnspr (assoc-ref %build-inputs "nspr")) (ld-so (string-append (assoc-ref %build-inputs "glibc") ,(glibc-dynamic-linker))) (mesa (assoc-ref %build-inputs "mesa")) (bin-dir (string-append %output "/bin")) (lib-dir (string-append %output "/lib/vscode")) (codium-exec(string-append %output "/lib/vscode/codium"))) (mkdir-p bin-dir) (setenv "PATH" (string-append (string-append ar "/bin:") (string-append bash "/bin:") (string-append coreutils "/bin:") (string-append gzip "/bin:") (string-append patchelf "/bin:") (string-append tar "/bin:") (string-append xz "/bin:"))) (invoke "tar" "xvf" source) (invoke "mkdir" "-p" lib-dir) (invoke "mkdir" "-p" bin-dir) (copy-recursively "." lib-dir) (substitute* (string-append lib-dir "/bin/codium") (("ELECTRON=" all) (string-append "VSCODE_PATH='" lib-dir "'\nELECTRON="))) (invoke "ln" "-s" (string-append lib-dir "/bin/codium") bin-dir) (invoke "patchelf" "--set-interpreter" ld-so codium-exec) ; (substitute* '("usr/share/applications/codium.desktop") ; (("Exec=/usr/share/codium/codium") (string-append "Exec=" %output "/bin/codium"))) ; (substitute* '("usr/share/applications/codium-url-handler.desktop") ; (("Exec=/usr/share/codium/codium") (string-append "Exec=" %output "/bin/codium"))) ; (invoke "cp" "usr/share/codium/resources/app/resources/linux/code.png" (string-append %output "/share/pixmaps/code.png")) (invoke "cat" (string-append bin-dir "/codium")) (wrap-program codium-exec `("FONTCONFIG_PATH" ":" prefix (,(string-append fontconfig "/etc/fonts")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append alsa-lib "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append at-spi2-core "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append at-spi2-atk "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append atk "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append dbus "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append cairo "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append cups "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append expat "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append gcc "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append glib "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append gdk-pixbuf "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append gtk "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libdrm "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libx11 "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxcb "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxcomposite "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxcursor "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxdamage "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxext "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxfixes "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxi "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxrandr "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxrender "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxtst "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libxss "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libnss "/lib/nss")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append libnspr "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append mesa "/lib")))) (wrap-program codium-exec `("LD_LIBRARY_PATH" ":" prefix (,(string-append pango "/lib")))) #t)))) (native-inputs `(("alsa-lib" ,alsa-lib) ("at-spi2-atk" ,at-spi2-atk) ("coreutils" ,coreutils) ("cairo" ,cairo) ("cups" ,cups) ("dbus" ,dbus) ("expat" ,expat) ("fontconfig" ,fontconfig) ("gcc" ,gcc "lib") ("gcc-toolchain" ,gcc-toolchain) ("glib" ,glib) ("gdk-pixbuf" ,gdk-pixbuf) ("gtk+" ,gtk+) ("glibc" ,glibc) ("libdrm" ,libdrm) ("libxcb" ,libxcb) ("libxcursor" ,libxcursor) ("libx11" ,libx11) ("libxcomposite" ,libxcomposite) ("libxdamage" ,libxdamage) ("libxext" ,libxext) ("libxfixes" ,libxfixes) ("libxi" ,libxi) ("libxrandr" ,libxrandr) ("libxrender" ,libxrender) ("libxscrnsaver" ,libxscrnsaver) ("libxtst" ,libxtst) ("mesa" ,mesa) ("gzip" ,gzip) ("pango" ,pango) ("patchelf" ,patchelf) ("nss" ,nss) ("nspr" ,nspr) ("tar" ,tar) ("xz" ,xz))) (inputs `(("bash" ,bash) ("zlib" ,zlib))) (home-page "https://github.com/VSCodium/vscodium") (synopsis "Free/Libre Open Source Software Binaries of VSCode") (description "Free/Libre Open Source Software Binaries of VSCode.") (license license:expat))) ``` Do you have any idea? Please help, I need this IDE urgently :) Regards, Hamzeh -- Hamzeh Nasajpour PantherX Team