Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917133 - dev-libs/bemenu-9999: bemenu-run fails
Summary: dev-libs/bemenu-9999: bemenu-run fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 17:06 UTC by Manfred Knick
Modified: 2023-11-21 09:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2023-11-10 17:06:13 UTC
Successfully running a 2x2 Wayland / wlroots / dwl desktop for a long period
on an otherwise essentially "stable" system,
dev-libs/bemenu-9999 suddenly fails after a re-emerge.

Reproducible: Always

Steps to Reproduce:
1. Start dwl
2. <Alt>-p

Actual Results:  
no reaction

Expected Results:  
show bemenu selection bar

Calling bemenu-run from a command line:

. . . $ /usr/bin/bemenu-run

. . . wayland: mmap failed
. . . could not get next buffer

Re-emerging the tool-chain listed below succeeds without any errors at all,
but nevertheless fails expectations.

Cleanly re-emerge with only one singe thread grants no improvement.


Switching back to "~" dev-libs/bemenu-0.6.16:0   <-----      :-)
re-provides the expected behaviour.


# equery list  dev-libs/wayland gui-libs/egl-wayland dev-util/wayland-scanner gui-libs/wlroots x11-base/xwayland gui-apps/wlr-randr  gui-wm/dwl dev-libs/bemenu gui-apps/foot

[IP-] [  ] dev-libs/wayland-9999:0   <-----

[IP-] [  ] gui-libs/egl-wayland-1.1.12_p20230718:0
[IP-] [  ] dev-util/wayland-scanner-9999:0
[IP-] [  ] gui-libs/wlroots-9999:0/9999
[IP-] [  ] x11-base/xwayland-9999:0
[I-O] [  ] gui-apps/wlr-randr-9999:0
[IP-] [  ] gui-wm/dwl-9999-r1:0

[IP-] [  ] dev-libs/bemenu-0.6.16:0   <-----

[IP-] [  ] gui-apps/foot-1.16.2:0
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 17:10:29 UTC
You'll have to see if there were any recent upstream changes or what packages changed since you last emerged it.
Comment 2 Manfred Knick 2023-11-10 17:23:41 UTC
My suspect so far:

Nov 08, 2023

https://gitlab.freedesktop.org/wayland/wayland/-/commit/50ea9c5b1c08bac30be365dca05716a97ea65a92
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 17:29:59 UTC
Does reverting it help? I wouldn't expect it to but it's possible (I can't see the context easily on mobile).
Comment 4 Manfred Knick 2023-11-10 18:31:44 UTC
upstream: https://github.com/Cloudef/bemenu/issues/370
Comment 5 gentoo 2023-11-13 14:54:41 UTC
Ran into the same issue.
I reverted wayland and wayland-protocols back but still got the same error.

It seems bemenu commit c22cc64 is causing the issue.

Bemenu works again after rebuilding with commit eb92e7b.
Comment 6 Leonardo Hernández Hernández 2023-11-20 05:57:16 UTC
This is fixed by https://github.com/Cloudef/bemenu/pull/368
Comment 7 Manfred Knick 2023-11-21 09:26:10 UTC
https://github.com/Cloudef/bemenu/issues/370#issuecomment-1820531283

     #368: commit 62657f8 has been merged
     Just tested with
     [IP-] [ ] x11-drivers/nvidia-drivers-545.29.02:0/545
     [IP-] [ ] gui-libs/wlroots-9999:0/9999
     [IP-] [ ] x11-base/xwayland-9999:0
     [IP-] [ ] gui-wm/dwl-9999-r1:0
     [IP-] [ ] dev-libs/bemenu-9999:0

Closing.