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

The plugin now no longer works on x86 #14

Open
Roberto-Gentili opened this issue Oct 3, 2023 · 8 comments
Open

The plugin now no longer works on x86 #14

Roberto-Gentili opened this issue Oct 3, 2023 · 8 comments

Comments

@Roberto-Gentili
Copy link

The plugin now no longer works on x86 and throws this exception:

`Chocolatey` upgraded 1/1 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Remove-Item: D:\a\_temp\d5bbce78-0bb4-467d-86c8-58d03d7142e8.ps1:140
Line |
 140 |          Remove-Item (Join-Path $mingw_lib 'libpthread.dll.a')
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Cannot find path
     | 'C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw32\i686-w64-mingw32\lib\libpthread.dll.a' because it
     | does not exist.

Here the workflow

@MarkCallow
Copy link

It's broken for x64 as well. Seems the latest MinGW (13.1.0) has removed this file. I'm about to try

with:
  static: 0

which should tell the Action to no longer attempt to remove this file.

Even if this works, the Action should be fixed.

@Roberto-Gentili
Copy link
Author

Roberto-Gentili commented Oct 3, 2023

It's broken for x64 as well. Seems the latest MinGW (13.1.0) has removed this file. I'm about to try

Even with this:
image

... It does not work:

image

@jesse-lemurian
Copy link

Also broken for me; tracking this thread.

@Roberto-Gentili
Copy link
Author

I solved by using an old compiler version:

image

... We should do some experiments to understand which version is the latest working one

@V0ldek
Copy link

V0ldek commented Oct 4, 2023

Version 12.2.0 works.

Version 13.1.0 was released on 17th of September and broke the builds:

image

No idea what changed in that release, because the MinGW team stopped tagging releases and updating the Changelog two major versions ago... (https://www.mingw-w64.org/changelog/)

In any case, pinning to 12.2.0 is a workaround for now.

@V0ldek
Copy link

V0ldek commented Oct 4, 2023

It's broken for x64 as well. Seems the latest MinGW (13.1.0) has removed this file. I'm about to try

Even with this: image

... It does not work

The error is different though, no longer about pthreads.

Line |
  18 |      $exe_path = (Get-Command $Exe).Path
     |                   ~~~~~~~~~~~~~~~~
     | The term 'i686-w64-mingw32-gcc' is not recognized as a name of a cmdlet, function, script file, or executable
     | program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
     | again.

V0ldek added a commit to rsonquery/rsonpath that referenced this issue Oct 4, 2023
MinGW 13.1.0 broke stuff in the setup-mingw step. Pinning to 12.2.0 is a temporary workaround. See egor-tensin/setup-mingw#14 for details.
V0ldek added a commit to rsonquery/rsonpath that referenced this issue Oct 4, 2023
MinGW 13.1.0 broke stuff in the setup-mingw step. Pinning to 12.2.0 is a temporary workaround. See egor-tensin/setup-mingw#14 for details.
@jesse-lemurian
Copy link

jesse-lemurian commented Oct 4, 2023

Confirming 12.2.0 works for me, thanks @V0ldek

akien-mga added a commit to akien-mga/godot-cpp that referenced this issue Oct 4, 2023
akien-mga added a commit to godotengine/godot-cpp that referenced this issue Oct 4, 2023
akien-mga added a commit to godotengine/godot-cpp that referenced this issue Oct 4, 2023
akien-mga added a commit to godotengine/godot-cpp that referenced this issue Oct 4, 2023
akien-mga added a commit to godotengine/godot-cpp that referenced this issue Oct 4, 2023
akien-mga added a commit to godotengine/godot-cpp that referenced this issue Oct 4, 2023
@scribam scribam mentioned this issue Oct 4, 2023
4 tasks
claremacrae added a commit to approvals/ApprovalTests.cpp that referenced this issue Oct 12, 2023
ashvardanian added a commit to unum-cloud/usearch that referenced this issue Oct 24, 2023
ashvardanian pushed a commit to unum-cloud/usearch that referenced this issue Oct 24, 2023
# [2.8.0](v2.7.8...v2.8.0) (2023-10-24)

### Add

* Jensen-Shannon Divergence-based distance ([799284c](799284c))
* metadata retrieval from C ([4e98cfb](4e98cfb)), closes [#198](#198)

### Docs

* Compatibility with JavaDoc ([d28dc1a](d28dc1a))

### Fix

* Missing header for `size_t` ([e7bbb2c](e7bbb2c))

### Make

* Update C build pipelines for C# deps ([89f53e7](89f53e7))
* Use older MinGW ([9b91f5d](9b91f5d)), closes [egor-tensin/setup-mingw#14](egor-tensin/setup-mingw#14)
* Use recent compiler for NPM uploads ([90042b1](90042b1))
@shueja
Copy link

shueja commented Feb 2, 2024

According to the maintainer of the Chocolatey listing for Mingw, the Chocolatey install method was changed for 13.1.0 due to a few reasons:
http://disq.us/p/2w5c5tj

Unfortunately this involved a change in the location of the install directory, leading to the issue with libpthread being missing.

V0ldek added a commit to rsonquery/rsonpath that referenced this issue Feb 29, 2024
 egor-tensin/setup-mingw#14 is still not fixed, pinning to 12.2.0 to avoid issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants