Skip to content

Instantly share code, notes, and snippets.

@sneurlax
Created October 3, 2022 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sneurlax/0e2d4d93177d56f2d94bdfe0cc95e648 to your computer and use it in GitHub Desktop.
Save sneurlax/0e2d4d93177d56f2d94bdfe0cc95e648 to your computer and use it in GitHub Desktop.
user@user-NUC8i7HVK:~/github/stack_wallet/scripts/linux$ bash ./build_secure_storage_deps.sh
mkdir: cannot create directory ‘build’: File exists
fatal: destination path 'jsoncpp' already exists and is not an empty directory.
HEAD is now at 48d2a69 1.7.4 <- 1.7.3
mkdir: cannot create directory ‘build’: File exists
-- JsonCpp Version: 1.7.4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/github/stack_wallet/scripts/linux/build/jsoncpp/build
[ 30%] Built target jsoncpp_lib_static
[ 61%] Built target jsoncpp_lib
[100%] Built target jsontestrunner_exe
[100%] Built target jsoncpp_test
fatal: destination path 'libsecret' already exists and is not an empty directory.
The Meson build system
Version: 0.63.2
Source dir: /home/user/github/stack_wallet/scripts/linux/build/libsecret
Build dir: /home/user/github/stack_wallet/scripts/linux/build/libsecret/_build
Build type: native build
Project name: libsecret
Project version: 0.20.5
C compiler for the host machine: ccache cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0")
C linker for the host machine: cc ld.bfd 2.34
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency glib-2.0 found: YES 2.64.6
Run-time dependency gio-2.0 found: YES 2.64.6
Run-time dependency gio-unix-2.0 found: YES 2.64.6
Run-time dependency libgcrypt found: YES 1.8.5
Found CMake: /usr/bin/cmake (3.16.3)
DEPRECATION: CMake support for versions <3.17 is deprecated since Meson 0.62.0.
|
| However, Meson was only able to find CMake 3.16.3.
|
| Support for all CMake versions below 3.17.0 will be removed once
| newer CMake versions are more widely adopted. If you encounter
| any errors please try upgrading CMake to a newer version first.
Run-time dependency tss2-esys found: NO (tried pkgconfig and cmake)
Run-time dependency tss2-mu found: NO (tried pkgconfig and cmake)
Run-time dependency tss2-rc found: NO (tried pkgconfig and cmake)
Run-time dependency tss2-tctildr found: NO (tried pkgconfig and cmake)
Library m found: YES
Checking for function "mlock" : YES
Configuring config.h using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring secret-version.h using configuration
Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Run-time dependency gobject-introspection-1.0 found: YES 1.64.1
Dependency gobject-introspection-1.0 found: YES 1.64.1 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.64.1 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program vapigen found: YES (/usr/bin/vapigen)
Program vapigen found: YES (/usr/bin/vapigen)
Program python3 found: YES (/usr/bin/python3)
Program gjs found: YES (/usr/bin/gjs)
Vala compiler for the host machine: valac (valac 0.48.6)
Library glib-2.0 found: YES
Library gio-2.0 found: YES
Library glib-2.0 found: YES
Library gio-2.0 found: YES
Program test-secret-tool.sh found: YES (/home/user/github/stack_wallet/scripts/linux/build/libsecret/tool/test-secret-tool.sh)
Program xsltproc found: YES (/usr/bin/xsltproc)
Configuring libsecret.toml using configuration
Found CMake: /usr/bin/cmake (3.16.3)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Build-time dependency gi-docgen found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gi-docgen
Executing subproject gi-docgen
gi-docgen| Project name: gi-docgen
gi-docgen| Project version: 2022.2
gi-docgen| Program python3 (jinja2, markdown, markupsafe, pygments, toml, typogrify) found: YES (/usr/bin/python3) modules: jinja2, markdown, markupsafe, pygments, toml, typogrify
gi-docgen| Program gi-docgen.py found: YES (/home/user/github/stack_wallet/scripts/linux/build/libsecret/subprojects/gi-docgen/gi-docgen.py)
gi-docgen| Configuring gi-docgen.pc using configuration
gi-docgen| Build targets in project: 93
gi-docgen| Subproject gi-docgen finished.
Dependency gi-docgen from subproject subprojects/gi-docgen found: YES 2022.2
Program gi-docgen.py found: YES (overridden)
Build targets in project: 94
NOTICE: Future-deprecated features used:
* 0.56.0: {'meson.source_root', 'meson.build_root'}
libsecret 0.20.5
Subprojects
gi-docgen: YES
Found ninja-1.10.0 at /usr/bin/ninja
ninja: Entering directory `_build'
[140/140] Generating docs/reference/libsecret/libsecret-doc with a custom command
FAILED: docs/reference/libsecret/libsecret-1
/home/user/github/stack_wallet/scripts/linux/build/libsecret/subprojects/gi-docgen/gi-docgen.py generate --quiet --add-include-path=/home/user/github/stack_wallet/scripts/linux/build/libsecret/_build/docs/reference/libsecret/../../../libsecret --config=docs/reference/libsecret/libsecret.toml --output-dir=docs/reference/libsecret/libsecret-1 --no-namespace-dir --content-dir=/home/user/github/stack_wallet/scripts/linux/build/libsecret/docs/reference/libsecret libsecret/Secret-1.gir
Traceback (most recent call last):
File "/home/user/github/stack_wallet/scripts/linux/build/libsecret/subprojects/gi-docgen/gidocgen/gidocmain.py", line 74, in run
res = options.run_func(options)
File "/home/user/github/stack_wallet/scripts/linux/build/libsecret/subprojects/gi-docgen/gidocgen/gdgenerate.py", line 3133, in run
gen_reference(conf, options, parser.get_repository(), templates_dir, theme_conf, content_dirs, output_dir)
File "/home/user/github/stack_wallet/scripts/linux/build/libsecret/subprojects/gi-docgen/gidocgen/gdgenerate.py", line 2976, in gen_reference
content_files = gen_content_files(config, theme_config, content_dirs, ns_dir, jinja_env, namespace)
File "/home/user/github/stack_wallet/scripts/linux/build/libsecret/subprojects/gi-docgen/gidocgen/gdgenerate.py", line 2607, in gen_content_files
md = markdown.Markdown(extensions=utils.MD_EXTENSIONS, extension_configs=utils.MD_EXTENSIONS_CONF)
File "/usr/lib/python3/dist-packages/markdown/core.py", line 99, in __init__
self.registerExtensions(extensions=kwargs.get('extensions', []),
File "/usr/lib/python3/dist-packages/markdown/core.py", line 126, in registerExtensions
ext = self.build_extension(ext, configs.get(ext, {}))
File "/usr/lib/python3/dist-packages/markdown/core.py", line 160, in build_extension
return ext(**configs)
File "/usr/lib/python3/dist-packages/markdown/extensions/toc.py", line 311, in __init__
super(TocExtension, self).__init__(**kwargs)
File "/usr/lib/python3/dist-packages/markdown/extensions/__init__.py", line 42, in __init__
self.setConfigs(kwargs)
File "/usr/lib/python3/dist-packages/markdown/extensions/__init__.py", line 73, in setConfigs
self.setConfig(key, value)
File "/usr/lib/python3/dist-packages/markdown/extensions/__init__.py", line 61, in setConfig
if isinstance(self.config[key][0], bool):
KeyError: 'permalink_class'
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment