New comment by klarasm on void-packages repository https://github.com/void-linux/void-packages/pull/40414#issuecomment-1309090517 Comment: The patch using sys/param.h fails with this: ``` => openssh-9.1p1_2: installing host dependencies: automake-1.16.5_1 ... => openssh-9.1p1_2: installing target dependencies: libedit-devel-20221009.3.1_1 pam-devel-1.5.2_2 zlib-devel-1.2.13_1 mit-krb5-devel-1.18.3_2 libldns-devel-1.8.3_1 openssl-devel-1.1.1s_1 libfido2-devel-1.12.0_1 musl-devel-1.1.24_10 ... => openssh-9.1p1_2: removing autodeps, please wait... => openssh-9.1p1_2: removing autocrossdeps, please wait... => ERROR: openssh-9.1p1_2: failed to install target dependencies! (error 8) libdb-cxx-5.3.28_8: broken, unresolvable shlib `libgcc_s.so.1' libdb-cxx-5.3.28_8: broken, unresolvable shlib `libstdc++.so.6' Transaction aborted due to unresolved shlibs. => ERROR: Please see above for the real error, exiting... ``` `libdb-cxx` seems to be pulled in by `db-devel` which is pulled in by `libldap-devel` which is pulled in by `mit-krb5-devel`. If I add `musl-devel` to the patch using `gssrpc/types.h` it fails with the same message. So it seems to be some conflict in crosscompilation between a dependency of `mit-krb5-devel` and `musl-devel.