Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows builds are broken #1296

Open
javierggt opened this issue Mar 6, 2024 · 9 comments
Open

Windows builds are broken #1296

javierggt opened this issue Mar 6, 2024 · 9 comments

Comments

@javierggt
Copy link
Contributor

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
Copy link
Contributor

jeanconn commented Mar 6, 2024

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

@javierggt
Copy link
Contributor Author

yes, but that should have no effect, actually.

@jeanconn
Copy link
Contributor

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

@javierggt
Copy link
Contributor Author

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

@jeanconn
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor Author

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

@jeanconn
Copy link
Contributor

Looks like it doesn't impact xija.

@jeanconn
Copy link
Contributor

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

@javierggt javierggt reopened this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants