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

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

Will Spurgin created ARROW-14724:
------------------------------------

             Summary: [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
            Reporter: Will Spurgin
         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}




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