You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2021/05/03 16:51:00 UTC

[jira] [Updated] (ARROW-12601) [R][Packaging] Fix pkg-config check in r/configure

     [ https://issues.apache.org/jira/browse/ARROW-12601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neal Richardson updated ARROW-12601:
------------------------------------
    Fix Version/s: 4.0.1

> [R][Packaging] Fix pkg-config check in r/configure
> --------------------------------------------------
>
>                 Key: ARROW-12601
>                 URL: https://issues.apache.org/jira/browse/ARROW-12601
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Packaging, R
>    Affects Versions: 4.0.0
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0, 4.0.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> I installed the arrow R package version 4.0.0 from CRAN on an Intel Mac that does not have pkg-config installed, and I saw this in the installation log
> {code:java}
> ./configure: line 81: pkg-config: command not found
> ./configure: line 82: pkg-config: command not found
> ./configure: line 83: pkg-config: command not found {code}
> This is happening because of line 79 and 80:
> {code:java}
> pkg-config --version >/dev/null 2>&1
> if [ "$ARROW_USE_PKG_CONFIG" != "false" ] && [ $? -eq 0 ]; then {code}
> The first conditional on line 80 causes {{$?}} to be set to {{0}}, so then the second conditional evaluates to true. Reverse the order of these two conditionals so that {{$?}} truly reflects whether pkg-config is installed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)