Package Details: clipmenu-git 6.2.0.r32.gd80842e-1

Git Clone URL: https://aur.archlinux.org/clipmenu-git.git (read-only, click to copy)
Package Base: clipmenu-git
Description: Clipboard management using dmenu
Upstream URL: http://github.com/cdown/clipmenu
Licenses: MIT
Conflicts: clipmenu
Provides: clipmenu
Submitter: cdown
Maintainer: cdown
Last Packager: cdown
Votes: 3
Popularity: 0.000000
First Submitted: 2020-03-05 12:54 (UTC)
Last Updated: 2024-04-23 13:08 (UTC)

Latest Comments

cdown commented on 2024-04-11 12:52 (UTC)

@seyn6gk I have no repro on GCC 13.2.1 or clang 17.0.6, but this is clearly just the compiler being dumb. If:

expect(str_to_uint64(argv[1], &hash) == 0);

Doesn't terminate the program, then hash is certainly populated. Anyway, it is now initialised with HASH_INVALID to hopefully make your compiler happy.

seyn6gk commented on 2024-04-11 05:46 (UTC) (edited on 2024-04-11 05:47 (UTC) by seyn6gk)

src/clipserve.c: In function ‘main’:
src/clipserve.c:114:5: error: ‘hash’ may be used uninitialized [-Werror=maybe-uninitialized]
  114 |     die_on(cs_content_get(&cs, hash, &content) < 0,
      |     ^
src/clipserve.c:98:14: note: ‘hash’ was declared here
   98 |     uint64_t hash;
      |              ^
lto1: all warnings being treated as errors
make[1]: *** [/tmp/ccu2awa6.mk:2: /tmp/cc5bo2Kp.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:21: src/clipserve] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: clipmenu-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
clipmenu-git - exit status 4

compilation failed with latest git.

slococo commented on 2021-08-06 21:38 (UTC)

Hello! Could you make dmenu optional? I have it but not from AUR (compiled from git due to patches). That would be of great help. TY.