[csw-maintainers] RUNTIME_DEP_PKGS for x86 ISAs only?

Maciej (Matchek) Bliziński maciej at opencsw.org
Mon Nov 7 10:06:56 CET 2011


2011/11/7 Geoff Davis <gadavis at opencsw.org>:
> I tried doing something like this:
> RUNTIME_DEP_PKGS_CSWlibnetcdff5_amd64 += CSWlibquadmath0
> RUNTIME_DEP_PKGS_CSWlibnetcdff5_i386 += CSWlibquadmath0
>
> But checkpkg doesn't like it.

The connection between the Makefile and checkpkg is via the package
itself, I generally suggest looking at the package itself to see if
your Makefile changes took effect.

> What am I missing?

To debug, try using "mgar show-var FOO", for example:

mgar show-var RUNTIME_DEP_PKGS_CSWlibnetcdff5

If you did that, you would see that your CSWlibquadmath0 did not make
it into RUNTIME_DEP_PKGS_CSWlibnetcdff5.

GAR doesn't pick up RUNTIME_DEP_PKGS_CSWlibnetcdff5_amd64 on its own.
It only reads RUNTIME_DEP_PKGS_CSWlibnetcdff5, so you need to write
something like this:

RUNTIME_DEP_PKGS_CSWlibnetcdff5 += RUNTIME_DEP_PKGS_CSWlibnetcdff5_$(GARCH)

Maciej


More information about the maintainers mailing list