mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[GH-ISSUE #5751] failed to run custom build command for mysqlclient-sys v0.4.4 #2237
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/5751
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 4, 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 4, 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. ❤