Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023Q2 #1

Closed
wants to merge 704 commits into from
Closed

2023Q2 #1

wants to merge 704 commits into from

Conversation

grahamperrin
Copy link
Owner

No description provided.

evadot and others added 30 commits May 10, 2023 09:24
i915: Disable GuC by default on gen12+. It's known to be broken for us
 and upstream started to enable it by default for those platform.

Sponsored by:	Beckhoff Automation GmbH & Co. KG

(cherry picked from commit f27d43c)
Projects that live outside of drm-kmod (such as nvidia-drm) will need
to query the version of drm-kmod built against in order to grab the
correct sources. This adds a Makefile.version they can include to do
so.

Differential Revision:	https://reviews.freebsd.org/D39885

(cherry picked from commit 4eef420)
- Fix callback allocation in dma-fence
- Remove dep on non-existent opt_compat.h

Sponsored by:   Beckhoff Automation GmbH & Co. KG

(cherry picked from commit 231fddc)
- Fix callback allocation in dma-fence

Sponsored by:	Beckhoff Automation GmbH & Co. KG
MFH:		2023Q2

(cherry picked from commit aba3ec3)
PR:		270674
(cherry picked from commit 01998e8)
Changes:	https://aomedia.googlesource.com/aom/+log/v3.6.0..v3.6.1
Reported by:	Repology, portscout

(cherry picked from commit 103b486)
(cherry picked from commit 93b27de)
Approved by:	rene (mentor, implicit)

(cherry picked from commit aabaa40)
- Fix i915kms on Baytrail/Valleyview hardware

Sponsored by:	Beckhoff Automation GmbH & Co. KG
MFH:		2023Q2

(cherry picked from commit ec4a23d)
Changes:	https://gitlab.gnome.org/World/metronome/-/releases/1.2.1
Reported by:	GitLab (notify releases)

(cherry picked from commit 0b8711d)
Extraction fails with poudriere on aarch64 with the following error:

=> SHA256 Checksum OK for gcc-11.3.0.tar.xz.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.

Enforcing use of bsdtar works around the issue. The issue is specific to
lang/gcc11 and lang/gcc12: no other GCC port is affected.

See also bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670.

PR:		271052
Reported by:	Vidar Karlsen <vidar@karlsen.tech>
Reviewed by:	gerald, mikael

(cherry picked from commit 22530ba)
Extraction fails with poudriere on aarch64 with the following error:

=> SHA256 Checksum OK for gcc-12.2.0.tar.xz.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Pathname can't be converted from UTF-8 to current locale.
tar: Error exit delayed from previous errors.

Enforcing use of bsdtar works around the issue. The issue is specific to
lang/gcc11 and lang/gcc12: no other GCC port is affected.

See also bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670.

PR:		271052
Reported by:	Vidar Karlsen <vidar@karlsen.tech>
Reviewed by:	gerald, mikael

(cherry picked from commit 5b4cadb)
Fix the .htaccess issues with newer Apache-- see patchfile.  Submitted
upstream as pull request 3526
ampache/ampache#3526

Changelog:	https://github.com/ampache/ampache/blob/develop/docs/CHANGELOG.md
MFH:		2023Q2
(cherry picked from commit 1fe33ab)
- Fix build on FreeBSD 13.2

PR:		271392
(cherry picked from commit 3e0e9d7)
A fork can be renamed or deleted, so get PR commits via upstream.

(cherry picked from commit af5e6bb)
A fork can be renamed or deleted, so get PR commits via upstream.

fetch: https://github.com/unrelentingtech/coin/commit/3053d28b74d.patch: Not Found
fetch: https://github.com/coin3d/coin/commit/3053d28b74d.patch: size mismatch: expected 1408, actual 1410

-index 6c039a0a3..007461cbd 100644
+index 6c039a0a36..007461cbd4 100644

(cherry picked from commit 3660e34)
Use commit-based patches instead of pull-based. No functional changes.

Suggested-by:	jbeich
(cherry picked from commit f5c3d03)
Circumvent LLVM build errors. Permanent fixes will come later.

While at it, assume care and feeding of this port.

(cherry picked from commit 2804224)
At a minimum fix an incompatible pointer to integer conversion flagged
by LLVM15. While at it include stdlib.h in preparation for additional
work needed on this port.

While at all of the above, assume care and feeding of this port.

(cherry picked from commit 2a92344)
jbeich and others added 26 commits June 15, 2023 00:44
Changes:	https://github.com/libjxl/libjxl/releases/tag/v0.8.2
Reported by:	GitHub (watch releases)

(cherry picked from commit 7531221)
$ pw-play foo.wav
stream node 35 error: no node available
remote error: id=2 seq:5 res:-2 (No such file or directory): no node available

PR:		272004
Approved by:	arrowd (maintainer)

(cherry picked from commit a7aaffb)
Changes:	https://github.com/libjxl/libjxl/releases/tag/v0.8.2
Reported by:	GitHub (watch releases)

(cherry picked from commit 738e401)
Release announcement:
    https://lists.x.org/archives/xorg-announce/2023-June/003407.html

PR:		263190
Approved by:	x11 (manu)

(cherry picked from commit e32d988)
Changes:	https://github.com/mikf/gallery-dl/releases/tag/v1.25.6
Reported by:	GitHub (watch releases)

(cherry picked from commit dbd76ab)
Add temporary patch to fix a crash at startup if kwidgetsaddons
5.101.0 is installed. The patch was obtained from LMMS ticket
related with this issue[1].

[1] LMMS/lmms#6587

Since I'm here reorder Makefile to make linters happy.

PR:		270470
Reported by:	Manuel <gnuandbsdguy@gmail.com>
MFH:	    2023Q2

(cherry picked from commit 8827164)
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/grim is linked to /usr/local/lib/libpixman-1.so.0 from x11/pixman but it is not declared as a dependency
Warning: you need USE_XORG+=pixman
Error: /usr/local/bin/grim is linked to /usr/local/lib/libpng16.so.16 from graphics/png but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libpng16.so:graphics/png

emersion/grim@af000f990061
emersion/grim@fcaba96aab42
(cherry picked from commit 592d3df)
Details:
- Bugfixes and improvements; no breaking changes, see
  https://github.com/zellij-org/zellij/releases/tag/v0.37.0

MFH:		2023Q2
(cherry picked from commit 42c8e19)
Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.6.0
Reported by:	Repology, /r/AV1

(cherry picked from commit 357de4a)
PR:		271986
Reported by:	John Wolfe <jwolfe@vmware.com>
Security:	CVE-2023-20867
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit d65114f)
grahamperrin pushed a commit that referenced this pull request Aug 29, 2023
$ vkcube-wayland
Selected GPU 0: Intel(R) HD Graphics 530 (SKL GT2), type: IntegratedGpu
Segmentation fault

(lldb) bt
* thread #1, name = 'vkcube-wayland', stop reason = signal SIGSEGV: invalid address (fault address: 0x40)
  * frame #0: 0x000000082114a4dc libwayland-client.so`wl_proxy_get_version(proxy=0x0000000000000000) at wayland-client.c:2248:16
    frame #1: 0x000000082b8543e1 libvulkan_intel.so`wp_tearing_control_manager_v1_get_tearing_control(wp_tearing_control_manager_v1=0x0000000000000000, surface=0x0000245a71e110a0) at tearing-control-v1-client-protocol.h:191:90
    frame #2: 0x000000082b852016 libvulkan_intel.so`wsi_wl_surface_create_swapchain(icd_surface=0x0000245a71e32e00, device=0x0000245a71f47400, wsi_device=0x0000245a71eb1ae0, pCreateInfo=0x0000000820617900, pAllocator=0x0000245a71f47440, swapchain_out=0x00000008206178d8) at wsi_common_wayland.c:2277:10
    frame #3: 0x000000082b842be4 libvulkan_intel.so`wsi_CreateSwapchainKHR(_device=0x0000245a71f47400, pCreateInfo=0x0000000820617900, pAllocator=0x0000000000000000, pSwapchain=0x0000000820618700) at wsi_common.c:930:22
    frame #4: 0x0000000822051bef libvulkan.so.1`terminator_CreateSwapchainKHR + 223
    frame freebsd#5: 0x000000000021136b vkcube-wayland`demo_prepare_buffers(demo=0x0000000820617c30) at cube.c:1408:11
    frame freebsd#6: 0x000000000020c679 vkcube-wayland`demo_prepare(demo=0x0000000820617c30) at cube.c:2302:5
    frame freebsd#7: 0x000000000020af7a vkcube-wayland`main(argc=1, argv=0x0000000820618a38) at cube.c:4592:5
    frame freebsd#8: 0x000000082356e5fa libc.so.7`__libc_start1(argc=1, argv=0x0000000820618a38, env=0x0000000820618a48, cleanup=<unavailable>, mainX=(vkcube-wayland`main at cube.c:4574)) at libc_start1.c:157:7
    frame freebsd#9: 0x00000000002085d0 vkcube-wayland`_start at crt1_s.S:83
(lldb) f 2
frame #2: 0x000000082b852016 libvulkan_intel.so`wsi_wl_surface_create_swapchain(icd_surface=0x0000245a71e32e00, device=0x0000245a71f47400, wsi_device=0x0000245a71eb1ae0, pCreateInfo=0x0000000820617900, pAllocator=0x0000245a71f47440, swapchain_out=0x00000008206178d8) at wsi_common_wayland.c:2277:10
   2274
   2275    if (chain->base.present_mode == VK_PRESENT_MODE_IMMEDIATE_KHR) {
   2276       chain->tearing_control =
-> 2277          wp_tearing_control_manager_v1_get_tearing_control(wsi_wl_surface->display->tearing_control_manager,
   2278                                                            wsi_wl_surface->surface);
   2279       if (!chain->tearing_control) {
   2280          result = VK_ERROR_OUT_OF_HOST_MEMORY;
(lldb) p wsi_wl_surface->display->tearing_control_manager
(wp_tearing_control_manager_v1 *) $0 = NULL
grahamperrin pushed a commit that referenced this pull request Sep 10, 2023
/usr/local/bin/ld: src/xdg-desktop-portal-hyprland.p/main.cpp.o: in function `unsigned int std::__1::__format_spec::__substitute_arg_id[abi:v160006]<std::__1::basic_format_context<std::__1::back_insert_iterator<std::__1::__format::__output_buffer<char> >, char> >(std::__1::basic_format_arg<std::__1::basic_format_context<std::__1::back_insert_iterator<std::__1::__format::__output_buffer<char> >, char> >)::{lambda(auto:1)#1}::operator()<std::__1::monostate>(std::__1::monostate) const [clone .constprop.0]':
main.cpp:(.text.unlikely+0x23): undefined reference to `vtable for std::__1::format_error'
/usr/local/bin/ld: main.cpp:(.text.unlikely+0x28): undefined reference to `std::__1::format_error::~format_error()'
/usr/local/bin/ld: main.cpp:(.text.unlikely+0x2d): undefined reference to `typeinfo for std::__1::format_error'
[...]

Reported by:	pkg-fallout
grahamperrin pushed a commit that referenced this pull request Oct 1, 2023
$ arcan console
pid 12345 (arcan), jid 0, uid 1111: exited on signal 6 (no core dump - bad address)
$ tail -1 /var/log/messages
Sep 29 22:48:36 localhost arcan[12345]: stack overflow detected; terminated

(lldb) bt
* thread #2, name = 'arcan', stop reason = signal SIGABRT
  * frame #0: 0x00000008277faf5a libc.so.7`__sys_kill at kill.S:4
    frame #1: 0x00000008277fe361 libc.so.7`__fail(msg="stack overflow detected; terminated") at stack_protector.c:120:8
    frame #2: 0x00000008277fe2d0 libc.so.7`__stack_chk_fail at stack_protector.c:127:2
    frame #3: 0x00000000002eb876 arcan`button_count(fd=5, bitn=1, got_mouse=0x000000082040a5cf, got_joy=0x000000082040a5ce) at event.c:0
(lldb) f 3
frame #3: 0x00000000002eb876 arcan`button_count(fd=5, bitn=1, got_mouse=0x000000082040a5cf, got_joy=0x000000082040a5ce) at event.c:0
   844  #define bit_isset(ary, bit) (( ary[bit_longn(bit)] >> bit_ofs(bit)) & 1)
   845  #define bit_count(x) ( ((x) - 1 ) / (sizeof(long) * 8 ) + 1 )
   846
-> 847  static size_t button_count(int fd, size_t bitn, bool* got_mouse, bool* got_joy)
   848  {
   849          size_t count = 0;
   850

PR:		274163
Reported by:	Albin "a12l" Otterhäll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet