mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-01 11:19:52 +03:00
failed to run custom build command for mysqlclient-sys v0.4.4
#2231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tessus on GitHub (Apr 4, 2025).
Vaultwarden Support String
n/a
Vaultwarden Build Version
d5039d9cDeployment method
Build from source
Custom deployment method
No response
Reverse Proxy
build issue
Host/Server Operating System
Linux
Operating System Version
Linux build3 6.13.9-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 29 01:29:31 UTC 2025 x86_64 GNU/Linux
Clients
Web Vault
Client Version
build issue (not a client issue)
Steps To Reproduce
d5039d9cExpected Result
a vw binary ;-)
Actual Result
Logs
Screenshots or Videos
No response
Additional Context
stdarg.his actually in the include dir (but is probably not found in the sub dir):@BlackDex commented on GitHub (Apr 5, 2025):
I wonder if it still works if you remove the bindgen feature from the mysqlclient-sys crate.
If not, it's another issue with the crate.
Which OS/Distro is used? And did you installed extra packages for building/compiling?
@tessus commented on GitHub (Apr 5, 2025):
In this case I am using Fedora 41 Server. I have installed all the dev packages required by vaultwarden and other rust programs.
stdarg.his always part of the standard compiler library and thus always available and found on Linux. It'd be the same as if stdio.h was missing. So something is certainly off.Yes, in this case it compiles fine.
@BlackDex commented on GitHub (Apr 5, 2025):
Ok, i have done some digging, and i think i can simplify the dockerfile and let everything work as it should.
pkg-configwas not configured correctly, and that caused us to jump through hoops for the cross-builds.Now that i have set those options correct, i am able to build without issues and without the need of using buildtime-bindgen.
@tessus commented on GitHub (Apr 5, 2025):
Sounds good. I'm available for testing in a couple of hours.
@tessus commented on GitHub (Apr 5, 2025):
Thanks. I am just confirming that compiling completes successfully. ❤