Jira (PUP-10584) puppet_gem provider does not use vendored PKG_CONFIG_PATH when installing native extensions

12 views
Skip to first unread message

Ciprian Badescu (Jira)

unread,
Jul 14, 2020, 9:34:03 AM7/14/20
to puppe...@googlegroups.com
Ciprian Badescu created an issue
 
Puppet / Bug PUP-10584
puppet_gem provider does not use vendored PKG_CONFIG_PATH when installing native extensions
Issue Type: Bug Bug
Assignee: Ciprian Badescu
Created: 2020/07/14 6:33 AM
Environment:

Running on Puppet 6 environment.
Puppet-Agent version of 6.0.2
Puppet Gem version of 2.5.0
Running on a Centos 7 machine

Priority: Normal Normal
Reporter: Ciprian Badescu

Based on bellow issue on using /opt/puppetlabs/puppet/bin/gem, we will update puppet_gem package provider to be able to handle rugged installation with puppet: puppet resource package rugged ensure=present provider=puppet_gem

------

 

When installing R10K, if you install Rugged with the following method

`/opt/puppetlabs/puppet/bin/gem install rugged`

It will build as intended, but will then cause SegV to occur on running R10K even no matter what provider you have it set to use.

If you first set your pkgconfig env with
`export PKG_CONFIG_PATH=/opt/puppetlabs/puppet/lib/pkgconfig`

And then install Rugged, it will then build and run as intended.

The Puppet Gem environment should probably handle making sure gems built use vendored components.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Ciprian Badescu (Jira)

unread,
Jul 14, 2020, 10:05:03 AM7/14/20
to puppe...@googlegroups.com

Dorin Pleava (Jira)

unread,
Aug 19, 2020, 8:43:03 AM8/19/20
to puppe...@googlegroups.com

Claire Cadman (Jira)

unread,
Aug 20, 2020, 5:04:03 AM8/20/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Aug 20, 2020, 6:57:03 AM8/20/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Release Notes Summary: set Allows installing of gems with native extensions that require PKG_CONFIG_PATH to /opt/puppetlabs/puppet/lib/pkgconfig while when using puppet_gem provider (needed for some native gems , like for example the rugged ) gem

Luchian Nemes (Jira)

unread,
Oct 13, 2020, 11:26:04 AM10/13/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages