From unknown Tue Jun 24 05:13:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38178] [WIP v2] gnu: Add grass. Resent-From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Nov 2019 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38178@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15735711166598 (code B ref -1); Tue, 12 Nov 2019 15:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2019 15:05:16 +0000 Received: from localhost ([127.0.0.1]:58163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUXjH-0001iJ-G8 for submit@debbugs.gnu.org; Tue, 12 Nov 2019 10:05:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:59221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUXjF-0001iB-3P for submit@debbugs.gnu.org; Tue, 12 Nov 2019 10:05:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40238) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUXj8-00009L-4J for guix-patches@gnu.org; Tue, 12 Nov 2019 10:05:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUXj5-0004X8-Fi for guix-patches@gnu.org; Tue, 12 Nov 2019 10:05:05 -0500 Received: from freeshell.de ([2a01:360:106::2]:49028) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iUXj5-0004Vm-6f for guix-patches@gnu.org; Tue, 12 Nov 2019 10:05:03 -0500 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Tue, 12 Nov 2019 16:04:17 +0100 Message-Id: <20191112150417.17249-1-wz@freeshell.de> In-Reply-To: <87d0e0mzvk.fsf@devup.no> References: <87d0e0mzvk.fsf@devup.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:360:106::2 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Wiktor =C5=BBelazny * gnu/packages/geo.scm (grass): New variable. No GUI due to wxpython not found on runtime. --- Hi there! Thank you for your suggestion with regard to python-wxpython. I tried to implement it, along with your remaining comments. I temporarily removed python-six. I don=E2=80=99t remember anymore what led me to putting it th= ere. Unfortunately, I cannot test the result, as I=E2=80=99m now getting this = kind of errors: Status: Preprocessing /tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h Status: gcc -E -I/tmp/guix-build-grass-7.8.0.drv-0/grass-7.8.0/d= ist.x86_64-pc-linux-gnu/include -I/tmp/guix-build-grass-7.8.0.drv-0/grass= -7.8.0/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U __GNU= C__ -dD "-Dinline=3D" "- D__inline__=3D" "-D__extension__=3D" "-D_Bool=3Duint8_t" "-D__const=3D= const" "-D__asm__(x)=3D" "-D__asm(x)=3D" "-DCTYPESGEN=3D1" "/tmp/guix-bui= ld-grass-7.8.0.drv-0/tmp70mq13s0.h" Status: Parsing /tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:101: Syntax error at '__readfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:102: Syntax error at '__writefds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:103: Syntax error at '__exceptfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:104: Syntax error at '__timeout' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:113: Syntax error at '__readfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:114: Syntax error at '__writefds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:115: Syntax error at '__exceptfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:116: Syntax error at '__timeout' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:117: Syntax error at '__sigmask' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:297: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:298: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:301: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:302: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:305: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:302: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:305: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:306: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:310: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:311: Syntax error at '__endptr' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9752: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9752: Syntax error at ')' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9755: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9755: Syntax error at ')' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9762: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9762: Syntax error at ')' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9765: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9765: Syntax error at ')' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:246: Syntax error at '__filename' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:247: Syntax error at '__modes' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:252: Syntax error at '__filename' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:253: Syntax error at '__modes' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:254: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:304: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:304: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:308: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:308: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:309: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:314: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:314: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:326: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:327: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:332: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:334: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:335: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:341: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:341: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:347: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:349: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:349: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:354: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:355: Syntax error at 'const' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:355: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:358: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:359: Syntax error at 'const' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:359: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:379: Syntax error at '__fmt' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:382: Syntax error at '__fmt' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:391: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:392: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:397: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:399: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:400: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:416: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:417: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:418: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:419: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:420: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:432: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:432: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:440: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:444: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:445: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:465: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:466: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:468: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:470: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:471: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:564: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:564: Syntax error at 'FILE' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:603: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:604: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:605: Syntax error at 'FILE' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:606: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:607: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:608: Syntax error at 'FILE' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:616: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:617: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:616: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:617: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:618: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:626: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:626: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:646: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:647: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:647: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:652: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:653: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:653: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:673: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:674: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:674: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:675: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:676: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:676: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:731: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:731: Syntax error at '__pos' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:205: Syntax error at '__file' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:206: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:234: Syntax error at '__file' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:235: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:259: Syntax error at '__file' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:260: Syntax error at '__buf' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/gl.h:93: Syntax error at '\n' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/gl.h:97: Syntax error at '\n' Status: Processing description list. Status: Writing to OBJ.x86_64-pc-linux-gnu/nviz.py. Status: Wrapping complete. I wish I could inspect those temporary files (/tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h in the example above), b= ut they dissapear too quickly. I suspected that my build environment had got broken in the meantime, as the errors persist when I selectively rollback various combinations of the changes. I cannot fully verify it, as I don=E2= =80=99t know the way to force the Guix daemon to rebuild (recompile) what=E2=80=99s al= ready in the store. I tried guix build --check , then guix build -S --check =E2=80=94 to no avail. But I switched the OS state (GRUB menu on boot + u= ser profile generation) to the time of my first successful grass build, and building = with changes results in the same errors. Needless to say, I=E2=80=99m at loss = now. gnu/packages/geo.scm | 85 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index dfb00c7547..e050e25511 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -40,16 +40,20 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) + #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -67,7 +71,9 @@ #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages wxwidgets) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module (ice-9 match)) =20 (define-public geos (package @@ -1037,3 +1043,80 @@ persisted. @end itemize ") (license license:expat))) + +(define-public grass + (package + (name "grass") + (version "7.8.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://grass.osgeo.org/" name + (match (string-split version #\.) + ((major minor _ ...) + (string-append major minor))) + "/source/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1ynclznkpnm18vi0brmbfcplgi15yd7lwd424abgv7wm9qlr44ab")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Replace configure phase as the ./configure script does not l= ike + ;; CONFIG_SHELL and SHELL passed as parameters + (replace 'configure + (lambda* (#:key outputs build target #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bash (which "bash")) + (flags (list + (string-append "--prefix=3D" out) + (string-append "--build=3D" build) + (string-append + "--with-freetype-includes=3D" + (assoc-ref %build-inputs "freetype") + "/include/freetype2") + (string-append + "--with-proj-share=3D" + (assoc-ref %build-inputs "proj.4") + "/share/proj") + "--with-postgres"))) + (setenv "CONFIG_SHELL" bash) + (apply invoke bash "./configure" flags)))) + (add-after 'install 'wrap-python-scripts + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/grass78") + `("PYTHONPATH" ":" + prefix (,(string-append wxpython "/lib/python" + (python-version python) + "/site-packages"))))) + #t))) + #:tests? #f)) ;no check target + (native-inputs + `(("flex" ,flex) + ("bison" ,bison) + ("pkg-config" ,pkg-config) + ("python" ,python))) + (inputs + `(("proj.4" ,proj.4) + ("gdal" ,gdal) + ("zlib" ,zlib) + ("zstd:lib" ,zstd "lib") + ("libtiff" ,libtiff) + ("libpng" ,libpng) + ("sqlite" ,sqlite) + ("freeglut" ,freeglut) + ("fftw" ,fftw) + ("cairo" ,cairo) + ("freetype" ,freetype) + ("libxt" ,libxt) + ("python-wxpython" ,python-wxpython) ;for gui + ("postgresql" ,postgresql))) + (home-page "https://grass.osgeo.org/") + (synopsis "Geographic Resources Analysis Support System") + (description "GRASS is a @dfn{Geographic Information System} (GIS) s= oftware +suite used for geospatial data management and analysis, image processing= , +graphics and maps production, spatial modeling, and visualization.") + (license license:gpl2+))) --=20 2.24.0 From unknown Tue Jun 24 05:13:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38178] [WIP v2] gnu: Add grass. Resent-From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Nov 2019 15:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38178@debbugs.gnu.org Received: via spool by 38178-submit@debbugs.gnu.org id=B38178.157374544511340 (code B ref 38178); Thu, 14 Nov 2019 15:31:02 +0000 Received: (at 38178) by debbugs.gnu.org; 14 Nov 2019 15:30:45 +0000 Received: from localhost ([127.0.0.1]:34962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVH52-0002wq-Rq for submit@debbugs.gnu.org; Thu, 14 Nov 2019 10:30:45 -0500 Received: from freeshell.de ([94.247.40.156]:48952 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iVH51-0002wc-0h for 38178@debbugs.gnu.org; Thu, 14 Nov 2019 10:30:43 -0500 Date: Thu, 14 Nov 2019 16:30:36 +0100 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Message-ID: <20191114153036.scgoex7zqc5r53cu@wz.localdomain> Mail-Followup-To: 38178@debbugs.gnu.org References: <20191112150417.17249-1-wz@freeshell.de> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ojey6pdksfd2zwov" Content-Disposition: inline In-Reply-To: X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 User-Agent: NeoMutt/20180716 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --ojey6pdksfd2zwov Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable A new version of GRASS GIS got released, which gave me an opportunity to bump the version in the old definition and recompile. The errors are there, but do not hinder the successful build. Apparently, they have been there from the beginning; I just didn=E2=80=99t notice =E2=80=94 both = bad and good news. The real error (for now) is In unknown file: 0 (%resolve-variable (7 . wxpython) #) ERROR: In procedure %resolve-variable: Unbound variable: wxpython I tried changing =E2=80=9Cwxpython=E2=80=9D to =E2=80=9Cpython-wxpython=E2= =80=9D, but this also is not recognized. So there=E2=80=99s something wrong with the way I defined the wrapping. W=C5=BB --ojey6pdksfd2zwov Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl3NcxtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edWQeg//X8IpUF0szB47dVlBTK/kJ79EbnGnG05KUIOh8BzTn1axLGPbcnYlxw9I 34kJ95EH4VpXSvQ9MqOgcrw6PbKIQhskQoPaVrCVtq4rYgR+NurJrk0C5ec54kC/ fsiTidlLifjy7ukCekASgcDjgOk+FRGx4DcoV9HmmNRAWnEn21lZk6voCVseYXnJ 8my1IbUEuhlD1XL+fpY2ZjJzRntcVYhAHjaLhpPzl/RRxz+2rMIj2ISPI7DxKdiv ycLZreUGdoNl9KH443r4UigLnlhMYmn21nWUfm2DiSvhyOQftuV3CUWv6NvM+z1X yML+eAKO6j2uKNu9CK0rWc0/SZ72MyG3442e02qsWExGUc0Wo8tI3smKw4Ip1lyU diU0C7ro4tItkyoynSSKgyiRAuNVjMCNAZd0IRXV30Cz/fcQgpJsgnXNIvbVtr++ x170JOyFdLqqn+PDwmszkc2/k7jjNOVd78Nsj4zx/r0nWGviLnHIux7nPyGo5nUN ORX4pDDibUk5RT87jw6qkZXEO+WNwal8zcYTFltHlmtk19afwi9AHRsztOG0DeSK eRQEHotQCu8hz7bb54Rc2ArwbNCWYydzfv1r6gR0ZBl3xO8v5NWRg5lb0Ie1o5jr pGQvWd5vny4lzKgUK3cmJlHRS81Ao2291XyLgdW99rwSr65mUjs= =VWuc -----END PGP SIGNATURE----- --ojey6pdksfd2zwov-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 19 04:36:13 2019 Received: (at control) by debbugs.gnu.org; 19 Nov 2019 09:36:14 +0000 Received: from localhost ([127.0.0.1]:46585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWzvf-0005M3-7z for submit@debbugs.gnu.org; Tue, 19 Nov 2019 04:36:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWzve-0005Lq-By for control@debbugs.gnu.org; Tue, 19 Nov 2019 04:36:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iWzvZ-0006a8-7d for control@debbugs.gnu.org; Tue, 19 Nov 2019 04:36:05 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=56562 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iWzvX-0004Dh-Pu for control@debbugs.gnu.org; Tue, 19 Nov 2019 04:36:05 -0500 Date: Tue, 19 Nov 2019 10:36:02 +0100 Message-Id: <87r224rywt.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #38150 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 38150 38178 quit From unknown Tue Jun 24 05:13:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38178] [WIP v2] gnu: Add grass. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Mar 2020 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Wiktor =?UTF-8?Q?=C5=BBelazny?= , 38178@debbugs.gnu.org Received: via spool by 38178-submit@debbugs.gnu.org id=B38178.158482209411238 (code B ref 38178); Sat, 21 Mar 2020 20:22:02 +0000 Received: (at 38178) by debbugs.gnu.org; 21 Mar 2020 20:21:34 +0000 Received: from localhost ([127.0.0.1]:48200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFkcf-0002vC-Sr for submit@debbugs.gnu.org; Sat, 21 Mar 2020 16:21:34 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:41335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFkce-0002ux-8X for 38178@debbugs.gnu.org; Sat, 21 Mar 2020 16:21:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0D9F75C011A; Sat, 21 Mar 2020 16:21:27 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 21 Mar 2020 16:21:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=Pd37boaFbyrY1U91BayiVj7hqI yDMZhBCVd+xlqYY2k=; b=NsrB19ZDml2G7VkJoJch9eas3skI/pu8Pf+e0TZwAi RXJcuHKHLjWAWOHaqb/IPD+S4xAPofa6sMPWsu/JEm8JRuFhvQgsR/vPQTTU3Al0 aKIaJDtZ8g1+Wq3j/mjLYESacL/0cJ6BUljvgfxebtSc26nt33QwGssilN6IgbWL JnNMgw//WJ5HIYw37wZGN+U4EZTpvl3WHm4kUVz5WlBlF55w4IpPumiFHU7OAFX6 Kk4xf71dQRjRfg7XuNXZzGMiq+t+X7tWKv2CnoSykO+ep2yVFKAbr5U2flbVdYwE /WtcMdXH41d1yFWPg+ZPNhCiRBC0RhstK5b3oDkYe/Ug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Pd37bo aFbyrY1U91BayiVj7hqIyDMZhBCVd+xlqYY2k=; b=2c7d6fn2hSt/gk0e3WaWo1 oSSIGWr9HhfT8avxUc4DJKE70tQFJb4zsSaKfFSHoiDWMOmC//IQMr8g+6Z6ktoa HWW/uDmhuUyqzP+xCYXJcuBCVJxxyAG/vX12EaxSE04Tg989D3HiY4HZFaMqzQ+v RBxpLu1WdtnSarQTx7XiAvBLP6ZnCDRa78DguCvzZB9aML+nrGPMjkmQlJg7ZH4/ 4avT6UP3IpqxXQ9w+WTcZ141+X0Bg2ypab3fsoJRz5Ms+9wFETiV5Sz4zi6KbbdI W//ylV9Vop7t/zdJpzA1Hqy4FvwV45ClfGIeaH5gZ4uw/OZM8GI2Em6FeJmhlbIA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrudegfedgudefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesghdtreertderjeenucfhrhhomhepofgrrhhi uhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppe ekgedrvddtvddrieekrdejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 6FF34328005E; Sat, 21 Mar 2020 16:21:25 -0400 (EDT) From: Marius Bakke In-Reply-To: <20191114153036.scgoex7zqc5r53cu@wz.localdomain> References: <20191112150417.17249-1-wz@freeshell.de> <20191114153036.scgoex7zqc5r53cu@wz.localdomain> User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sat, 21 Mar 2020 21:21:23 +0100 Message-ID: <875zex5uik.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Wiktor =C5=BBelazny writes: > A new version of GRASS GIS got released, which gave me an opportunity > to bump the version in the old definition and recompile. The errors are > there, but do not hinder the successful build. Apparently, they have > been there from the beginning; I just didn=E2=80=99t notice =E2=80=94 bot= h bad and > good news. > > The real error (for now) is > > In unknown file: > 0 (%resolve-variable (7 . wxpython) #) > > ERROR: In procedure %resolve-variable: > Unbound variable: wxpython > > I tried changing =E2=80=9Cwxpython=E2=80=9D to =E2=80=9Cpython-wxpython= =E2=80=9D, but this also > is not recognized. So there=E2=80=99s something wrong with the way I defi= ned > the wrapping. Did you get anywhere with this patch? Can you rebase it on the current master branch for easier testing? TIA! By the way, sorry for the sloooooow responses... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl52d0QACgkQoqBt8qM6 VPrH9gf+IzZ9SKRqx3cxi6Jv9N1RgvOaEcMD84ml2Koi+CPUU/ladxDDYkpDtU9+ 2Gg6KlB7w/IsrjK02vvWsU+BbrkP20PXM7Z2Of/6yY9ZsYZmGjuNRiYS3XtO/a6L J0ZIrHgSyg8fM8wFLhaA+8DLa+k+B3IAQyYCnUok6F/Aql7QQdtggvz1lCnfN7kh SwEfvzco7BDO71MLytSmkGB8vfQMp3d0x2tpZ4qYrcntrgUvIg8mxE99RwasMDwK 3LZs6/CPrCO+/b3AxLZj/SmbbF2xt83GUsn+F4ll1OmdD3lIRuiItrEygTmxmTQd MiqWviR2ryzySnbg6UKsKzK/sKr7Eg== =EeYD -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 24 05:13:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38178] [WIP v2] gnu: Add grass. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Mar 2020 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38178@debbugs.gnu.org Received: via spool by 38178-submit@debbugs.gnu.org id=B38178.158486746310320 (code B ref 38178); Sun, 22 Mar 2020 08:58:01 +0000 Received: (at 38178) by debbugs.gnu.org; 22 Mar 2020 08:57:43 +0000 Received: from localhost ([127.0.0.1]:48585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFwQQ-0002gO-Ot for submit@debbugs.gnu.org; Sun, 22 Mar 2020 04:57:43 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jFwQM-0002g8-80 for 38178@debbugs.gnu.org; Sun, 22 Mar 2020 04:57:42 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 4806E2400FB for <38178@debbugs.gnu.org>; Sun, 22 Mar 2020 09:57:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1584867452; bh=8skXw6FQCt9pDjoAC7B8pYAATodETnVBAV9KLIkd4f8=; h=From:To:Subject:Date:From; b=Ph86oFR0LDIwAQmfkU+Qqd9Bn0vfvFghD5BCrFF9NEGvUbttBKr2HDl1NqRYeDr+B SzgR4AUAXdEHC9WGC3dOy6//62DHU1cxnoTeB82xtvgC5IDjurQeuj/hsYvIYsdl42 8EeEMX9z3FjvfAxGx5ut1j5jbbQPzqf6hI2J9zhJxpoSQHkIfkfww2TsqWVSPH7c+g Q19rJ+nTtCD04Yx12xv6FFRqWcnCKSpXSyiv/h/LffuS04HKSzrfxQwNJ11ydUnDCm 5fQd0pky4AwXivLvXpVD5K3Kyjq67VpWmNDO0w8iqfewPdwS4cN10QixHQsaLrr9S+ XQs//wxWjdCWQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48lWc55xWkz9rxR for <38178@debbugs.gnu.org>; Sun, 22 Mar 2020 09:57:25 +0100 (CET) References: <20191112150417.17249-1-wz@freeshell.de> <20191114153036.scgoex7zqc5r53cu@wz.localdomain> <875zex5uik.fsf@devup.no> User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant In-reply-to: <875zex5uik.fsf@devup.no> Date: Sun, 22 Mar 2020 09:57:24 +0100 Message-ID: <87blooix6z.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marius Bakke skribis: > Wiktor =C5=BBelazny writes: > >> A new version of GRASS GIS got released, which gave me an opportunity >> to bump the version in the old definition and recompile. The errors are >> there, but do not hinder the successful build. Apparently, they have >> been there from the beginning; I just didn=E2=80=99t notice =E2=80=94 bo= th bad and >> good news. >> >> The real error (for now) is >> >> In unknown file: >> 0 (%resolve-variable (7 . wxpython) #) >> >> ERROR: In procedure %resolve-variable: >> Unbound variable: wxpython >> >> I tried changing =E2=80=9Cwxpython=E2=80=9D to =E2=80=9Cpython-wxpython= =E2=80=9D, but this also >> is not recognized. So there=E2=80=99s something wrong with the way I def= ined >> the wrapping. > > Did you get anywhere with this patch? Can you rebase it on the current > master branch for easier testing? TIA! > > By the way, sorry for the sloooooow responses... I have a patch for grass (it compiles, but I have not tested all its functionalities). If I had searched in the issues and found Wiktor's patch, I wouldn't have had to write one from scratch, but well... here it is: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-grass.patch Content-Transfer-Encoding: quoted-printable From=2059894e2bd8cfd1086abd7630d998f29351c88565 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 22 Mar 2020 00:03:41 +0100 Subject: [PATCH] gnu: Add grass. * gnu/packages/geo.scm (grass): New variable. =2D-- gnu/packages/geo.scm | 122 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index bc870f9620..b244e49a92 100644 =2D-- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -46,10 +46,13 @@ #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages) + #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages backup) + #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -58,6 +61,7 @@ #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) + #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages gettext) @@ -80,8 +84,10 @@ #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) + #:use-module (gnu packages readline) #:use-module (gnu packages sqlite) #:use-module (gnu packages textutils) + #:use-module (gnu packages time) #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages wxwidgets) @@ -1629,3 +1635,119 @@ track your position right from your laptop.") license:lgpl3+ license:sgifreeb2.0 license:zlib)))) + +(define-public grass + (let* ((version "7.8.2") + (majorminor (string-join (list-head (string-split version #\.) 2)= "")) + (grassxx (string-append "grass" majorminor))) + (package + (name "grass") + (version version) + (source + (origin + (method url-fetch) + (uri (string-append "https://grass.osgeo.org/" grassxx + "/source/grass-" version ".tar.gz")) + (sha256 + (base32 "1fwsm99kz0bxvjk7442qq1h45ikrmhba8bqclafb61gqg1q6ymrk"))= )) + (build-system gnu-build-system) + (inputs + `(("bzip2", bzip2) + ("cairo" ,cairo) + ("fftw" ,fftw) + ("freetype" ,freetype) + ("gdal" ,gdal) + ("geos" ,geos) + ("glu" ,glu) + ("lapack" ,lapack) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("mesa" ,mesa) + ("mariadb-dev" ,mariadb "dev") + ("mariadb-lib" ,mariadb "lib") + ("netcdf" ,netcdf) + ("openblas" ,openblas) + ("perl" ,perl) + ("postgresql" ,postgresql) + ("proj.4" ,proj.4) + ("python" ,python) + ("python-dateutil" ,python-dateutil) + ("python-numpy" ,python-numpy) + ("python-wxpython" ,python-wxpython) + ("readline" ,readline) + ("sqlite" ,sqlite) + ("wxwidgets" ,wxwidgets) + ("zlib" ,zlib) + ("zstd" ,zstd "lib"))) + (native-inputs + `(("bash" ,bash-minimal) + ("bison" ,bison) + ("flex" ,flex) + ("pkg-config" ,pkg-config))) + (arguments + `(#:tests? #f ; No tests + #:modules ((guix build gnu-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils)) + #:imported-modules (,@%gnu-build-system-modules + (guix build python-build-system)) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((shell (string-append (assoc-ref inputs "bash") + "/bin/bash"))) + (setenv "SHELL" shell) + (setenv "CONFIG_SHELL" shell) + (setenv "LDFLAGS" (string-append "-Wl,-rpath -Wl," + (assoc-ref outputs "out") + "/" ,grassxx "/lib"))) + (invoke "./configure" + (string-append "--prefix=3D" + (assoc-ref outputs "out")) + "--with-blas" + "--with-bzlib" + (string-append "--with-freetype-includes=3D" + (assoc-ref inputs "freetype") + "/include/freetype2") + (string-append "--with-freetype-libs=3D" + (assoc-ref inputs "freetype") + "/lib") + "--with-geos" + "--with-lapack" + "--with-mysql" + (string-append "--with-mysql-includes=3D" + (assoc-ref inputs "mariadb-dev") + "/include/mysql") + (string-append "--with-mysql-libs=3D" + (assoc-ref inputs "mariadb-lib") + "/lib") + "--with-netcdf" + "--with-postgres" + (string-append "--with-proj-share=3D" + (assoc-ref inputs "proj.4") + "/share/proj") + "--with-pthread" + "--with-readline" + "--with-sqlite" + "--with-wxwidgets"))) + (add-after 'install 'install-links + (lambda* (#:key outputs #:allow-other-keys) + ;; Put links for includes and libraries in the standard pla= ces. + (let* ((out (assoc-ref outputs "out")) + (dir (string-append out "/" ,grassxx))) + (symlink (string-append dir "/include") + (string-append out "/include")) + (symlink (string-append dir "/lib") + (string-append out "/lib"))) + #t)) + (add-after 'install-links 'wrap-python + (assoc-ref python:%standard-phases 'wrap))))) + (synopsis "GRASS Geographic Information System") + (description + "GRASS (Geographic Resources Analysis Support System), is a Geograp= hic +Information System (GIS) software suite used for geospatial data managemen= t and +analysis, image processing, graphics and maps production, spatial modeling= , and +visualization.") + (home-page "https://grass.osgeo.org/") + (license license:gpl2+)))) =2D-=20 2.25.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQkUwKxurH4Z/3KlryPP4Yfgut6mgUCXncodAAKCRCPP4Yfgut6 mk7oAP96qOlctOdNDKwzCFXhLQm0IlIdgvngwSozeAxNC5ta0gEAolJBcJxsmYs0 QrfcBkxB9+/mtQX3orHwjxWTp0zkIQ4= =dlyO -----END PGP SIGNATURE----- --==-=-=-- From unknown Tue Jun 24 05:13:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Wiktor =?UTF-8?Q?=C5=BBelazny?= Subject: bug#38178: closed (Re: [bug#38178] [WIP v2] gnu: Add grass.) Message-ID: References: <87wo7aj9ze.fsf@yamatai> <20191112150417.17249-1-wz@freeshell.de> X-Gnu-PR-Message: they-closed 38178 X-Gnu-PR-Package: guix-patches Reply-To: 38178@debbugs.gnu.org Date: Tue, 24 Mar 2020 10:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1585047542-15418-1" This is a multi-part message in MIME format... ------------=_1585047542-15418-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38178: [WIP v2] gnu: Add grass. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38178@debbugs.gnu.org. --=20 38178: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38178 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1585047542-15418-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38178-done) by debbugs.gnu.org; 24 Mar 2020 10:58:09 +0000 Received: from localhost ([127.0.0.1]:53973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGhG5-0003zG-5v for submit@debbugs.gnu.org; Tue, 24 Mar 2020 06:58:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGhG3-0003yl-Ei for 38178-done@debbugs.gnu.org; Tue, 24 Mar 2020 06:58:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DE5E0160060 for <38178-done@debbugs.gnu.org>; Tue, 24 Mar 2020 11:58:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1585047480; bh=vu+7jMsiSob66mV9a2fgPmwLdWZ+PjKZ5flx/PYqIvw=; h=From:To:Subject:Date:From; b=oYaJ0Xh2nCNbcpF2tLZ1LOqtG+TUpNo0Uf63BjJjpYtwGTUW3tfqfs9mSSOpNeACh l1JEzpP0qO1lQh+MHPG6UcMrjeYXWxIMO+eypdsA8gzxC99QD76qAcY3+jGS1g8J4c hXEv+Aq05qMd/lenCb0z4MqaQZDaxm4gAwFb53xM43sG+G3PYCGL5PiU5rl+eMe+aU VduH1pSX9Mah/NLgTWTE7yYIRuiuLFL6JQMazFUURTNwVBQwyaEB8xhDjMajfTEaW/ E7vVgcIwEoxB8tYXwIFPlhzTMNjrqEPQ0OaUztAny7OrqbJNN84chUAt7lF/GjlrLo crROfa/qJPBgw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48mpBJ14zpz6tm5 for <38178-done@debbugs.gnu.org>; Tue, 24 Mar 2020 11:58:00 +0100 (CET) References: <20191112150417.17249-1-wz@freeshell.de> <20191114153036.scgoex7zqc5r53cu@wz.localdomain> <875zex5uik.fsf@devup.no> <87blooix6z.fsf@yamatai> User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant To: 38178-done@debbugs.gnu.org Subject: Re: [bug#38178] [WIP v2] gnu: Add grass. In-reply-to: <87blooix6z.fsf@yamatai> Date: Tue, 24 Mar 2020 11:57:57 +0100 Message-ID: <87wo7aj9ze.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38178-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Patch adding GRASS pushed as 9fce5914794782b3a1826aea0978702883820bbf. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQkUwKxurH4Z/3KlryPP4Yfgut6mgUCXnnntQAKCRCPP4Yfgut6 mlvgAP9IgWGIoZdj0CobxFQ7n/rsNhIAhUMrAJvUeRN8RJM8FQD/UhHRHuaWlMXF 28Ax5hutZocGjwONIHTwBhUlFM28TwY= =A0ME -----END PGP SIGNATURE----- --=-=-=-- ------------=_1585047542-15418-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Nov 2019 15:05:16 +0000 Received: from localhost ([127.0.0.1]:58163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUXjH-0001iJ-G8 for submit@debbugs.gnu.org; Tue, 12 Nov 2019 10:05:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:59221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUXjF-0001iB-3P for submit@debbugs.gnu.org; Tue, 12 Nov 2019 10:05:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40238) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUXj8-00009L-4J for guix-patches@gnu.org; Tue, 12 Nov 2019 10:05:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUXj5-0004X8-Fi for guix-patches@gnu.org; Tue, 12 Nov 2019 10:05:05 -0500 Received: from freeshell.de ([2a01:360:106::2]:49028) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iUXj5-0004Vm-6f for guix-patches@gnu.org; Tue, 12 Nov 2019 10:05:03 -0500 From: =?UTF-8?q?Wiktor=20=C5=BBelazny?= To: guix-patches@gnu.org Subject: [WIP v2] gnu: Add grass. Date: Tue, 12 Nov 2019 16:04:17 +0100 Message-Id: <20191112150417.17249-1-wz@freeshell.de> In-Reply-To: <87d0e0mzvk.fsf@devup.no> References: <87d0e0mzvk.fsf@devup.no> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:360:106::2 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Wiktor =C5=BBelazny * gnu/packages/geo.scm (grass): New variable. No GUI due to wxpython not found on runtime. --- Hi there! Thank you for your suggestion with regard to python-wxpython. I tried to implement it, along with your remaining comments. I temporarily removed python-six. I don=E2=80=99t remember anymore what led me to putting it th= ere. Unfortunately, I cannot test the result, as I=E2=80=99m now getting this = kind of errors: Status: Preprocessing /tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h Status: gcc -E -I/tmp/guix-build-grass-7.8.0.drv-0/grass-7.8.0/d= ist.x86_64-pc-linux-gnu/include -I/tmp/guix-build-grass-7.8.0.drv-0/grass= -7.8.0/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG -U __GNU= C__ -dD "-Dinline=3D" "- D__inline__=3D" "-D__extension__=3D" "-D_Bool=3Duint8_t" "-D__const=3D= const" "-D__asm__(x)=3D" "-D__asm(x)=3D" "-DCTYPESGEN=3D1" "/tmp/guix-bui= ld-grass-7.8.0.drv-0/tmp70mq13s0.h" Status: Parsing /tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:101: Syntax error at '__readfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:102: Syntax error at '__writefds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:103: Syntax error at '__exceptfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:104: Syntax error at '__timeout' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:113: Syntax error at '__readfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:114: Syntax error at '__writefds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:115: Syntax error at '__exceptfds' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:116: Syntax error at '__timeout' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/select.h:117: Syntax error at '__sigmask' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:297: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:298: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:301: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:302: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:305: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:302: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:305: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:306: Syntax error at '__endptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:310: Syntax error at '__nptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= inttypes.h:311: Syntax error at '__endptr' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9752: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9752: Syntax error at ')' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9755: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9755: Syntax error at ')' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9762: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9762: Syntax error at ')' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9765: Syntax error at 'packed' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/glext.h:9765: Syntax error at ')' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:246: Syntax error at '__filename' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:247: Syntax error at '__modes' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:252: Syntax error at '__filename' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:253: Syntax error at '__modes' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:254: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:304: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:304: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:308: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:308: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:309: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:314: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:314: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:326: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:327: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:332: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:334: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:335: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:341: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:341: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:347: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:349: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:349: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:354: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:355: Syntax error at 'const' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:355: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:358: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:359: Syntax error at 'const' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:359: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:379: Syntax error at '__fmt' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:382: Syntax error at '__fmt' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:391: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:392: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:397: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:399: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:400: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:416: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:417: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:418: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:419: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:420: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:432: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:432: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:440: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:444: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:445: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:465: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:466: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:468: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:470: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:471: Syntax error at '__format' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:564: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:564: Syntax error at 'FILE' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:603: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:604: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:605: Syntax error at 'FILE' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:606: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:607: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:608: Syntax error at 'FILE' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:616: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:617: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:616: Syntax error at '__lineptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:617: Syntax error at '__n' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:618: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:626: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:626: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:646: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:647: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:647: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:652: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:653: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:653: Syntax error at '__s' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:673: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:674: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:674: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:675: Syntax error at '__ptr' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:676: Syntax error at 'size_t' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:676: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:731: Syntax error at '__stream' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= stdio.h:731: Syntax error at '__pos' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:205: Syntax error at '__file' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:206: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:234: Syntax error at '__file' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:235: Syntax error at '__buf' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:259: Syntax error at '__file' Error: /gnu/store/ahqgl4h89xqj695lgqvsaf6zh2nhy4pj-glibc-2.29/include/= sys/stat.h:260: Syntax error at '__buf' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/gl.h:93: Syntax error at '\n' Error: /gnu/store/vf5lkc27z5rcbvaw6rkdmqisyg923m5r-mesa-19.1.4/include= /GL/gl.h:97: Syntax error at '\n' Status: Processing description list. Status: Writing to OBJ.x86_64-pc-linux-gnu/nviz.py. Status: Wrapping complete. I wish I could inspect those temporary files (/tmp/guix-build-grass-7.8.0.drv-0/tmp70mq13s0.h in the example above), b= ut they dissapear too quickly. I suspected that my build environment had got broken in the meantime, as the errors persist when I selectively rollback various combinations of the changes. I cannot fully verify it, as I don=E2= =80=99t know the way to force the Guix daemon to rebuild (recompile) what=E2=80=99s al= ready in the store. I tried guix build --check , then guix build -S --check =E2=80=94 to no avail. But I switched the OS state (GRUB menu on boot + u= ser profile generation) to the time of my first successful grass build, and building = with changes results in the same errors. Needless to say, I=E2=80=99m at loss = now. gnu/packages/geo.scm | 85 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 84 insertions(+), 1 deletion(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index dfb00c7547..e050e25511 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -40,16 +40,20 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) + #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -67,7 +71,9 @@ #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages wxwidgets) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module (ice-9 match)) =20 (define-public geos (package @@ -1037,3 +1043,80 @@ persisted. @end itemize ") (license license:expat))) + +(define-public grass + (package + (name "grass") + (version "7.8.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://grass.osgeo.org/" name + (match (string-split version #\.) + ((major minor _ ...) + (string-append major minor))) + "/source/" name "-" version ".tar.gz")) + (sha256 + (base32 + "1ynclznkpnm18vi0brmbfcplgi15yd7lwd424abgv7wm9qlr44ab")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Replace configure phase as the ./configure script does not l= ike + ;; CONFIG_SHELL and SHELL passed as parameters + (replace 'configure + (lambda* (#:key outputs build target #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bash (which "bash")) + (flags (list + (string-append "--prefix=3D" out) + (string-append "--build=3D" build) + (string-append + "--with-freetype-includes=3D" + (assoc-ref %build-inputs "freetype") + "/include/freetype2") + (string-append + "--with-proj-share=3D" + (assoc-ref %build-inputs "proj.4") + "/share/proj") + "--with-postgres"))) + (setenv "CONFIG_SHELL" bash) + (apply invoke bash "./configure" flags)))) + (add-after 'install 'wrap-python-scripts + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (wrap-program (string-append out "/bin/grass78") + `("PYTHONPATH" ":" + prefix (,(string-append wxpython "/lib/python" + (python-version python) + "/site-packages"))))) + #t))) + #:tests? #f)) ;no check target + (native-inputs + `(("flex" ,flex) + ("bison" ,bison) + ("pkg-config" ,pkg-config) + ("python" ,python))) + (inputs + `(("proj.4" ,proj.4) + ("gdal" ,gdal) + ("zlib" ,zlib) + ("zstd:lib" ,zstd "lib") + ("libtiff" ,libtiff) + ("libpng" ,libpng) + ("sqlite" ,sqlite) + ("freeglut" ,freeglut) + ("fftw" ,fftw) + ("cairo" ,cairo) + ("freetype" ,freetype) + ("libxt" ,libxt) + ("python-wxpython" ,python-wxpython) ;for gui + ("postgresql" ,postgresql))) + (home-page "https://grass.osgeo.org/") + (synopsis "Geographic Resources Analysis Support System") + (description "GRASS is a @dfn{Geographic Information System} (GIS) s= oftware +suite used for geospatial data management and analysis, image processing= , +graphics and maps production, spatial modeling, and visualization.") + (license license:gpl2+))) --=20 2.24.0 ------------=_1585047542-15418-1-- From unknown Tue Jun 24 05:13:32 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Wiktor =?UTF-8?Q?=C5=BBelazny?= Subject: bug#38150: closed (Re: [bug#38178] [WIP v2] gnu: Add grass.) Message-ID: References: <87wo7aj9ze.fsf@yamatai> <20191109113154.20481-1-wz@freeshell.de> X-Gnu-PR-Message: they-closed 38150 X-Gnu-PR-Package: guix-patches Reply-To: 38150@debbugs.gnu.org Date: Tue, 24 Mar 2020 10:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1585047542-15418-3" This is a multi-part message in MIME format... ------------=_1585047542-15418-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38178: [WIP] gnu: Add grass. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38150@debbugs.gnu.org. --=20 38178: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38178 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1585047542-15418-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38178-done) by debbugs.gnu.org; 24 Mar 2020 10:58:09 +0000 Received: from localhost ([127.0.0.1]:53973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGhG5-0003zG-5v for submit@debbugs.gnu.org; Tue, 24 Mar 2020 06:58:09 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGhG3-0003yl-Ei for 38178-done@debbugs.gnu.org; Tue, 24 Mar 2020 06:58:08 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id DE5E0160060 for <38178-done@debbugs.gnu.org>; Tue, 24 Mar 2020 11:58:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1585047480; bh=vu+7jMsiSob66mV9a2fgPmwLdWZ+PjKZ5flx/PYqIvw=; h=From:To:Subject:Date:From; b=oYaJ0Xh2nCNbcpF2tLZ1LOqtG+TUpNo0Uf63BjJjpYtwGTUW3tfqfs9mSSOpNeACh l1JEzpP0qO1lQh+MHPG6UcMrjeYXWxIMO+eypdsA8gzxC99QD76qAcY3+jGS1g8J4c hXEv+Aq05qMd/lenCb0z4MqaQZDaxm4gAwFb53xM43sG+G3PYCGL5PiU5rl+eMe+aU VduH1pSX9Mah/NLgTWTE7yYIRuiuLFL6JQMazFUURTNwVBQwyaEB8xhDjMajfTEaW/ E7vVgcIwEoxB8tYXwIFPlhzTMNjrqEPQ0OaUztAny7OrqbJNN84chUAt7lF/GjlrLo crROfa/qJPBgw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 48mpBJ14zpz6tm5 for <38178-done@debbugs.gnu.org>; Tue, 24 Mar 2020 11:58:00 +0100 (CET) References: <20191112150417.17249-1-wz@freeshell.de> <20191114153036.scgoex7zqc5r53cu@wz.localdomain> <875zex5uik.fsf@devup.no> <87blooix6z.fsf@yamatai> User-agent: mu4e 1.2.0; emacs 26.3 From: Guillaume Le Vaillant To: 38178-done@debbugs.gnu.org Subject: Re: [bug#38178] [WIP v2] gnu: Add grass. In-reply-to: <87blooix6z.fsf@yamatai> Date: Tue, 24 Mar 2020 11:57:57 +0100 Message-ID: <87wo7aj9ze.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38178-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Patch adding GRASS pushed as 9fce5914794782b3a1826aea0978702883820bbf. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQkUwKxurH4Z/3KlryPP4Yfgut6mgUCXnnntQAKCRCPP4Yfgut6 mlvgAP9IgWGIoZdj0CobxFQ7n/rsNhIAhUMrAJvUeRN8RJM8FQD/UhHRHuaWlMXF 28Ax5hutZocGjwONIHTwBhUlFM28TwY= =A0ME -----END PGP SIGNATURE----- --=-=-=-- ------------=_1585047542-15418-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Nov 2019 11:33:16 +0000 Received: from localhost ([127.0.0.1]:48316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTOzU-00029k-18 for submit@debbugs.gnu.org; Sat, 09 Nov 2019 06:33:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:35170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTOzT-00029d-2j for submit@debbugs.gnu.org; Sat, 09 Nov 2019 06:33:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55103) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTOzR-0001vh-Kj for guix-patches@gnu.org; Sat, 09 Nov 2019 06:33:14 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTOzQ-000419-6F for guix-patches@gnu.org; Sat, 09 Nov 2019 06:33:13 -0500 Received: from freeshell.de ([2a01:360:106::2]:57252) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iTOzP-00040X-SJ for guix-patches@gnu.org; Sat, 09 Nov 2019 06:33:12 -0500 From: =?UTF-8?q?Wiktor=20=C5=BBelazny?= To: guix-patches@gnu.org Subject: [WIP] gnu: Add grass. Date: Sat, 9 Nov 2019 12:31:54 +0100 Message-Id: <20191109113154.20481-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:360:106::2 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From: Wiktor =C5=BBelazny * gnu/packages/geo.scm (grass): New variable. No GUI due to wxpython not found on runtime. --- Another GIS beast. This one builds, at least on my machine, but $ grass78 Starting GRASS GIS... ERROR: wxGUI requires wxPython. No module named 'wx' Perhaps this is something specific to Python module treatment by Guix. Only one of these guix environment python python-wxpython guix environment python --ad-hoc python-wxpython guix environment --ad-hoc python python-wxpython , for instance, gives a desired result. gnu/packages/geo.scm | 79 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index dfb00c7547..7d3dea9d79 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -40,16 +40,20 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) #:use-module (gnu packages autotools) + #:use-module (gnu packages bison) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages datastructures) #:use-module (gnu packages documentation) + #:use-module (gnu packages flex) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) + #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -67,7 +71,9 @@ #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages wxwidgets) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg) + #:use-module (ice-9 match)) =20 (define-public geos (package @@ -1037,3 +1043,74 @@ persisted. @end itemize ") (license license:expat))) + +(define-public grass + (package + (name "grass") + (version "7.8.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://grass.osgeo.org/" name + (match (string-split version #\.) + ((major minor _ ...) + (string-append major minor))) + "/source/" name "-" version ".tar.gz")) + ;; md5sum checked + (sha256 + (base32 + "1ynclznkpnm18vi0brmbfcplgi15yd7lwd424abgv7wm9qlr44ab")))) + (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Replace configure phase as the ./configure script does not l= ike + ;; CONFIG_SHELL and SHELL passed as parameters + (replace 'configure + (lambda* (#:key outputs build target #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bash (which "bash")) + (flags `(,(string-append "--prefix=3D" out) + ,(string-append "--build=3D" build) + ;; Fix `Unable to locate FreeType includes.= ' + ,(string-append + "--with-freetype-includes=3D" + (assoc-ref %build-inputs "freetype") + "/include/freetype2") + ;; Fix `Unable to locate PROJ data files.' + ,(string-append + "--with-proj-share=3D" + (assoc-ref %build-inputs "proj.4") + "/share/proj") + ,"--with-postgres"))) + (setenv "CONFIG_SHELL" bash) + (apply invoke bash "./configure" flags))))) + #:tests? #f)) ;no check target + (native-inputs + `(("flex" ,flex) + ("bison" ,bison) + ("pkg-config" ,pkg-config) + ("python" ,python) + ("python-six" ,python-six))) + (inputs + `(("proj.4" ,proj.4) + ("gdal" ,gdal) + ("zlib" ,zlib) + ("zstd:lib" ,zstd "lib") + ("libtiff" ,libtiff) + ("libpng" ,libpng) + ("sqlite" ,sqlite) + ("freeglut" ,freeglut) + ("fftw" ,fftw) + ("cairo" ,cairo) + ("freetype" ,freetype) + ("libxt" ,libxt) + ("python-wxpython" ,python-wxpython) ;; for gui + ("postgresql" ,postgresql))) + (home-page "https://grass.osgeo.org/") + (synopsis "Geographic Resources Analysis Support System") + (description "GRASS is a @dfn{Geographic Information System} (GIS) s= oftware +suite used for geospatial data management and analysis, image processing= , +graphics and maps production, spatial modeling, and visualization.") + (license license:gpl2+))) --=20 2.24.0 ------------=_1585047542-15418-3-- From unknown Tue Jun 24 05:13:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38178] [WIP v2] gnu: Add grass. Resent-From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Mar 2020 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38178@debbugs.gnu.org Received: via spool by 38178-submit@debbugs.gnu.org id=B38178.158508465421879 (code B ref 38178); Tue, 24 Mar 2020 21:18:02 +0000 Received: (at 38178) by debbugs.gnu.org; 24 Mar 2020 21:17:34 +0000 Received: from localhost ([127.0.0.1]:55640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGqvW-0005gp-GK for submit@debbugs.gnu.org; Tue, 24 Mar 2020 17:17:34 -0400 Received: from freeshell.de ([94.247.40.156]:34540 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGqvV-0005gb-3q for 38178@debbugs.gnu.org; Tue, 24 Mar 2020 17:17:33 -0400 Date: Tue, 24 Mar 2020 22:16:26 +0100 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Message-ID: <20200324211626.uwcb77ji7gli5bn2@wzguix> Mail-Followup-To: 38178@debbugs.gnu.org X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 References: <20191112150417.17249-1-wz@freeshell.de> <20191114153036.scgoex7zqc5r53cu@wz.localdomain> <875zex5uik.fsf@devup.no> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ug7bzfntyybqnvdt" Content-Disposition: inline In-Reply-To: <875zex5uik.fsf@devup.no> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --ug7bzfntyybqnvdt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 21, 2020 at 09:21:23PM +0100, Marius Bakke wrote: > Did you get anywhere with this patch? Can you rebase it on the > current master branch for easier testing? TIA! I abandoned it as soon as Arun Isaac posted his package definition. And now I see that qgis is officially in Guix. That=E2=80=99s nice. > By the way, sorry for the sloooooow responses... That=E2=80=99s fine. I=E2=80=99m also slow. Bye, W=C5=BB --ug7bzfntyybqnvdt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl56eKpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edVF2g/+K2zy+QqysipYYK0wsLkMUuBS8ObwXhROjD4XhqP+aGU2DVvyXkfzxM8A YVGqqpaaAgZoXGeHEiD9Hu95jJHu5/EVdUfQnNHpq6xaBGxE0/JxBultfl3u6Bbl Ma2bzrgrR/vn2I6zHL3cHVJCqH4BSqV9g37TaRsSlBKqAzMcBE48Nfk1seWIT+lf RafappERt1XgCuC2CdCtZ43kXWlKL2VB+fSDQugOEfG9g5Foztfjoes2rexMWQKC 7BROYRL00xb7BEPUQWae6mzNleH/M7viJ21q/jIHj928UL2CDF8sCm1WyKKlOHC5 HYDseGKRhN0/7yFAg/xzpXUmSJAWpfGF0pxyuOGkeO+oX5hMm4y6Bmvhi8O+ox4h H0GQgvO6RA2bgBOuOkAoaPiwcHRym1Mpq1Ec48h5b6E3JSSmMJ3WPh/MBe2yN1Fb oFt4YQDbJfi+2ciHj+MNou+AU0SB8bwUAMTSoWJk8vUGzgSJpLcuMIYbKAHndoGD 6B9Wxg65EY6HLYcRmXlkMyl/aWClhRbE1+GUHKMplhMn/NvFuuXAQAO6zZI+mTA5 4cRIizSWG7qIrMZvN0TwmnS/3ZSrcuRrgWdKRj7zEg7b1YBw/I672dsMu6JulgJw M9BwAyAN1slCW1IezDq1IvBsiUIYDYzz1o/0fa+CK2ijr2R4Zas= =TqOo -----END PGP SIGNATURE----- --ug7bzfntyybqnvdt-- From unknown Tue Jun 24 05:13:32 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38178] [WIP v2] gnu: Add grass. Resent-From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Mar 2020 21:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38178@debbugs.gnu.org Received: via spool by 38178-submit@debbugs.gnu.org id=B38178.158508483722236 (code B ref 38178); Tue, 24 Mar 2020 21:21:02 +0000 Received: (at 38178) by debbugs.gnu.org; 24 Mar 2020 21:20:37 +0000 Received: from localhost ([127.0.0.1]:55652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGqyT-0005ma-4F for submit@debbugs.gnu.org; Tue, 24 Mar 2020 17:20:37 -0400 Received: from freeshell.de ([94.247.40.156]:35502 ident=postfix) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGqyR-0005mS-Ow for 38178@debbugs.gnu.org; Tue, 24 Mar 2020 17:20:36 -0400 Date: Tue, 24 Mar 2020 22:19:34 +0100 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Message-ID: <20200324211934.2sgoefinvbe2i5kd@wzguix> Mail-Followup-To: 38178@debbugs.gnu.org X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 References: <20191112150417.17249-1-wz@freeshell.de> <20191114153036.scgoex7zqc5r53cu@wz.localdomain> <875zex5uik.fsf@devup.no> <20200324211626.uwcb77ji7gli5bn2@wzguix> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kc66c53cxxdot6wg" Content-Disposition: inline In-Reply-To: <20200324211626.uwcb77ji7gli5bn2@wzguix> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --kc66c53cxxdot6wg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 24, 2020 at 10:16:31PM +0100, Wiktor =C5=BBelazny wrote: > On Sat, Mar 21, 2020 at 09:21:23PM +0100, Marius Bakke wrote: > > > Did you get anywhere with this patch? Can you rebase it on the > > current master branch for easier testing? > > I abandoned it as soon as Arun Isaac posted his package definition. > And now I see that qgis is officially in Guix. That=E2=80=99s nice. Oops, sorry. I didn=E2=80=99t notice that you were asking about grass, not = qgis. No, I haven=E2=80=99t done any progress with it, either. But I can see that= it=E2=80=99s in gnu/packages now, as well. So I guess the issue is not relevant, anymore. W=C5=BB --kc66c53cxxdot6wg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl56eWVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edUQShAAmeGUWe/oY+sSvdjSZTWLd0zZKJlrxwHGESxG1ImTAz/iNWxUFMDk6czP h5EcVnPLTRijb/Rz37d8XXdC8Dp2I8vJsTato0rww0ctroQ9sDWC6XJYB826RO1Q qsW74jhuBr3QQNx/QjfyXmd7FqWfMfdsn/F699+4oMTulFWHtZFuf7MhLUe1m2xz 5laQlwSxXJ5HAhRNu6E1oImX1E6oKobtM9uT+/1FKObQ5uiEgbrIfGkhx0La3tUH Mh87JNfNnBZcMhZc/T4E3k35Lib8iIyNr3k2kHtEsuLwy8mqow6rqA3pHAmeNEN3 0grvL9No5Sf1BWwl3PLiZL+WAz6B5wS1NAfmxIgjVK1Qkaj/YxCl3TQHw/XR5nUo nbhCrlArtlumlpvbka0+XVGi/W9lvUZDwcD2vdn6bjoK3X5eQXregI6h+qMXkGV0 NHmbACmRv1lX/vTg1mstNWLjpA5KfpRlcTj4Gv58aowqlPGAK7dwdU4uok9Wr82x 00lJPoOj0h2WZLI1s0hzu+giMgdaSyPFBZoJPj+UMPwZo0oMVMucjFWqk7uFpCTP zeEZETDo7L9fZpOFGF9DoieC+Xxom7GX6QUZ35zOiwBwcCEUBn7Ipa8s2Lg+N+MK VkHgOC8XjsfO3JoMICehXBt00ay7gGcsvdm9ELK5zLsFwU6RzbQ= =D3am -----END PGP SIGNATURE----- --kc66c53cxxdot6wg--