Package Details: rofi-emoji 2.2.0-1

Git Clone URL: https://aur.archlinux.org/rofi-emoji.git (read-only, click to copy)
Package Base: rofi-emoji
Description: A Rofi plugin for selecting emojis
Upstream URL: https://github.com/Mange/rofi-emoji
Keywords: rofi
Licenses: BSD
Submitter: Mange
Maintainer: Mange
Last Packager: Mange
Votes: 9
Popularity: 1.89
First Submitted: 2018-05-11 12:17
Last Updated: 2021-05-18 22:27

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

Mange commented on 2021-04-21 06:33

@theorangeone, yeah that's the common way to build. I built in a chroot to validate that there shouldn't be any more extra dependencies needed than the ones declared (and base-devel as it's assumed to be installed before AUR can be used).

If you have base-devel and it's not corrupted for some reason (try a full system update and a reboot later), then it could be that you've set some environment variables that conflict with this build.

You could test your C compiler like this:

  1. Create a file called test.c with the following content:

      #include <stdio.h>
      int main()
      {
         printf("This works\n");
         return 0;
      }
    
  2. Compile it: gcc -o ctest test.c

  3. Run compiled executable: ./ctest

If this fails to compile then you don't have the ability to compile C libraries. If it works, then my guess is that you have some env variable interfering or that there's some corrupted library somewhere.

You could disprove either of those hypotheses by building in a chroot, where the system is guaranteed to be "clean", and have it fail again.

theorangeone commented on 2021-04-20 16:26

@Mange interesting. I've not tried that way, I tried using makepkg directly, and with yay. Neither worked.

Can reliably replicate by cloning the aur repo, cd-ing into it, and running makepkg -si. Fails every time.

Mange commented on 2021-04-20 06:36

@theorangeones, I just tried building it in a new chroot with just base-devel installed and it worked for me.

Do you have base-devel installed?

Note: The group base-devel is assumed to be already installed when building with makepkg. Members of this group should not be included in makedepends array.

https://wiki.archlinux.org/index.php/PKGBUILD#makedepends


Here's how I did it in a clean chroot. Maybe you could try to replicate it this way?

CHROOT=/tmp/chroot
mkdir -p "$CHROOT"
mkarchroot "$CHROOT/root" base-devel
arch-nspawn "$CHROOT/root" pacman -Syu
makechrootpkg -c -r "$CHROOT"

https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot

theorangeone commented on 2021-04-19 11:26

Just tried installing, and it doesn't compile, claiming "configure: error: C compiler cannot create executables".

The lack of makedepends is slightly suspect for the cause of this, but I can't tell much more than that.

LiteracyFanatic commented on 2020-11-27 19:25

Thanks!

Mange commented on 2020-11-27 15:14

Sure thing! I pushed a new version now.

» diff -u <(tar tf rofi-emoji-2.1.2-1-x86_64.pkg.tar.zst) <(tar tf rofi-emoji-2.1.2-2-x86_64.pkg.tar.zst)
--- /proc/self/fd/11    2020-11-27 16:12:48.223889813 +0100
+++ /proc/self/fd/12    2020-11-27 16:12:48.227223120 +0100
@@ -5,10 +5,9 @@
 usr/lib/
 usr/lib/rofi/
 usr/lib/rofi/emoji.so
-usr/local/
-usr/local/share/
-usr/local/share/rofi-emoji/
-usr/local/share/rofi-emoji/README.md
-usr/local/share/rofi-emoji/all_emojis.txt
-usr/local/share/rofi-emoji/clipboard-adapter.sh
-usr/local/share/rofi-emoji/screenshot.png
+usr/share/
+usr/share/rofi-emoji/
+usr/share/rofi-emoji/README.md
+usr/share/rofi-emoji/all_emojis.txt
+usr/share/rofi-emoji/clipboard-adapter.sh
+usr/share/rofi-emoji/screenshot.png

LiteracyFanatic commented on 2020-11-27 01:08

Hi, thanks for the package. Would you consider changing the prefix from /usr/local/ to /usr/ in accordance with Arch's packaging guidelines?