Skip to content

Nix: Remove support for ghc-8.10 #1973

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

Closed

Conversation

sgillespie
Copy link
Contributor

Description

Add your description here, if it fixes a particular issue please provide a link to the issue.

Checklist

  • Commit sequence broadly makes sense
  • Commits have useful messages
  • New tests are added if needed and existing tests are updated
  • Any changes are noted in the changelog
  • Code is formatted with fourmolu on version 0.10.1.0 (which can be run with scripts/fourmolize.sh)
  • Self-reviewed the diff

Migrations

  • The pr causes a breaking change of type a,b or c
  • If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
  • Resyncing and running the migrations provided will result in the same database semantically

If there is a breaking change, especially a big one, please add a justification here. Please elaborate
more what the migration achieves, what it cannot achieve or why a migration is not possible.

@sgillespie
Copy link
Contributor Author

Static build of postgresql-libpq is broken with:

error: /nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: warning: ld-linux-x86-64.so.2, needed by /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6, not found (try using -rpath or -rpath-link)
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.2.5'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_catch_exception@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_audit_symbind_alt@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_audit_preinit@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_find_dso_for_object@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_deallocate_tls@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__rseq_size@GLIBC_2.35'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_fatal_printf@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_allocate_tls_init@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__tunable_is_initialized@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__nptl_change_stack_perm@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_signal_error@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__tunable_get_val@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_rtld_di_serinfo@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_signal_exception@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `_dl_allocate_tls@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
/nix/store/k96hwk5kchszhh9ckhmdb2z27sy2iy85-x86_64-unknown-linux-musl-binutils-2.44/bin/x86_64-unknown-linux-musl-ld: /nix/store/g3s0z9r7m1lsfxdk8bj88nw8k8q3dmmg-glibc-2.40-66/lib/libc.so.6: undefined reference to `__tls_get_addr@GLIBC_2.3'
collect2: error: ld returned 1 exit status

To reproduce, run: nix build .\#cardano-db-sync-linux

@sgillespie sgillespie force-pushed the feature/remove-ghc-810 branch from dcb1845 to c5828d0 Compare May 27, 2025 13:41
@sgillespie sgillespie closed this Jun 13, 2025
@sgillespie sgillespie force-pushed the feature/remove-ghc-810 branch from df3646e to 17920c7 Compare June 13, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant