mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Iteratively Make & Make Install Subpackages
@ 2019-03-12 10:56 Chin You Wen (WMSC-HW)
  2019-03-12 11:45 ` Roland Hieber
  2019-03-13  8:09 ` Michael Olbrich
  0 siblings, 2 replies; 6+ messages in thread
From: Chin You Wen (WMSC-HW) @ 2019-03-12 10:56 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 945 bytes --]

Hello,

I am compiling the SELINUX userspace tools (
https://github.com/SELinuxProject/selinux) and I encountered this error.

load_policy.c:15:25: fatal error: sepol/sepol.h: No such file or directory
compilation terminated.

The sub-package libselinux depends on libsepol, but by default the PTXDist
rule file does not run makefile sections in sequential order, i.e. it
executes the compile section for all sub-packages first, followed by
install section. This results in the required libsepol dependencies to not
be found when libselinux needs it, and thus the above error.

Is there any way to accomplish this without splitting the sub-packages into
separate rule files? I am thinking of calling something like this:

@$(call compile, libsepol)
@$(call install, libsepol)
@$(call compile, libselinux)
@$(call install, libselinux)

but I am unsure if that is possible, or what the correct syntax is. Kindly
advise. Thanks.


Regards,
You Wen

[-- Attachment #1.2: Type: text/html, Size: 1559 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-03-15 10:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 10:56 [ptxdist] Iteratively Make & Make Install Subpackages Chin You Wen (WMSC-HW)
2019-03-12 11:45 ` Roland Hieber
2019-03-13  8:09 ` Michael Olbrich
2019-03-14  9:34   ` Chin You Wen (WMSC-HW)
2019-03-14 12:02     ` Michael Olbrich
2019-03-15 10:23       ` Chin You Wen (WMSC-HW)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox