Bug #2073
openpkg:/system/header should depend on pkg:/library/math/header-math
0%
Description
Because pkg:/system/header includes the AST headers there is one reference to math.h there:
usr/include/ast/ast_float.h:#include <math.h>
So technically there should be a dependency expressed in the packaging.
However, my main motivation for having system/header depend on header-math would actually be a cheap workaround for the fact that header-math is not pulled in by some developer packages.
Updated by Albert Lee over 10 years ago
If the AST headers were split off, this becomes a different story... system/header will have no technical reason to depend on header-math, but logically the libm API is just part of the system interfaces (when libm integrates there may not be a reason to have a distinct header-math).
Updated by Rich Lowe over 10 years ago
Yeah, when libm integrates I want the math headers in system/header properly.
Updated by Igor Kozhukhov over 10 years ago
I'll be ready with LIBM on next week with checks on SPARC.
need check full builds with lint.
another idea - maybe we will provide separate -dev package with development staff ?
will be possible: static libs, headers, .so symlinks, etc ...
Updated by Albert Lee over 10 years ago
Igor S.Kozhukhov wrote:
I'll be ready with LIBM on next week with checks on SPARC.
need check full builds with lint.
another idea - maybe we will provide separate -dev package with development staff ?
will be possible: static libs, headers, .so symlinks, etc ...
One very important feature of pkg(5) uses tagging to indicate development files, these tagged files are optional "facets" of a package. pkg:/system/library could use this to make pkg:/system/header obsolete.
Updated by Rich Lowe over 10 years ago
For extra clarity, while system/library could, it won't. The right way to do that is to move content out of system/library and system/header into new, smaller packages which then do the right thing.
The right thing to do with the math headers is either add them to system/header, or to add them to the math library package itself. I would prefer they be in the math library package, now I think about it.
Updated by Rich Lowe over 10 years ago
Oh, and yes, what Albert said. No -dev packages.