Package Details: worm 0.3.3-2

Git Clone URL: https://aur.archlinux.org/worm.git (read-only, click to copy)
Package Base: worm
Description: A floating, tag-based window manager written in Nim
Upstream URL: https://github.com/codic12/worm
Licenses: MIT
Submitter: moson
Maintainer: moson
Last Packager: moson
Votes: 3
Popularity: 0.012326
First Submitted: 2021-12-12 20:17 (UTC)
Last Updated: 2024-08-27 09:35 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

micwoj92 commented on 2024-08-08 22:10 (UTC)

Build fails with gcc14:

/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c: In function ‘getProperty__eventsZmaprequest_u28’:
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c:1086:154: error: passing argument 12 of ‘Dl_2231371778_’ from incompatible pointer type [-Wincompatible-pointer-types]
 1086 |         T2_ = Dl_2231371778_(dpy_p0, window_p1, property_p2, ((NI)0), ((NI)IL64(9223372036854775807)), T1_, ((unsigned long)0), (&a), (&b), (&c), (&d), ((NIM_CHAR**) (&e)));
      |                                                                                                                                                         ~^~~~~~~~~~~~~~~~~~
      |                                                                                                                                                          |
      |                                                                                                                                                          NIM_CHAR ** {aka char **}
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c:1086:154: note: expected ‘unsigned char **’ but argument is of type ‘NIM_CHAR **’ {aka ‘char **’}
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c: In function ‘getProperty__eventsZmaprequest_u233’:
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c:1210:154: error: passing argument 12 of ‘Dl_2231371778_’ from incompatible pointer type [-Wincompatible-pointer-types]
 1210 |         T2_ = Dl_2231371778_(dpy_p0, window_p1, property_p2, ((NI)0), ((NI)IL64(9223372036854775807)), T1_, ((unsigned long)0), (&a), (&b), (&c), (&d), ((NIM_CHAR**) (&e)));
      |                                                                                                                                                         ~^~~~~~~~~~~~~~~~~~
      |                                                                                                                                                          |
      |                                                                                                                                                          NIM_CHAR ** {aka char **}
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c:1210:154: note: expected ‘unsigned char **’ but argument is of type ‘NIM_CHAR **’ {aka ‘char **’}
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c: In function ‘handleMapRequest__eventsZmaprequest_u24’:
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c:1599:246: error: passing argument 12 of ‘Dl_2231371778_’ from incompatible pointer type [-Wincompatible-pointer-types]
 1599 |                 T32_ = Dl_2231371778_((*self_p0).dpy, (*ev_p1).window, (*self_p0).netAtoms[(((tyEnum_NetAtom__kk9cMvaZUHRDK2PTRaGm80w)7))- 0], ((NI)0), ((NI)IL64(9223372036854775807)), T31_, ((unsigned long)0), (&typ), (&fmt), (&nitem), (&baf), &props);
      |                                                                                                                                                                                                                                                      ^~~~~~
      |                                                                                                                                                                                                                                                      |
      |                                                                                                                                                                                                                                                      NIM_CHAR ** {aka char **}
/build/.cache/nim/worm_r/@mevents@smaprequest.nim.c:1599:246: note: expected ‘unsigned char **’ but argument is of type ‘NIM_CHAR **’ {aka ‘char **’}
compilation terminated due to -fmax-errors=3.
Error: execution of an external compiler program 'gcc -c  -w -fmax-errors=3 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -pthread -O3 -fno-strict-aliasing -fno-ident -fno-math-errno   -I/usr/lib/nim/lib -I/build/worm/src/worm-0.3.3/src -o /build/.cache/nim/worm_r/@mevents@smaprequest.nim.c.o /build/.cache/nim/worm_r/@mevents@smaprequest.nim.c' failed with exit code: 1


/build/.cache/nim/worm_r/@mevents@spropertynotify.nim.c: In function ‘handlePropertyNotify__eventsZpropertynotify_u7’:
/build/.cache/nim/worm_r/@mevents@spropertynotify.nim.c:1079:237: error: passing argument 12 of ‘Dl_2231371778_’ from incompatible pointer type [-Wincompatible-pointer-types]

TrialnError commented on 2024-03-30 19:07 (UTC)

Building 0.3.3 in a clean chroot results in this error for me:

 Installing crunchy@>= 0.1.0
       Tip: 25 messages have been suppressed, use --verbose to show them.
nimble.nim(683)          getDownloadInfo

    Error:  Package crunchy@>= 0.1.0 not found.

moson commented on 2022-04-12 19:44 (UTC)

@acxz Indeed. Seems nimble uses git for downloading additional dependencies. I've added it now.

Thanks for noticing.

acxz commented on 2022-04-12 18:18 (UTC)

thx for creating this package, however it is failing for me:

==> Starting build()...
  Verifying dependencies for worm@0.1.0
    Prompt: No local packages.json found, download it from internet? -> [forced yes]
Downloading Official package list
    Success Package list downloaded.
 Installing x11@any version
Downloading https://github.com/nim-lang/x11 using git
       Tip: 5 messages have been suppressed, use --verbose to show them.
     Error: 'git' not in PATH.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/acxz/build
error: failed to build 'worm-0.2.5-1': failed to run: makechrootpkg -r /var/lib/aurbuild/x86_64 -D /home/acxz/.cache/paru/repo -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver: 
error: packages failed to build: worm-0.2.5-1

looks like git needs to be added to the makedeps?