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

CI failure in rust / Windows #13236

Open
eli-schwartz opened this issue May 19, 2024 · 0 comments
Open

CI failure in rust / Windows #13236

eli-schwartz opened this issue May 19, 2024 · 0 comments
Labels
language:rust OS:windows Winodows OS specific issues

Comments

@eli-schwartz
Copy link
Member

================================= rust: 21 transitive dependencies =================================

[...]

Rust compiler for the build machine: rustc -C linker=link (rustc 1.78.0)

[...]

[17/23] "link"  /MACHINE:x64 /OUT:diamond/main.dll diamond/main.dll.p/main.c.obj "/release" "/nologo" "/DEBUG" "/PDB:diamond\main.pdb" "/DLL" "/IMPLIB:diamond\main.lib" "/WHOLEARCHIVE:diamond/libr3.a" "diamond/libr3.a" "diamond/libr1.rlib" "diamond/libc1.a" "diamond/libr2.rlib" "kernel32.lib" "advapi32.lib" "ntdll.lib" "userenv.lib" "ws2_32.lib" "msvcrt.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib"
FAILED: diamond/main.dll diamond/main.pdb 
"link"  /MACHINE:x64 /OUT:diamond/main.dll diamond/main.dll.p/main.c.obj "/release" "/nologo" "/DEBUG" "/PDB:diamond\main.pdb" "/DLL" "/IMPLIB:diamond\main.lib" "/WHOLEARCHIVE:diamond/libr3.a" "diamond/libr3.a" "diamond/libr1.rlib" "diamond/libc1.a" "diamond/libr2.rlib" "kernel32.lib" "advapi32.lib" "ntdll.lib" "userenv.lib" "ws2_32.lib" "msvcrt.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib"
libr3.a(api-ms-win-core-synch-l1-2-0.dll) : error LNK2005: __NULL_IMPORT_DESCRIPTOR already defined in libr3.a(bcryptprimitives.dll)
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
diamond\main.dll : fatal error LNK1169: one or more multiply defined symbols found

Possibly caused by a rust update?

Recent job manifesting the issue: https://dev.azure.com/jussi0947/jussi/_build/results?buildId=21182&view=logs&j=5015ea34-1c35-577b-b206-c8bea8465a58&t=00c5cf7c-b41c-5970-0bf5-8751e484378e&l=1920

@eli-schwartz eli-schwartz added OS:windows Winodows OS specific issues language:rust labels May 19, 2024
gnomesysadmins pushed a commit to GNOME/librsvg that referenced this issue May 27, 2024
Apparently, the latest stable 1.78.0 is causing linker errors when the librsvg
DLL is being linked.  Upstream Meson/Rust issue is outlined in [1].

Expect the Visual Studio CI job to pass, again :|

ugh... :|

[1]: mesonbuild/meson#13236
gnomesysadmins pushed a commit to GNOME/librsvg that referenced this issue May 27, 2024
Apparently, the latest stable 1.78.0 is causing linker errors when the librsvg
DLL is being linked.  Upstream Meson/Rust issue is outlined in [1].

Expect the Visual Studio CI job to pass, again :|

ugh... :|

[1]: mesonbuild/meson#13236

Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/981>
eli-schwartz added a commit to eli-schwartz/meson that referenced this issue Jun 4, 2024
It started failing CI as soon as the default shifted to 1.78. Something
is broken and it prevents running stable CI. Tracking issue opened.

We pin the version because that is the same way we handle CI for linux
-- with the exception that Linux CI can upgrade itself as soon as we
fix issues causing the CI Image Builder to jam itself, whereas
unfortunately Windows will need to be manually unpinned, but such is
life as a Windows supporter.

Bug: mesonbuild#13236
soumyaDghosh pushed a commit to soumyaDghosh/meson that referenced this issue Jun 4, 2024
It started failing CI as soon as the default shifted to 1.78. Something
is broken and it prevents running stable CI. Tracking issue opened.

We pin the version because that is the same way we handle CI for linux
-- with the exception that Linux CI can upgrade itself as soon as we
fix issues causing the CI Image Builder to jam itself, whereas
unfortunately Windows will need to be manually unpinned, but such is
life as a Windows supporter.

Bug: mesonbuild#13236
jwieleRH pushed a commit to jwieleRH/meson that referenced this issue Jun 5, 2024
It started failing CI as soon as the default shifted to 1.78. Something
is broken and it prevents running stable CI. Tracking issue opened.

We pin the version because that is the same way we handle CI for linux
-- with the exception that Linux CI can upgrade itself as soon as we
fix issues causing the CI Image Builder to jam itself, whereas
unfortunately Windows will need to be manually unpinned, but such is
life as a Windows supporter.

Bug: mesonbuild#13236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language:rust OS:windows Winodows OS specific issues
Projects
None yet
Development

No branches or pull requests

1 participant