Package Details: rofi-git 1.7.5.r90.g82b2ce94-1

Git Clone URL: https://aur.archlinux.org/rofi-git.git (read-only, click to copy)
Package Base: rofi-git
Description: A window switcher, run dialog and dmenu replacement
Upstream URL: https://github.com/DaveDavenport/rofi/
Licenses: MIT
Conflicts: rofi
Provides: rofi
Submitter: 1ace
Maintainer: orestisf (0x647262)
Last Packager: orestisf
Votes: 70
Popularity: 0.87
First Submitted: 2014-03-03 00:41 (UTC)
Last Updated: 2023-01-13 13:48 (UTC)

Required by (198)

Sources (3)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

Neurognostic commented on 2024-12-10 17:29 (UTC)

Fails to build in a clean chroot without xcb-util-keysyms.

diff --git c/PKGBUILD w/PKGBUILD
index b9bdeb7..ee81cae 100644
--- c/PKGBUILD
+++ w/PKGBUILD
@@ -29,6 +29,7 @@ depends=(
   'startup-notification'
   'xcb-util'
   'xcb-util-cursor'
+  'xcb-util-keysyms'
   'xcb-util-wm'
   'xcb-util-xrm'
 )

orestisf commented on 2023-01-13 13:49 (UTC)

Done, thanks

BifbofII commented on 2023-01-13 09:38 (UTC)

It seems like a dependency on xcb-util-cursor is missing. Building in a clean root without that I get the following error:

rofi/meson.build:68:0: ERROR: Dependency "xcb-cursor" not found, tried pkgconfig

orestisf commented on 2021-09-21 10:46 (UTC)

@scry3r I don't think we want to checkout a specific tag, this is a -git package, meant to always build from the latest main branch

scry3r commented on 2021-09-18 00:14 (UTC)

Hello

I make some changes in PKGBUILD file

# Maintainer: Orestis Floros <orestisf1993@gmail.com>
# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
# Contributor: Benjamin Chrétien <chretien+aur [at] lirmm [dot] fr>
# Contributor: Eric Engestrom <aur [at] engestrom [dot] ch>
# Contributor: Rasi <rasi@xssn.at>
# Contributor: Sean Pringle <sean.pringle@gmail.com>
# Contributor: SanskritFritz (gmail)

pkgname=rofi-git
pkgver=1.6.1
pkgrel=1
pkgdesc='A window switcher, run dialog and dmenu replacement'
arch=('x86_64')
url='https://github.com/DaveDavenport/rofi/'
license=('MIT')
depends=(
  'cairo' 'flex' 'freetype2' 'libjpeg' 'librsvg' 'libx11' 'libxcb'
  'libxdg-basedir' 'libxft' 'libxkbcommon' 'libxkbcommon-x11' 'pango'
  'startup-notification' 'xcb-util' 'xcb-util-wm' 'xcb-util-xrm'
)
makedepends=('git' 'meson' 'ninja')
checkdepends=('check')
provides=("${pkgname/-git}")
conflicts=("${pkgname/-git}")
source=(
  'git+https://github.com/DaveDavenport/rofi#branch=next'
  'git+https://github.com/sardemff7/libgwater'
  'git+https://github.com/sardemff7/libnkutils'
)
sha256sums=('SKIP' 'SKIP' 'SKIP')

pkgver() {
  cd "${pkgname/-git}"

  git describe --long --tags \
    | sed 's/-/.r/;s/-/./'
}

prepare() {
  cd "${pkgname/-git}"
  git checkout ${pkgver}
  git submodule init
  git submodule update
  cd "${srcdir}"

  meson setup "${pkgname/-git}" build \
    --buildtype release               \
    --prefix /usr
}

build() {
  ninja -C build
}

check() {
  ninja -C build test
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install

  cd "${pkgname/-git}"
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/rofi/COPYING"
  install -Dm755 Examples/*.sh -t "${pkgdir}/usr/share/doc/rofi/examples"
}

# vim: ts=2 sw=2 et:

orestisf commented on 2021-06-15 09:51 (UTC)

@Ferdi265 rofi's CI on GitHub is broken as well (starting on the exact commit you mentioned), I believe that they will resolve the issue eventually.

yrlf commented on 2021-06-14 13:49 (UTC) (edited on 2021-06-14 13:49 (UTC) by yrlf)

Newest version (since 2c325b3f) fails to build the test executables, which fails the build:

Build log below (I moved the meson invocation into build to be able to bisect the build failure easier):

==> Making package: rofi-git 1.6.1.r98.g2c325b3f-1 (Mon 14 Jun 2021 15:47:20 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 0.58.1
Source dir: /home/yrlf/.cache/yay/rofi-git/src/rofi
Build dir: /home/yrlf/.cache/yay/rofi-git/src/build
Build type: native build
Project name: rofi
Project version: 1.6.1-dev
C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C supports arguments -Wparentheses: YES 
Compiler for C supports arguments -Winline: YES 
Compiler for C supports arguments -Wunreachable-code: YES 
Compiler for C supports arguments -Werror=missing-prototypes: YES 
Compiler for C supports arguments -Wno-inline: YES 
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency glib-2.0 found: YES 2.68.3
Run-time dependency gmodule-2.0 found: YES 2.68.3
Run-time dependency cairo found: YES 1.17.4
Library m found: YES
Run-time dependency gio-unix-2.0 found: YES 2.68.3
Run-time dependency pango found: YES 1.48.5
Run-time dependency pangocairo found: YES 1.48.5
Run-time dependency xkbcommon found: YES 1.3.0
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.6

Executing subproject libgwater 

libgwater| Project name: libgwater
libgwater| Project version: undefined
libgwater| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
libgwater| C linker for the host machine: cc ld.bfd 2.36.1
libgwater| Dependency glib-2.0 found: YES 2.68.3 (cached)
libgwater| Run-time dependency gobject-2.0 found: YES 2.68.3
libgwater| Run-time dependency gio-2.0 found: YES 2.68.3
libgwater| Dependency gio-unix-2.0 found: YES 2.68.3 (cached)
libgwater| Has header "errno.h" : YES
libgwater| Has header "sys/types.h" : YES
libgwater| Has header "sys/socket.h" : YES
libgwater| Run-time dependency wayland-client found: YES 1.19.0
libgwater| Run-time dependency wayland-server found: YES 1.19.0
libgwater| Run-time dependency xcb found: YES 1.14
libgwater| Run-time dependency libmpdclient found: YES 2.19
libgwater| Dependency glib-2.0 found: YES 2.68.3 (cached)
libgwater| Run-time dependency libnl-3.0 found: YES 3.5.0
libgwater| Has header "linux/netlink.h" : YES
libgwater| Has header "sys/poll.h" : YES
libgwater| Run-time dependency alsa found: YES 1.2.5
libgwater| Build targets in project: 6
libgwater| Subproject libgwater finished.

Dependency xcb found: YES 1.14 (cached)
Run-time dependency xcb-aux found: YES 0.4.0
Run-time dependency xcb-xkb found: YES 1.14
Run-time dependency xkbcommon-x11 found: YES 1.3.0
Run-time dependency xcb-ewmh found: YES 0.4.1
Run-time dependency xcb-icccm found: YES 0.4.1
Run-time dependency xcb-randr found: YES 1.14
Run-time dependency xcb-cursor found: YES 0.1.3
Run-time dependency xcb-xinerama found: YES 1.14
Run-time dependency cairo-xcb found: YES 1.17.4
Run-time dependency libstartup-notification-1.0 found: YES 0.12
Library libgif found: YES
Run-time dependency check found: YES 0.15.2
Configuring config.h using configuration

Executing subproject libnkutils 

libnkutils| Project name: libnkutils
libnkutils| Project version: undefined
libnkutils| C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0")
libnkutils| C linker for the host machine: cc ld.bfd 2.36.1
libnkutils| Dependency glib-2.0 found: YES 2.68.3 (cached)
libnkutils| Dependency gio-2.0 found: YES 2.68.3 (cached)
libnkutils| Dependency gobject-2.0 found: YES 2.68.3 (cached)
libnkutils| Program git found: YES (/usr/bin/git)
libnkutils| Found pkg-config: /usr/bin/pkg-config (1.7.3)
libnkutils| Build-time dependency glib-2.0 found: YES 2.68.3
libnkutils| Dependency xkbcommon found: YES 1.3.0 (cached)
libnkutils| Run-time dependency xkeyboard-config found: YES 2.33
libnkutils| Build targets in project: 17
libnkutils| Subproject libnkutils finished.

Program flex found: YES (/usr/bin/flex)
Program bison found: YES (/usr/bin/bison)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program ronn found: NO
Configuring rofi.doxy using configuration
Program doxygen found: YES (/usr/bin/doxygen)
Program test/run_all_tests.sh found: YES (/home/yrlf/.cache/yay/rofi-git/src/rofi/test/run_all_tests.sh)
Program uncrustify found: NO
Program cppcheck found: YES (/usr/bin/cppcheck)
Program ohcount found: NO
Build targets in project: 35

rofi 1.6.1-dev

  Subprojects
    libgwater : YES
    libnkutils: YES

Found ninja-1.10.2 at /usr/bin/ninja
ninja: Entering directory `build'
[17/106] Generating from 'lexer/theme-parser.y'..
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
../rofi/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[20/106] Generating from 'lexer/theme-parser.y'..
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
../rofi/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[22/106] Generating from 'lexer/theme-parser.y'..
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
../rofi/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[23/106] Compiling C object subprojects/libnkutils/libnkutils-bindings.a.p/src_bindings.c.o
../rofi/subprojects/libnkutils/src/bindings.c: In function ‘nk_bindings_seat_handle_button’:
../rofi/subprojects/libnkutils/src/bindings.c:957:9: warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations]
  957 |         g_hash_table_insert(self->last_timestamps, binding_, g_memdup(&timestamp, sizeof(guint64)));
      |         ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:82,
                 from ../rofi/subprojects/libnkutils/src/bindings.c:39:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
[24/106] Generating from 'lexer/theme-parser.y'..
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
../rofi/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[28/106] Generating from 'lexer/theme-parser.y'..
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
../rofi/lexer/theme-parser.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
[87/106] Linking target helper_pidfile.test
FAILED: helper_pidfile.test 
cc  -o helper_pidfile.test helper_pidfile.test.p/test_helper-pidfile.c.o rofi.p/config_config.c.o rofi.p/source_theme.c.o rofi.p/source_helper.c.o rofi.p/source_xrmoptions.c.o rofi.p/source_rofi-types.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/yrlf/.cache/yay/rofi-git/src=/usr/src/debug -flto -Wl,--start-group subprojects/libgwater/xcb/liblibgwater-xcb.a subprojects/libnkutils/libnkutils.a subprojects/libnkutils/libnkutils-bindings.a /usr/lib/libglib-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libcairo.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libxkbcommon.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libxcb.so /usr/lib/libxcb-util.so /usr/lib/libxcb-xkb.so /usr/lib/libxkbcommon-x11.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-cursor.so /usr/lib/libxcb-xinerama.so /usr/lib/libxcb-render.so /usr/lib/libstartup-notification-1.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libgif.so -Wl,--end-group
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/cct28Tma.ltrans0.ltrans.o: in function `rofi_theme_get_image':
<artificial>:(.text+0x44e5): undefined reference to `rofi_icon_fetcher_query'
/usr/bin/ld: <artificial>:(.text+0x44f3): undefined reference to `rofi_icon_fetcher_get'
collect2: error: ld returned 1 exit status
[88/106] Linking target scrollbar.test
FAILED: scrollbar.test 
cc  -o scrollbar.test scrollbar.test.p/meson-generated_theme-parser.c.o scrollbar.test.p/meson-generated_theme-lexer.c.o scrollbar.test.p/test_scrollbar-test.c.o rofi.p/source_widgets_widget.c.o rofi.p/source_widgets_scrollbar.c.o rofi.p/source_theme.c.o rofi.p/source_rofi-types.c.o rofi.p/source_css-colors.c.o rofi.p/config_config.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/yrlf/.cache/yay/rofi-git/src=/usr/src/debug -flto -Wl,--start-group subprojects/libgwater/xcb/liblibgwater-xcb.a subprojects/libnkutils/libnkutils.a subprojects/libnkutils/libnkutils-bindings.a /usr/lib/libglib-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libcairo.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libxkbcommon.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libxcb.so /usr/lib/libxcb-util.so /usr/lib/libxcb-xkb.so /usr/lib/libxkbcommon-x11.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-cursor.so /usr/lib/libxcb-xinerama.so /usr/lib/libxcb-render.so /usr/lib/libstartup-notification-1.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libgif.so -Wl,--end-group
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/cce7zDDP.ltrans0.ltrans.o: in function `rofi_theme_get_image':
<artificial>:(.text+0x8445): undefined reference to `rofi_icon_fetcher_query'
/usr/bin/ld: <artificial>:(.text+0x8453): undefined reference to `rofi_icon_fetcher_get'
collect2: error: ld returned 1 exit status
[89/106] Linking target box.test
FAILED: box.test 
cc  -o box.test box.test.p/meson-generated_theme-parser.c.o box.test.p/meson-generated_theme-lexer.c.o box.test.p/test_box-test.c.o rofi.p/source_widgets_widget.c.o rofi.p/source_widgets_box.c.o rofi.p/source_theme.c.o rofi.p/source_rofi-types.c.o rofi.p/source_css-colors.c.o rofi.p/config_config.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/yrlf/.cache/yay/rofi-git/src=/usr/src/debug -flto -Wl,--start-group subprojects/libgwater/xcb/liblibgwater-xcb.a subprojects/libnkutils/libnkutils.a subprojects/libnkutils/libnkutils-bindings.a /usr/lib/libglib-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libcairo.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libxkbcommon.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libxcb.so /usr/lib/libxcb-util.so /usr/lib/libxcb-xkb.so /usr/lib/libxkbcommon-x11.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-cursor.so /usr/lib/libxcb-xinerama.so /usr/lib/libxcb-render.so /usr/lib/libstartup-notification-1.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libgif.so -Wl,--end-group
/usr/src/debug/rofi/include/widgets/textbox.h:253:8: warning: type of ‘textbox_get_estimated_char_height’ does not match original declaration [-Wlto-type-mismatch]
../rofi/test/box-test.c:89:5: note: return value type mismatch
   89 | int textbox_get_estimated_char_height ( void )
      |     ^
../rofi/test/box-test.c:89:5: note: type ‘int’ should match type ‘double’
../rofi/test/box-test.c:89:5: note: ‘textbox_get_estimated_char_height’ was previously declared here
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccOwKPAR.ltrans0.ltrans.o: in function `rofi_theme_get_image':
<artificial>:(.text+0xb055): undefined reference to `rofi_icon_fetcher_query'
/usr/bin/ld: <artificial>:(.text+0xb063): undefined reference to `rofi_icon_fetcher_get'
collect2: error: ld returned 1 exit status
[90/106] Linking target widget.test
FAILED: widget.test 
cc  -o widget.test widget.test.p/meson-generated_theme-parser.c.o widget.test.p/meson-generated_theme-lexer.c.o widget.test.p/test_widget-test.c.o rofi.p/source_widgets_widget.c.o rofi.p/source_widgets_textbox.c.o rofi.p/source_theme.c.o rofi.p/source_rofi-types.c.o rofi.p/source_css-colors.c.o rofi.p/source_helper.c.o rofi.p/config_config.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/yrlf/.cache/yay/rofi-git/src=/usr/src/debug -flto -Wl,--start-group subprojects/libgwater/xcb/liblibgwater-xcb.a subprojects/libnkutils/libnkutils.a subprojects/libnkutils/libnkutils-bindings.a /usr/lib/libglib-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libcairo.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libxkbcommon.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libxcb.so /usr/lib/libxcb-util.so /usr/lib/libxcb-xkb.so /usr/lib/libxkbcommon-x11.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-cursor.so /usr/lib/libxcb-xinerama.so /usr/lib/libxcb-render.so /usr/lib/libstartup-notification-1.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libgif.so -Wl,--end-group
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccRY4gR3.ltrans1.ltrans.o: in function `rofi_theme_get_image':
<artificial>:(.text+0x1465): undefined reference to `rofi_icon_fetcher_query'
/usr/bin/ld: <artificial>:(.text+0x1473): undefined reference to `rofi_icon_fetcher_get'
collect2: error: ld returned 1 exit status
[91/106] Linking target textbox.test
FAILED: textbox.test 
cc  -o textbox.test textbox.test.p/meson-generated_theme-parser.c.o textbox.test.p/meson-generated_theme-lexer.c.o textbox.test.p/test_textbox-test.c.o rofi.p/source_widgets_widget.c.o rofi.p/source_widgets_textbox.c.o rofi.p/source_theme.c.o rofi.p/source_rofi-types.c.o rofi.p/source_css-colors.c.o rofi.p/source_helper.c.o rofi.p/config_config.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -fvar-tracking-assignments -fdebug-prefix-map=/home/yrlf/.cache/yay/rofi-git/src=/usr/src/debug -flto -Wl,--start-group subprojects/libgwater/xcb/liblibgwater-xcb.a subprojects/libnkutils/libnkutils.a subprojects/libnkutils/libnkutils-bindings.a /usr/lib/libglib-2.0.so -Wl,--export-dynamic /usr/lib/libgmodule-2.0.so -pthread /usr/lib/libcairo.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libxkbcommon.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libxcb.so /usr/lib/libxcb-util.so /usr/lib/libxcb-xkb.so /usr/lib/libxkbcommon-x11.so /usr/lib/libxcb-ewmh.so /usr/lib/libxcb-icccm.so /usr/lib/libxcb-randr.so /usr/lib/libxcb-cursor.so /usr/lib/libxcb-xinerama.so /usr/lib/libxcb-render.so /usr/lib/libstartup-notification-1.so /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib/libgif.so -Wl,--end-group
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccYG7fkZ.ltrans0.ltrans.o: in function `rofi_theme_get_image':
<artificial>:(.text+0x8a05): undefined reference to `rofi_icon_fetcher_query'
/usr/bin/ld: <artificial>:(.text+0x8a13): undefined reference to `rofi_icon_fetcher_get'
collect2: error: ld returned 1 exit status
[92/106] Linking target rofi
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

0x647262 commented on 2020-04-25 23:13 (UTC)

Tracking the build issue upstream: https://github.com/davatorium/rofi/issues/1106

gardotd426 commented on 2020-04-25 22:59 (UTC)

Newest update is failing to build:


Found ninja-1.10.0 at /usr/bin/ninja
==> Starting pkgver()...
==> Sources are ready.
==> Making package: rofi-git 1.5.4.r102.g151547a9-1 (Sat 25 Apr 2020 06:57:55 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
ninja: Entering directory `build'
[9/105] Generating source from 'lexer/theme-parser.y'.
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
[10/105] Generating source from 'lexer/theme-parser.y'.
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
[11/105] Generating source from 'lexer/theme-parser.y'.
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
[12/105] Generating source from 'lexer/theme-parser.y'.
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
[13/105] Generating source from 'lexer/theme-parser.y'.
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
[15/105] Generating source from 'lexer/theme-parser.y'.
../rofi/lexer/theme-parser.y: warning: 1 shift/reduce conflict [-Wconflicts-sr]
[57/105] Compiling C object 'rofi@exe/source_helper.c.o'
../rofi/source/helper.c: In function ‘cairo_image_surface_create_from_svg’:
../rofi/source/helper.c:1116:9: warning: ‘rsvg_handle_close’ is deprecated: Use 'rsvg_handle_read_stream_sync' instead [-Wdeprecated-declarations]
 1116 |         rsvg_handle_close ( handle, &error );
      |         ^~~~~~~~~~~~~~~~~
In file included from ../rofi/source/helper.c:50:
/usr/include/librsvg-2.0/librsvg/rsvg.h:192:14: note: declared here
  192 | gboolean     rsvg_handle_close  (RsvgHandle handle, GError *error);
      |              ^~~~~~~~~~~~~~~~~
[78/105] Compiling C object 'theme_parser.test@exe/test_theme-parser-test.c.o'
FAILED: theme_parser.test@exe/test_theme-parser-test.c.o
ccache cc -Itheme_parser.test@exe -I. -I../rofi -Isubprojects/libgwater/xcb -I../rofi/subprojects/libgwater/xcb -Isubprojects/libnkutils -I../rofi/subprojects/libnkutils -I../rofi/subprojects/libnkutils/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/startup-notification-1.0 -I/tmp/makepkg/rofi-git/src/build -I/tmp/makepkg/rofi-git/src/rofi/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -Wparentheses -Winline -Wunreachable-code -Werror=missing-prototypes -Wno-inline -pthread -MD -MQ 'theme_parser.test@exe/test_theme-parser-test.c.o' -MF 'theme_parser.test@exe/test_theme-parser-test.c.o.d' -o 'theme_parser.test@exe/test_theme-parser-test.c.o' -c ../rofi/test/theme-parser-test.c
../rofi/test/theme-parser-test.c: In function ‘test_properties_distance_em_fn’:
../rofi/test/theme-parser-test.c:242:22: warning: missing braces around initializer [-Wmissing-braces]
  242 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_PX, ROFI_HL_SOLID};
      |                      ^
      |                                      {                           }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:245:31: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  245 |     ck_assert_int_eq (  p.left.distance , 10 );
      |                               ^
../rofi/test/theme-parser-test.c:246:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  246 |     ck_assert_int_eq(  p.left.type , ROFI_PU_EM );
      |                              ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_distance_em_linestyle_fn’:
../rofi/test/theme-parser-test.c:258:22: warning: missing braces around initializer [-Wmissing-braces]
  258 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_PX, ROFI_HL_SOLID};
      |                      ^
      |                                      {                           }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:261:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  261 |     ck_assert_double_eq_tol (  p.left.distance , 1.3 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:262:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  262 |     ck_assert_int_eq(  p.left.type , ROFI_PU_EM );
      |                              ^
../rofi/test/theme-parser-test.c:266:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  266 |     ck_assert_double_eq_tol (  p.left.distance , 1.5 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:267:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  267 |     ck_assert_int_eq(  p.left.type , ROFI_PU_EM );
      |                              ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_distance_px_fn’:
../rofi/test/theme-parser-test.c:278:22: warning: missing braces around initializer [-Wmissing-braces]
  278 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_EM, ROFI_HL_DASH};
      |                      ^
      |                                      {                          }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:281:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  281 |     ck_assert_double_eq_tol (  p.left.distance , 10.0 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:282:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  282 |     ck_assert_int_eq(  p.left.type , ROFI_PU_PX );
      |                              ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_distance_px_linestyle_fn’:
../rofi/test/theme-parser-test.c:293:22: warning: missing braces around initializer [-Wmissing-braces]
  293 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_EM, ROFI_HL_DASH};
      |                      ^
      |                                      {                          }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:296:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  296 |     ck_assert_double_eq_tol (  p.left.distance , 10.0 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:297:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  297 |     ck_assert_int_eq(  p.left.type , ROFI_PU_PX );
      |                              ^
../rofi/test/theme-parser-test.c:300:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  300 |     ck_assert_double_eq_tol (  p.left.distance , 14.0 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:301:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  301 |     ck_assert_int_eq(  p.left.type , ROFI_PU_PX );
      |                              ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_distance_percent_fn’:
../rofi/test/theme-parser-test.c:312:22: warning: missing braces around initializer [-Wmissing-braces]
  312 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_EM, ROFI_HL_DASH};
      |                      ^
      |                                      {                          }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:315:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  315 |     ck_assert_double_eq_tol (  p.left.distance , 10.0 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:316:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  316 |     ck_assert_int_eq(  p.left.type , ROFI_PU_PERCENT);
      |                              ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_distance_percent_linestyle_fn’:
../rofi/test/theme-parser-test.c:327:22: warning: missing braces around initializer [-Wmissing-braces]
  327 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_EM, ROFI_HL_DASH};
      |                      ^
      |                                      {                          }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:330:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  330 |     ck_assert_double_eq_tol (  p.left.distance , 10.0 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:331:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  331 |     ck_assert_int_eq(  p.left.type , ROFI_PU_PERCENT);
      |                              ^
../rofi/test/theme-parser-test.c:334:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  334 |     ck_assert_double_eq_tol (  p.left.distance , 10 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:335:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  335 |     ck_assert_int_eq(  p.left.type , ROFI_PU_PERCENT);
      |                              ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_padding_2_fn’:
../rofi/test/theme-parser-test.c:981:22: warning: missing braces around initializer [-Wmissing-braces]
  981 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_PX, ROFI_HL_SOLID};
      |                      ^
      |                                      {                           }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:984:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  984 |     ck_assert_double_eq_tol (  p.left.distance , 20, REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:985:31: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  985 |     ck_assert_int_eq (  p.left.type , ROFI_PU_PX );
      |                               ^
../rofi/test/theme-parser-test.c:986:39: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  986 |     ck_assert_double_eq_tol (  p.right.distance , 20, REAL_COMPARE_DELTA  );
      |                                       ^
../rofi/test/theme-parser-test.c:987:32: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  987 |     ck_assert_int_eq (  p.right.type , ROFI_PU_PX );
      |                                ^
../rofi/test/theme-parser-test.c:988:37: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  988 |     ck_assert_double_eq_tol (  p.top.distance , 10, REAL_COMPARE_DELTA);
      |                                     ^
../rofi/test/theme-parser-test.c:989:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  989 |     ck_assert_int_eq (  p.top.type , ROFI_PU_PX );
      |                              ^
../rofi/test/theme-parser-test.c:990:40: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
  990 |     ck_assert_double_eq_tol (  p.bottom.distance , 10, REAL_COMPARE_DELTA );
      |                                        ^
../rofi/test/theme-parser-test.c:991:33: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
  991 |     ck_assert_int_eq (  p.bottom.type , ROFI_PU_PX );
      |                                 ^
../rofi/test/theme-parser-test.c:983:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
  983 |     RofiPadding p = rofi_theme_get_padding ( &wid, "test", pi);
      |                 ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_padding_3_fn’:
../rofi/test/theme-parser-test.c:1001:22: warning: missing braces around initializer [-Wmissing-braces]
 1001 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_PX, ROFI_HL_SOLID};
      |                      ^
      |                                      {                           }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:1004:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1004 |     ck_assert_double_eq_tol (  p.left.distance , 30, REAL_COMPARE_DELTA);
      |                                      ^
../rofi/test/theme-parser-test.c:1005:31: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1005 |     ck_assert_int_eq (  p.left.type , ROFI_PU_PX );
      |                               ^
../rofi/test/theme-parser-test.c:1006:39: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1006 |     ck_assert_double_eq_tol (  p.right.distance , 30, REAL_COMPARE_DELTA );
      |                                       ^
../rofi/test/theme-parser-test.c:1007:32: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1007 |     ck_assert_int_eq (  p.right.type , ROFI_PU_PX );
      |                                ^
../rofi/test/theme-parser-test.c:1008:37: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1008 |     ck_assert_double_eq_tol (  p.top.distance , 10, REAL_COMPARE_DELTA );
      |                                     ^
../rofi/test/theme-parser-test.c:1009:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1009 |     ck_assert_int_eq (  p.top.type , ROFI_PU_PX );
      |                              ^
../rofi/test/theme-parser-test.c:1010:40: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1010 |     ck_assert_double_eq_tol (  p.bottom.distance , 20, REAL_COMPARE_DELTA );
      |                                        ^
../rofi/test/theme-parser-test.c:1011:33: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1011 |     ck_assert_int_eq (  p.bottom.type , ROFI_PU_PX );
      |                                 ^
../rofi/test/theme-parser-test.c:1003:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
 1003 |     RofiPadding p = rofi_theme_get_padding ( &wid, "test", pi);
      |                 ^
../rofi/test/theme-parser-test.c: In function ‘test_properties_padding_4_fn’:
../rofi/test/theme-parser-test.c:1021:22: warning: missing braces around initializer [-Wmissing-braces]
 1021 |     RofiDistance d = (RofiDistance){ 1, ROFI_PU_PX, ROFI_HL_SOLID};
      |                      ^
      |                                      {                           }
In file included from ../rofi/test/theme-parser-test.c:46:
../rofi/test/theme-parser-test.c:1024:38: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1024 |     ck_assert_double_eq_tol (  p.left.distance , 40 , REAL_COMPARE_DELTA );
      |                                      ^
../rofi/test/theme-parser-test.c:1025:31: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1025 |     ck_assert_int_eq (  p.left.type , ROFI_PU_PX );
      |                               ^
../rofi/test/theme-parser-test.c:1026:39: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1026 |     ck_assert_double_eq_tol (  p.right.distance , 30 , REAL_COMPARE_DELTA );
      |                                       ^
../rofi/test/theme-parser-test.c:1027:32: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1027 |     ck_assert_int_eq (  p.right.type , ROFI_PU_PX );
      |                                ^
../rofi/test/theme-parser-test.c:1028:37: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1028 |     ck_assert_double_eq_tol (  p.top.distance , 10 , REAL_COMPARE_DELTA );
      |                                     ^
../rofi/test/theme-parser-test.c:1029:30: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1029 |     ck_assert_int_eq (  p.top.type , ROFI_PU_PX );
      |                              ^
../rofi/test/theme-parser-test.c:1030:40: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘distance’
 1030 |     ck_assert_double_eq_tol (  p.bottom.distance , 20 , REAL_COMPARE_DELTA );
      |                                        ^
../rofi/test/theme-parser-test.c:1031:33: error: ‘RofiDistance’ {aka ‘struct <anonymous>’} has no member named ‘type’
 1031 |     ck_assert_int_eq (  p.bottom.type , ROFI_PU_PX );
      |                                 ^
../rofi/test/theme-parser-test.c:1023:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
 1023 |     RofiPadding p = rofi_theme_get_padding ( &wid, "test", pi);
      |                 ^
[91/105] Compiling C object 'theme_parser.test@exe/meson-generated_theme-parser.c.o'
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: rofi-git

hughw94 commented on 2020-02-17 19:19 (UTC)

@gregf, I have libjpeg-turbo (which I think provides libjpeg) and the build still fails. Have you managed to get it running?