Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 02:02:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273915] graphics/openshadinglanguage, graphics/opencolorio, graphics/openimageio error in cmake config file
Message-ID:  <bug-273915-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273915

            Bug ID: 273915
           Summary: graphics/openshadinglanguage, graphics/opencolorio,
                    graphics/openimageio error in cmake config file
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: misantroposof@gmail.com
                CC: FreeBSD@ShaneWare.Biz
                CC: FreeBSD@ShaneWare.Biz
             Flags: maintainer-feedback?(FreeBSD@ShaneWare.Biz)

graphics/openshadinglanguage, graphics/opencolorio and graphics/openimageio=
 get
their cmake config files corrupted when building on FreeBSD 14.0-BETA1 and
BETA2. This does not prevent these ports from being built, but it does prev=
ent
ports that depend on these ports from building correctly.

The following is from /usr/local/lib/cmake/OSL/OSLConfig.cmake, and the oth=
er
two ports mentioned here get the same or similar enough corruption, in their
corresponding config files:

find_dependency(ZLIB 1.3.#define ZLIB_VERSION "1.3")

which I'm guessing should be

find_dependency(ZLIB 1.3)

and manually editing these files, seems to work around the problem.

I have not been able to determine where this error originates, and conseque=
ntly
I'm unable to propse a patch, but I'm guessing that somehow the Config.cmak=
e.in
file is parsed incorrectly.

This problem does not occur on 13.2-RELEASE-p2 when building from the exact
same ports tree. I haven't tried 13.2-RELEASE-p3, as that patch came just t=
wo
days before 14.0-BETA1, and I had already decided to adopt early.

I have noticed that the zlib version was bumped from 1.2.13 to 1.3 when I m=
oved
to 14.0, and possibly there's something in the zlib source files, or someth=
ing
in the ports framework has changed that causes some files to be incorrectly
parsed, or these ports themselves need to include checks for which FreeBSD
version is running.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273915-7788>