Skip to content

Feature support NetBSD/OpenBSD #14

Description

@rocky

In testing libcdio-rs, we noticed that NetBSD driver support might be lacking.

On OpenBSD:

$ PAGER=cat git show
commit dc89dd4115065ba7b0a0bf4165bed11b2b1454ec (HEAD -> main, origin/main, origin/HEAD)
Merge: 6300602 9b7d990
Author: Shiva Kiran Koninty <142958357+skr4n@users.noreply.github.com>
Date:   Mon Aug 24 15:59:05 2026 +0000

    Merge pull request #44 from libcdio/fixes

    Fix tests and a thread safety bug

$ cargo test --all-features --lib --
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
     Running unittests src/lib.rs (target/debug/deps/libcdio_rs-a9242dbfd0e136d4)

running 69 tests
test drive::tests::capabilities ... ignored, requires a disc drive
test drive::tests::drives ... ignored, requires a disc drive
test drive::tests::hardware_identifiers ... ignored, requires a disc drive
test drive::tests::with_drive ... ignored, requires a disc drive
test iso9660::entry::tests::read_dir ... ok
error: test failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `/home/rocky/src/github/libcdio/libcdio-rs/target/debug/deps/libcdio_rs-a9242dbfd0e136d4` (signal:\
 11, SIGSEGV: invalid memory reference)
$ uname -s
OpenBSD 

@skr4n reports:

The headers are probably not getting set.

https://github.com/libcdio/libcdio-sys/blob/master/vendor/config.h

would need to add support in libcdio-sys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions