sot / skare3

Conda recipes for ska environment packages
4 stars 4 forks source link

Windows builds are broken #1296

Open javierggt opened 7 months ago

javierggt commented 7 months ago

This workflow failed, and it is basically the same that was used to build the current package in test: https://github.com/sot/test-actions/actions/runs/8175012785

This is how I triggered it:

repo.dispatch_event(
    "build-package",
    client_payload={
        "package": "sot/xija",
        "tag": '4.31.2',
        "arch": 'true',
        "skare3_branch": "master",
        "python_version": "3.11.7",
        "channel_in": "test",
        "channel_out": "test",
        "upload": "true",
    }
)

The error:

  File "C:\Miniconda\envs\conda-build\Lib\site-packages\conda\cli\main.py", line 118, in main
    from ..exceptions import conda_exception_handler
  File "C:\Miniconda\envs\conda-build\Lib\site-packages\conda\exceptions.py", line 24, in <module>
    from .models.channel import Channel
  File "C:\Miniconda\envs\conda-build\Lib\site-packages\conda\models\channel.py", line 17, in <module>
    from ..base.context import context, Context
  File "C:\Miniconda\envs\conda-build\Lib\site-packages\conda\base\context.py", line 58, in <module>
    from ..common._os.linux import linux_get_libc_version
  File "C:\Miniconda\envs\conda-build\Lib\site-packages\conda\common\_os\__init__.py", line 12, in <module>
    from .windows import get_free_space_on_windows as get_free_space
  File "C:\Miniconda\envs\conda-build\Lib\site-packages\conda\common\_os\windows.py", line 14, in <module>
    from ctypes import (POINTER, Structure, WinError, byref, c_ulong, c_char_p, c_int, c_ulonglong,
  File "C:\Miniconda\envs\conda-build\Lib\ctypes\__init__.py", line 8, in <module>
    from _ctypes import Union, Structure, Array
ImportError: DLL load failed while importing _ctypes: The specified module could not be found.
jeanconn commented 7 months ago

Probably unrelated, but I figured we're just building for python 3.11.8 now.

javierggt commented 7 months ago

yes, but that should have no effect, actually.

jeanconn commented 6 months ago

Did this get fixed, fix itself, or is it still broken (for some packages or ?)?

javierggt commented 6 months ago

should be broken. We built the packages in 2024.1 before this.

jeanconn commented 6 months ago

It had just looked to me, for example, that the recent non-fsds packages reported "success" for builds on all platforms https://github.com/sot/acdc/actions/runs/8473025950/job/23216438511

jeanconn commented 6 months ago

If the issue is that windows builds are still broken for xija, ska_numpy, and other c or c++ conda packages that's smaller scope. Or maybe I'm just misunderstanding.

javierggt commented 6 months ago

yes, this affects only packages that actually use libraries. I don't know which ones it affects

jeanconn commented 6 months ago

Looks like it doesn't impact xija.

jeanconn commented 4 weeks ago

If the current strategy is to just wait for the next failure and then work to fix it, this doesn't need an issue.