Get initial FreeBSD support rolling - #3745
Draft
dwsuse wants to merge 1 commit into
Draft
Conversation
Contributor
Author
root@freebsd:~/nvme-cli # meson test -C .build
ninja: Entering directory `/root/nvme-cli/.build'
ninja: no work to do.
1/41 nvme-cli:shared - array-util OK 0.01s
2/41 nvme-cli:shared - base64 OK 0.00s
3/41 nvme-cli:shared - crc32 OK 0.00s
4/41 nvme-cli:shared - ini OK 0.00s
5/41 nvme-cli:shared - parse-util OK 0.00s
6/41 nvme-cli:shared - hash-util OK 0.00s
7/41 nvme-cli:shared - string-util OK 0.01s
8/41 nvme-cli:shared - io-util OK 0.01s
9/41 nvme-cli:shared - net-util OK 0.00s
10/41 nvme-cli:shared - shr-assert OK 0.00s
11/41 nvme-cli:shared - fs-util OK 0.01s
12/41 nvme-cli:libnvme - check-public-symbols OK 0.03s
13/41 nvme-cli:libnvme - cpp-dump OK 0.00s
14/41 nvme-cli:libnvme - cpp-misc OK 0.00s
15/41 nvme-cli:libnvme - uuid OK 0.00s
16/41 nvme-cli:libnvme - tree OK 0.00s
17/41 nvme-cli:libnvme - header/endian OK 0.00s
18/41 nvme-cli:libnvme - check-public-headers OK 0.04s
19/41 nvme-cli:libnvme - header/fabrics OK 0.01s
20/41 nvme-cli:libnvme - header/ioctl OK 0.01s
21/41 nvme-cli:libnvme - header/lib OK 0.01s
22/41 nvme-cli:libnvme - header/lib-types OK 0.01s
23/41 nvme-cli:libnvme - header/mi OK 0.01s
24/41 nvme-cli:libnvme - header/nbft OK 0.01s
25/41 nvme-cli:libnvme - header/nvme-cmds OK 0.01s
26/41 nvme-cli:libnvme - header/nvme-cmds-base OK 0.01s
27/41 nvme-cli:libnvme - header/nvme-cmds-fabrics OK 0.01s
28/41 nvme-cli:libnvme - header/nvme-cmds-mi OK 0.01s
29/41 nvme-cli:libnvme - header/nvme-cmds-nvm OK 0.01s
30/41 nvme-cli:libnvme - header/nvme-cmds-zns OK 0.01s
31/41 nvme-cli:libnvme - header/nvme-types OK 0.01s
32/41 nvme-cli:libnvme - header/nvme-types-base OK 0.01s
33/41 nvme-cli:libnvme - header/nvme-types-fabrics OK 0.01s
34/41 nvme-cli:libnvme - header/nvme-types-mi OK 0.01s
35/41 nvme-cli:libnvme - header/nvme-types-nbft OK 0.01s
36/41 nvme-cli:libnvme - header/nvme-types-nvm OK 0.01s
37/41 nvme-cli:libnvme - header/nvme-types-zns OK 0.01s
38/41 nvme-cli:libnvme - header/scan OK 0.01s
39/41 nvme-cli:libnvme - header/tree OK 0.01s
40/41 nvme-cli:libnvme - header/util OK 0.01s
41/41 nvme-cli:nvme-cli - command-metadata-schema SKIP 0.04s exit status 77
Ok: 40
Fail: 0
Skipped: 1
Full log written to /root/nvme-cli/.build/meson-logs/testlog.txt |
Merged
Add FreeBSD stubs to allow the project to build on a different platform. Signed-off-by: Daniel Wagner <dwagner@suse.com>
dwsuse
marked this pull request as draft
August 6, 2026 08:32
Contributor
Author
|
I've merged all cleanup patches. That means the "only" thing for FreeBSD support is to add code to these dummy implementation. I will not do this. Thus I am asking for someone who wants add the missing pieces. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Usually, porting to a new platform, architecture, or compiler uncovers generic problems throughout the codebase. The initial porting attempt to FreeBSD is no exception. We need to fix generic build dependencies and add dummy implementations for FreeBSD. These dummy implementations require further review, as some parts can and should be shared with Linux.