From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cNQHBAeyFWQZ7AAASxT56A (envelope-from ) for ; Sat, 18 Mar 2023 13:43:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kDv1AgeyFWQu9wAAG6o9tA (envelope-from ) for ; Sat, 18 Mar 2023 13:43:51 +0100 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 C4CCC29283 for ; Sat, 18 Mar 2023 13:43:50 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b=SwwPCttP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679143430; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=q4hcB6fNLrtcTc02cuwcEJhx9vyepb2VhV3BA1XN0Aw=; b=NAMBTa0h2VmkflgGSDbYvQlHEghsP7jZ+SWG8PKRa5SU7VyK1wiijG1BNBOVD82OtrhN37 3tI59cGmv3zIOmxPi3iaevpM8XxMrNGe/xmAYxU1HqHeFPLQoie01ZHZ0D0zcFVxjl7XGc Jv5SOPH1Zeu+7BuCc3A/4XNyrGFb3j5XYxhYIFdIiKymboh8vTkGsHN5b/NjzwmMuc5FfX Mn+tGJzYh8DYpO6MuR6Q7y4xZ//eRivnEO7IKOJaINEeM76Jm5pthYJ1xELPm9uQ8mAKkQ +dOy0ofRX0vUbySRYV/goilRQvmDsj86hPg04FaIzzhK+ikWsVFy7iIbA62w6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=uni-bremen.de header.s=2019 header.b=SwwPCttP; dmarc=fail reason="SPF not aligned (relaxed)" header.from=uni-bremen.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679143430; a=rsa-sha256; cv=none; b=aOQrKks04hg4PBqZFdJ4LtWrXTkuwRr18bkZw/vpRL4M/48DNoNHK/vaOPonfQNOgSqWRJ 6rym9c6Xrbu3VIcmCF/38mrW438PHJcvZmPQuBqDePahpCxnpPqPP8pIPXx673aWkt4id3 fksQLKDfoBNlmx1N0twYYFTGDRIkiCItG7VoYY5j7yhuEh3/kj5BTz84hocxDhJDJKP+I5 J/EXzuj0ia8fTWwY8Zt00Hkp8IsBWw8psY+1wV1JbXNlORyymXDudAYft5mZ5mtHHjoTrA f6RMttIEuRE9Y0OyiW7PVDwkQ4+E1nhW2OjguTHFMn4rG9M2hjJr7qXMNlmccA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdVu6-0006bu-8B; Sat, 18 Mar 2023 08:43:22 -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 1pdVu3-0006bO-Um for help-guix@gnu.org; Sat, 18 Mar 2023 08:43:19 -0400 Received: from gabriel-smtp.zfn.uni-bremen.de ([2001:638:708:32::15] helo=smtp.uni-bremen.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdVu1-00031k-3L for help-guix@gnu.org; Sat, 18 Mar 2023 08:43:19 -0400 Received: from [192.168.178.52] (ip4d16eb70.dynamic.kabel-deutschland.de [77.22.235.112]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.uni-bremen.de (Postfix) with ESMTPSA id 4Pf0z32CdKzDCbL for ; Sat, 18 Mar 2023 13:43:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019; t=1679143391; bh=R6vVgWUOUBdIlCYF/RLW9evN2eA9afUCIZm9oY+QS2o=; h=Date:To:References:From:In-Reply-To; b=SwwPCttPRiQ0CCdx7xbH10ldnqAWtTinZyVHmXuEkpYciA/Ak3IyJZZDCLZMxsgZ/ Pr/A9Rcqioa+G33HBIBVvQ0UhuTztqQ6kyV7bzlj9gwkZEow8YYSFvLptiGqNXN348 W1O46Cb+NUR8Evjz0VfaPPOM0RuKM/vrj2L6Bz2VChDs7My7A71kws5HTlz+sfQbAr r9lLRkrUd4pfppRzukC0a0+Q9X70NDfhOBccJsc9UdQrn3tPOm8KY3xSpHPNANVBAx zbvDVxJyatbp0A4VI4Z/O4BvcjsrgkEXO04ZMfNRn5DQlw2TCzPsVBt7ymphvUDWBd JcBTOdLOP6sUw== Message-ID: Date: Sat, 18 Mar 2023 13:44:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: creating a manifest Content-Language: de-DE To: help-guix@gnu.org References: <2e5ab249-c759-7fce-58e2-ebeeac7fbacc@uni-bremen.de> From: Martin Castillo In-Reply-To: <2e5ab249-c759-7fce-58e2-ebeeac7fbacc@uni-bremen.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:638:708:32::15; envelope-from=castilma@uni-bremen.de; helo=smtp.uni-bremen.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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: C4CCC29283 X-Spam-Score: -2.45 X-Migadu-Spam-Score: -2.45 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: J7jpitmAk7Th I noticed an error. > > For that you need to instead create a new package definition for > musescore version 3.6.2. The info page gives you an example, which you > just adjust. Using guix edit musescore you see how musescore is defined. > You can notice, there is a version field. So lets create a new package > with adjusted version: > > (define musescore-3.6.2 >   (package >     (inherit musescore) >     (version "3.6.2"))) > > ;; We create this manifest from a _package_, and not from a > ;; _specification_ (which is just something like a string "musescore") > (packages->manifest (list musescore-3.6.2)) > While building guix says it's downloading musescore-4.0.1. Maybe it switches to the respective branch before building. I even tried explicitly writing the origin entry of (define musescore-3.6.2 (package (inherit musescore) (version "3.6.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/musescore/MuseScore") (commit (string-append "v" "3.6.2")))) (file-name (git-file-name "musescore" "3.6.2")) (sha256 (base32 "0x2aahpbvss3sjydcq6xdh198fmslgypixmd2gckfwjqzady662y")) (modules '((guix build utils))) (snippet '(begin ;; Remove unused libraries... (for-each delete-file-recursively '("thirdparty/freetype")) ;; ... and precompiled binaries. (delete-file-recursively "src/diagnostics/crashpad_handler") (substitute* "src/diagnostics/CMakeLists.txt" (("install") "#install")))))))) guix shell -m manifest.scm still says 4.0.1 and executing mscore fails: [env]$ mscore --version QEventLoop: Cannot be used without QApplication QEventLoop: Cannot be used without QApplication qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb. Abgebrochen So seems like in this case it's not so easy. (Well the current guix packaged version is 4.0.1 so a major version change happened.) One could try using the older package definition, which is available in the git history of guix. Commit 6a54715988aee884bbb5f81e1b718a27ff771ec4 is the newest change to musescore with 3.6.2. 9f93bcd1862c76d7ff30da6f712c9bd2912b8346 switched to 4.0. So it's parent commit should have the newest dependencies which might work with current guix. I don't have time right now, but you might want to copy such an older package definition into your manifest.scm Martin