Message ID | cover.1729784644.git.maxim.cournoyer@gmail.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CD1B027BBEA; Thu, 24 Oct 2024 16:47:05 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 401E127BBE2 for <patchwork@mira.cbaines.net>; Thu, 24 Oct 2024 16:47:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1t402o-00010Q-SK; Thu, 24 Oct 2024 11:46:38 -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 <Debian-debbugs@debbugs.gnu.org>) id 1t402m-00010F-C7 for guix-patches@gnu.org; Thu, 24 Oct 2024 11:46:37 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1t402l-0002Yr-KM for guix-patches@gnu.org; Thu, 24 Oct 2024 11:46:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=C3PFIOS3cuT4RmdA6ahnl0i6Wua8uBY3KOMbscqlFFc=; b=FLCV4nEiXWVqFi/Hop8nGBQD7vdfZgsnFwT4hzYwE4QQLiOH6yXFbPeAjd6NA1sIiB0lQ/WdXppXqVWKF+/SsFv6tBQMYsbm0kxDoD3hUjI9fr35tU+PGAIhbHh/C+WZ0y6rARUhUZQWdktKU1vmOfxMT9f1Gc+/oKeL0kRt1UPX4eHYsr9Qt2v4T4bGrB+5AoyqqRPkr/WuCsmZQlk6BPpXiF4Gm6Xsm+LQq1OP6MPmK5Ug8BGCAqH/iZh4LBzzAb9XxAyd8TlFZOJQSq7KXG1LMW4BBCPhWhNGpmrbZNVNWAdUWDU02OiolSNSR443wNYDVUT78nZIj0l82aUYHw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1t403C-0002G3-3b; Thu, 24 Oct 2024 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73989] [PATCH games-team 0/2] Add TORCS. Resent-From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Thu, 24 Oct 2024 15:47:01 +0000 Resent-Message-ID: <handler.73989.B.17297847848621@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73989@debbugs.gnu.org Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>, Adam Faiz <adam.faiz@disroot.org>, Liliana Marie Prikler <liliana.prikler@gmail.com>, =?utf-8?b?5a6L5paH5q2m?= <iyzsong@envs.net> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Adam Faiz <adam.faiz@disroot.org>, Liliana Marie Prikler <liliana.prikler@gmail.com>, =?utf-8?b?5a6L5paH5q2m?= <iyzsong@envs.net> Received: via spool by submit@debbugs.gnu.org id=B.17297847848621 (code B ref -1); Thu, 24 Oct 2024 15:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Oct 2024 15:46:24 +0000 Received: from localhost ([127.0.0.1]:35944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1t402a-0002Ez-AB for submit@debbugs.gnu.org; Thu, 24 Oct 2024 11:46:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:54304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@gmail.com>) id 1t402X-0002Ef-Jk for submit@debbugs.gnu.org; Thu, 24 Oct 2024 11:46: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 <maxim.cournoyer@gmail.com>) id 1t4022-0000y1-GF for guix-patches@gnu.org; Thu, 24 Oct 2024 11:45:50 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <maxim.cournoyer@gmail.com>) id 1t401y-0002Tk-Ga for guix-patches@gnu.org; Thu, 24 Oct 2024 11:45:49 -0400 Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-20ceb8bd22fso7917655ad.3 for <guix-patches@gnu.org>; Thu, 24 Oct 2024 08:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729784743; x=1730389543; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=C3PFIOS3cuT4RmdA6ahnl0i6Wua8uBY3KOMbscqlFFc=; b=OYiUwBUEeB3GxdJCY8aPlSx0ziEgtlyiNifeOimZczOsOgSpnTXY34cNFNnu0s0lRx oW1uPqx4kkT1sHqoHTt6W9eetD+121W7ZrAThuMOL0Fs1FY+SXbJHvzwQ3M1199xjfOD r22trs4XQKSiQFXcTMagjifADsP6T3Hc+FdwPeM8ettx1SA4IlvWKJMIQXVNqFXaDYXj xy/kkT7LL3jKDjL37zDvIlg+43u02Q8NfTWClkVajGeTYCh6vc7H4rPOVwVuuhEsfeoE htNIN5O8M5ef+k3dHuDZcr0ykyVm3L5mz8Hu2t7ispMsKhqNdxXNlsI/FOBl9+XnFv5m UYeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729784743; x=1730389543; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C3PFIOS3cuT4RmdA6ahnl0i6Wua8uBY3KOMbscqlFFc=; b=AyfTPZmhNzn60B6Dj2iGMJPCOS57TM3llasw1o1i5/1xLzkWsZ4FPuGg8E3CE2NGPK b3iM7t9mGS3XZNe+/D5v0Q/Q6C0KNCpsftF/X0m6oZB6qCpTpdiRZTbqKUVmNXqQdSKB uCCUtNF3r+X62NH1zZ+V5hYeLQ2dMqP6FRuDJ+Rral3GV6E6udoB+Ld3p3POVTpxxOl+ RIMX67x6kmX61qtxlXAQNPjdl9p5vucs9pcukwTeyYq0FHvPPX3cJizjwk1zoYmLIMhD 4fANFfxqephxm/J64IJBeag1MKAuhOweQQ5bRB4++W0wMBphOGL61Wd9ATM+zdov4nYT YbbQ== X-Gm-Message-State: AOJu0YwMJcjZfpd9MLyiTlCt/AwDTrZZRGdOsmA/PRiWEVEDys/NXFxB e2ZfMi1DDbXGFfSj+se8pUX7HScIYqhNs7c5p6zQPbbuIGGV9g7rrIBx0Q== X-Google-Smtp-Source: AGHT+IHEevDk8YGwB9NjLMAkH3eYjjDQb7lc+z9ob3u3Pd6emwjHpgGMXqQB1p+hqjEgXQzu2zkkdw== X-Received: by 2002:a17:903:41c4:b0:20f:5443:9ec1 with SMTP id d9443c01a7336-20fa9e94ebcmr91672155ad.33.1729784742809; Thu, 24 Oct 2024 08:45:42 -0700 (PDT) Received: from localhost.localdomain ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7ef152d3sm73901985ad.117.2024.10.24.08.45.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 08:45:42 -0700 (PDT) From: Maxim Cournoyer <maxim.cournoyer@gmail.com> Date: Fri, 25 Oct 2024 00:45:25 +0900 Message-ID: <cover.1729784644.git.maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=maxim.cournoyer@gmail.com; helo=mail-pl1-x62e.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Add TORCS.
|
|
Message
Maxim Cournoyer
Oct. 24, 2024, 3:45 p.m. UTC
This adds TORCS, a car racing game/simulator. Maxim Cournoyer (2): gnu: plib: Build with -fPIC. gnu: Add torcs. gnu/packages/game-development.scm | 10 ++- gnu/packages/games.scm | 123 ++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+), 4 deletions(-) base-commit: e4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5
Comments
I tried to apply and build this patchset with the current master. It applies fine (with some warnings on whitespaces). Plib builds fine. However, TORCS fails to build with the following error: building /gnu/store/1r1lq54yhvh748jsdmd1apdxss5qbk11-download.drv... source is at 'download' applying '/gnu/store/jlgga73s3qj44kkdqagqhg32ipiqmlrk-torcs-isnan.patch'... can't find file to patch at input line 7 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Source: https://src.fedoraproject.org/rpms/torcs/raw/rawhide/f/torcs-1.3.7-isnan.patch |Upstream-status: https://sourceforge.net/p/torcs/mailman/torcs-devel/thread/0bd466b7-e158-471b-13ad-504167587d01%40embecosm.com/#msg35836767 | |diff -up torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig torcs-1.3.7/src/drivers/olethros/geometry.cpp |--- torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig 2016-06-07 19:49:11.347896827 +0100 |+++ torcs-1.3.7/src/drivers/olethros/geometry.cpp 2016-06-07 19:49:46.532894257 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Backtrace: 5 (primitive-load "/gnu/store/chd1n6n2aaiqljahnh858rs8dbr?") In ice-9/eval.scm: 619:8 4 (_ #(#(#<directory (guile-user) 7ffff7850c80> "dow?") #)) In ice-9/boot-9.scm: 142:2 3 (dynamic-wind #<procedure 7ffff5f6ab20 at ice-9/eval.s?> ?) In ice-9/eval.scm: 619:8 2 (_ #(#(#<directory (guile-user) 7ffff7850c80>))) In srfi/srfi-1.scm: 634:9 1 (for-each #<procedure apply-patch (a)> ("/gnu/store/?" ?)) In guix/build/utils.scm: 822:6 0 (invoke "/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-p?" ?) guix/build/utils.scm:822:6: In procedure invoke: ERROR: 1. &invoke-error: program: "/gnu/store/4jhlsg65s1zx90gnnfmaax52i8prnl45-patch-2.7.6/bin/patch" arguments: ("--force" "--no-backup-if-mismatch" "-p1" "--input" "/gnu/store/jlgga73s3qj44kkdqagqhg32ipiqmlrk-torcs-isnan.patch") exit-status: 1 term-signal: #f stop-signal: #f builder for `/gnu/store/1r1lq54yhvh748jsdmd1apdxss5qbk11-download.drv' failed with exit code 1 build of /gnu/store/1r1lq54yhvh748jsdmd1apdxss5qbk11-download.drv failed Could not find build log for '/gnu/store/1r1lq54yhvh748jsdmd1apdxss5qbk11-download.drv'. cannot build derivation `/gnu/store/n9lsyw8ksynkwq88mr5jikdcwcz4lfnh-torcs-1.3.7.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/n9lsyw8ksynkwq88mr5jikdcwcz4lfnh-torcs-1.3.7.drv' failed
Hi! Rodion Goritskov <rodion.goritskov@gmail.com> writes: > I tried to apply and build this patchset with the current master. > It applies fine (with some warnings on whitespaces). > > Plib builds fine. However, TORCS fails to build with the following error: > > building /gnu/store/1r1lq54yhvh748jsdmd1apdxss5qbk11-download.drv... > source is at 'download' > applying '/gnu/store/jlgga73s3qj44kkdqagqhg32ipiqmlrk-torcs-isnan.patch'... > can't find file to patch at input line 7 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > |Source: https://src.fedoraproject.org/rpms/torcs/raw/rawhide/f/torcs-1.3.7-isnan.patch > |Upstream-status: > | https://sourceforge.net/p/torcs/mailman/torcs-devel/thread/0bd466b7-e158-471b-13ad-504167587d01%40embecosm.com/#msg35836767 > | > |diff -up torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig torcs-1.3.7/src/drivers/olethros/geometry.cpp > |--- torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig 2016-06-07 19:49:11.347896827 +0100 > |+++ torcs-1.3.7/src/drivers/olethros/geometry.cpp 2016-06-07 19:49:46.532894257 +0100 > -------------------------- Ah! That download.drv seemed wrong. I think it is caused by a last minute change I did following 'guix lint', which suggested adapting the URL; I had added /download at the end of the URL and apparently that threw off our unpacking phase, which no longer considered it a tarball or something. Anyway, fixed by adding a 'file-name' field to the origin, and pushed as 18bd867b24 as a fixup commit. Enjoy!
Hi Rodion, Rodion Goritskov <rodion.goritskov@gmail.com> writes: > I tried to apply and build this patchset with the current master. > It applies fine (with some warnings on whitespaces). > > Plib builds fine. However, TORCS fails to build with the following error: Thanks, I've fixed it, now also on master. It had todo with a last minute change in the source URL, which caused the file name in the store to be just 'download' and broke the unpack logic, which uses the filename extension.