From nobody Mon Apr 11 12:11:16 2022 X-Original-To: desktop@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 742791A97E27 for ; Mon, 11 Apr 2022 12:11:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KcSPd282Pz4j2w for ; Mon, 11 Apr 2022 12:11:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 278B2225ED for ; Mon, 11 Apr 2022 12:11:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23BCBHdq005742 for ; Mon, 11 Apr 2022 12:11:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23BCBHAj005741 for desktop@FreeBSD.org; Mon, 11 Apr 2022 12:11:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 257091] graphics/cairo: cairo-1.17.4 failed to build Date: Mon, 11 Apr 2022 12:11:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: evgeniy@khramtsov.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Unable to Reproduce X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649679077; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1R8E8QGwaY96ozGFmg817KVh2Aqyc9eqmypplfIjHeI=; b=Zr8J9j++rOrTd1VXDgh0gYdmuQQVV8js7fXrMokYBqmKzKjLV+JVq7jzyRxAJ6a7l3cwyl llq4LmeTT77ayxtEeLfcSdGiq6KsZUusk/SYtGPRSuqEWM9NEvdsjWGYSxu+SY2WVVd8dk jR5kBXmAQvdIkNAw3ZdCYSzoxmgDE95bKFaLMIoZCfy7hN3z4G5V8RcPBlOpDM43uCx7Fc YU+TY7p65GD4HN+nmsmtsQgbt597LGBa7E7mfFKE9VxG6NyNlz7X8iuSbF7PQe9+SP41C/ SwndzNAs/9BY3zGIDOV20QQaQHtjZzMILEdae6AKTFYF7dJltz+7yBKn9eO2dg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649679077; a=rsa-sha256; cv=none; b=rpfa579Ch3Blp9U57ZwMsuzCn3B8CYa4bEkVNUbt1fAFA70MLvOLfxga7CVB0jg2PWszWO pv+NrpXz2AoHpAH47dl3BDvdzqvw950y9eiAOa6zGvR6yzd3ONaL37VWo5KRWCDkueI93v Cz5nqwcgZQwBTJn4WZ6Tb/tnObottjBN0c7mCmLrbmjNn7hVSCQd1oYWq7dMz6zprL4cyU esXOK5aWzSFrFICLqnjp0xZWYus8m7rRaZzDW7G10j1Lh29NaipCzxOZT/UpTydWJzk2v2 l/f83xHmgY3xRzkHHVbWVizmN+VY8KhZ6vtNvGvjlnRn1dR/lVyJ4Ky51mgdxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257091 --- Comment #9 from Evgeniy Khramtsov --- $ env -S P=3D"/usr/ports" C=3D"graphics/cairo" D=3D"/tmp" BATCH=3Dyes sh $ make -C "$P/$C" WRKDIR=3D"$D/$(basename $C)" extract && cd "$D"/$(basename $C)/* $ rg -l 'cairo-glx.pc' | sort configure doc/public/Makefile.in src/Makefile.am.features src/Makefile.in src/Makefile.win32.features cairo builds cairo-glx.pc if use_glx is defined to yes: $ rg --regexp 'ac_config_files.*cairo-glx.pc' -A 3 -B 2 configure 29900- if test "x$use_glx" =3D xyes; then : 29901- : 29902: ac_config_files=3D"$ac_config_files src/cairo-glx.pc:src/cairo-features.pc.in" 29903- 29904- 29905-fi cairo defines use_glx to yes, then redefines it to no if GLX was not found: $ rg --regexp 'use_glx=3Dyes' -B 3 configure 29729-$as_echo_n "checking for cairo's GLX functions feature... " >&6; } 29730- echo 29731- 29732: use_glx=3Dyes $ rg --regexp 'test.*ac_cv_header_GL_glx_h' -A 4 -B 4 configure 29743- if test "x$need_glx_functions" =3D "xyes"; then 29744- save_CFLAGS=3D"$CFLAGS" 29745- CFLAGS=3D"$CFLAGS $gl_CFLAGS $gl_NONPKGCONFIG_CFLAGS" 29746- ac_fn_c_check_header_mongrel "$LINENO" "GL/glx.h" "ac_cv_header_GL_glx_h" "$ac_includes_default" 29747:if test "x$ac_cv_header_GL_glx_h" =3D xyes; then : 29748- 29749-else 29750- use_glx=3D"no (GLX headers not found)" 29751-fi GL/glx.h is provided by graphics/libglvnd when built with X11=3Don: $ rg -H 'GL/glx.h' -g '**/pkg-plist' -C0 $P/ /usr/ports/graphics/libglvnd/pkg-plist %%X11%%include/GL/glx.h X11 is on by default for graphics/libglvnd: $ rg 'OPTIONS_DEFAULT' "$P"/graphics/libglvnd /usr/ports/graphics/libglvnd/Makefile OPTIONS_DEFAULT=3DX11 cairo X11=3Don GL/glx.h dependency is bootlegged via USE_GL which pulls lib= glvnd: $ rg OPENGL "$P"/$C /usr/ports/graphics/cairo/Makefile 41:OPTIONS_RADIO_GL=3D OPENGL GLESV2 43:OPTIONS_DEFAULT=3DOPENGL XCB GLIB X11 52:OPENGL_USES=3D gl 53:OPENGL_USE=3D gl=3Degl 54:OPENGL_CONFIGURE_ENABLE=3Dgl egl /usr/ports/graphics/cairo/pkg-plist 5:%%OPENGL%%include/cairo/cairo-gl.h 34:%%OPENGL%%libdata/pkgconfig/cairo-egl.pc 37:%%OPENGL%%libdata/pkgconfig/cairo-gl.pc 39:%%OPENGL%%%%X11%%libdata/pkgconfig/cairo-glx.pc $ (cd "$P"/$C ; make -V USE_GL -V LIB_DEPENDS) | xargs -n 1 | rg -i 'egl' egl libEGL.so:graphics/libglvnd One may add *_DEPENDS on glx.h or libGLX.so when graphics/cairo has OPENGL,= X11 on to make dependency on libglvnd with X11=3Don more visible to users (fail= in *-depends), but note that Uses/gl.mk doesn't have GLX component defined for USE_GL as of now. The choice may be "uses only header contents" or "uses symbols from libGLX". --=20 You are receiving this mail because: You are the assignee for the bug.=