From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Iteratively Make & Make Install Subpackages
Date: Wed, 13 Mar 2019 09:09:22 +0100 [thread overview]
Message-ID: <20190313080922.omidtsrj6bg3sz6e@pengutronix.de> (raw)
In-Reply-To: <CAJ1upxe32baQsZfr27nPc9D+_3TFmxTeuhFdVk+4S8aRCTfmqw@mail.gmail.com>
Hi,
On Tue, Mar 12, 2019 at 06:56:24PM +0800, Chin You Wen (WMSC-HW) wrote:
> 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.
Du you have any local changes to either package? PTXdist already has the
necessary dependencies and builds as expected last time I checked.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2019-03-13 8:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-12 10:56 Chin You Wen (WMSC-HW)
2019-03-12 11:45 ` Roland Hieber
2019-03-13 8:09 ` Michael Olbrich [this message]
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190313080922.omidtsrj6bg3sz6e@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox