@Migsi That's the same issue I had last week which made me accidentally add it to makedependencies. I think I have to find a better way to deal with it. I believe having to --rebuild is normal, but I want to understand if there is a better way to deal with it.
Search Criteria
Package Details: lemonade-server 10.6.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/lemonade-server.git (read-only, click to copy) |
|---|---|
| Package Base: | lemonade-server |
| Description: | Lemonade: Local LLM Serving with GPU and NPU acceleration (Server) |
| Upstream URL: | https://github.com/lemonade-sdk/lemonade/ |
| Licenses: | Apache-2.0 |
| Provides: | lemonade-server |
| Submitter: | luciddream |
| Maintainer: | luciddream (bitgamma) |
| Last Packager: | luciddream |
| Votes: | 11 |
| Popularity: | 4.29 |
| First Submitted: | 2025-11-15 12:59 (UTC) |
| Last Updated: | 2026-05-21 20:48 (UTC) |
Dependencies (12)
- libwebsockets
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cli11 (cli11-compiledAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- libdrm (libdrm-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-ninja-symlinkAUR) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- nodejs (nodejs-gitAUR, nodejs-lts-hydrogenAUR, python-nodejs-wheelAUR, nodejs-lts-iron, nodejs-lts-jod, nodejs-lts-krypton) (make)
- npm (npm-corepackAUR, python-nodejs-wheelAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR, openssl-aegisAUR) (make)
Required by (3)
- gaia-amd
- gaiaui-amd (optional)
- lemonade-desktop (optional)
Sources (3)
luciddream commented on 2026-04-12 18:17 (UTC)
Migsi commented on 2026-04-12 16:52 (UTC) (edited on 2026-04-12 17:00 (UTC) by Migsi)
With the latest update of libwebsockets at 2026-04-10 my install broke, as it is looking for the wrong version of the .so file. A plain reinstall won't trigger a rebuild, as the artifacts appear to remain cached.
EDIT: Overlooked the '--rebuild' flag. Fixed it as expected. Is there some way for AUR packages to auto rebuild on dependency updates?
HurricanePootis commented on 2026-04-08 22:54 (UTC)
@no4b they are needed for lemonade-server according to namcap. This package distributes multiple binaries, and not all of them need the same dependencies. However, the package should list all dependencies for all binaries (not examples).
lemonade-server W: Directory (var/lib/lemonade) is empty
lemonade-server W: File (etc/lemonade/conf.d/zz-secrets.conf) does not have the world readable bit set.
lemonade-server W: Referenced python module 'openai.AsyncOpenAI' is an uninstalled dependency (needed in files ['usr/share/lemonade-server/examples/api_text_to_speech.py', 'usr/share/lemonade-server/examples/realtime_transcription.py'])
lemonade-server W: Referenced python module 'openai.OpenAI' is an uninstalled dependency (needed in files ['usr/share/lemonade-server/examples/api_image_generation.py', 'usr/share/lemonade-server/examples/api_image_edits.py', 'usr/share/lemonade-server/examples/api_image_variations.py'])
lemonade-server W: Referenced python module 'openai.helpers.LocalAudioPlayer' is an uninstalled dependency (needed in files ['usr/share/lemonade-server/examples/api_text_to_speech.py'])
lemonade-server W: Referenced python module 'pyaudio' is an uninstalled dependency (needed in files ['usr/share/lemonade-server/examples/realtime_transcription.py'])
lemonade-server E: Dependency python-pillow detected and not included (python modules ['PIL.ImageDraw', 'PIL.Image'] needed in files ['usr/share/lemonade-server/examples/api_image_edits.py', 'usr/share/lemonade-server/examples/api_image_variations.py'])
lemonade-server E: Dependency python detected and not included (python modules ['asyncio', 'ctypes', 'sys', 'pathlib.Path', 'struct', 'io.BytesIO', 'base64', 'argparse', 'json', 'os', 'urllib.request'] needed in files ['usr/share/lemonade-server/examples/api_image_edits.py', 'usr/share/lemonade-server/examples/api_text_to_speech.py', 'usr/share/lemonade-server/examples/api_image_variations.py', 'usr/share/lemonade-server/examples/api_image_generation.py', 'usr/share/lemonade-server/examples/realtime_transcription.py'])
lemonade-server E: Dependency libnotify detected and not included (libraries ['usr/lib/libnotify.so.4'] needed in files ['usr/bin/lemonade-tray'])
lemonade-server E: Dependency brotli detected and not included (libraries ['usr/lib/libbrotlidec.so.1', 'usr/lib/libbrotlienc.so.1'] needed in files ['usr/bin/lemonade-tray', 'usr/bin/lemonade', 'usr/bin/lemonade-server', 'usr/bin/lemond'])
lemonade-server E: Dependency curl detected and not included (libraries ['usr/lib/libcurl.so.4'] needed in files ['usr/bin/lemond', 'usr/bin/lemonade'])
lemonade-server E: Dependency python-requests detected and not included (python modules ['requests'] needed in files ['usr/share/lemonade-server/examples/api_image_edits.py', 'usr/share/lemonade-server/examples/api_image_variations.py'])
lemonade-server E: Dependency libayatana-appindicator detected and not included (libraries ['usr/lib/libayatana-appindicator3.so.1'] needed in files ['usr/bin/lemonade-tray'])
lemonade-server E: Dependency python-websockets detected and not included (python modules ['websockets'] needed in files ['usr/share/lemonade-server/examples/realtime_transcription.py'])
lemonade-server E: Dependency gtk3 detected and not included (libraries ['usr/lib/libgtk-3.so.0'] needed in files ['usr/bin/lemonade-tray'])
lemonade-server W: Dependency systemd-libs detected and implicitly satisfied (libraries ['usr/lib/libsystemd.so.0'] needed in files ['usr/bin/lemond'])
lemonade-server W: Dependency zlib detected and implicitly satisfied (libraries ['usr/lib/libz.so.1'] needed in files ['usr/bin/lemonade-tray', 'usr/bin/lemonade-server', 'usr/bin/lemond', 'usr/bin/lemonade'])
lemonade-server W: Dependency glibc detected and implicitly satisfied (libraries ['usr/lib/libm.so.6', 'usr/lib/libc.so.6'] needed in files ['usr/bin/lemonade-tray', 'usr/bin/lemonade', 'usr/bin/lemonade-server', 'usr/bin/lemond'])
lemonade-server W: Dependency libgcc detected and implicitly satisfied (libraries ['usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/lemonade-tray', 'usr/bin/lemonade-server', 'usr/bin/lemond', 'usr/bin/lemonade'])
lemonade-server W: Dependency bash detected and implicitly satisfied (programs ['bash'] needed in scripts ['usr/share/lemonade-server/examples/migrate-to-systemd.sh', 'usr/bin/lemonade-web-app'])
lemonade-server W: Dependency glib2 detected and implicitly satisfied (libraries ['usr/lib/libgobject-2.0.so.0', 'usr/lib/libglib-2.0.so.0'] needed in files ['usr/bin/lemonade-tray'])
lemonade-server W: Dependency libstdc++ detected and implicitly satisfied (libraries ['usr/lib/libstdc++.so.6'] needed in files ['usr/bin/lemonade-tray', 'usr/bin/lemonade-server', 'usr/bin/lemond', 'usr/bin/lemonade'])
lemonade-server W: Dependency libcap detected and implicitly satisfied (libraries ['usr/lib/libcap.so.2'] needed in files ['usr/bin/lemond'])
lemonade-server W: Dependency included, but may not be needed ('unzip')
no4b commented on 2026-04-08 22:08 (UTC)
@HurricanePootis: Most of dependencies you mentioned are not needed for lemonade-server. They might be necessary for lemonade-desktop but definitely not all of them. I don't have libnotify and libayatana-appindicator installed and both lemonade-server and lemonade-desktop work just fine for me.
HurricanePootis commented on 2026-04-08 21:26 (UTC)
@luciddream
I'm actually using lemonade on strix point with a Ryzen AI 7 350 and it works with the FastFlowLM backend.
Also, from one AUR maintainer to another, tools like namcap and extra-x86-64-build are really good tools to incorporate into your package tool set. Namcap is able to analyze built packages and check for stuff like missing dependencies, missing license files, missing LDFLAGS passed to the package, etc. extra-x86-64 is a wrapper around tools like makechrootpkg and mkarchroot.
luciddream commented on 2026-04-08 20:44 (UTC)
Hi @HurricanePootis, you are right about the libsockets library I accidentally put it in makedepends in the last release while testing something. I will check the other libraries you mentioned in the weekend when I will have more time.
The only problem with ninja is that since lemonade-server is being used for LLMs, and usually with a Strix Halo PC that has 32 threads, it could fill the memory quickly and result in a crash. I'm not sure it still has that issue because the code has been cleaned up a bit in the past weeks. I will also check if it's possible to remove it in the next release.
HurricanePootis commented on 2026-04-07 22:51 (UTC)
@luciddream,
Hi, this package is currently missing some dependencies from depends(): gtk3, brotli, libcap, libayatana-appindicator, libnotify, systemd-libs, libwebsockets, curl, glib2, libgcc, bash, glibc, libstdc++, and zlib. I confirmed this using the utility namcap.
There are also missing python dependencies, but those are for the example python scripts distributed with this project
diff --git a/PKGBUILD b/PKGBUILD
index b9b5336..004361b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,10 @@ pkgrel=1
arch=('x86_64')
url='https://github.com/lemonade-sdk/lemonade/'
license=('Apache-2.0')
-makedepends=('cmake' 'ninja' 'git' 'cli11' 'nlohmann-json' 'openssl' 'libdrm' 'nodejs' 'npm' 'libwebsockets')
-depends=('zstd' 'unzip')
+makedepends=('cmake' 'ninja' 'git' 'cli11' 'nlohmann-json' 'openssl' 'libdrm' 'nodejs' 'npm')
+depends=('zstd' 'unzip' 'gtk3' 'brotli' 'libcap' 'libayatana-appindicator' 'libnotify'
+ 'systemd-libs' 'libwebsockets' 'curl' 'glib2' 'libgcc' 'bash' 'glibc' 'libstdc++'
+ 'zlib')
provides=('lemonade-server')
backup=('etc/lemonade/conf.d/zz-secrets.conf')
_httplibver=0.41.0
Also, I personally disagree overriding how many flags are used to compile software with the nproc thing. I know ninja doesn't read MAKEFLAGS, but if it exist, maybe consider parsing it and respecting the user's chosen number of jobs in `/etc/makepkg.conf
luciddream commented on 2026-04-06 21:57 (UTC)
I pushed the latest 10.1.0 version. It has a lot of changes. One of those changes is the default port is now 13305 instead of 8000. The configuration is also in a different path (as described in the pinned comment)
luciddream commented on 2026-03-25 08:56 (UTC)
Oops, forgot to commit the tmpfiles change. My bad. thanks for reporting @That1Calculator, can you please try again
That1Calculator commented on 2026-03-24 23:44 (UTC)
==> Validating source files with sha256sums...
lemonade-server-10.0.1.tar.gz ... Passed
httplib-0.39.0.tar.gz ... Passed
sysusers.conf ... Passed
tmpfiles.conf ... FAILED
==> ERROR: One or more files did not pass the validity check!
Pinned Comments
luciddream commented on 2025-12-16 20:53 (UTC) (edited on 2026-05-08 17:33 (UTC) by luciddream)
lemonade-serverhas a systemd service unit. Usesystemctl start lemondto start.Default configuration is available at
/usr/share/lemonade/defaults.jsonand should be placed at:/var/lib/lemonade/.cache/lemonade/config.jsonAlso
/etc/lemonade/conf.d/zz-secrets.conffor the Lemonade API KEY.The cache where all models, backends, and other files are stored is now in
/var/lib/lemonade/.cacheGUI: lemonade-desktop.