On 05/07/2018 06:44 μμ, Thanos Baloukas wrote:
On 05/07/2018 05:57 μμ, Bruce Dubbs wrote:
On 07/04/2018 11:49 PM, Thanos Baloukas wrote:
On 05/07/2018 12:48 πμ, Bruce Dubbs wrote:
On 06/30/2018 11:15 AM, Thanos Baloukas wrote:

snip...

3. http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/e2fsprogs.html

It was reported in
http://lists.linuxfromscratch.org/pipermail/lfs-dev/2018-April/072222.html

Tested on my 2 or three last builds without LIBS, CFLAGS and
PKG_CONFIG_PATH and with --enable-relative-symlinks
I did not run the tests.

this failed for me in the LFS Chapter 6 environment.


The build log has:

checking for uuid_generate in -luuid... yes
checking for blkid_get_cache in -lblkid... yes
checking for library containing blkid_probe_all... -lblkid

What can I say? Has anyone else tested this?

libuuid and it's necessary include files are only in /tools when we build e2fsprogs.  Those are from util-linux.  The build also needs libblkid from util-linux.

Sure, but in http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/createfiles.html we do

for lib in blkid lzma mount uuid
do
     ln -sv /tools/lib/lib$lib.so* /usr/lib
done

ln -svf /tools/include/blkid    /usr/include
ln -svf /tools/include/libmount /usr/include
ln -svf /tools/include/uuid     /usr/include

install -vdm755 /usr/lib/pkgconfig

for pc in blkid mount uuid
do
     sed 's@tools@usr@g' /tools/lib/pkgconfig/${pc}.pc \
         > /usr/lib/pkgconfig/${pc}.pc
done


I just noticed that the above are in the systemd book only, because
systemd needs them, but they worked for me for e2fsprogs too.
I'm sorry I did not say this earlier.


I think your testing was doen after util-linux was installed in the build environment.


Not likely. I'm maintaining a pkglist which is updated by my build
system after every buildscript is ran.

Did you test the --enable-relative-symlinks configure option?

No. I did not. I do not know how that would help.


That is irrelevant to the above, that's why I had it in a separate
paragraph. Xi wrote in his mail that reported the e2fsprogs issues
that the libraries' links where absolute, and proposed to make them
relative, like we do on other packages. That option worked for me.



--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to