Compilation failure on master
on OpenBSD #242
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#242
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
The first problem is the
0.9.75
version ofopenssl-sys
which is too old to support newer versions of LibreSSL. Doingcargo update
or patching the package fixes the issue.During compilation the following is thrown:
Fixing the values manually to
2
and2 << 1
respectively solves the problem (the source of libc provides these hardcoded values)Hello thanks a lot for the report! We need to push a fix for the openssl dependency.
As for the locale stuff, the openbsd port of meli has this patch:
9553e57ddd/mail/meli/patches/patch-modcargo-crates_libc-0_2_126_src_unix_bsd_netbsdlike_openbsd_mod_rs
Maybe we should incorporate these under a
#[cfg(target_os="openbsd")]
attribute. I would like to remove the libc locale dependency in the long term.@22h49 Could you confirm if branch
fix/242
fixes compilation on OpenBSD?The compilation now fails with
But indeed all of the openssl issues have been fixed, so I don't know if you want to close this issue or also resolve the libc dependency (or
cfg
gate it on OpenBSD)@22h49 I pushed a fix. It's night time now so I'll try to test it tomorrow on a virtualized openbsd. Feel free to close the issue if you want or I'll close it when I verify it, either is equally fine.
Can confirm that it's compiling and working now on OpenBSD on the fixed branch, closing. (Also thanks for writing and maintaining this, meli is quite cool)
@22h49 and thank you for taking the time to report this!