LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-23-2022, 06:32 PM   #1
shaybani
LQ Newbie
 
Registered: Mar 2022
Location: Everywhere
Distribution: Debian
Posts: 16

Rep: Reputation: 0
build error for gobject-introspection-1.70.0 BLFS 11.1


Solution: changed meson flags (disabled or set to false)

I'm having problems with running ninja to build the gobject-introspection package in the BLFS book,

When running meson it gives me these 4 warnings
Code:
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300

../tests/scanner/meson.build:546: WARNING: Project targeting '>= 0.55.3' but tried to use feature introduced in '0.57.0': env arg in custom_target.

../tests/scanner/meson.build:573: WARNING: Project targeting '>= 0.55.3' but tried to use feature introduced in '0.57.0': env arg in custom_target.

WARNING: Project specifies a minimum meson_version '>= 0.55.3' but uses features which were added in newer versions:
 * 0.57.0: {'env arg in custom_target'}
When running ninja I get these errors:
Code:
[164/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
FAILED: tests/scanner/Regress-1.0-Gjs 
/usr/bin/meson --internal exe --unpickle /sources/gobject-introspection-1.70.0/build/meson-private/meson_exe_python3_784991be409eb47a5f7c5ac08e0c41433a242794.dat
while executing ['/usr/bin/python3', 'tools/g-ir-doc-tool', '--add-include-path=/sources/gobject-introspection-1.70.0/build/gir', '--add-include-path=/sources/gobject-introspection-1.70.0/build/tests/scanner', '--language', 'Gjs', '--templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates', 'tests/scanner/Regress-1.0.gir', '-o', 'tests/scanner/Regress-1.0-Gjs']
--- stdout ---

--- stderr ---
usage: g-ir-doc-tool [-h] [--version] [-o OUTPUT] [-l LANGUAGE]
                     [-f {devdocs,mallard,sections}] [-I INCLUDE_PATHS] [-s]
                     girfile
g-ir-doc-tool: error: unrecognized arguments: --templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates

[165/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
FAILED: tests/scanner/Regress-1.0-Python 
/usr/bin/meson --internal exe --unpickle /sources/gobject-introspection-1.70.0/build/meson-private/meson_exe_python3_31c93d992cf91d2bd63316641a7e5d84abdd4974.dat
while executing ['/usr/bin/python3', 'tools/g-ir-doc-tool', '--add-include-path=/sources/gobject-introspection-1.70.0/build/gir', '--add-include-path=/sources/gobject-introspection-1.70.0/build/tests/scanner', '--language', 'Python', '--templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates', 'tests/scanner/Regress-1.0.gir', '-o', 'tests/scanner/Regress-1.0-Python']
--- stdout ---

--- stderr ---
usage: g-ir-doc-tool [-h] [--version] [-o OUTPUT] [-l LANGUAGE]
                     [-f {devdocs,mallard,sections}] [-I INCLUDE_PATHS] [-s]
                     girfile
g-ir-doc-tool: error: unrecognized arguments: --templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates

[166/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
FAILED: tests/scanner/Regress-1.0-C 
/usr/bin/meson --internal exe --unpickle /sources/gobject-introspection-1.70.0/build/meson-private/meson_exe_python3_4a6ef414ebd6d947fbe8388f2a8423010d40908c.dat
while executing ['/usr/bin/python3', 'tools/g-ir-doc-tool', '--add-include-path=/sources/gobject-introspection-1.70.0/build/gir', '--add-include-path=/sources/gobject-introspection-1.70.0/build/tests/scanner', '--language', 'C', '--templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates', 'tests/scanner/Regress-1.0.gir', '-o', 'tests/scanner/Regress-1.0-C']
--- stdout ---

--- stderr ---
usage: g-ir-doc-tool [-h] [--version] [-o OUTPUT] [-l LANGUAGE]
                     [-f {devdocs,mallard,sections}] [-I INCLUDE_PATHS] [-s]
                     girfile
g-ir-doc-tool: error: unrecognized arguments: --templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates

[167/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
ninja: build stopped: subcommand failed.
It should be noted that I do not have the following optional packages: gtk-doc, gjs, markdown

Last edited by shaybani; 06-04-2022 at 10:58 AM.
 
Old 05-25-2022, 09:12 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,658
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
Did you use the specified patch?
 
Old 05-25-2022, 07:00 PM   #3
shaybani
LQ Newbie
 
Registered: Mar 2022
Location: Everywhere
Distribution: Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
Did you use the specified patch?
I tried downloading the patch again and still got errors, but I also realized I had posted the ninja install results instead of ninja (which I will edit my post to reflect)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cant build gobject-introspection bryan_S Linux From Scratch 8 07-13-2023 10:44 AM
gobject-introspection package installation rmugunthan Linux - Server 0 07-16-2012 12:00 AM
gobject-introspection package installation rmugunthan Linux - Newbie 0 06-24-2012 11:15 PM
LXer: Rebuild Spice-Gtk-0.7 via Debian Unstable with gobject-introspection enabled LXer Syndicated Linux News 0 08-20-2011 11:21 PM
gobject-introspection-0.6.14 build blowing up ninja master Linux - Software 1 12-31-2010 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration