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

Add systemdunitdir pattern #797

Merged
merged 2 commits into from
Jul 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions autospec/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ def __init__(self, download_path):
(r"checking for UDEV\.\.\. no", "libudev"),
(r"XMLLINT not set and xmllint not found in path", "libxml-2.0"),
(r"error\: xml2-config not found", "libxml-2.0"),
(r"error: must install xorg-macros", "xorg-macros")
(r"error: must install xorg-macros", "xorg-macros"),
(r"[ ]*systemdunitdir:[ ]*$", 'systemd'),
]
# simple_pattern patterns
# contains patterns for parsing build.log for missing dependencies
Expand Down Expand Up @@ -234,7 +235,7 @@ def __init__(self, download_path):
(r"C library 'efivar' not found", "efivar-dev"),
(r"Has header \"efi.h\": NO", "gnu-efi-dev"),
(r"ERROR: Could not execute Vala compiler", "vala"),
(r".*: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL", 'gobject-introspection-dev')
(r".*: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL", 'gobject-introspection-dev'),
]
# failed_pattern patterns
# contains patterns for parsing build.log for missing dependencies
Expand All @@ -257,7 +258,7 @@ def __init__(self, download_path):
(r"By not providing \"([a-zA-Z0-9]+).cmake\" in CMAKE_MODULE_PATH this project", 0, None),
(r"C library '(.*)' not found", 0, None),
(r"CMake Error at cmake\/modules\/([a-zA-Z0-9]+).cmake", 0, None),
(r"Can't locate [a-zA-Z0-9_\-\/\.]+ in @INC " r"\(you may need to install the ([a-zA-Z0-9_\-:]+) module\)", 0, 'perl'),
(r"Can't locate [a-zA-Z0-9_\-\/\.]+ in @INC \(you may need to install the ([a-zA-Z0-9_\-:]+) module\)", 0, 'perl'),
(r"Cannot find ([a-zA-Z0-9\-_\.]*)", 1, None),
(r"Checking for (.*?)\.\.\.no", 0, None),
(r"Checking for (.*?)\s*: not found", 0, None),
Expand Down Expand Up @@ -313,7 +314,7 @@ def __init__(self, download_path):
(r"meson\.build\:[\d]+\:[\d]+\: ERROR: C(?: shared or static)? library \'(.*)\' not found", 0, None),
(r"there is no package called ['‘]([a-zA-Z0-9\-\.]*)['’]", 0, 'R'),
(r"unable to execute '([a-zA-Z\-]*)': No such file or directory", 0, None),
(r"warning: failed to load external entity " r"\"(/usr/share/sgml/docbook/xsl-stylesheets)/.*\"", 0, None),
(r"warning: failed to load external entity \"(/usr/share/sgml/docbook/xsl-stylesheets)/.*\"", 0, None),
(r"which\: no ([a-zA-Z\-]*) in \(", 0, None),
(r"you may need to install the ([a-zA-Z0-9_\-:\.]*) module", 0, 'perl'),
(r"(a-zA-Z0-9\-) not found (re-run dependencies script to install)", 0, None),
Expand Down