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

[jira] [Closed] (ARROW-14724) [Ruby] gem install red-arrow fails on debian because .pc is not found

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

Kouhei Sutou closed ARROW-14724.
--------------------------------
    Resolution: Duplicate

Thanks for your report.
This has been fixed in the master. We'll release Apache Arrow 6.0.1 that includes the fix soon.

> [Ruby] gem install red-arrow fails on debian because <thrift> .pc is not found
> ------------------------------------------------------------------------------
>
>                 Key: ARROW-14724
>                 URL: https://issues.apache.org/jira/browse/ARROW-14724
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Ruby
>    Affects Versions: 6.0.0
>            Reporter: Will Spurgin
>            Priority: Blocker
>              Labels: debian, installation
>         Attachments: Dockerfile.test, docker_build.log
>
>
> The gem {{red-arrow}} (via {{red_parquet}}) on debian fails to install after following the [published instructions|https://arrow.apache.org/install/] to install the dependent {{libarrow-dev}} and {{libarrow-glib-dev}} packages.
> The build error is in the makefile creation stage in [extconf|https://github.com/apache/arrow/blob/apache-arrow-6.0.0/ruby/red-arrow/ext/arrow/extconf.rb#L41-L52]
> {{.pc doesn't exist: <thrift> (PackageConfig::NotFoundError)}}
> Full error:
> {noformat}
> #8 35.24 *** extconf.rb failed ***
> #8 35.24 Could not create Makefile due to some reason, probably lack of necessary
> #8 35.24 libraries and/or headers.  Check the mkmf.log file for more details.  You may
> #8 35.24 need configuration options.
> #8 35.24
> #8 35.24 Provided configuration options:
> #8 35.24        --with-opt-dir
> #8 35.24        --without-opt-dir
> #8 35.24        --with-opt-include
> #8 35.24        --without-opt-include=${opt-dir}/include
> #8 35.24        --with-opt-lib
> #8 35.24        --without-opt-lib=${opt-dir}/lib
> #8 35.24        --with-make-prog
> #8 35.24        --without-make-prog
> #8 35.24        --srcdir=.
> #8 35.24        --curdir
> #8 35.24        --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
> #8 35.24        --enable-debug-build
> #8 35.24        --disable-debug-build
> #8 35.24        --enable-debug-build
> #8 35.24        --disable-debug-build
> #8 35.24        --with-pkg-config
> #8 35.24        --without-pkg-config
> #8 35.24        --with-override-variables
> #8 35.24        --without-override-variables
> #8 35.24 /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:389:in `parse_pc': .pc doesn't exist: <thrift> (PackageConfig::NotFoundError)
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:233:in `declaration'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:178:in `requires_private'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:509:in `block in all_required_packages'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:259:in `collect_requires'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:265:in `block in collect_requires'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:260:in `each'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:260:in `collect_requires'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:508:in `all_required_packages'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:283:in `collect_cflags'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:191:in `cflags_only_other'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:569:in `cflags_only_other'
> #8 35.24        from /usr/local/bundle/gems/pkg-config-1.4.6/lib/pkg-config.rb:616:in `have_package'
> #8 35.24        from /usr/local/bundle/gems/glib2-3.4.9/lib/mkmf-gnome.rb:458:in `required_pkg_config_package'
> #8 35.24        from extconf.rb:41:in `<main>'
> {noformat}
> I have included a Dockefile (called {{Dockerfile.test}}) that recreates the issue and the log of the output from {{docker build -f Dockerfile.test .}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)