Re: gnome-online-accounts requires gi-docgen after 3.51.0

"Xi Ruoyao" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On Thu, 2024-10-24 at 20:16 +0800, Zhang Wen wrote:
>  From the NEWS file in the source directory of gnome-online-accounts, 
> gi-docgen is used to build it's documentation.

We should add -D documentation=false.  It's optional, not required.

> Besides, after installing gi-docgen in my system, the 
> gnome-online-accounts package end with "no hard-coded metrics for 
> 'sans-serif'" message. It's a warning message, but unfortunately the 
> default build command contains --fatal-warnings option, which is causing 
> ninja command to fail.

It's because you've skipped a command in the book:

    sed -i '/if err:/s/err/proc.returncode/' gidocgen/utils.py

for gi-docgen.  See
https://github.com/GNOME/gi-docgen/commit/8cee7b324f23 (I have to use
the GitHub mirror because gitlab.gnome.org is extremely unstable at the
time point writing this mail).

-- 
Xi Ruoyao <[email protected]>
School of Aerospace Science and Technology, Xidian University

-- 
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.