All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Building Network Manager fails at configure due to uuid package requirements error
@ 2017-05-23  8:35 Pascal K
  2017-05-23 13:26 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Pascal K @ 2017-05-23  8:35 UTC (permalink / raw)
  To: buildroot

Hello everyone,

I use buildroot-2016-08 with a out-of-tree out of source build environment
structure.
I tried to build the network-manager package (i think 1.0.14 and now I
switched to 1.4.2) both builds fail at configure due to the uuid Package
requirements.

So I would like to use the hint in the build process which points to set
the environment variables, but where do I set them for my type of build
(and where to point them to)?
Why does this error even appear (the libuuid is configured)?

Here some console output:
$make
...
build/buildroot-config/conf --silentoldconfig Config.in
>>> network-manager 1.4.2 Configuring
...
checking for LIBNL... yes
checking for UUID... no
configure: error: Package requirements (uuid) were not met:

Package uuid was not found in the pkg-config search path.
Perhaps you should add the directory containing `uuid.pc'
to the PKG_CONFIG_PATH environment variable
Package 'uuid', required by 'world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables UUID_CFLAGS
and UUID_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Parts of my config, which I thought should do the trick with the uuid:
BR2_PACKAGE_UTIL_LINUX=y
BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
# BR2_PACKAGE_UTIL_LINUX_LIBMOUNT is not set
# BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS is not set
BR2_PACKAGE_UTIL_LINUX_LIBUUID=y

Best regards,
Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170523/3fb5fd65/attachment.html>

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

* [Buildroot] Building Network Manager fails at configure due to uuid package requirements error
  2017-05-23  8:35 [Buildroot] Building Network Manager fails at configure due to uuid package requirements error Pascal K
@ 2017-05-23 13:26 ` Thomas Petazzoni
  2017-05-23 14:40   ` Pascal K
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-05-23 13:26 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 23 May 2017 08:35:52 +0000, Pascal K wrote:

> Here some console output:
> $make
> ...
> build/buildroot-config/conf --silentoldconfig Config.in
> >>> network-manager 1.4.2 Configuring  
> ...
> checking for LIBNL... yes
> checking for UUID... no
> configure: error: Package requirements (uuid) were not met:
> 
> Package uuid was not found in the pkg-config search path.
> Perhaps you should add the directory containing `uuid.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'uuid', required by 'world', not found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables UUID_CFLAGS
> and UUID_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> 
> Parts of my config, which I thought should do the trick with the uuid:
> BR2_PACKAGE_UTIL_LINUX=y
> BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
> # BR2_PACKAGE_UTIL_LINUX_LIBMOUNT is not set
> # BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS is not set
> BR2_PACKAGE_UTIL_LINUX_LIBUUID=y

Can you reproduce after a full rebuild, i.e "make clean all" ?

If so, could you please provide a complete .config file that reproduces
the issue ?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

* [Buildroot] Building Network Manager fails at configure due to uuid package requirements error
  2017-05-23 13:26 ` Thomas Petazzoni
@ 2017-05-23 14:40   ` Pascal K
  0 siblings, 0 replies; 3+ messages in thread
From: Pascal K @ 2017-05-23 14:40 UTC (permalink / raw)
  To: buildroot

Hello,

you were right.

To integrate the NetworkManager I had to switch from "devtmpfs+mdev" to
"eudev" which seemed to cause a inconsistency in my setup ( a clean build
removes this) .

Thanks for your help.

Best regards,
Pascal

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> schrieb am Di., 23.
Mai 2017 um 15:26 Uhr:

> Hello,
>
> On Tue, 23 May 2017 08:35:52 +0000, Pascal K wrote:
>
> > Here some console output:
> > $make
> > ...
> > build/buildroot-config/conf --silentoldconfig Config.in
> > >>> network-manager 1.4.2 Configuring
> > ...
> > checking for LIBNL... yes
> > checking for UUID... no
> > configure: error: Package requirements (uuid) were not met:
> >
> > Package uuid was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `uuid.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'uuid', required by 'world', not found
> >
> > Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > installed software in a non-standard prefix.
> >
> > Alternatively, you may set the environment variables UUID_CFLAGS
> > and UUID_LIBS to avoid the need to call pkg-config.
> > See the pkg-config man page for more details.
> >
> > Parts of my config, which I thought should do the trick with the uuid:
> > BR2_PACKAGE_UTIL_LINUX=y
> > BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
> > # BR2_PACKAGE_UTIL_LINUX_LIBMOUNT is not set
> > # BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS is not set
> > BR2_PACKAGE_UTIL_LINUX_LIBUUID=y
>
> Can you reproduce after a full rebuild, i.e "make clean all" ?
>
> If so, could you please provide a complete .config file that reproduces
> the issue ?
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170523/96ff4818/attachment.html>

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

end of thread, other threads:[~2017-05-23 14:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-23  8:35 [Buildroot] Building Network Manager fails at configure due to uuid package requirements error Pascal K
2017-05-23 13:26 ` Thomas Petazzoni
2017-05-23 14:40   ` Pascal K

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.