Skip to content

Instantly share code, notes, and snippets.

View ccaviness's full-sized avatar

Clay Caviness ccaviness

View GitHub Profile
@ccaviness
ccaviness / # gdal - 2018-10-30_14-23-44.txt
Created October 30, 2018 18:25
gdal on macOS 10.13.6 - Homebrew build logs
Homebrew build logs for gdal on macOS 10.13.6
Build date: 2018-10-30 14:23:44
H
/^def macosx_sdk_root(/a
.
/cflags =/i
sdkroot = os.environ.get('SDKROOT')
if sdkroot is not None:
return sdkroot
.
/# Check the additional directories$/a
.
H
/^#include/a
#include <stdlib.h>
.
/^get_history_item(/a
.
/^#ifdef *__APPLE__/c
/*
* Recent versions of libedit have corrected the off-by-one history indexes
* (though the Apple version emulates a true offset rather than using the
H
g/-Wl,-search_paths_first/d
g/ -lSystemStubs -arch_only [^"]*/s///
g/-current_version $(VERSION)/s//-current_version $(PYTHON_CURRENT_VERSION)/
g/-O3/s//-Os/g
/^OTHER_LIBTOOL_OPT$/i
EXTRA_CFLAGS
LIBTOOL
.
/# Calculate the right deployment target for this build\./i
$ ruby -e "require 'facter'; require 'facter/util/plist'; puts ['foo'].to_plist(false)"
<array>
<string>foo</string>
</array>
$ ruby -e "require 'facter'; require 'facter/util/cfpropertylist'; puts ['foo'].to_plist(false)"
/Library/Ruby/Site/1.8/facter/util/cfpropertylist/lib/rbCFPropertyList.rb:372:in `to_plist': undefined method `[]' for false:FalseClass (NoMethodError)
from -e:1