[tor-bugs] #31922 [Core Tor/Tor]: Recommend pkg-config when systemd fails
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Oct 3 05:33:53 UTC 2019
#31922: Recommend pkg-config when systemd fails
-----------------------------------------+---------------------------------
Reporter: teor | Owner: teor
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor:
| 0.4.2.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.4.0.1-alpha
Severity: Normal | Resolution:
Keywords: 042-should, regression, doc | Actual Points:
Parent ID: #28993 | Points:
Reviewer: | Sponsor:
-----------------------------------------+---------------------------------
Description changed by teor:
Old description:
> We used to show an error like this when configure failed to find systemd:
>
> {{{
> configure: error: Package requirements (systemd >= 209) were not met:
> No package 'systemd' found
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> Alternatively, you may set the environment variables SYSTEMD209_CFLAGS
> and SYSTEMD209_LIBS to avoid the need to call pkg-config. See the pkg-
> config man page for more details.
> }}}
>
> But now we don't:
> {{{
> checking for SYSTEMD... no
> configure: Okay, checking for systemd a different way...
> checking for SYSTEMD... no
> configure: error: Explicitly requested systemd support, but systemd not
> found
> }}}
>
> This issue also affects lzma, and any other package that requires pkg-
> config.
>
> In fact, lzma silently fails:
>
> ./configure --enable-lzma silently fails if pkg-config is not
> installed:
> https://gitlab.com/eighthave/tor/pipelines/85811623
New description:
We used to show an error like this when configure failed to find systemd:
{{{
configure: error: Package requirements (systemd >= 209) were not met:
No package 'systemd' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables SYSTEMD209_CFLAGS and
SYSTEMD209_LIBS to avoid the need to call pkg-config. See the pkg-config
man page for more details.
}}}
But now we don't:
{{{
checking for pkg-config... no
checking for SYSTEMD... no
configure: Okay, checking for systemd a different way...
checking for SYSTEMD... no
configure: error: Explicitly requested systemd support, but systemd not
found
}}}
This issue also affects lzma, and any other package that requires pkg-
config.
In fact, lzma silently fails:
./configure --enable-lzma silently fails if pkg-config is not installed:
https://gitlab.com/eighthave/tor/pipelines/85811623
--
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31922#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list