As for the first question, OIIO_BUILD_TESTS just means "should I build the 
standalone unit test executables, like strutil_test, paramlist_test, etc.?" It 
doesn't actually disable the testsuite, nor the testsuite's need for some 
external tests.

The cmake option that controls whether the external test-related images are 
downloaded is:

    -DOIIO_DOWNLOAD_MISSING_TESTDATA=OFF

I'll look at your logs when I get a little more time later.


> On Apr 13, 2022, at 12:45 AM, Mathieu Bridon <[email protected]> wrote:
> 
> Hi,
> 
> I maintain the Flatpak build for Blender in Flathub, and I'm trying to update 
> it, rebuilding Blender and its deps from source.
> 
> OpenImageIO fails to build in the flatpak-builder environment, and there are 
> two issues I can't figure out:
> 
> - I try disabling the tests with `-DOIIO_BUILD_TESTS=0` but it still tries to 
> clone https://github.com/OpenImageIO/oiio-images.git and 
> https://github.com/AcademySoftwareFoundation/openexr-images.git, which 
> obviously fails because there is no network access inside a `flatpak-builder` 
> envionment, even though I tried to enable network access for the build... 
> This ends up slowing the build unnecessarily for no reason, but that's not 
> the real problem.
> 
> - the bigger problem is that the build ends up failing, and looking at the 
> logs I have no idea why :-/
> 
> I'm attaching the log files, it you could have a look and let me know what 
> happens and how to avoid it, I'll be very happy as it would allow me to 
> update Blender finally. :)
> 
> Thank you,
> 
> -- 
> Mathieu
> <CMakeOuput.log><CMakeError.log>_______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]





_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to