Cannot build guile-chickadee.
Hi there, I’m trying to get Chickadee packaged. Attached is a package definition. The build fails when chickadee/render/shapes.scm is supposed to be compiled: --8<---cut here---start->8--- … GEN chickadee/render/shapes.go Backtrace: 19 (primitive-load-path "sdl2" #) In ice-9/eval.scm: 721:20 18 (primitive-eval _) In ice-9/psyntax.scm: 1234:36 17 (expand-top-sequence _ _ _ #f _ _ _) 1181:24 16 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …) 284:10 15 (parse _ (("placeholder" placeholder)) (()) _ c (eval) …) In ice-9/eval.scm: 293:34 14 (_ #) In ice-9/boot-9.scm: 2866:4 13 (define-module* _ #:filename _ #:pure _ #:version _ # _ …) 2879:24 12 (_) 230:29 11 (map1 _) 230:29 10 (map1 _) 230:29 9 (map1 _) 230:29 8 (map1 _) 230:17 7 (map1 (((sdl2 bindings) #:prefix #:ffi))) 2805:10 6 (resolve-interface (sdl2 bindings) #:select _ #:hide _ # …) 268:13 5 (for-each # …) 2818:41 4 (_ _) 1475:39 3 (symbol-append #:ffi SDLK_F19) 230:17 2 (map1 (#:ffi SDLK_F19)) In unknown file: 1 (symbol->string #:ffi) In ice-9/boot-9.scm: 760:25 0 (dispatch-exception _ _ _) ice-9/boot-9.scm:760:25: In procedure dispatch-exception: ice-9/boot-9.scm:760:25: In procedure symbol->string: Wrong type argument in position 1 (expecting symbol): #:ffi make: *** [Makefile:1047: chickadee/render/shapes.go] Error 1 --8<---cut here---end--->8--- Any ideas what might be wrong here? -- Ricardo >From d3854140439110bd66742c1252a0768141cd6a61 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 20 Jun 2018 02:59:23 +0200 Subject: [PATCH] gnu: Add guile-chickadee. * gnu/packages/game-development.scm (guile-chickadee): New variable. --- gnu/packages/game-development.scm | 38 ++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index 3d6a038d9..5a192d939 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2015, 2016, 2017 David Thompson ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2016, 2017 Kei Kebreau -;;; Copyright © 2016 Ricardo Wurmus +;;; Copyright © 2016, 2018 Ricardo Wurmus ;;; Copyright © 2016, 2017 Julian Graham ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis @@ -74,6 +74,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages sdl) + #:use-module (gnu packages texinfo) #:use-module (gnu packages tls) #:use-module (gnu packages video) #:use-module (gnu packages xdisorg) @@ -1233,3 +1234,38 @@ related games such as Heretic and Hexen. It comes with a 3d preview mode and a 2D editor view.") (home-page "http://eureka-editor.sourceforge.net/;) (license license:gpl2+))) + +(define-public guile-chickadee + (package +(name "guile-chickadee") +(version "0.2.0") +(source (origin + (method url-fetch) + (uri (string-append "https://files.dthompson.us/chickadee/; + "chickadee-" version ".tar.gz")) + (sha256 + (base32 +"10qx0ha5gsayybd186r1my7vc7rf5fbzp9jvmc4xg9a8wz8rqhah" +(build-system gnu-build-system) +(propagated-inputs + `(("guile-opengl" ,guile-opengl) + ("guile-sdl2" ,guile-sdl2))) +(inputs + `(("guile" ,guile-2.2))) +(native-inputs + `(("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) +(home-page "https://dthompson.us/projects/chickadee.html;) +(synopsis "Game development toolkit for Guile Scheme with SDL2 and OpenGL") +(description "Chickadee is a game development toolkit for Guile Scheme +built on top of SDL2 and OpenGL. Chickadee aims to provide all the features +that parenthetically inclined game developers need to make 2D (and eventually +3D) games in Scheme, such as: + +@enumerate +@item extensible, fixed-timestep game loop +@item OpenGL-based rendering engine +@item keyboard, mouse, controller input +@item REPL-driven development model +@end enumerate\n") +(license license:gpl3+))) -- 2.17.1
Re: Warning: Schema ?org.gnome.system.locale? has path ?/system/locale/?. Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
I've rooted out the issue: it comes from gsettings-desktop-schemas. The warnings appear whenever the package is installed. I tried updating it to 3.28.0 (latest version) but the warnings remain. Should we report this upstream? -- Pierre Neidhardt signature.asc Description: PGP signature
Re: gst-plugins-base: Test suite failed: FAIL: elements/opus
Hello, Pierre Neidhardt writes: > I can't update my packages `guix package -u`, gst-plugins-base fails: [...] > FAIL: elements/opus > === > > Running suite(s): opus > 33%: Checks: 6, Failures: 0, Errors: 4 > gstcheck.c:596:E:general:test_opus_encode_nothing:0: (after this point) > Received signal 11 (Segmentation fault) > gstcheck.c:596:E:general:test_opus_encode_samples:0: (after this point) > Received signal 11 (Segmentation fault) > gstcheck.c:596:E:general:test_opus_encode_properties:0: (after this point) > Received signal 11 (Segmentation fault) > elements/opus.c:429:E:general:test_opus_decode_plc_timestamps_with_fec:0: > (after this point) Received signal 11 (Segmentation fault) > Check suite opus ran in 0.014s (tests failed: 4) > FAIL elements/opus (exit status: 4) [...] > Anyone else? Ditto. It breaks wine upgrade (even wine64). Quick and dirty fix: what about disabling elements/opus test? It doesn't look like a vital part. Regards, -- Nicolas Goaziou0x80A93738
Re: ld cannot find crti.o
Yes, I managed to get over many issues by means of running `opam install …` within `guix environment --ad-hoc gcc-toolchain …`. Thanks. There's one more strange thing though: `cc` isn't defined. How do I make it pointing to e.g. `gcc`? On 06/19/2018 12:54 PM, Pierre Neidhardt wrote: > Have you tried installing gcc-toolchain? > (It should supersede gcc and glibc.) >
Re: ld cannot find crti.o
Have you tried installing gcc-toolchain? (It should supersede gcc and glibc.) -- Pierre Neidhardt signature.asc Description: PGP signature
gst-plugins-base: Test suite failed: FAIL: elements/opus
I can't update my packages `guix package -u`, gst-plugins-base fails: --8<---cut here---start->8--- make check-TESTS make[3]: Entering directory '/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check' make[4]: Entering directory '/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check' PASS: generic/clock-selection PASS: generic/states PASS: libs/libsabi PASS: libs/allocators PASS: libs/audio PASS: libs/audiocdsrc PASS: libs/audiodecoder PASS: libs/audioencoder PASS: libs/baseaudiovisualizer PASS: libs/discoverer PASS: libs/fft PASS: libs/navigation PASS: libs/pbutils PASS: libs/profile PASS: libs/mikey PASS: libs/rtp PASS: libs/rtpbasedepayload PASS: libs/rtpbasepayload PASS: libs/rtsp PASS: libs/rtspconnection PASS: libs/sdp PASS: libs/tag PASS: libs/video PASS: libs/videodecoder PASS: libs/videoencoder PASS: libs/videotimecode PASS: libs/xmpwriter PASS: pipelines/simple-launch-lines PASS: pipelines/basetime PASS: pipelines/capsfilter-renegotiation PASS: pipelines/streamsynchronizer PASS: elements/adder PASS: elements/appsink PASS: elements/appsrc PASS: elements/audioconvert PASS: elements/audiointerleave PASS: elements/audiomixer PASS: elements/audiorate PASS: elements/audioresample PASS: elements/audiotestsrc PASS: elements/encodebin PASS: pipelines/gio PASS: pipelines/oggmux FAIL: elements/opus PASS: elements/textoverlay PASS: elements/decodebin PASS: elements/playbin PASS: elements/playbin-complex PASS: elements/streamsynchronizer PASS: elements/playsink PASS: elements/rawaudioparse PASS: elements/rawvideoparse PASS: elements/subparse PASS: elements/multifdsink PASS: elements/multisocketsink PASS: pipelines/tcp PASS: pipelines/theoraenc PASS: gst/typefindfunctions PASS: elements/videoconvert PASS: elements/videorate PASS: elements/videoscale PASS: elements/videoscale-1 PASS: elements/videoscale-2 PASS: elements/videoscale-3 PASS: elements/videoscale-4 PASS: elements/videoscale-5 PASS: elements/videoscale-6 PASS: elements/videotestsrc PASS: elements/volume PASS: elements/vorbisdec PASS: pipelines/vorbisenc PASS: pipelines/vorbisdec PASS: elements/vorbistag PASS: libs/gstlibscpp PASS: orc/video PASS: orc/audio PASS: orc/audiomixer PASS: orc/adder PASS: orc/volume PASS: orc/videotestsrc Testsuite summary for GStreamer Base Plug-ins 1.14.1 # TOTAL: 80 # PASS: 79 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 See tests/check/test-suite.log Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer make[4]: *** [Makefile:4469: test-suite.log] Error 1 make[4]: Leaving directory '/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check' make[3]: *** [Makefile:4577: check-TESTS] Error 2 make[3]: Leaving directory '/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check' make[2]: *** [Makefile:5292: check-am] Error 2 make[2]: Leaving directory '/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests/check' make[1]: *** [Makefile:639: check-recursive] Error 1 make[1]: Leaving directory '/tmp/guix-build-gst-plugins-base-1.14.1.drv-0/gst-plugins-base-1.14.1/tests' make: *** [Makefile:748: check-recursive] Error 1 Test suite failed, dumping logs. --- ./tests/check/test-suite.log GStreamer Base Plug-ins 1.14.1: tests/check/test-suite.log # TOTAL: 80 # PASS: 79 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: elements/opus === Running suite(s): opus 33%: Checks: 6, Failures: 0, Errors: 4 gstcheck.c:596:E:general:test_opus_encode_nothing:0: (after this point) Received signal 11 (Segmentation fault) gstcheck.c:596:E:general:test_opus_encode_samples:0: (after this point) Received signal 11 (Segmentation fault) gstcheck.c:596:E:general:test_opus_encode_properties:0: (after this point) Received signal 11 (Segmentation fault) elements/opus.c:429:E:general:test_opus_decode_plc_timestamps_with_fec:0: (after this point) Received signal 11 (Segmentation fault) Check suite opus ran in 0.014s (tests failed: 4) FAIL elements/opus (exit status: 4) Backtrace: 4 (primitive-load "/gnu/store/q3v63skrwjvchkcdx4aji14sqsz?") In ice-9/eval.scm: 191:35 3 (_ _) In srfi/srfi-1.scm: 640:9 2 (for-each # ?) In /gnu/store/cgnrsi20mwcm1s3z9ab8qw125m73l4qd-module-import/guix/build/gnu-build-system.scm: 799:31 1 (_ _) 369:6 0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)
ld cannot find crti.o
Hi. In order to install Lwt via OPAM, I've just naively installed GCC via `guix package --install gcc`; but, while attempting to compile anything, I get the error that ~/.guix-profile/bin/ld cannot find crti.o. I then tried to install Glibc explicitly, just in case, but the result is just the same (crti.o, by the way, is present where it belongs, i.e. ~/.guix-profile/lib/crti.o). What I am doing wrong?
Re: Can't configure guix, no guile-sqlite3
OK, I get it now. I had missed that message about the PATH. I think those kinds of breakage would deserve some proper annoucements, either on the mailing list or on the website. What do you people think? -- Pierre Neidhardt Nothing is easier than to denounce the evildoer; nothing is more difficult than to understand him. - Fyodor Dostoevski signature.asc Description: PGP signature
Re: Can't configure guix, no guile-sqlite3
Hi On June 19, 2018 12:32:43 PM GMT+02:00, Pierre Neidhardt wrote: > >> What is your path? >/home/ambrevar/.guix-profile/bin >/home/ambrevar/.guix-profile/sbin >/run/setuid-programs >/run/current-system/profile/bin >/run/current-system/profile/sbin This lacks the path to the guix pulled with the new pull. After pulling, guix proposed that you update the path manually by export PATH="./home/ambrevar/.config/guix/current/bin:./home/ambrevar/.config/guix/current/sbin:$PATH >> I pulled the same commit as Thorsten and had to upgrate my path >manually to be able to use the guix that was pulled. > >We should not have to do that, should we? No. It's a bug that the correct path is not automatically set by guix pull when switching from the old guix pull to thr new. >> ls -l ~/.config/guix >total 0 >lrwxrwxrwx 1 ambrevar users42 2018-06-16 19:06 current -> >/home/ambrevar/.config/guix/current-1-link >lrwxrwxrwx 1 ambrevar users51 2018-06-16 19:06 >current-1-link -> /gnu/store/icn1zds8bb635iikdh3vbcbc1mirndl7-profile >lrwxrwxrwx 1 ambrevar users66 2018-06-11 19:52 latest -> >/gnu/store/qy77ay990bz53g2jk7kk3f1xqllf0zy7-guix-b19950a18-modules Seems good. > >> ~/.config/guix/current/bin/guix pull -l > >guile: warning: failed to install locale >warning: failed to install locale: Invalid argument >Generation 1 Jun 16 2018 19:06:03(current) > guix 806f599 >repository URL: https://git.savannah.gnu.org/git/guix.git >branch: origin/master >commit: 806f599c5bc630362359809e66ee8d6f275580c3 Resembles mine. You new guix is working fine. You can run it directly with /home/ambrevar/.config/guix/current bin/guix -- Cheers Swedebugia
Re: Can't configure guix, no guile-sqlite3
On 18.06.2018 21:58, Ludovic Courtès wrote: Add this commit, the ‘guix’ package definitely has ‘guile-sqlite3’ as an input. Could you run ‘guix edit guix’ to double-check? "guile-sqlite3" appears twice within (define-public guix), inside (add-after 'install 'wrap-program ...) and also (propagated-inputs `(("gnutls" ,gnutls) ("guile-json" ,guile-json) ("guile-sqlite3" ,guile-sqlite3) ("guile-ssh" ,guile-ssh) ("guile-git" ,guile-git))) ./configure does find guile, (gnutls), (git) and (json) before it stumbles over guile-sqlite3. Perhaps you need to run “hash guix” (in Bash) or something? ~: hash -r ~: hash hash: hash table empty ~: hash guix ~: hash hitscommand 0/home/thorwil/.config/guix/current/bin/guix The same from the 2nd line within `guix environment guix`. -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/
Re: Can't configure guix, no guile-sqlite3
> What is your path? /home/ambrevar/.guix-profile/bin /home/ambrevar/.guix-profile/sbin /run/setuid-programs /run/current-system/profile/bin /run/current-system/profile/sbin > I pulled the same commit as Thorsten and had to upgrate my path manually to > be able to use the guix that was pulled. We should not have to do that, should we? > ls -l ~/.config/guix total 0 lrwxrwxrwx 1 ambrevar users42 2018-06-16 19:06 current -> /home/ambrevar/.config/guix/current-1-link lrwxrwxrwx 1 ambrevar users51 2018-06-16 19:06 current-1-link -> /gnu/store/icn1zds8bb635iikdh3vbcbc1mirndl7-profile lrwxrwxrwx 1 ambrevar users66 2018-06-11 19:52 latest -> /gnu/store/qy77ay990bz53g2jk7kk3f1xqllf0zy7-guix-b19950a18-modules > ~/.config/guix/current/bin/guix pull -l guile: warning: failed to install locale warning: failed to install locale: Invalid argument Generation 1Jun 16 2018 19:06:03(current) guix 806f599 repository URL: https://git.savannah.gnu.org/git/guix.git branch: origin/master commit: 806f599c5bc630362359809e66ee8d6f275580c3 -- Pierre Neidhardt signature.asc Description: PGP signature
Re: Can't configure guix, no guile-sqlite3
Hi On June 18, 2018 10:12:03 PM GMT+02:00, Pierre Neidhardt wrote: > >I have a similar issue. > >> which guix >/run/current-system/profile/bin/guix What is your path? I pulled the same commit as Thorsten and had to upgrate my path manually to be able to use the guix that was pulled. Please report the output of: ls -l ~/.config/guix And ~/.config/guix/current/bin/guix pull -l -- Cheers Swedebugia