From nobody Thu Mar 31 00:08:14 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 BD84E1A5F059 for ; Thu, 31 Mar 2022 00:08:14 +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 4KTNtQ36vRz4SxC for ; Thu, 31 Mar 2022 00:08:14 +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 28EA51D485 for ; Thu, 31 Mar 2022 00:08:14 +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 22V08Ec6007427 for ; Thu, 31 Mar 2022 00:08:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22V08ETG007426 for desktop@FreeBSD.org; Thu, 31 Mar 2022 00:08:14 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 262888] graphics/poppler 21.12.0_1 Cannot Find libopenjpeg2 Date: Thu, 31 Mar 2022 00:08:14 +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: adridg@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: cc 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=1648685294; 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=md9VzaSm1ftFl+y3zIc12pjhlWhase4jY7uehtiFaD8=; b=M0rnjKuHK4mJ46Fc/6jumIM3Pu3LhH/xMW1m73w0gy2ZFzjgntElJedK/LhKXgZW/O6A1t uG1rzZYrSi/PmQTUmhBsBaUQdPB9kw6BLlomEqSKM7iAG1qQ+AuPqzrUhuoFiwJf4exrTZ PXFxq8APEBYncj06O1aLL2F6WmOYKybq+5CyBVaGu9jRRJCakyJd3u2Z/dCiLdaF/i6+sb BZNBT0OFqCCg5ehuspXmdsIP/k6EXuQHGoR5J2ini+hca00CV6fpRGvOkE67KC8Pvh7rct J0B5O9GLeaXHryB4dCVw5RsRq0PNXFZjkvIExSYDpVSQkPKLKKnavwsOrZAXBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648685294; a=rsa-sha256; cv=none; b=fSiQtYUepNd7Eq2qpMANzfRBotnMudGydQpJzjydz7D2W41J4ftteML83SGUyskAQ8d/lh y++NiM3PJoHxOUWBNOu8QsdJPbWhj2r0wH8/IlnUuPmcGH8MxwXkGBILMmgU+L8eY+7TCH yNEf0erNfYzGVi7qoFUG3B3GpMSdKutNEWXxds8FrA7HUFwMM/agHdpiNDcn1Of5A41xn4 H1zhJtzS3ZFAxXasdICA1CqKoS/dB9dLXpE3++EZZ1d0xjCig9YxBV+wI4br9GLGJaKsVw OMlO2CbR99gzrCD14rLc3DW5YyZ0RFY8EjjHn1096X52Gpsy5wC618WSX0CEmQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262888 Adriaan de Groot changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adridg@freebsd.org --- Comment #16 from Adriaan de Groot --- This is quite sensitive to installed versions, paths, and filesystem order. - I have a 12.3 VM which I installed openjpeg15 and openjpeg in (so, that's versions 1.5 and 2.4 of the same library). This gave me two files called OpenJPEGConfig.cmake, one in /usr/local/lib/openjpeg-1.5 and one in /usr/local/lib/openjpeg-2.4. On this system, poppler fails to configure, as described in this PR. - I have a 13.0 jail with openjpeg15 and openjpeg installed, that's my poudriere jail, and here the config files live in /usr/local/lib/openjpeg-2= .4 and /usr/localshare/openjpeg. On this system, poppler can be configured and builds just fine. Making poppler search for a specific version, e.g. `find_package(OpenJPEG 2= )` fails because neither of the config files defines a version in a way that standard cmake-version-checking understands. So it comes down to: if both are installed, and in paths such that the 1.5 version is found first, things will go sideways. An underlying fix is to ma= ke openjpeg report its version correctly to CMake -- that is a patch that makes sense for version 2 and could be filed upstream -- and then make poppler lo= ok for version 2 as well. --=20 You are receiving this mail because: You are the assignee for the bug.=