FLTK logo

Re: [fltk.coredev] GitHub Actions (CI): failed Windows builds

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: GitHub Actions (CI): failed Windows builds Albrecht Schlosser Nov 25, 2022  
 
On 11/24/22 16:15 Albrecht Schlosser wrote:
Hi Devs (and others),

we are experiencing failed Windows builds in our automatic (GitHub actions) build process.

tl;dr: I opened a GitHub bug report: https://github.com/actions/runner-images/issues/6627


These failed builds occurred first on Nov. 22 (intermittently) and seem to happen regularly (i.e. always) since today. I tracked it down to a new GitHub runner image (see report) that happened to be used randomly during the last two days and obviously always since today.

You can follow the bug report (link above) and I will report here when I will get noteworthy news.

OK, this is fixed now.

It was caused by incompatible image libraries (libjpeg, libpng, and/or zlib) included in the "new" GitHub runner image. Our build used these libs because it was not configured to use the local libs to build fluid and fluid could not be executed because of these incompatible libs (dll's). Disabling the system libs via CMake options fixed this issue for us.

I fixed it in:
commit c1a7c4af042a593b4b3a1df3e750b0cc80362486
Author: Albrecht Schlosser <albrechts.fltk@...>
Date:   Fri Nov 25 17:24:18 2022 +0100

    Fix GitHub Actions (CI) for Windows builds
    
    This was necessary because the latest GitHub "runner" image (20221120.1)
    includes incompatible image libs (libjpeg, libpng, and zlib). This
    caused `fluid-cmd.exe` to fail with error code -1073741511. For further
    information please refer to this GitHub Issue:
      https://github.com/actions/runner-images/issues/6627
    
    The previous runner version (20221027.1) did not include these libs
    and our build used the internal libs and worked.
    
    The fix is to disable the search for system libs in CMake.
    
    Note: this does not explain *why* these libs are incompatible.

I'm not going to investigate further why these libs are incompatible -- at least not now.

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/4677d78c-757b-947c-f016-c81a95bce121%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.