Thanks for replying so fast.
Could you give me a brief explanation of virtual packages (or a link)?

Could you explain a bit more in detail why a rules/libblkid.make isn't required?
AFAIK libkmod has a rules/libkmod.in and a rules/libkmod.make,
don't know the reason why it does, just pointing it out.

Yeah, I have compared rules/libblkid.in and rules/udev.in to the current master
and it seems that our files are outdated, I will patch them and try again.
I am pretty embarrassed by the version of ptxdist that we use for our project
it says 1.99.20, since this is a big corporation, things don't really get 
updated
as frequently as they should and I don't have the authority to demand the 
upgrade.
Basically I have to work with what I have, but I am not losing faith!!!

--
Lijep pozdrav / Best regards
Jakov Šimunić

-----Original Message-----
From: Alexander Dahl <p...@lespocky.de> 
Sent: Monday, June 11, 2018 9:53 AM
To: ptxdist@pengutronix.de
Cc: Jakov Simunic <jakov.simu...@ericsson.com>
Subject: Re: [ptxdist] libblkid

Hello Jakov

On Mon, Jun 11, 2018 at 07:34:04AM +0000, Jakov Simunic wrote:
> I am confused about rules/libblkid.in, there is no corresponding 
> rules/libblkid.make file, I use this to build udev, but it fails this 
> way when i do the following:
> 
> ./ptxdist clean
> ./ptxdist compile udev
> 
> It fails in the configure with the error: checking for BLKID... not 
> found However, it builds when i first do this:
> 
> ./ptxdist clean
> ./ptxdist targetinstall util-linux-ng
> ./ptxdist compile udev

So udev seems to require libblkid, but for some reason no suitable libblkid is 
built before compiling udev.

This may get interesting, because both libblkid and udev are virtual packages 
(which lack documentation)?

> So my conclusion is that ptxdist can't build libblkid without a 
> corresponding rule/libblkid.make, should one be written?

No.

> Currently I just made udev.make select UTIL_LINUX_NG but it doesn't seem 
> right to me.

Neither to me. In ptxdist master UDEV_LEGACY selects (the virtual) LIBBLKID and 
SYSTEMD also selects LIBBLKID. LIBBLKID itself selects UTIL_LINUX_NG and 
UTIL_LINUX_NG_LIBBLKID. So that all looks good to me.

Which ptxdist version are you using? Did you compare the rules/libblkid.in and 
rules/udev.in to current master?

Greets
Alex

--
/"\ ASCII RIBBON | >With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.<
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to