| [10:33:18] | * farmBOT has joined #farmos |
| [11:41:18] | <mstenta[m]> | symbioquine: Ah just remembered we need to backport SQLite3 from Debian Trixie to get our Drupal 11 tests to pass :-) |
| [11:42:07] | <mstenta[m]> | I tried using the simple `bookworm-backports` approach described [here](https://wiki.debian.org/Backports), but it doesn't appear to be included in the backports packages |
| [11:42:19] | <mstenta[m]> | So we might need to build from source. |
| [11:56:16] | <symbioquine[m]> | I think this issue might have the answer: https://github.com/ddev/ddev/issues/6110 |
| [11:57:44] | <symbioquine[m]> | Hmmm, maybe the work-around there has stopped working: https://github.com/docker-library/drupal/issues/264#issuecomment-2363045480 |
| [11:58:08] | <symbioquine[m]> | (I haven't tested any of this personally - just skimming possibly relevant search results) |
| [12:02:09] | <symbioquine[m]> | Some folks seem to be pulling the packages from repo snapshots to get around that: https://github.com/lando/php/commit/752987b0006fb5b2f032b93448cb5b7a98b0... |
| [13:11:53] | <mstenta[m]> | Ah great! Thanks for sharing these! |
| [13:38:28] | <mstenta[m]> | This seems like it will work (adapted from various sources above):... (full message at <https://matrix.org/oftc/media/v1/media/download/AfjJXNtbYZJZ0UXxMVKP40HM...) |
| [13:39:02] | <mstenta[m]> | The only thing is we need to set ${TARGETARCH}. |
| [13:39:26] | <mstenta[m]> | symbioquine: Do you know if there's an architecture variable already available? |
| [13:40:00] | <mstenta[m]> | Or will we need to pass that through from our deliver.yml builds? |
| [13:42:04] | <mstenta[m]> | Ah dang... that won't work anyway. amd64 would work, but the Debian package for ARM is arm64, whereas in our deliver.yml we use arm32v7 and arm64v8 |
| [13:42:34] | <mstenta[m]> | Here are the available packages (from that particular snapshot.debian.org repo): https://snapshot.debian.org/archive/debian/20240506T211830Z/pool/main/s/... |
| [13:43:42] | <mstenta[m]> | (FWIW I think we only need libsqlite3-0. We don't need sqlite3 itself. |
| [13:43:57] | <mstenta[m]> | Our current Docker image has libsqlite3-0 but not sqlite3. |
| [13:44:15] | <mstenta[m]> | (The latter just provides the sqlite3 CLI commands) |
| [13:50:45] | <mstenta[m]> | (Also interesting: @catch reopened the issue and it sounds like they are considering lowering the requirement again because of all the issues this caused: https://www.drupal.org/project/drupal/issues/3346338#comment-15742090 - Doesn't seem like we should hold our breath for that though...) |
| [13:53:37] | <mstenta[m]> | <mstenta[m]> "The only thing is we need to set..." <- Oh wait... `TARGETARCH` is set by Docker during the build... (?) |
| [13:54:52] | <mstenta[m]> | Pushing a commit to test this... |
| [15:58:30] | <symbioquine[m]> | <mstenta[m]> "Ah dang... that won't work..." <- also, easy enough to trim the v(7|8) part off...... (full message at <https://matrix.org/oftc/media/v1/media/download/AYQ_tPwFJAqGxVBwoCOXpaoS...) |
| [15:59:14] | <symbioquine[m]> | (always have to look the exact syntax up, but knowing is half the battle right?) |
| [15:59:23] | <mstenta[m]> | I think I have something working... took a little fiddling :-) |
| [16:00:26] | <mstenta[m]> | tl;dr $TARGETARCH gets set to arm64 and amd32 just like we want, but in the case of arm32v7 it gets set to arm... but we actually need it to be armhf for the .deb filename 😵💫 |
| [16:00:48] | <mstenta[m]> | This is what I'm testing right now:... (full message at <https://matrix.org/oftc/media/v1/media/download/AeDqX_TN5jOwQWnXNYVMHguu...) |
| [16:12:11] | <mstenta[m]> | Build step worked on all three architecutures 👍️ now just waiting to see if the SQLite3 tests run |
| [16:34:28] | <mstenta[m]> | SQLite3 tests ran! 🎉 |
| [16:34:49] | <mstenta[m]> | Still one more test failure to fix generally... but we're well on our way! Hope to have that fixed soon... |