Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArchLinux #241

Open
nda-cunh opened this issue Aug 4, 2023 · 3 comments
Open

ArchLinux #241

nda-cunh opened this issue Aug 4, 2023 · 3 comments

Comments

@nda-cunh
Copy link

nda-cunh commented Aug 4, 2023

I try to fix Valum package in archLinux (AUR) but i can`t compile this, i don't know why, same for the git version, this project is abandoned ?
Is it possible to compile without documentation?

==> Making package: valum 0.3.18-1 (Fri 04 Aug 2023 07:47:03 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found v0.3.18.tar.gz
==> Validating source files with md5sums...
    v0.3.18.tar.gz ... Passed
==> Extracting sources...
  -> Extracting v0.3.18.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
The Meson build system
Version: 1.2.0
Source dir: /home/nda-cunh/valum/src/valum-0.3.18
Build dir: /home/nda-cunh/valum/src/valum-0.3.18/build
Build type: native build
Project name: Valum
Project version: 0.3.18
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
Vala compiler for the host machine: valac (valac 0.56.9)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency glib-2.0 found: YES 2.76.4
Run-time dependency gobject-2.0 found: YES 2.76.4
Run-time dependency gio-2.0 found: YES 2.76.4
Run-time dependency gio-unix-2.0 found: YES 2.76.4
Run-time dependency gmodule-2.0 found: YES 2.76.4
Run-time dependency libsoup-2.4 found: YES 2.74.3
Library fcgi found: YES
Library fcgi found: YES
Program valadoc found: YES (/usr/bin/valadoc)
../docs/meson.build:12: WARNING: Project targets '>=0.42.0' but uses feature introduced in '0.47.0': install_subdir with empty directory.
../docs/meson.build:17: WARNING: Project targets '>=0.42.0' but uses feature introduced in '0.47.0': install_subdir with empty directory.
Program sphinx-build-3 found: NO
Program sphinx-build found: YES (/usr/bin/sphinx-build)
../docs/meson.build:71: WARNING: Project targets '>=0.42.0' but uses feature introduced in '0.47.0': install_subdir with empty directory.
Build targets in project: 27
WARNING: Project specifies a minimum meson_version '>=0.42.0' but uses features which were added in newer versions:
 * 0.47.0: {'install_subdir with empty directory'}
NOTICE: Future-deprecated features used:
 * 0.60.0: {'install_subdir with empty directory'}

Valum 0.3.18

  User defined options
    prefix: /usr

Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.                                                                       
[1/125] Generating docs/API documentation with a custom command
FAILED: docs/api 
/usr/bin/valadoc --package-name valum-0.3 --package-version 0.3.18 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gio-unix-2.0 --pkg=gmodule-2.0 --pkg=libsoup-2.4 --pkg=posix --target-glib=2.40 --force --define=GIO_2_44 --define=SOUP_2_48 --directory docs/api ../src/vsgi/vsgi.vala ../src/vsgi/vsgi-application.vala ../src/vsgi/vsgi-authentication.vala ../src/vsgi/vsgi-authorization.vala ../src/vsgi/vsgi-basic-authentication.vala ../src/vsgi/vsgi-basic-authorization.vala ../src/vsgi/vsgi-bounded-input-stream.vala ../src/vsgi/vsgi-cgi.vala ../src/vsgi/vsgi-connection.vala ../src/vsgi/vsgi-cookie-utils.vala ../src/vsgi/vsgi-handler-module.vala ../src/vsgi/vsgi-handler.vala ../src/vsgi/vsgi-mock.vala ../src/vsgi/vsgi-request.vala ../src/vsgi/vsgi-response.vala ../src/vsgi/vsgi-security-utils.vala ../src/vsgi/vsgi-server-module.vala ../src/vsgi/vsgi-server.vala ../src/vsgi/vsgi-socket-server.vala ../src/vsgi/vsgi-tee-output-stream.vala ../src/valum/valum.vala ../src/valum/valum-asterisk-route.vala ../src/valum/valum-authenticate.vala ../src/valum/valum-basepath.vala ../src/valum/valum-basic.vala ../src/valum/valum-cache-control.vala ../src/valum/valum-context.vala ../src/valum/valum-decode.vala ../src/valum/valum-forward.vala ../src/valum/valum-forward-with.vala ../src/valum/valum-matcher-route.vala ../src/valum/valum-method.vala ../src/valum/valum-content-negotiation.vala ../src/valum/valum-path-route.vala ../src/valum/valum-regex-route.vala ../src/valum/valum-route.vala ../src/valum/valum-router.vala ../src/valum/valum-rule-route.vala ../src/valum/valum-safely.vala ../src/valum/valum-sequence.vala ../src/valum/valum-server-sent-events.vala ../src/valum/valum-static.vala ../src/valum/valum-status.vala ../src/valum/valum-subdomain.vala --doclet=html
vsgi-server.vala:166.4-166.22: warning: `GLib.IOSchedulerJob.push' is deprecated
vsgi-server.vala:174.12-174.31: warning: `GLib.IOSchedulerJob.send_to_mainloop' is deprecated
vsgi-handler-module.vala:64.31-64.51: warning: `GLib.ModuleFlags.BIND_LAZY' has been deprecated since vala-0.46. Use LAZY
valum-router.vala:50.30-50.49: error: Invalid regular expression `//(?:\.?[\w-\s\/@+~])+'.
valum-static.vala:101.25-101.55: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
valum-static.vala:101.9-101.21: warning: `GLib.TimeVal' has been deprecated since 2.62
valum-static.vala:111.39-111.94: warning: `Soup.Date.to_timeval' is deprecated
Failed: 1 error(s), 6 warning(s)
[2/125] Generating docs/Devhelp book with a custom command
FAILED: docs/devhelp 
/usr/bin/valadoc --package-name valum-0.3 --package-version 0.3.18 --pkg=glib-2.0 --pkg=gio-2.0 --pkg=gio-unix-2.0 --pkg=gmodule-2.0 --pkg=libsoup-2.4 --pkg=posix --target-glib=2.40 --force --define=GIO_2_44 --define=SOUP_2_48 --directory docs/devhelp ../src/vsgi/vsgi.vala ../src/vsgi/vsgi-application.vala ../src/vsgi/vsgi-authentication.vala ../src/vsgi/vsgi-authorization.vala ../src/vsgi/vsgi-basic-authentication.vala ../src/vsgi/vsgi-basic-authorization.vala ../src/vsgi/vsgi-bounded-input-stream.vala ../src/vsgi/vsgi-cgi.vala ../src/vsgi/vsgi-connection.vala ../src/vsgi/vsgi-cookie-utils.vala ../src/vsgi/vsgi-handler-module.vala ../src/vsgi/vsgi-handler.vala ../src/vsgi/vsgi-mock.vala ../src/vsgi/vsgi-request.vala ../src/vsgi/vsgi-response.vala ../src/vsgi/vsgi-security-utils.vala ../src/vsgi/vsgi-server-module.vala ../src/vsgi/vsgi-server.vala ../src/vsgi/vsgi-socket-server.vala ../src/vsgi/vsgi-tee-output-stream.vala ../src/valum/valum.vala ../src/valum/valum-asterisk-route.vala ../src/valum/valum-authenticate.vala ../src/valum/valum-basepath.vala ../src/valum/valum-basic.vala ../src/valum/valum-cache-control.vala ../src/valum/valum-context.vala ../src/valum/valum-decode.vala ../src/valum/valum-forward.vala ../src/valum/valum-forward-with.vala ../src/valum/valum-matcher-route.vala ../src/valum/valum-method.vala ../src/valum/valum-content-negotiation.vala ../src/valum/valum-path-route.vala ../src/valum/valum-regex-route.vala ../src/valum/valum-route.vala ../src/valum/valum-router.vala ../src/valum/valum-rule-route.vala ../src/valum/valum-safely.vala ../src/valum/valum-sequence.vala ../src/valum/valum-server-sent-events.vala ../src/valum/valum-static.vala ../src/valum/valum-status.vala ../src/valum/valum-subdomain.vala --doclet=devhelp
vsgi-server.vala:166.4-166.22: warning: `GLib.IOSchedulerJob.push' is deprecated
vsgi-server.vala:174.12-174.31: warning: `GLib.IOSchedulerJob.send_to_mainloop' is deprecated
vsgi-handler-module.vala:64.31-64.51: warning: `GLib.ModuleFlags.BIND_LAZY' has been deprecated since vala-0.46. Use LAZY
valum-router.vala:50.30-50.49: error: Invalid regular expression `//(?:\.?[\w-\s\/@+~])+'.
valum-static.vala:101.25-101.55: warning: `GLib.FileInfo.get_modification_time' has been deprecated since 2.62
valum-static.vala:101.9-101.21: warning: `GLib.TimeVal' has been deprecated since 2.62
valum-static.vala:111.39-111.94: warning: `Soup.Date.to_timeval' is deprecated
Failed: 1 error(s), 6 warning(s)
[4/125] Generating docs/en user documentation with a custom command
FAILED: docs/en 
/usr/bin/sphinx-build -W -b html /home/nda-cunh/valum/src/valum-0.3.18/docs docs/en
Running Sphinx v7.1.2
making output directory... done

Theme error:
no theme named 'sphinx_rtd_theme' found (missing theme.conf?)
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

@arteymix
Copy link
Member

arteymix commented Aug 4, 2023

You need the sphinx_rtd_theme to build the documentation. If you have Sphinx, it will attempt it.

The regex has been fixed in the trunk, but I haven't had the time to make a release in the stable branch.

@arteymix
Copy link
Member

arteymix commented Aug 4, 2023

Also, yes, this project is pretty much abandoned.

@lennyhans
Copy link

You can also disable the documentation, but you will need it anyways if you try to make a package for arch I guess.

You can delete the -W flag on docs/meson.build and there you go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants