Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621180 - app-admin/puppet-4.10.1, dev-ruby/facter-3.6.3: shows error "libfacter was not found. Please make sure it was installed to the expected location."
Summary: app-admin/puppet-4.10.1, dev-ruby/facter-3.6.3: shows error "libfacter was no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-08 05:00 UTC by Olaf H B
Modified: 2017-08-24 20:35 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info.txt,4.75 KB, text/plain)
2017-06-08 05:00 UTC, Olaf H B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf H B 2017-06-08 05:00:33 UTC
Created attachment 475586 [details]
emerge --info

After upgrading puppet to version 4.10.1 it does not works.

Every time I invoke puppet I get this error "libfacter was not found. Please make sure it was installed to the expected location."

The same happens in other computer after the same upgrade.


If I run facter directly it works and shows a lot of info.

Current version of facter is 3.6.3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2017-06-09 03:15:34 UTC
Not a duplicate, as bug 611018 said it should have been fixed in 3.6.3

Can you test facter-3.6.4?
Comment 2 Olaf H B 2017-06-09 04:12:13 UTC
(In reply to Robin Johnson from comment #1)
> Not a duplicate, as bug 611018 said it should have been fixed in 3.6.3
> 
> Can you test facter-3.6.4?

I have upgraded facter to 3.6.4 and the problem persist.
Comment 3 Olaf H B 2017-06-09 04:19:31 UTC
Also tested facter 3.6.3-r1 and the result is the same.
Comment 4 Hans de Graaff gentoo-dev Security 2017-06-09 05:23:54 UTC
(In reply to Olaf H B from comment #2)

> I have upgraded facter to 3.6.4 and the problem persist.

The libfacter path is managed by an environment variable, so you will need to to env-update.
Comment 5 Olaf H B 2017-06-09 06:11:23 UTC
(In reply to Hans de Graaff from comment #4)
> (In reply to Olaf H B from comment #2)
> 
> > I have upgraded facter to 3.6.4 and the problem persist.
> 
> The libfacter path is managed by an environment variable, so you will need
> to to env-update.

Thanks Hans.

I ran env-update and source /etc/profile with facter 3.6.3-r1, then puppet worked!.

If I return to facter 3.6.3 the problem is there, even after the env-update & source /etc/profile commands.

I think this action should be automated with emerge or at least mentioned in the messages for the package after the emerge.

Also facter-3.6.3-r1 should be marked as stable in order to solve this problem.

Anyway, thanks a lot!
Comment 6 gentoo 2017-06-14 17:29:14 UTC
Fresh install in a bare bones VM with 3.6.3 and received the "libfacter was not found. Please make sure it was installed to the expected location." message. env-update changed nothing. Emerged 3.6.3-r1 and that resolved the issue.
Comment 7 Ewoud Kohl van Wijngaarden 2017-08-24 19:58:50 UTC
Given 3.6.4 and 3.7.1 are stable and include the fix I think this can be closed.
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2017-08-24 20:35:31 UTC
wfm