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

azure pipeline の MinGW でビルドエラーになる #1333

Closed
m-tmatma opened this issue Jul 4, 2020 · 2 comments
Closed

azure pipeline の MinGW でビルドエラーになる #1333

m-tmatma opened this issue Jul 4, 2020 · 2 comments
Labels
azure pipelines CI appveyor など CI 関連 【ChangeLog除外】

Comments

@m-tmatma
Copy link
Member

m-tmatma commented Jul 4, 2020

問題内容

azure pipeline の MinGW でビルドエラーになる

再現手順

https://dev.azure.com/sakuraeditor/8a4927d0-fbf2-4d46-9d36-17af9073ab33/_apis/build/builds/1838/logs/192
https://dev.azure.com/sakuraeditor/sakura/_build/results?buildId=1838&view=logs&j=e3f261b8-cb91-53d9-e383-fc59c474186f&t=75b39395-e724-5110-ab93-ae411bccd39a

2020-07-03T15:08:17.5477397Z cinst msys2 --params "/InstallDir=C:/msys64" --no-progress
2020-07-03T15:08:17.5955892Z ========================== Starting Command Output ===========================
2020-07-03T15:08:17.6379954Z ##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\f8d44ed3-295f-4d26-b666-6c9cb37a8875.cmd""
2020-07-03T15:08:18.9023517Z Chocolatey v0.10.15
2020-07-03T15:08:28.4649157Z Installing the following packages:
2020-07-03T15:08:28.4659185Z msys2
2020-07-03T15:08:28.5299879Z By installing you accept licenses for the packages.
2020-07-03T15:10:08.9414049Z Error retrieving packages from source 'https://chocolatey.org/api/v2/':
2020-07-03T15:10:08.9415569Z  The operation has timed out
2020-07-03T15:10:08.9434599Z msys2 not installed. The package was not found with the source(s) listed.
2020-07-03T15:10:08.9435641Z  Source(s): 'https://chocolatey.org/api/v2/'
2020-07-03T15:10:08.9436821Z  NOTE: When you specify explicit sources, it overrides default sources.
2020-07-03T15:10:08.9439817Z If the package version is a prerelease and you didn't specify `--pre`,
2020-07-03T15:10:08.9442262Z  the package may not be found.
2020-07-03T15:10:08.9443975Z Please see https://chocolatey.org/docs/troubleshooting for more 
2020-07-03T15:10:08.9445016Z  assistance.
2020-07-03T15:10:08.9589801Z 
2020-07-03T15:10:08.9591524Z Chocolatey installed 0/1 packages. 1 packages failed.
2020-07-03T15:10:08.9594319Z  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-07-03T15:10:08.9595662Z 
2020-07-03T15:10:08.9615708Z Failures
2020-07-03T15:10:08.9625131Z  - msys2 - msys2 not installed. The package was not found with the source(s) listed.
2020-07-03T15:10:08.9626363Z  Source(s): 'https://chocolatey.org/api/v2/'
2020-07-03T15:10:08.9627509Z  NOTE: When you specify explicit sources, it overrides default sources.
2020-07-03T15:10:08.9628623Z If the package version is a prerelease and you didn't specify `--pre`,
2020-07-03T15:10:08.9629779Z  the package may not be found.
2020-07-03T15:10:08.9631221Z Please see https://chocolatey.org/docs/troubleshooting for more 
2020-07-03T15:10:08.9632030Z  assistance.

https://dev.azure.com/sakuraeditor/8a4927d0-fbf2-4d46-9d36-17af9073ab33/_apis/build/builds/1841/logs/239
https://dev.azure.com/sakuraeditor/sakura/_build/results?buildId=1841&view=logs&j=e3f261b8-cb91-53d9-e383-fc59c474186f&t=aac127ac-8c3a-5e3b-0b12-66f255f874eb

2020-07-04T04:56:25.1344434Z Generating script.
2020-07-04T04:56:25.1483221Z Script contents:
2020-07-04T04:56:25.1512852Z C:\msys64\usr\bin\bash --login -c "pacman -S --noconfirm mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-libs"
2020-07-04T04:56:25.2095504Z ========================== Starting Command Output ===========================
2020-07-04T04:56:25.2434943Z ##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\5d563d4c-b42f-4648-98e8-90a15eb65583.cmd""
2020-07-04T04:56:26.2435270Z error: mingw32: signature from "David Macek <[email protected]>" is marginal trust
2020-07-04T04:56:26.4132516Z error: mingw64: signature from "David Macek <[email protected]>" is marginal trust
2020-07-04T04:56:26.5810121Z error: msys: signature from "David Macek <[email protected]>" is marginal trust
2020-07-04T04:56:26.5816144Z error: database 'mingw32' is not valid (invalid or corrupted database (PGP signature))
2020-07-04T04:56:26.5817282Z error: database 'mingw64' is not valid (invalid or corrupted database (PGP signature))
2020-07-04T04:56:26.5818263Z error: database 'msys' is not valid (invalid or corrupted database (PGP signature))

再現頻度

100%

問題のカテゴリ

  • ビルドの問題
    • Azure Pipelines
@m-tmatma
Copy link
Member Author

m-tmatma commented Jul 4, 2020

起きなくなっているかも。
一時的な server 側の問題?

@berryzplus
Copy link
Contributor

この問題って msys2 インストールでエラーが発生する、という話かと思います。

msys2インストールに伴う問題であれば、#1352 azure pipelineのmsys2インストールをやめる。 のマージにより解消したと考えられるので閉じておきます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure pipelines CI appveyor など CI 関連 【ChangeLog除外】
Projects
None yet
Development

No branches or pull requests

3 participants