danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
minimal has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
<hgl> dwfreed: thanks for the explanation, that was what I thought, but I tried this example and the whole recipe was on a single line: https://pastebin.com/ZehCXaRJ
<hgl> in my case the output was "foo echo bar echo baz", i used the latest gnu make 4.4.1
<hgl> should I use some dot target or set some flags to make it work?
<dwfreed> what if you used $(call $(a))
<dwfreed> the examples I've seen all used that
<hgl> doesn't seem to make a difference...
<hgl> and "$(if $(sep),echo true,echo false)" gives false
<hgl> I'm trying to do something similar for a package's Makefile I'm changing. so I'm wondering how openwrt does it
<hgl> I tried swapping $(sep) with $(newline), and it actually made the Makefile invalid, because foreach joins items with space, that made the following recipe lines start with a space...
<dwfreed> idk
<dwfreed> it's honestly got to be doing something, or things would not actually work right (eg, autotools.mk uses hooks, and that would not work right otherwise)
<dwfreed> make is pretty twisted sometimes
<hgl> yeah, it's a miracle that openwrt made the whole thing work :)
<dwfreed> perhaps the blame from the sep addition explains it
<dwfreed> note it moved files about 15 years ago
<hgl> yeah, i saw that too, moved from package to rules, but still couldn't figure out how it was made to work
<dwfreed> there's probably an eval in there somewhere doing some serious heavy lifting
bluew has quit [Ping timeout: 480 seconds]
<dwfreed> that's exactly it
<dwfreed> put your all in a function, and wrap it with eval
<dwfreed> curiously, it does have to be exactly like that ^
<hgl> wow, that's some black magic
<hgl> still trying to understand how it works
<dwfreed> at that point, though, I'm not sure it's the $(sep) doing any work
<dwfreed> idk
<dwfreed> it's magic
<hgl> oh you're correct, that's because the newline before and after the line
<hgl> removing the sep also works
<dwfreed> I wonder if that's what sep is supposed to do, but doesn't actually
nixuser has quit [Ping timeout: 480 seconds]
<hgl> dwfreed: from my testing of the vanilla makefile, it really seems to be the empty string
<dwfreed> yeah, I noticed download was the only one using it
<dwfreed> yeah
<dwfreed> wonder what the -p looks like in openwrt
<hgl> dwfreed: but the hooks themselves in openwrt are ended with semicolon: https://github.com/openwrt/openwrt/blob/2c530fcb972c112e7a2b10f9c21ac6d276624b5e/include/autotools.mk#L66
<hgl> so if sep is the empty string, they do still work
valku has quit [Quit: valku]
Danct12 has joined #openwrt-devel
rua has quit [Quit: Leaving.]
Danct12 has quit [Quit: WeeChat 3.8]
Danct12 has joined #openwrt-devel
Danct12 is now known as Guest12480
Danct12 has joined #openwrt-devel
Guest12480 has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
Danct12 is now known as Guest12482
Danct12 has joined #openwrt-devel
Guest12482 has quit [Ping timeout: 480 seconds]
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
Danct12 is now known as Guest12484
Danct12 has joined #openwrt-devel
Guest12484 has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
nixuser has joined #openwrt-devel
rua has quit [Remote host closed the connection]
nixuser has quit [Ping timeout: 480 seconds]
<dwfreed> hgl: yes, but the @ at the start of patch_libtool is 100% going to break if you combine gettext-version and patch-libtool in the same run
<dwfreed> hgl: and set_libtool_abiver does not end in a semicolon
<dwfreed> (but that's the only post configure hook in autotools.mk)
rua has joined #openwrt-devel
<hgl> i guess i'll wait on jow or nbd to give some pointers, at this point it really feels like magic 😂
tidalf has quit [Remote host closed the connection]
<hgl> Ansuel: maybe I missed something, but now that official modules are dynamic too, which "install" clause installs these so files?
tidalf has joined #openwrt-devel
tidalf_ has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
srslypascal has quit [Quit: Leaving]
<hgl> oh nvm, the only official dynamic module is stream, and it's copied
MaxSoniX has joined #openwrt-devel
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]
digitalcircuit has joined #openwrt-devel
Borromini has joined #openwrt-devel
Tapper has joined #openwrt-devel
<owrt-2102-builds> Build [#68](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/42/builds/68) of `zynq/generic` completed successfully.
<oliv3r[m]> I know this is my fault, I don't know how/why/where though: Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: i2cdev_ioctl_smbus I'm dumping the results from my function calls, but everything seems fine; what causes this? where can I find my fault? (trigger is i2cget, where byte access works fine, but doing word access pukes)
<hgl> Ansuel: I have sent my refactor PR: https://github.com/openwrt/packages/pull/20902
danitool has joined #openwrt-devel
floof58 is now known as Guest12498
floof58 has joined #openwrt-devel
<hgl> nbd: do you happen to know the difference between empty and sep in rules.mk? In my testing they're exactly the same, an empty string.
<nbd> hgl: empty is primarily used to define space, which contains a whitespace. sep should contain a newline
<nbd> which is useful for templates that define commands
Guest12498 has quit [Ping timeout: 480 seconds]
<hgl> nbd: since there is only a single line between define and endef, sep seems to contain nothing. newline, since there are two lines, contains a new line, if I'm not wrong
<nbd> hmm... not sure
<nbd> need to look into this again, but don't have time for it at the moment
<nbd> i'm heading out in a few minutes
<hgl> ok, thanks, no worries
<hgl> I'm trying to change a package's Makefile, could use a trick like sep to use foreach in a recipe
<Borromini> nick[m]1234: I was wondering if an umdns bump would be helpful (also since DAWN relies on it) after reading https://forum.openwrt.org/t/802-11k-neighbor-report-daemon/102984
Danct12 has quit [Quit: WeeChat 3.8]
<Borromini> (I hope this is your IRC nick since your forum handle is different)
<hgl> nbd: even if sep is a newline, I'm not sure it works in a recipe, because foreach joins items with a space, lines >=2 actually start with a space: https://pastebin.com/yDrNJRv8
<hgl> this gives "*** missing separator" error
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
rua has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
rua has joined #openwrt-devel
<nick[m]1234> Borromini: did not see that. Indeed it can be very helpful! I always wanted to support ipv6 also.
goliath has joined #openwrt-devel
tidalf_ has quit [Ping timeout: 480 seconds]
KGB-0 has quit [Quit: KGB-0]
KGB-0 has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
rua1 has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua1 has quit [Quit: Leaving.]
bluew has joined #openwrt-devel
djfe_ has joined #openwrt-devel
djfe has quit [Ping timeout: 480 seconds]
Tapper1 has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
cbeznea has joined #openwrt-devel
dangole has joined #openwrt-devel
nixuser has joined #openwrt-devel
tidalf_ has joined #openwrt-devel
Borromini has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
_0x4a6f_ has joined #openwrt-devel
_0x4a6f has quit [Read error: Connection reset by peer]
_0x4a6f_ is now known as _0x4a6f
tidalf has joined #openwrt-devel
tidalf_ has quit [Ping timeout: 480 seconds]
tidalf_ has joined #openwrt-devel
tidalf has quit [Ping timeout: 480 seconds]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf_ has quit [Ping timeout: 480 seconds]
robimarko has joined #openwrt-devel
tidalf_ has joined #openwrt-devel
xutaxkamay has quit [Ping timeout: 480 seconds]
tidalf has quit [Ping timeout: 480 seconds]
xutaxkamay has joined #openwrt-devel
rmb has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
tidalf has joined #openwrt-devel
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
tidalf_ has quit [Ping timeout: 480 seconds]
rmb has joined #openwrt-devel
Borromin1 has joined #openwrt-devel
ktifhfl6 has joined #openwrt-devel
tidalf_ has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
ktifhfl has quit [Ping timeout: 480 seconds]
ktifhfl6 is now known as ktifhfl
tidalf has quit [Ping timeout: 480 seconds]
valku has joined #openwrt-devel
Borromin1 has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf__ has joined #openwrt-devel
tidalf_ has quit [Ping timeout: 480 seconds]
tidalf has quit [Ping timeout: 480 seconds]
Lynx- has joined #openwrt-devel
tidalf__ has quit [Read error: Connection reset by peer]
tidalf has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
<Znevna> any thoughts on dealing with nmbm and ubi?
tidalf has joined #openwrt-devel
bluew has quit [Quit: Leaving]
Lechu has quit [Remote host closed the connection]
Borromini has joined #openwrt-devel
Lechu has joined #openwrt-devel
wvdakker has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
tidalf_ has joined #openwrt-devel
tidalf has quit [Read error: Connection reset by peer]
wvdakker has joined #openwrt-devel
minimal has quit [Quit: Leaving]
Borromini has quit [autokilled: Possible spambot. Mail support@oftc.net if you think this is in error. (2023-04-29 17:25:42)]
cbeznea has quit [Quit: Leaving.]
Lynx-- has joined #openwrt-devel
Lynx- is now known as Guest12535
Lynx-- is now known as Lynx-
Lynx-- has joined #openwrt-devel
Lynx- is now known as Guest12536
Lynx-- is now known as Lynx-
Guest12536 has quit [Read error: No route to host]
Guest12535 has quit [Ping timeout: 480 seconds]
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 99.9% packages reproducible in our current test framework.)
Lynx- has quit [Read error: No route to host]
MaxSoniX has quit [Quit: Konversation terminated!]
tidalf_ has quit [Ping timeout: 480 seconds]
tidalf has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
lmore377_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lmore377 has joined #openwrt-devel
tidalf has quit [Read error: Connection reset by peer]
tidalf has joined #openwrt-devel
tidalf has quit [Read error: Connection reset by peer]
tidalf has joined #openwrt-devel
tlj has joined #openwrt-devel
tidalf has quit [Read error: Connection reset by peer]
tidalf has joined #openwrt-devel
floof58 is now known as Guest12558
floof58 has joined #openwrt-devel
Guest12558 has quit [Read error: No route to host]
djfe_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
goliath has quit [Quit: SIGSEGV]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
goliath has joined #openwrt-devel