weechat: build with all plugins support?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- build-system
Direzione di ricerca
The relevant file is the weechat package Makefile, where the PKG_BUILD_DEPENDS line and the per-plugin CMAKE_OPTIONS blocks for Lua, Perl, Ruby and Tcl live. Start by reproducing a minimal build with CONFIG_WEECHAT_LUA enabled and read the CMake error output to see which Lua library or include path is not found. Done means weechat-minimal builds with the Lua plugin on x86/64 and the Perl, Ruby and Tcl options are checked the same way.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Package Name
weechat
Maintainer
@BKPepe
OpenWrt Version
SNAPSHOT
OpenWrt Target/Subtarget
x86/64
Steps to Reproduce
Trying to compiling weechat minimal with all plugins enabled with this following changes :
diff -Naur a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@
CONFIG_WEECHAT_PERL \
CONFIG_WEECHAT_TCL
-PKG_BUILD_DEPENDS:=$(if $(CONFIG_WEECHAT_PYTHON),python3/host)
+PKG_BUILD_DEPENDS:=$(if $(CONFIG_WEECHAT_PYTHON),python3/host) $(if $(CONFIG_WEECHAT_PERL),perl/host) $(if $(CONFIG_WEECHAT_TCL),tcl/host)
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
@@ -44,7 +44,7 @@
+WEECHAT_ZSTD:libzstd \
+WEECHAT_CJSON:cJSON \
+WEECHAT_PYTHON:python3-light \
- +WEECHAT_LUA:liblua \
+ +WEECHAT_LUA:liblua5.4 \
+WEECHAT_RUBY:ruby \
+WEECHAT_PERL:perl \
+WEECHAT_TCL:tcl
@@ -138,6 +138,30 @@
-DPython_LIBRARY=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION).so
endif
+ifneq ($(CONFIG_WEECHAT_RUBY),)
+CMAKE_OPTIONS += \
+ -DRuby_EXECUTABLE=$(STAGING_DIR_HOSTPKG)/bin/ruby \
+ -DRuby_CONFIG_INCLUDE_DIR=$(STAGING_DIR)/usr/include/ruby-4.0/x86_64-linux-gnu \
+ -DRuby_INCLUDE_DIR=$(STAGING_DIR)/usr/include/ruby-4.0 \
+ -Druby_LIBRARY=$(STAGING_DIR)/usr/lib/libruby.so
+endif
+
+ifneq ($(CONFIG_WEECHAT_PERL),)
+include ../../lang/perl/perlver.mk
+CMAKE_OPTIONS += \
+ -DPerl_EXECUTABLE=$(STAGING_DIR_HOSTPKG)/usr/bin/perl \
+ -DPERL_INCLUDE_PATH=$(BUILD_DIR)/perl/perl-$(PERL_VERSION) \
+ -DPERL_LIBRARY=$(STAGING_DIR)/usr/lib/perl5/$(PERL_VERSION2)/CORE/libperl.so
+endif
+
+ifneq ($(CONFIG_WEECHAT_TCL),)
+CMAKE_OPTIONS += \
+ -DTCL_TCLSH=$(STAGING_DIR_HOSTPKG)/bin/tclsh \
+ -DTK_INCLUDE_PATH=$(STAGING_DIR)/usr/include \
+ -DTK_LIBRARY=$(STAGING_DIR)/usr/lib/libtcl.so
+endif
+
+
define Package/weechat-minimal/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/weechat-headless $(1)/usr/bin/weechat-headless
But whatever I have done, I cannot build with LUA enabled.
Also it's not possible to enable weechat-full if I have selected luci-app-weechat.
Actual Behaviour
Cannot build with lua 5.4 plugins
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
- Lingua principale
- Makefile
- Stelle
- 4.7k
- Fork
- 4k
- Merge medio
- 2g 2h
- PR unite (30g)
- 251
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openwrt/packages
-
vnstat2: missing keep.d-fileApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
rsyslog: missing keep.d-fileApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
openwrt/packages#31307 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
openwrt/packages#31306 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openwrt/packages
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
ivo-toby/mcp-openapi-server#113 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
podman-container-tools/skopeo#3041 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
excalidraw/excalidraw#12641 ·
I maintainer di solito rispondono entro 1 giorno