Other changes:
- Drop autotools patches
- Drop sys/param.h check as __FreeBSD__ is defined by compiler
- Fix tests randomly failing to build (e.g., under qemu-user-static)
Differential D23644
graphics/wayland: convert to USES=meson jbeich on Feb 12 2020, 12:31 PM. Authored by Tags None Referenced Files
Details
Other changes:
Builds fine on:
Works fine on:
Diff Detail
Event TimelineComment Actions Thanks Jan. I like this direction.
Comment Actions
Comment Actions
Comment Actions @pkubaj, @mikael, can you test build on powerpc64 and aarch64 on real hardware? Comment Actions I don't think we've had any timing related qemu-user-static issues that weren't legit races. Comment Actions I'll test this on my arm64 box... I'll also try hack things to put a 'sleep 30' into the generation of wayland-client-protocol.h to exaggerate the race. Comment Actions OK. I did the following: --- src/scanner.c~ 2020-02-11 16:46:03.000000000 -0700 +++ src/scanner.c 2020-02-14 12:33:53.197144000 -0700 @@ -1918,6 +1918,8 @@ { 0, 0, NULL, 0 } }; + sleep(30); + while (1) { opt = getopt_long(argc, argv, "hvcs", options, NULL); which will magnify all races, right? I was able to build 10 times in a row with this on my arm64 box. It's weird that we're hitting a race with qemu-user-static invocations. Comment Actions
Now it's ready to land.
Comment Actions @zeising, not until upstream gains FreeBSD support. Upstreaming appears to be stalled on API. For example, DragonFly, NetBSD, OpenBSD don't use epoll-shim. I'm not involved in the effort, so have probbaly missed or misinterpreted something. Comment Actions I'd like to wait for https://reviews.freebsd.org/D23696, since you state yourself that you work around the issue in a quite hackis way, and this way we don't have to bump wayland version twice. Comment Actions Should I move post-patch into files/patch-meson.build if that is necessary to unblock independent landing? Upstreaming the existing hack is outside of scope for this change and it's not clear when upstream will review my v2.
Bumping changes in BUILD_DEPENDS is not necessary unless one believes there maybe a regression. According to my dogfooding such a regression is unlikely. Comment Actions I'm ok with the post-patch method.
Bump is not needed indeed. Comment Actions This looks fine to me. I'll note, though, that changing how wayland builds is a low priority item. Comment Actions Yes and no, it allow us to catch bugs quickly and will allow us to update more easily the next version as upstream switched to it.
Those are nothing to do with this review.
I disagree, this review proves again that even if a patch is reviewed quickly and issue are addressed quickly the patch will likely die in either phab or bz because x11@ didn't commited it.
Comment Actions Then this review should be deferred until they are resolved. Better to spend our limited energies resolving immediate problems than this.
Delaying a week or two is not going to cause the end of the world. Please keep some perspective here. It's not going to die in phab by delaying a week. I have lots of patches that spend considerable time in phab because they have issues, they interfere with others, or the right people to carefully review them are busy. A time-bounded delay to help resolve other known issues on a patch that won't resolve those issues is a completely reasonable ask and not at all out of line. Rather than arguing about this, the team should be spending its time sorting through all the email and pkg failure reports generated by the team's "decision" to push in the X11 update. Comment Actions LGTM, please land together with https://reviews.freebsd.org/D23696 and if possible https://reviews.freebsd.org/D23801 . |