mirror of
https://github.com/f00b4r0/uspot.git
synced 2026-04-26 06:35:54 +03:00
[GH-ISSUE #56] build problems as of 389e48df4f #36
Labels
No labels
bug
enhancement
invalid
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uspot#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @systemcrash on GitHub (Dec 29, 2025).
Original GitHub issue: https://github.com/f00b4r0/uspot/issues/56
openwrt 25.12 compile problems. Seems like a bpf related change. Not certain:
@f00b4r0 commented on GitHub (Dec 29, 2025):
This issue should be opened against https://github.com/openwrt/packages/blob/master/net/uspot/Makefile instead, it may gather more attention because I have no idea what's going on. uspot used to build just fine (I assume it was built tested when the package was last updated) and there was no recent change.
I have no idea what that means, this looks like an OpenWrt-side change
@systemcrash commented on GitHub (Dec 29, 2025):
Those warns for the logging look fixable here, though.
Thanks for uspot :)
BTW I added captive portal URI to both odhcpd and odhcp6c - I thought those might be of interest to you here.
@f00b4r0 commented on GitHub (Dec 29, 2025):
Sure but they are completely harmless. The build failure isn't though ;P
Cool, good to know thanks
@BKPepe commented on GitHub (Dec 30, 2025):
It is going to be fixed by https://github.com/f00b4r0/uspot/pull/57
PR created: https://github.com/f00b4r0/uspot/pull/58
Leaving warnings unresolved breaks the "clean build" principle and creates noise that hides real issues.
Casting to unsigned long long is a standard defensive practice for logging: it acts as a "catch-all" for any integer type up to 64 bits. If the underlying type changes to something smaller (e.g. uint32_t), the cast handles it safely. If it changes to a non-integer, the compiler will still flag it. I believe resolving the warning cleanly via a widening cast is safer than ignoring it.
and this one:
are connected and were fixed by merging https://github.com/openwrt/packages/pull/28221
@f00b4r0 commented on GitHub (Dec 30, 2025):
Feel free to argument outside of the PR, and feel free to ignore my change request, I'll feel equally free to ignore your PR.
If the underlying type changes to say an array (a pointer), no warning will be emitted, you'll just get the pointer's address printed out.
This suggests the new build system is incredibly brittle. Furthermore
github.com/openwrt/packages@1352f3f006will now make cherry-picking backports to 24.10 impossible. Thanks.I now wonder what the
PKG_MAINTAINERfield is for if I don't get to review proposed changes.@BKPepe commented on GitHub (Dec 30, 2025):
Given that there were three distinct errors, we need a summary and a reference so this doesn't get lost. Regarding the warning: if you prefer not to address it now, that's fine. However, keep in mind that this warning will likely turn into an error eventually, requiring a rewrite down the line anyway. If you want to disregard the fixes in my PR, that's on you—but I won't be doing a full rewrite. We have already spent more time discussing this than the actual rewrite would require.
I actually disagree that the build system is 'incredibly brittle.' On the contrary, it correctly caught a bug introduced in commit
github.com/openwrt/packages@bc33522715. Discussing the human factor is out-of-scope here; simply put, the issue is present in that commit. Since other packages don't have this extra space, I consider that matter settled.Regarding the backports to OpenWrt 24.10: I don't see why that would be impossible. I simply bumped
PKG_RELEASE, movedEXTRA_DEPENDS, and removed the space. This shouldn't negatively impact anything. Have you tried it locally? I did, and it works fine.@f00b4r0 commented on GitHub (Dec 30, 2025):
If variables ordering can break the build, I consider that very brittle yes. The whitespace change should also have been documented and/or better handled: it used to work just fine.