From nobody Sat Apr 20 00:12:18 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VLsQj0WzYz58rrw; Sat, 20 Apr 2024 00:12:29 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VLsQh6zBkz4ZCS; Sat, 20 Apr 2024 00:12:28 +0000 (UTC) (envelope-from jbeich@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713571949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C8hAWPAnkVOZw8Y712Oh0RSOp3ZGKU+hbFpGuWq9uQY=; b=C7POmcBlezePNkh2nj+7heILnb/qigMrYSMwVmXSGpgi9dJmryAQzcfHs+JRqDrd1fuDyb cYwrWwmWZgOCWJzjXbFfAUlB2aNnhm3NbrXUAyGPSkpi98g6gJFWF/rNe1lMK0VMix2fSe WhMFuzceywAn5EILyXUyrPzoI4i0fRKv8JtsgvtajEexX6nvlZgHISVb29u/eJJb/oA88q eOtOiRXOUv3qQ0lv2LavSQeTJ7GJ5VQCHsZzWAOmt9JbiEd1L9duQz9+bO1XX/1aOl24yI Yg81/5PRI74zfeL/wxkz3pbR1Dr/K/Zo/tQWDMn9tp87vy+Pdj31NIHGuL78Jw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713571949; a=rsa-sha256; cv=none; b=KMEfLOQxzZngYb+zJXxKrcU9qvMlBhe7U1ViIzdOuaXUykl7/0SPOw+3D2tNCoUumkQuE3 7Y8aolqBttRugB1NZ64qJ3kbdunK1GZ16fN+EMH66I8Aes7WqiOc7w17won1dPIJg52Krd QzSbGRP9VhZhiLBaoEADP3+qtMr/tuAoJ+I3HmuCevrIBTIcJaYoQlbFRD5zPOPY7O1ZW/ U7wrMyCqDtUAD9RzCjpjkleAQl97YrB/DLVuwnQb4oQuZZOGUGNnrFCeNV5IV+W1zdLTzZ qAoe2YXbtnPU6ywCqw549Zc49q0J4okp0CzgKV7FoL2pxwatcnE7gn2HI09HeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713571949; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=C8hAWPAnkVOZw8Y712Oh0RSOp3ZGKU+hbFpGuWq9uQY=; b=lbTy4unITQ8hI5R7I7tS5I+nkFFtCAoZrpDcS9HqI+IWKwrnkYkwu9Jg/OKNStk+hp05OO aFhFNbc7MPQaFbSDCNT1eowX3tDun/Y3pItxm3qZF2/v5zeDozxuh+QBmwQZ+/gxT+F0Mu s3Y3bO8y5Z1lXHaX0umOIxC4ON0+pSgYlKu0jnirxhWLB3wntR88O524u6VXg0rJdxMeay How/pobAWna4b9sfU5aXu+hea0glpMlm+9rq/jo4MhMIDVAwP1fVBnxT1VfcD1dkge2hr2 AOVnGYvbTjd6ADPm5DkfYZTjwalWQ3I88FnH2dvxLjgvWg7+Ou7/wuNgDYd0TA== Received: by freefall.freebsd.org (Postfix, from userid 1354) id D4BF2F752; Sat, 20 Apr 2024 00:12:28 +0000 (UTC) From: Jan Beich To: Emmanuel Vadot Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 171cdaf295e3 - main - graphics/mesa-libs: Fix LIB_DEPENDS In-Reply-To: <202404181222.43ICMgTf017930@gitrepo.freebsd.org> (Emmanuel Vadot's message of "Thu, 18 Apr 2024 12:22:42 GMT") References: <202404181222.43ICMgTf017930@gitrepo.freebsd.org> Date: Sat, 20 Apr 2024 02:12:18 +0200 Message-ID: List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain Emmanuel Vadot writes: > The branch main has been updated by manu: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=171cdaf295e37c781f9a4999b05ea74da0bcd0f0 > > commit 171cdaf295e37c781f9a4999b05ea74da0bcd0f0 > Author: Emmanuel Vadot > AuthorDate: 2024-04-18 08:54:08 +0000 > Commit: Emmanuel Vadot > CommitDate: 2024-04-18 12:22:27 +0000 > > graphics/mesa-libs: Fix LIB_DEPENDS > > Mesa itself does not depend on libOpenGL.so from libglvnd but it needs > libglvnd at build stage. > Also it doesn't not depend on libwayland-egl.so but on libwayland-server.so > and libwayland-client.so > > Differential Revision: https://reviews.freebsd.org/D44831 > PR: 278324 > Reported by: autodep > Reviewed by: bapt > Sponsored by: Beckhoff Automation GmbH & Co. KG This partial revert of https://cgit.freebsd.org/ports/commit/?id=1a86bea35222 introduces inconsistency with other OpenGL providers. Also, consumers may[1] depend on mesa-libs but not libglvnd, breaking minimalistic jails e.g., $ trap 'poudriere jails -kj 132amd64' EXIT INT TERM $ poudriere jails -sj 132amd64 $ jail=132amd64-default $ prefix=$(jls -j $jail path) # prefer local packages $ sed -i '' -Ee '/url/s,".*","file:///packages",' \ -e '/mirror|signat|finger/d' \ $prefix/etc/pkg/FreeBSD.conf # Vulkan/OpenGL/OpenCL acceleration $ for p in 'dr[im]' 'dr[im]/*' 'pci'; do devfs -m $prefix/dev rule apply path $p unhide; done # pass through Wayland socket $ mkdir -p $prefix/$XDG_RUNTIME_DIR $ mount -t nullfs $XDG_RUNTIME_DIR $prefix/$XDG_RUNTIME_DIR # mirror local user $ jexec $jail pw user add $(id -un) -m -G wheel,video $ jexec $jail login -fp $(id -un) $ su root -c 'pkg install -qy glmark2 mesa-dri' $ glmark2-wayland Error: Error loading EGL library Error: main: Could not initialize canvas [1] $ comm -13 <(pkg rquery %ro libglvnd | sort) <(pkg rquery %ro mesa-libs | sort) benchmarks/glmark2 benchmarks/vkmark emulators/qemu-devel graphics/libosmesa graphics/mesa-dri multimedia/wf-recorder net-im/tg_owt net/neatvnc net/waypipe net/wayvnc x11-drivers/xf86-video-amdgpu x11-wm/cosmic-comp x11-wm/niri x11/virglrenderer x11/xdg-desktop-portal-hyprland x11/xdg-desktop-portal-hyprland x11/xdg-desktop-portal-wlr