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

[v1.19.x] configure.ac Fix --with-lttng causing yes/ to populate {CPP,LD}FLAGS #9566

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

j-xiong
Copy link
Contributor

@j-xiong j-xiong commented Nov 15, 2023

When configured with LTTng-UST support without specifying an installation prefix (--with-lttng), the resulting CPPFLAGS and LDFLAGS contain the (likely) non-existant yes/ path.

This is a little hacky since it technically breaks builds for people who use yes/ for some reason, but seems to be the convention used elsewhere.

Signed-off-by: Darryl Abbate [email protected]
(cherry picked from commit bbcbaf2)

NOTE:

This commit is cherry-picked from main to make CI build check work properly. Without this one, the '--with-lttng' configure option used by CI would lead to failure with the following error message:

checking if libibverbs is linkable by libtool... no
......
configure: verbs provider: disabled
configure: WARNING: verbs provider was requested, but cannot be compiled
configure: error: Cannot continue

Commented-by: Jianxin Xiong [email protected]

When configured with LTTng-UST support without specifying an
installation prefix (--with-lttng), the resulting CPPFLAGS and LDFLAGS
contain the (likely) non-existant `yes/` path.

This is a little hacky since it technically breaks builds for people who
use `yes/` for some reason, but seems to be the convention used elsewhere.

Signed-off-by: Darryl Abbate <[email protected]>
(cherry picked from commit bbcbaf2)

NOTE:

This commit is cherry-picked from main to make CI build check work properly.
Without this one, the '--with-lttng' configure option used by CI would lead
to failure with the following error message:

    checking if libibverbs is linkable by libtool... no
    ......
    configure: verbs provider: disabled
    configure: WARNING: verbs provider was requested, but cannot be compiled
    configure: error: Cannot continue

Commented-by: Jianxin Xiong <[email protected]>
@j-xiong j-xiong changed the title configure.ac Fix --with-lttng causing yes/ to populate {CPP,LD}FLAGS [v1.19.x] configure.ac Fix --with-lttng causing yes/ to populate {CPP,LD}FLAGS Nov 15, 2023
@j-xiong j-xiong merged commit a85ecf8 into ofiwg:v1.19.x Nov 15, 2023
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants