Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
pamac
pamac
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 142
    • Issues 142
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Applications
  • pamacpamac
  • Merge Requests
  • !418

Merged
Opened Mar 25, 2018 by Philip Müller@philmOwner
  • Report abuse
Report abuse

use absolute path for vapidir

  • Overview 1
  • Commits 1
  • Changes 1

Created by: serban300

When I try to compile the project in GnomeBuilder I get the following errors:

[1/57] Compiling Vala source ../../../../../../Sources/github/pamac/src/common.vala ...ub/pamac/src/aur.vala ../../../../../../Sources/github/pamac/src/system_daemon.vala.
FAILED: src/pamac-system-daemon@exe/common.c src/pamac-system-daemon@exe/package.c src/pamac-system-daemon@exe/pamac_config.c src/pamac-system-daemon@exe/alpm_config.c src/pamac-system-daemon@exe/aur.c src/pamac-system-daemon@exe/system_daemon.c 
valac -C --debug --pkg appstream-glib --pkg libcurl --pkg polkit-gobject-1 --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/pamac-system-daemon@exe --basedir ../../../../../../Sources/github/pamac/src --pkg=posix --target-glib=2.38 --vapidir=../vapi --thread ../../../../../../Sources/github/pamac/src/common.vala ../../../../../../Sources/github/pamac/src/package.vala ../../../../../../Sources/github/pamac/src/pamac_config.vala ../../../../../../Sources/github/pamac/src/alpm_config.vala ../../../../../../Sources/github/pamac/src/aur.vala ../../../../../../Sources/github/pamac/src/system_daemon.vala
error: Package `appstream-glib' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `libcurl' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `libalpm' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 3 error(s), 0 warning(s)
[2/57] Compiling Vala source ../../../../../../Sources/github/pamac/src/alpm_config....thub/pamac/src/aur.vala ../../../../../../Sources/github/pamac/src/user_daemon.vala.
FAILED: src/pamac-user-daemon@exe/alpm_config.c src/pamac-user-daemon@exe/common.c src/pamac-user-daemon@exe/package.c src/pamac-user-daemon@exe/aur.c src/pamac-user-daemon@exe/user_daemon.c 
valac -C --debug --pkg appstream-glib --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/pamac-user-daemon@exe --basedir ../../../../../../Sources/github/pamac/src --pkg=posix --target-glib=2.38 --vapidir=../vapi --thread ../../../../../../Sources/github/pamac/src/alpm_config.vala ../../../../../../Sources/github/pamac/src/common.vala ../../../../../../Sources/github/pamac/src/package.vala ../../../../../../Sources/github/pamac/src/aur.vala ../../../../../../Sources/github/pamac/src/user_daemon.vala
error: Package `appstream-glib' not found in specified Vala API directories or GObject-Introspection GIR directories
error: Package `libalpm' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 2 error(s), 0 warning(s)

This patch fixes the errors

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: applications/pamac!418
Source branch: serban300:master