Acinonyx_ has joined #openwrt-devel
Acinonyx has quit [Read error: Connection reset by peer]
Acinonyx_ has quit [Ping timeout: 268 seconds]
Acinonyx has joined #openwrt-devel
hexa- has quit [Quit: WeeChat 2.9]
goliath has quit [Quit: SIGSEGV]
hexa- has joined #openwrt-devel
ephemer0l has quit [Ping timeout: 245 seconds]
Acinonyx has quit [Ping timeout: 240 seconds]
Acinonyx has joined #openwrt-devel
HeN has joined #openwrt-devel
Tost has quit [Ping timeout: 240 seconds]
<owrt-snap-builds> Build [#48](https://buildbot.openwrt.org/master/images/#builders/14/builds/48) of `bcm63xx/generic` failed.
rsalvaterra has quit [Ping timeout: 246 seconds]
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
lucenera has joined #openwrt-devel
lucenera has quit [Client Quit]
lucenera has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
ephemer0l has joined #openwrt-devel
valku has joined #openwrt-devel
hbug has joined #openwrt-devel
hbug___ has quit [Ping timeout: 240 seconds]
tobleminer-tSYS has quit [Quit: AS4242423214]
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 98.3% packages reproducible in our current test framework.)
tobleminer-tSYS has joined #openwrt-devel
kristrev has quit [Read error: Connection reset by peer]
kristrev has joined #openwrt-devel
victhor has quit [Ping timeout: 252 seconds]
bkallus has quit [Quit: Leaving]
swex has quit [Ping timeout: 265 seconds]
Strykar has quit [Quit: /quit]
Strykar has joined #openwrt-devel
rmilecki has joined #openwrt-devel
pine127 has quit [Ping timeout: 240 seconds]
pine127 has joined #openwrt-devel
<philipp64_> jow: is there anything weird about .init scripts and how config_get works, etc.? I have a global called CONFIG_FAIL=0 set at the top of the script... a helper function sets it to 1 if there are failures... but by the time the script returns back to start_service() from where it called config_foreach, the variable is zero'd again. like the scope where it had been set to 1 disappeared.
<philipp64_> See https://github.com/openwrt/packages/pull/15406/files for an example of what I'm doing...
nitroshift has joined #openwrt-devel
kontaxis has quit [Remote host closed the connection]
kontaxis has joined #openwrt-devel
valku has quit [Remote host closed the connection]
urjaman has quit [Ping timeout: 268 seconds]
Robby has quit [Ping timeout: 258 seconds]
urjaman has joined #openwrt-devel
Robby has joined #openwrt-devel
Acinonyx has quit [Ping timeout: 252 seconds]
Acinonyx has joined #openwrt-devel
urjaman has quit [Ping timeout: 240 seconds]
Tapper has joined #openwrt-devel
netprince_ has joined #openwrt-devel
netprince has quit [Ping timeout: 240 seconds]
black_ant has joined #openwrt-devel
black_ant has joined #openwrt-devel
black_ant has quit [Changing host]
MarioH has quit [Quit: ZNC 1.8.2 - https://znc.in]
MarioH has joined #openwrt-devel
zkrx has quit [Ping timeout: 240 seconds]
zkrx has joined #openwrt-devel
goliath has joined #openwrt-devel
Tost has joined #openwrt-devel
<owrt-snap-builds> Build [#47](https://buildbot.openwrt.org/master/images/#builders/17/builds/47) of `ramips/rt305x` completed successfully.
<jow> philipp64_: parse_esp_proposal() for example is only invoked once from a subshell `local esp_proposal="$(parse_esp_proposal "$1")"`
<jow> philipp64_: so whetever it (indirectly) exports will never end up in the global script scope
<jow> philipp64_: you should restructure these functions to return values through export
<jow> e.g. parse_esp_proposal esp_proposal "$1"
<jow> and within parse_esp_proposal():
<jow> local dest_variable=$1
<jow> local proposal=$2
<jow> ...
<jow> export -n "$dest_variable=whatever string value you want to return"
<jow> then you can use $esp_proposal outside the function
<jow> same for parse_ike_proposal
swex has joined #openwrt-devel
Tapper has quit [Ping timeout: 240 seconds]
ivanich has joined #openwrt-devel
<owrt-snap-builds> Build [#51](https://buildbot.openwrt.org/master/images/#builders/6/builds/51) of `lantiq/xway` completed successfully.
urjaman has joined #openwrt-devel
<owrt-snap-builds> Build [#56](https://buildbot.openwrt.org/master/images/#builders/2/builds/56) of `layerscape/armv7` completed successfully.
<rmilecki> stintel: what do we really need crypto-hw-ccp for?
<rmilecki> stintel: it seems to be some driver for two hisilicon SoCs
<stintel> rmilecki: it's used on AMD CPUs afaik
<rmilecki> stintel: does AMD has any ARM64 CPUs?
<rmilecki> oh, sec, I pointed a different Kconfig symbol
<rmilecki> let me recheck that
<stintel> rmilecki: that gist is from an APU2
Immanuel has quit [Ping timeout: 260 seconds]
<owrt-2102-builds> Build [#26](https://buildbot.openwrt.org/openwrt-21.02/images/#builders/13/builds/26) of `ramips/rt305x` failed.
Immanuel has joined #openwrt-devel
Tapper has joined #openwrt-devel
Tapper has quit [Ping timeout: 260 seconds]
Tapper has joined #openwrt-devel
Neighbor11111117 has quit [Ping timeout: 268 seconds]
csrf has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
csrf has joined #openwrt-devel
Tapper has quit [Ping timeout: 240 seconds]
Tapper has joined #openwrt-devel
Borromini has joined #openwrt-devel
<owrt-snap-builds> Build [#49](https://buildbot.openwrt.org/master/images/#builders/9/builds/49) of `lantiq/ase` failed.
<owrt-snap-builds> Build [#53](https://buildbot.openwrt.org/master/images/#builders/16/builds/53) of `ath79/mikrotik` failed.
<owrt-snap-builds> Build [#51](https://buildbot.openwrt.org/master/images/#builders/48/builds/51) of `bcm47xx/generic` failed.
<rmilecki> ynezz: i see some out of space issues with buildbot
<rmilecki> ynezz: i don't know if it's related, but we have problem with ath79 images for some device growing huge
<rmilecki> Re: firmware-utils: mkmylofw broken since 9. Apr 2021
<rmilecki> so that may be my fault, I'm not sure how to solve that properly yet
kristrev has quit [Read error: Connection reset by peer]
kristrev has joined #openwrt-devel
Tapper has quit [Ping timeout: 268 seconds]
victhor has joined #openwrt-devel
<owrt-snap-builds> Build [#49](https://buildbot.openwrt.org/master/images/#builders/14/builds/49) of `bcm63xx/generic` completed successfully.
<ynezz> aparcar[m]: can you check diskspace on sunshine builders?
<ynezz> rmilecki: revert? :p
<rmilecki> ynezz: i prefer fix
<ynezz> how is revert preventing you from fixing it properly?
<rmilecki> because my change is ok
<rmilecki> it should be there
<rmilecki> it exposed bug in another piece of code
<rmilecki> it also fixed warnings in 3 other files
<ynezz> ok, but do you realize, that every ath79 build now results in 176GB of disk usage
<ynezz> then this huge images are being transfered to downloads.openwrt.org
<ynezz> then likely mirrored to mirrors
<rmilecki> oh, it thought all ath79 generic will just fail
<ynezz> yep, seems so, there is fortunately timeout "command timed out: 1200 seconds without output running [b'make', b'-j8', b'target/install', b'V=s'], attempting to kill"
<ynezz> I would simply revert the offending commit and tried to fix it properly in the meantime
<ynezz> it's broken since April 8th
<rmilecki> you sure about that date?
<rmilecki> i pushed that on 9th
<ynezz> it takes some time to build all the targets
<ynezz> so the latest build can be found here https://downloads.openwrt.org/snapshots/targets/ath79/generic/
<rmilecki> ah, the latest success you mean
<ynezz> this was last successful build
<ynezz> BTW those firmware-utils should be probably factored out into separate Git repository and guarded by CI, otherwise it's going to bitrot after some time
<ynezz> we've started working on this with ldir some time ago https://git.openwrt.org/?p=openwrt/staging/ynezz.git;a=shortlog;h=refs/heads/wip/firmware-utils-fixes but as always got distracted :p
<ynezz> ideally having some unit tests in place first, so the good/working output is captured and we can assure, that the fixes doesn't produce regressions
<ynezz> a lot of work, I know :)
Xesxen_ is now known as Xesxen
<rmilecki> ynezz: testing a fix
<rmilecki> ynezz: wow, i didn't know about that work on firmware-utils you did
<jow> ynezz: I agree that firmware utils should be moved into a separate repo
sbrown has quit [Quit: Leaving]
<jow> ynezz: and maybe reconsider on a case-by-case basis if a given image util really needs to be implemented in C or if it can be done equally well in Python or so
Neighbor11111117 has joined #openwrt-devel
Immanuel_ has joined #openwrt-devel
Immanuel has quit [Ping timeout: 252 seconds]
Immanuel_ is now known as Immanuel
sbrown has joined #openwrt-devel
sbrown_ has joined #openwrt-devel
sbrown_ has quit [Client Quit]
<kristrev> Hi. I am trying to bring up an mt7622 and has managed to make some progress, but managed to get properly stuck and wondered if anyone can help
<kristrev> The board can boot from an sdcard, so I am currently basing my work off of Banana Pi (just to see if I can get something working). The kernel loads, but the root device can't be found
<kristrev> The list of available partitions is empty, which strikes me as a bit strange as uboot is able to see all the partitions on the sdcard
<kristrev> Are there any typical rookie mistakes anyone is aware of that could be the cause of my problem?
<Rene__> kristrev: Did you also look at the bananapi forum? http://forum.banana-pi.org/c/Banana-Pi-BPI-R2
<kristrev> Rene__: No, I will do that and see if anyone has encountered similar issues
<kristrev> Thanks
<kristrev> The board only came with a broken image, so no reference there either :)
<Rene__> ah, I think the forum can help you to get a working image. Also Frank has an active kernel development with many branches on his github https://github.com/frank-w/BPI-R2-4.14/commits/5.10-hnat
<kristrev> I will ask him. This is not the Bpi R64 btw, it is a different board. R64 only seemed like the easiest place to start :)
SpaceRat^ has joined #openwrt-devel
SpaceRat has quit [Disconnected by services]
SpaceRat^ is now known as SpaceRat
lnslbrty has quit [Ping timeout: 265 seconds]
plntyk has quit [Ping timeout: 252 seconds]
valku has joined #openwrt-devel
tobleminer-tSYS has quit [Ping timeout: 252 seconds]
tobleminer-tSYS has joined #openwrt-devel
plntyk has joined #openwrt-devel
lnslbrty has joined #openwrt-devel
jas4711 has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
<rmilecki> stintel: are you ok with the [PATCH] kernel: limit crypto-hw-ccp to the x86
<netprince_> I'm getting 'no rule to make target' on both xtables-addons and mac80211, been trying to figure this out off and on for a couple weeks... does anyone have any clues for me? https://pastebin.com/BVQDQaKk
<stintel> rmilecki: sure. I would nit about making it one DEPENDS:= \ and then put each of them on a single line, in alphabetical order, so it's a bit cleaner
<rmilecki> stintel: sure, i can do that
<rmilecki> thanks
<owrt-snap-builds> Build [#47](https://buildbot.openwrt.org/master/images/#builders/64/builds/47) of `realtek/generic` failed.
kontaxis has quit [Ping timeout: 240 seconds]
kontaxis has joined #openwrt-devel
<stintel> rmilecki: I was meaning to reply but got distracted with work again
<rmilecki> stintel: np :)
<stintel> rmilecki: and I would prefer that be 2 different commits too, so one cosmetic, and another one that adds the new dep
<rmilecki> stintel: ok
nitroshift has quit [Remote host closed the connection]
<jow> netprince_: I guess it is related to libelf
<jow> netprince_: and kernel stack protection
<jow> netprince_: try package/mac80211/compile V=sc see if the gcc command lines are printed
<netprince_> jow: thanks for the response... doing it now
Tost has quit [Ping timeout: 268 seconds]
<netprince_> that output is even more confusing to me
SergioCabral has joined #openwrt-devel
<rmilecki> nbd: jow: i'm planning to push [PATCH uci] cli: add option for changing save path
Cabral has quit [Ping timeout: 268 seconds]
brickfat has joined #openwrt-devel
danitool has joined #openwrt-devel
<jow> netprince_: hmm
<jow> netprince_: can you repeat a make package/mac80211/{clean,compile} V=sc after running export KBUILD_VERBOSE=1 in the same shell?
<netprince_> yes, will do
brickfat has quit [Quit: Leaving]
Tost has joined #openwrt-devel
Tapper has joined #openwrt-devel
<netprince_> jow: sorry for the delay: https://pastebin.com/ZFYhN4dM
<jow> netprince_: hmm, still inconclusive unfortunately
zatwai has quit [Ping timeout: 250 seconds]
<jow> netprince_: the last time I encountered this, it turned out to be an issue with kbuild picking up a wrong libelf which then internally caused a failure cascade
<jow> let me try to recall the details
<netprince_> jow: my system details if that helps: Linux buildroot3 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52
<jow> netprince_: okay, so in my case it was this: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1
<jow> netprince_: x86/64 kernel, had stack validation enabled, which in turn requires libelf at build time
<jow> libelf in turn was taken from openwrt's tools/ but it produced preproprocessor warnings which caused kbuild to trip up due to -Wundef + -Werror
<netprince_> I build for several other targets, I only have this trouble with x86/64, so perhaps you are right?
<jow> hm wait, in the commit I linked I prepared our shipped libelf to be suitable for kernel building
<jow> the root cause was openwrt kernel kbuild incorrectly picking up a host libelf
<jow> which in turn was broken, failing the kernel build
<jow> since tools/libelf was recently dropped with "bf4aa0c6a2 tools/libelf: remove unneeded host library" I guess the original regression crept back in
<jow> kbuild now likely picks up broken system libelf again (the one exhibiting the CPP undefined macro warnings or another -Werror incompatible quirk)
<jow> so to summarize:
<jow> until recently we used or own tools/libelf and made sure that the kernel build uses it
<jow> tools/libelf was recently dropped as "uneeded"
<jow> now we rely on the host system to provide a sane libelf (it has been made a build prereq since then)
<jow> if the host libelf does not happen to be "sane", x86/64 kernels with enable stack protector cannot be built anymore
<jow> netprince_: could you pastebin your /usr/include/gelf.h ?
<netprince_> there is no /usr/include/gelf.h on the build system
eric19 has joined #openwrt-devel
<netprince_> find / -name "*gelf.h*" -print 2>/dev/null only shows a few matches in my build_dir
<jow> netprince_: and /usr/include/libelf.h ?
<netprince_> does not exist, search only finds a few matches in my build_dir
<jow> maybe this is your issue then. COuld you try to install your Distro's equivalent of `libelf-dev` ?
<netprince_> yes
<jow> if you didn't already did it, a dirclean/clean might be in order as well to get rid of former shipped libelf stuff in staging_dir/host
<netprince_> ok
<netprince_> installed and building from scratch...
<netprince_> I did run a 'make prereq' when I setup this system
<jow> I might have lied about the prereq
<jow> I assumed it was added as prereq but apparently not
<netprince_> no problem, thanks for the help, I'll report in how it builds in a few minutes
<jow> commit bf4aa0c6a2f57951f995b2ac6f394c45ac852b9d claimed that libelf is alredy a build system prereq
<jow> but that was based on random wiki instructions
<jow> seems it is not actually encoded in include/prereq-build.mk
Tapper has quit [Ping timeout: 240 seconds]
<philipp64_> jow: doh! thanks!!
Neighbor11111117 has quit [Ping timeout: 240 seconds]
eric19 has quit [Ping timeout: 240 seconds]
<netprince_> jow: build complete, that fixed the issue, thats a big relief thanks again
Tost has quit [Ping timeout: 240 seconds]
jas4711 has quit [Ping timeout: 240 seconds]
jas4711 has joined #openwrt-devel
Tapper has joined #openwrt-devel
mgiganto has quit [Quit: Connection closed]
Tapper has quit [Read error: Connection reset by peer]
Tapper has joined #openwrt-devel
Tost has joined #openwrt-devel
brickfat has joined #openwrt-devel
Borromini has joined #openwrt-devel
<owrt-snap-builds> Build [#50](https://buildbot.openwrt.org/master/images/#builders/9/builds/50) of `lantiq/ase` completed successfully.
mangix has quit [Remote host closed the connection]
mangix has joined #openwrt-devel
brickfat has quit [Quit: Leaving]
jas4711 has quit [Ping timeout: 252 seconds]
<owrt-snap-builds> Build [#62](https://buildbot.openwrt.org/master/images/#builders/1/builds/62) of `ath79/generic` completed successfully.
Tapper has quit [Ping timeout: 240 seconds]
rmilecki has quit [Ping timeout: 265 seconds]
Tapper has joined #openwrt-devel
black_ant has quit [Ping timeout: 260 seconds]
ivanich has quit [Quit: Konversation terminated!]
<owrt-snap-builds> Build [#52](https://buildbot.openwrt.org/master/images/#builders/48/builds/52) of `bcm47xx/generic` completed successfully.
<owrt-snap-builds> Build [#53](https://buildbot.openwrt.org/master/images/#builders/22/builds/53) of `ipq40xx/generic` completed successfully.
philipp64_ is now known as philipp64
OutBackDingo has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
OutBackDingo has joined #openwrt-devel
Tapper has quit [Ping timeout: 260 seconds]
Borromini has quit [Quit: leaving]
brickfat has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
OutBackDingo has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
OutBackDingo has joined #openwrt-devel
Samantaz has joined #openwrt-devel
SamantazFox has quit [Ping timeout: 240 seconds]
pine127_ has joined #openwrt-devel
pine127 has quit [Ping timeout: 240 seconds]
netprince_ has quit [Read error: Connection reset by peer]
brickfat has quit [Quit: Leaving]
Tost has quit [Ping timeout: 252 seconds]
Tost has joined #openwrt-devel