-
Notifications
You must be signed in to change notification settings - Fork 90
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
meson: compile error on NetBSD when building without CUPS #1774
Comments
@hfath I wasn't able to reproduce what you saw. In my NetBSD 10.0 setup, with no cups libs installed, doing meson setup with -Dwith-appletalk=true I get in the setup log...
Afterwards, I can still compile the code without error. Would you mind sharing your meson-log for a failed build? |
I guess the problem is that meson manages to detect an installed cups past the buildlink mechanism that tries to hide it...
and then
From the meson log
I wonder how that can be averted for pkgsrc builds. |
For a bit of background: pkgsrc comes with a mechanism that restricts a package build to the declared dependencies (destdir, elsewhere called fakeroot). Toolchain wrappers point include and library paths to directories with symlink farms, and PATH is re-directed likewise. Since this is not a full-blown chroot, looking for a tool with absolute path (like /usr/pkg/bin/cups-config above) will get you the tool, breaking the abstraction. That could be avoided by just looking for the tool, relying on PATH which pkgsrc then can manipulate. |
Alternatively, if meson is just being too smart for its own good, a with-cups option might be what the doctor prescribes. |
Interesting, this gives me a better idea what's going on. We're using the built-in Meson We have a |
FWIW, CUPS detection is changing with libcups3. They are moving to a standard |
Building with appletalk support but without CUPS reportedly fails on NetBSD.
The text was updated successfully, but these errors were encountered: