Re: libblockdev-3.3.1: json-glib not "optional" but "required"?

"Xi Ruoyao" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On Mon, 2025-06-23 at 14:07 +0200, Rainer Fiebig wrote:
> Following "SA 12.3 062 libblockdev", I tried to update libblockdev to
> -3.3.1.  I tried to build without json-glib-1.10.6 as that package is
> tagged as "optional".  But the build failed:
> 
> [...]
> checking for json-glib-1.0... no
> 
> *** Libblockdev encountered the following issues during configuration:
> No package 'json-glib-1.0' found
> 
> *** Libblockdev will not successfully build without these missing
> dependencies
> 
> 
> I could not find a switch to build without  json-glib, so I think this
> dependency is not "optional" but "required".

--without-smartmontools disables it.  And BLFS does not have --without-
smartmontools at all.

I guess the logic in configure.ac is flawed.  I'll add this option and
add smartmontools as an external dependency.

-- 
Xi Ruoyao <[email protected]>

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.