* [Buildroot] systemd: blkid support requested but libraries not found
@ 2017-12-20 4:14 Christian Stewart
2017-12-20 5:32 ` Baruch Siach
0 siblings, 1 reply; 6+ messages in thread
From: Christian Stewart @ 2017-12-20 4:14 UTC (permalink / raw)
To: buildroot
Hi all,
I came across this error while debugging something else.
Defconfig:
BR2_arm=y
BR2_cortex_a7=y
BR2_CCACHE=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_OPTIMIZE_2=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_BINUTILS_VERSION_2_27_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_GCC_ENABLE_LTO=y
BR2_INIT_SYSTEMD=y
BR2_SYSTEM_BIN_SH_BASH=y
Error:
checking for blkid... no
configure: error: *** blkid support requested but libraries not found
make: *** [package/pkg-generic.mk:227: /home/paralin/Documents/buildroot/output/build/systemd-234/.stamp_configured] Error 1
Perhaps there is a missing dependency on blkid somewhere? Or is this
indicative of a bigger problem?
Thanks,
Christian Stewart
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] systemd: blkid support requested but libraries not found
2017-12-20 4:14 [Buildroot] systemd: blkid support requested but libraries not found Christian Stewart
@ 2017-12-20 5:32 ` Baruch Siach
2017-12-20 6:04 ` Christian Stewart
0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach @ 2017-12-20 5:32 UTC (permalink / raw)
To: buildroot
Hi Christian,
On Tue, Dec 19, 2017 at 08:14:58PM -0800, Christian Stewart wrote:
> I came across this error while debugging something else.
>
> Defconfig:
>
> BR2_arm=y
> BR2_cortex_a7=y
> BR2_CCACHE=y
> BR2_ARM_FPU_NEON_VFPV4=y
> BR2_OPTIMIZE_2=y
> BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
> BR2_BINUTILS_VERSION_2_27_X=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_GCC_ENABLE_LTO=y
> BR2_INIT_SYSTEMD=y
> BR2_SYSTEM_BIN_SH_BASH=y
>
> Error:
>
> checking for blkid... no
> configure: error: *** blkid support requested but libraries not found
> make: *** [package/pkg-generic.mk:227: /home/paralin/Documents/buildroot/output/build/systemd-234/.stamp_configured] Error 1
>
> Perhaps there is a missing dependency on blkid somewhere? Or is this
> indicative of a bigger problem?
Have you run a clean rebuild, 'make clean all'?
It looks like you selected BR2_INIT_SYSTEMD when util-linux has already been
built. Buildroot will not rebuild util-linux in this case. You need to start
the build from scratch.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] systemd: blkid support requested but libraries not found
2017-12-20 5:32 ` Baruch Siach
@ 2017-12-20 6:04 ` Christian Stewart
2017-12-20 6:34 ` Christian Stewart
0 siblings, 1 reply; 6+ messages in thread
From: Christian Stewart @ 2017-12-20 6:04 UTC (permalink / raw)
To: buildroot
Hi Baruch,
Baruch Siach <baruch@tkos.co.il> writes:
> Have you run a clean rebuild, 'make clean all'?
>
> It looks like you selected BR2_INIT_SYSTEMD when util-linux has already been
> built. Buildroot will not rebuild util-linux in this case. You need to start
> the build from scratch.
Yes, I have been doing the following sequence to reproduce:
make clean
make defconfig BR2_DEFCONFIG=$(pwd)/defconfig
make systemd
The defconfig I have narrowed it down to so far is:
BR2_arm=y
BR2_cortex_a7=y
BR2_CCACHE=y
BR2_ARM_FPU_NEON_VFPV4=y
BR2_OPTIMIZE_2=y
BR2_BINUTILS_VERSION_2_27_X=y
BR2_GCC_ENABLE_LTO=y
BR2_INIT_SYSTEMD=y
BR2_SYSTEM_BIN_SH_BASH=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y
Testing a newer version of binutils now to see if that helps.
Thanks,
Christian Stewart
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] systemd: blkid support requested but libraries not found
2017-12-20 6:04 ` Christian Stewart
@ 2017-12-20 6:34 ` Christian Stewart
2017-12-20 6:50 ` Baruch Siach
0 siblings, 1 reply; 6+ messages in thread
From: Christian Stewart @ 2017-12-20 6:34 UTC (permalink / raw)
To: buildroot
Hi Baruch, all,
Christian Stewart <christian@paral.in> writes:
> Baruch Siach <baruch@tkos.co.il> writes:
>> It looks like you selected BR2_INIT_SYSTEMD when util-linux has already been
>> built. Buildroot will not rebuild util-linux in this case. You need to start
>> the build from scratch.
>
> Yes, I have been doing the following sequence to reproduce:
>
> make clean
> make defconfig BR2_DEFCONFIG=$(pwd)/defconfig
> make systemd
It seems that systemd does not select the following automatically:
BR2_PACKAGE_UTIL_LINUX=y
BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
This results, with the defconfig in my previous mail, in util-linux not
being built and systemd build failing.
I don't think this is the intended behavior?...
Best,
Christian
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] systemd: blkid support requested but libraries not found
2017-12-20 6:34 ` Christian Stewart
@ 2017-12-20 6:50 ` Baruch Siach
2017-12-23 4:38 ` Christian Stewart
0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach @ 2017-12-20 6:50 UTC (permalink / raw)
To: buildroot
Hi Christian,
On Tue, Dec 19, 2017 at 10:34:55PM -0800, Christian Stewart wrote:
> Christian Stewart <christian@paral.in> writes:
> > Baruch Siach <baruch@tkos.co.il> writes:
> >> It looks like you selected BR2_INIT_SYSTEMD when util-linux has already been
> >> built. Buildroot will not rebuild util-linux in this case. You need to start
> >> the build from scratch.
> >
> > Yes, I have been doing the following sequence to reproduce:
> >
> > make clean
> > make defconfig BR2_DEFCONFIG=$(pwd)/defconfig
> > make systemd
>
> It seems that systemd does not select the following automatically:
>
> BR2_PACKAGE_UTIL_LINUX=y
> BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y
>
> This results, with the defconfig in my previous mail, in util-linux not
> being built and systemd build failing.
>
> I don't think this is the intended behavior?...
Current BR2_PACKAGE_SYSTEMD selects BR2_PACKAGE_UTIL_LINUX_LIBBLKID
unconditionally as of commit f21cbabb2f21e. Is BR2_PACKAGE_UTIL_LINUX_LIBBLKID
selected in your full .config? If not, which version of Buildroot are you
using?
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] systemd: blkid support requested but libraries not found
2017-12-20 6:50 ` Baruch Siach
@ 2017-12-23 4:38 ` Christian Stewart
0 siblings, 0 replies; 6+ messages in thread
From: Christian Stewart @ 2017-12-23 4:38 UTC (permalink / raw)
To: buildroot
Hi Baruch,
Baruch Siach <baruch@tkos.co.il> writes:
> Current BR2_PACKAGE_SYSTEMD selects BR2_PACKAGE_UTIL_LINUX_LIBBLKID
> unconditionally as of commit f21cbabb2f21e. Is BR2_PACKAGE_UTIL_LINUX_LIBBLKID
> selected in your full .config? If not, which version of Buildroot are you
> using?
I went back after a day or so, and re-did the build:
make clean
make
.. and it passed, strangely enough, with the defconfig I gave you a
couple messages ago. Weird!
I try using my full .config, however, and the build fails:
> CCLD busctl
> CCLD systemd-socket-activate
> /lib/libpam.so: file not recognized: File format not recognized
> collect2: error: ld returned 1 exit status
This is the same error I reported in another thread -
systemd: build failure against pam on arm
I'm still stuck, there. But that's another issue.
Thanks for the help.
Best,
Christian
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-12-23 4:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-20 4:14 [Buildroot] systemd: blkid support requested but libraries not found Christian Stewart
2017-12-20 5:32 ` Baruch Siach
2017-12-20 6:04 ` Christian Stewart
2017-12-20 6:34 ` Christian Stewart
2017-12-20 6:50 ` Baruch Siach
2017-12-23 4:38 ` Christian Stewart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox