Bug 193348 - textproc/augeas broken
Summary: textproc/augeas broken
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 15:23 UTC by Tim Bishop
Modified: 2014-09-12 02:36 UTC (History)
0 users

See Also:


Attachments
Patch to apply the fix to the port (8.85 KB, patch)
2014-09-05 15:23 UTC, Tim Bishop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Bishop freebsd_committer freebsd_triage 2014-09-05 15:23:37 UTC
Created attachment 146873 [details]
Patch to apply the fix to the port

I've got a problem with textproc/augeas on FreeBSD. It broke in Puppet with errors like this:

Debug: Augeas[/usr/local/etc/puppet/puppet.conf](provider=augeas): Opening augeas with root /, lens path , flags 32
Error: /Stage[pre1]/Puppet::Early/Augeas[/usr/local/etc/puppet/puppet.conf]: Could not evaluate: unknown error - Failed to initialize Augeas

Further debugging outside of Puppet showed:

# augtool print /files/usr/local/etc/puppet/puppet.conf
Failed to initialize Augeas
error: Syntax error in lens definition
/usr/local/share/augeas/lenses/dist/xymon_alerting.aug:43.4-.39:Failed to compile ws
/usr/local/share/augeas/lenses/dist/xymon_alerting.aug:43.22-.39:exception: del: the default value ' ' does not match /[\t ]+\\?/

The problem is detailed in this bug:

https://github.com/hercules-team/augeas/pull/89

And it looks like the fix is this change (currently unreleased):

https://github.com/hercules-team/augeas/commit/cf3de24554112f3d47e26515954769e23d6adf45

Attached is a patch to apply this change to the port.
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-09-12 02:25:27 UTC
A commit references this bug:

Author: swills
Date: Fri Sep 12 02:25:05 UTC 2014
New revision: 368000
URL: http://svnweb.freebsd.org/changeset/ports/368000

Log:
  textproc/augeas: add patch from upstream to fix bug

  PR:		193348
  Submitted by:	tdb
  Obtained from:	https://github.com/hercules-team/augeas/commit/cf3de24554112f3d47e26515954769e23d6adf45

Changes:
  head/textproc/augeas/Makefile
  head/textproc/augeas/files/patch-lenses__xymon_alerting.aug
Comment 2 Steve Wills freebsd_committer freebsd_triage 2014-09-12 02:36:28 UTC
Committed, thanks!