-
Notifications
You must be signed in to change notification settings - Fork 394
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
don't set SQLITE3_LIB_DIR
in FreeBSD images
#549
Conversation
bors r+ |
505: Make the `USER` variable to `docker` optional r=reitermarkus a=eZanmoto Populating this variable fails under Linux if the local user doesn't have a username. This may happen when using Docker and mapping a user ID from the host into a container, such as when using `--user=$(id -u):$(id -g)`. I suggest making the `USER` environment variable passed to `docker` optional, which allows `cross` to work in the given scenario. 511: FreeBSD: add libssp r=reitermarkus a=junhochoi This is required to build some native projects which is build with -fstack-protector when linked. Also update sqlite3 version (quarterly is updated) 549: don't set `SQLITE3_LIB_DIR` in FreeBSD images r=reitermarkus a=tesaguri The environment variable has broken procedural macro crates which depend on `libsqlite3-sys`, such as `migrations_macros`. Even without the variable, `libsqlite3-sys` finds the correct path anyway. This fixes #520, as shown in the CI at [tesaguri/cross-freebsd-diesel_migrations-test] repository. Additionally, this PR updates `freebsd{,-extras}.sh` to use OpenSSL from the base system, because the URLs `https://pkg.freebsd.org/FreeBSD:12:{amd64,i686}/quarterly/All/openssl-1.1.1j,1.txz` returns `404` now. [tesaguri/cross-freebsd-diesel_migrations-test]: https://github.com/tesaguri/cross-freebsd-diesel_migrations-test Co-authored-by: Sean Kelleher <ezanmoto@gmail.com> Co-authored-by: Junho Choi <junho.choi@gmail.com> Co-authored-by: Markus Reiter <me@reitermark.us> Co-authored-by: Daiki Mizukami <tesaguriguma@gmail.com>
Build failed (retrying...): |
511: FreeBSD: add libssp r=reitermarkus a=junhochoi This is required to build some native projects which is build with -fstack-protector when linked. Also update sqlite3 version (quarterly is updated) 549: don't set `SQLITE3_LIB_DIR` in FreeBSD images r=reitermarkus a=tesaguri The environment variable has broken procedural macro crates which depend on `libsqlite3-sys`, such as `migrations_macros`. Even without the variable, `libsqlite3-sys` finds the correct path anyway. This fixes #520, as shown in the CI at [tesaguri/cross-freebsd-diesel_migrations-test] repository. Additionally, this PR updates `freebsd{,-extras}.sh` to use OpenSSL from the base system, because the URLs `https://pkg.freebsd.org/FreeBSD:12:{amd64,i686}/quarterly/All/openssl-1.1.1j,1.txz` returns `404` now. [tesaguri/cross-freebsd-diesel_migrations-test]: https://github.com/tesaguri/cross-freebsd-diesel_migrations-test Co-authored-by: Junho Choi <junho.choi@gmail.com> Co-authored-by: Markus Reiter <me@reitermark.us> Co-authored-by: Daiki Mizukami <tesaguriguma@gmail.com>
Build failed (retrying...): |
549: don't set `SQLITE3_LIB_DIR` in FreeBSD images r=reitermarkus a=tesaguri The environment variable has broken procedural macro crates which depend on `libsqlite3-sys`, such as `migrations_macros`. Even without the variable, `libsqlite3-sys` finds the correct path anyway. This fixes #520, as shown in the CI at [tesaguri/cross-freebsd-diesel_migrations-test] repository. Additionally, this PR updates `freebsd{,-extras}.sh` to use OpenSSL from the base system, because the URLs `https://pkg.freebsd.org/FreeBSD:12:{amd64,i686}/quarterly/All/openssl-1.1.1j,1.txz` returns `404` now. [tesaguri/cross-freebsd-diesel_migrations-test]: https://github.com/tesaguri/cross-freebsd-diesel_migrations-test Co-authored-by: Daiki Mizukami <tesaguriguma@gmail.com>
Build failed:
|
3eb1a9a
to
5c1c9de
Compare
Rebased onto Still, test on But I don't think it's related to this change. It seems that |
the environment variable has broken procedural macro crates which depends on `libsqlite3-sys`, such as `migrations_macros`. even without the variable, `libsqlite3-sys` finds the correct path anyway. fixes cross-rs#520.
Rebased onto master. The MSRV issue seems to have already been fixed by the upstream. |
bors r+ |
Build succeeded: |
The environment variable has broken procedural macro crates which depend on
libsqlite3-sys
, such asmigrations_macros
.Even without the variable,
libsqlite3-sys
finds the correct path anyway.This fixes #520, as shown in the CI at tesaguri/cross-freebsd-diesel_migrations-test repository.
Additionally, this PR updatesfreebsd{,-extras}.sh
to use OpenSSL from the base system, because the URLshttps://pkg.freebsd.org/FreeBSD:12:{amd64,i686}/quarterly/All/openssl-1.1.1j,1.txz
returns404
now.