Hi, the MySQL backend is not enabled and gives me an error, when specifying the URI: Error loading config: `DATABASE_URL` is a MySQL URL, but the 'mysql' feature is not enabled I'd like to request to enable it. Thanks Martin
Created attachment 223056 [details] Simple patch Trivial patch attached. MySQL support unconditionally added.
Hi, the trivial patch seems to be too trivial :-) In poudriere I get: ... = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.0.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.1.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.10.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.11.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.12.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.13.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.14.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.15.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.2.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.3.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.4.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.5.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.6.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.7.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.8.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.migrations_macros.34vhce1y-cgu.9.rcgu.o" "-o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libmigrations_macros-4a09eed505ac5101.so" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.or9kasr0vbjdeov.rcgu.o" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/migrations_macros-4a09eed505ac5101.4mi4myer4p1ws3yu.rcgu.o" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps" "-L" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/build/libsqlite3-sys-387e434c815b783a/out" "-L" "/usr/local/lib" "-L" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib" "-Wl,-Bstatic" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libsyn-fb0e9ce654d9a700.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libquote-ed33ff81e33d6431.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libproc_macro2-6a85194d02bfe5fe.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libunicode_xid-b7c5419ad6418cda.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libproc_macro-a709485f9bfb1def.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libmigrations_internals-eeef49ec97385b39.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libdiesel-829a340faab37367.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/liblibsqlite3_sys-d7991366df1bbaf2.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libpq_sys-1cd2a688d3cf837d.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libchrono-f3ef119e3eb106fa.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libnum_integer-91ea9df1d2877b03.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libnum_traits-74f9db2dd1807eec.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libtime-e4deb30d202c37b4.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/liburl-cb1b15d03191c466.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libpercent_encoding-25b410acebabf836.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libidna-9c899b2610145cee.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libunicode_normalization-6dc84a71c9e671eb.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libtinyvec-1c42b9c48e7096b7.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libtinyvec_macros-2f4f28e20ef3aafd.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libunicode_bidi-cc0c9cda650a9ce5.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libmatches-374e5b956434ec8a.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libmysqlclient_sys-f38d1319eeb6e887.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libr2d2-32b3a4b32fbede3f.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libscheduled_thread_pool-e838990b84503ef7.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libparking_lot-6b16e4e1efce46de.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libparking_lot_core-02c99878b7fd03d1.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/liblibc-e8cb05f2dc2725ed.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libsmallvec-4a1432e493423422.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/liblock_api-f71b923bd23f7d28.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libscopeguard-d871aefe32d5e107.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libinstant-4638695331981802.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libcfg_if-a6b02e66f3d1cc50.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/liblog-8418c4fe7acb9de2.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libcfg_if-f195bbc2ca120647.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libbyteorder-d8dbfa6a1a0c2081.rlib" "/wrkdirs/usr/ports/security/bitwarden_rs/work/target/release/deps/libbitflags-5bc7e21027bb5c59.rlib" "-Wl,--start-group" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libstd-51221f867f83fee2.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libpanic_unwind-04fc9cf04b6ea46e.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libminiz_oxide-c95c6e08d8743d54.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libadler-a52cdc9be5b7325f.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libobject-47ecdc2a629be1ac.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libaddr2line-cdcf50e61aaebfdf.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libgimli-20e9eb5070426496.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_demangle-a9b09d7ac71aa5d2.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libhashbrown-62b914a276e92ad4.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_std_workspace_alloc-e9a51f54421bd0fc.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libunwind-7dd1d2ed32471b9e.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libcfg_if-7e560acffe58a69a.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/liblibc-c2a725780a2a6433.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/liballoc-d23fad28d2fce5a2.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/librustc_std_workspace_core-28a7720eb81dbabd.rlib" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libcore-65e18c75261d1920.rlib" "-Wl,--end-group" "/usr/local/lib/rustlib/x86_64-unknown-freebsd/lib/libcompiler_builtins-61f70c49b7cfe9cc.rlib" "-Wl,-Bdynamic" "-lpq" "-lmysqlclient" "-lrt" "-lutil" "-lutil" "-lexecinfo" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lrt" "-lutil" "-lutil" "-L/usr/local/lib" "-fstack-protector-strong" = note: ld: error: unable to find library -lmysqlclient cc: error: linker command failed with exit code 1 (use -v to see invocation) error: aborting due to previous error error: could not compile `migrations_macros` ...
A commit references this bug: Author: mr Date: Thu Mar 11 14:58:51 UTC 2021 New revision: 568097 URL: https://svnweb.freebsd.org/changeset/ports/568097 Log: Update to 1.19.0 and enable mysql client support PR: 254077 Changes: head/security/bitwarden_rs/Makefile head/security/bitwarden_rs/distinfo head/security/bitwarden_rs/pkg-plist