<tersono>
When creating a package with multiple variants, do dependencies that don't apply to all variants have to be handled specially? I see some core packages using dependencies that are conditional on the depending package being selected, e.g. hostapd-mbedtls has `DEPENDS+=+PACKAGE_hostapd-mbedtls:libmbedtls`. Why do the dependencies of the package matter if it's not selected?
f00b4r0 has quit [Remote host closed the connection]
f00b4r0 has joined #openwrt-devel
zer0def has joined #openwrt-devel
GNUmoon has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
GNUmoon has joined #openwrt-devel
<dhewg>
Ansuel: I didn't check if it's due to your recent initramfs commits, but CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4 is currently broken, the compressed output get written to stdout. appending " $(KERNEL_BUILD_DIR)/initrd$(2).cpio.lz4" to the lz4c command fixes it for me
eluks has quit [Remote host closed the connection]
<giaco>
how's the situation with openwrt/video feed? I tried adding it to my buildroot, I've been having warnings and errors since
Piraty_ has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
minimal has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
xes has joined #openwrt-devel
xes__ has quit [Ping timeout: 480 seconds]
goliath has quit [Quit: SIGSEGV]
n3ph has joined #openwrt-devel
Daanct12 has quit [Quit: WeeChat 4.6.3]
mrkiko has quit [Quit: leaving]
<sur5r>
Hrmpf, why is "make target/linux/refresh" reverting the change I just commited?
m4t has quit [Ping timeout: 480 seconds]
m4t has joined #openwrt-devel
Sawzall has joined #openwrt-devel
<sur5r>
Now it worked. After wiping build_dir, dl, etc... This is not the first time I encounter this. Is that how it's supposed to behave?
MAbeeTT has joined #openwrt-devel
Sawzallz has quit [Ping timeout: 480 seconds]
MAbeeTT5 has quit [Ping timeout: 480 seconds]
Sawzallz has joined #openwrt-devel
Sawzall has quit [Ping timeout: 480 seconds]
Sawzall has joined #openwrt-devel
Sawzallz has quit [Ping timeout: 480 seconds]
Sawzallz has joined #openwrt-devel
Sawzall has quit [Ping timeout: 480 seconds]
Sawzall has joined #openwrt-devel
Sawzallz has quit [Ping timeout: 480 seconds]
gromero__ has joined #openwrt-devel
gromero_ has quit [Ping timeout: 480 seconds]
<giaco>
I'm finding out that the auto-generated openwrt-cross.txt file for meson packages lacks a configuration that drives meson to grab pkg_config *.pc files from host system too instead of just the target one. Is this intenden behaviour? I'm building a package that has an optional meson dependency on SDL2, and it is saying that I have SDL2 available but that is present on host
<giaco>
system not target
<giaco>
find staging_dir -name '*sdl*.pc' : no results
<robimarko>
Its for cross-compilation, you obviously dont want anything from the host
zarzarzar has quit [Remote host closed the connection]
zarzarzar has joined #openwrt-devel
<giaco>
I see that PKG_CONFIG_LIBDIR is set in include/package.mk, but meson docs says that "Since 0.54.0 The pkg_config_libdir property may point to a list of path used internally by Meson to set the PKG_CONFIG_LIBDIR environment variable for pkg-config. This prevents pkg-config from searching cross dependencies in system directories."
n3ph has quit [Ping timeout: 480 seconds]
<giaco>
exactly
<giaco>
this is staging_dir/host/bin/pkg-config, which is a wrapper for the real one, but I don't see option to fix PKG_CONFIG_LIBDIR: https://termbin.com/5x7z
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
<sur5r>
robimarko: Sorry for taking so long to understand where I forgot the description.
lemoer has quit [Read error: Connection reset by peer]
aiyion has quit [Remote host closed the connection]
ptudor_ has quit [Read error: Connection reset by peer]
<robimarko>
sur5r: No worries
<robimarko>
I am just waiting on CI now
aiyion has joined #openwrt-devel
lemoer has joined #openwrt-devel
ptudor has joined #openwrt-devel
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
danitool has joined #openwrt-devel
Sawzallz has joined #openwrt-devel
<giaco>
I think I can confirm a toolchain issue for meson packages running meson's cmake module interally. It leaks host env include paths in target env. I have Guessed CMake target 'SDL2::SDL2'" ... 'INTERFACE_INCLUDE_DIRECTORIES': ['/usr/include/SDL2'] in logs
Sawzall has quit [Ping timeout: 480 seconds]
Sawzall has joined #openwrt-devel
Sawzallz has quit [Ping timeout: 480 seconds]
Sawzallz has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
Sawzall has quit [Ping timeout: 480 seconds]
Sawzall has joined #openwrt-devel
Sawzallz has quit [Ping timeout: 480 seconds]
n3ph has quit [Ping timeout: 480 seconds]
sorinello has quit [Ping timeout: 480 seconds]
hitech95 has quit [Ping timeout: 480 seconds]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]