Giter Club home page Giter Club logo

homebrew-pebble-sdk's Introduction

homebrew-pebble-sdk

This is a Homebrew tap for the Pebble SDK. It was made possible by the contributors listed below as well as the devoted Pebble & Homebrew communities.

Installation

brew tap pebble/pebble-sdk
brew install pebble-sdk

A beta version of the SDK is also supported, but please check the version to make sure it's recent:

brew tap pebble/pebble-sdk
brew install pebble-sdk-beta

The legacy (2.9) version of the SDK is also supported:

brew tap pebble/pebble-sdk
brew install pebble-sdk-legacy

Bug Reports

Please report bugs using GitHub Issues. Be sure to include any relevant error messages, along with the output of the brew config and brew doctor commands.

Major Contributors

homebrew-pebble-sdk's People

Contributors

cjwilliams avatar katharine avatar matthewberryman avatar matthewtole avatar neal avatar youtux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-pebble-sdk's Issues

pebble-toolchain.rb uses deprecated sha1

The latest homebrew reports:

Warning: Calling Formula.sha1 is deprecated!
Use Formula.sha256 instead.
/usr/local/Library/Taps/pebble/homebrew-pebble-sdk/pebble-toolchain.rb:6:in `class:PebbleToolchain'

Warning: Calling SoftwareSpec#sha1 is deprecated!
Use SoftwareSpec#sha256 instead.
/usr/local/Library/Taps/pebble/homebrew-pebble-sdk/pebble-toolchain.rb:6:in `class:PebbleToolchain'

Warning: Calling Resource#sha1 is deprecated!
Use Resource#sha256 instead.
/usr/local/Library/Taps/pebble/homebrew-pebble-sdk/pebble-toolchain.rb:6:in `class:PebbleToolchain'

brew upgrade to 3.2 error

I get this error when upgrading from the SDK 3.1 to 3.2:

################################################################## 100,0%

==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1317, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1381, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/Cellar/pebble-sdk/3.2/libexec/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg

Problem with installation on mac via brew

i try

brew install pebble/pebble-sdk/pebble-sdk

and i get

==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.4/libexec
Last 15 lines from /Users/vonProteus/Library/Logs/Homebrew/pebble-sdk/05.python:
Running '/bin/sh /private/tmp/pebble-sdk--gevent20150927-20125-6remzm/gevent-1.0.2/libev/configure > configure-output.txt' in /private/tmp/pebble-sdk--gevent20150927-20125-6remzm/gevent-1.0.2/build/temp.macosx-10.10-intel-2.7/libev
building 'gevent.core' extension
creating build/temp.macosx-10.10-intel-2.7/gevent
clang -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -U__llvm__ -arch x86_64 -arch i386 -pipe -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -Ibuild/temp.macosx-10.10-intel-2.7/libev -Ilibev -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c gevent/gevent.core.c -o build/temp.macosx-10.10-intel-2.7/gevent/gevent.core.o
In file included from gevent/gevent.core.c:249:
In file included from gevent/libev.h:2:
libev/ev.c:1029:42: error: '_Noreturn' keyword must precede function declarator
  ecb_inline void ecb_unreachable (void) ecb_noreturn;
                                         ^~~~~~~~~~~~
  _Noreturn 
libev/ev.c:832:26: note: expanded from macro 'ecb_noreturn'
  #define ecb_noreturn   _Noreturn
                         ^
1 error generated.
error: command 'clang' failed with exit status 1
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for
Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
  https://github.com/pebble/homebrew-pebble-sdk/issues

i think this can help

Pebble-SDK fails to upgrade/reinstall on High Sierra (no bottle)

  • are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?

https://gist.github.com/a4171c8ee2ef6987dec4312d57d2384c

  • if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

  • What you were trying to do (and why)

Pebble-SDK is out of date, trying to brew upgrade pebble-sdk

  • What happened (include command output)

no bottle was found:

 bottle do
    root_url "http://pebble-sdk-homebrew.s3.amazonaws.com"
    cellar :any
    sha256 "bcbebcf5c8f6631374044d86d3c6b007a9e6440c83c2fbb3741693e17818aa62" => :el_capitan
    sha256 "f14ce854035de57dbcc9f8ab390071491aee81a37456cf325b28ac5a80020989" => :sierra
  end
brew reinstall pebble-sdk
==> Reinstalling pebble/pebble-sdk/pebble-sdk 
==> Downloading http://pebble-sdk-homebrew.s3.amazonaws.com/pebble-sdk-4.5.el_ca
######################################################################## 100.0%
==> Pouring pebble-sdk-4.5.el_capitan.bottle.tar.gz
Error: undefined method `undent' for #<String:0x00007fec159c56e0>
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Taps/pebble/homebrew-pebble-sdk/pebble-sdk.rb:228:in `caveats'
/usr/local/Homebrew/Library/Homebrew/caveats.rb:17:in `caveats'
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/forwardable.rb:202:in `empty?'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:613:in `caveats'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:664:in `finish'
/usr/local/Homebrew/Library/Homebrew/reinstall.rb:34:in `reinstall_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/reinstall.rb:51:in `block in reinstall'
/usr/local/Homebrew/Library/Homebrew/cmd/reinstall.rb:45:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/reinstall.rb:45:in `reinstall'
/usr/local/Homebrew/Library/Homebrew/brew.rb:89:in `<main>'
  • What you expected to happen

An upgrade to pebble-sdk

  • Step-by-step reproduction instructions (by running brew install commands)

brew upgrade --force pebble-sdk
or
brew reinstall pebble-sdk

The bottle fails and it tries to install from source


There are no bottles for High Sierra or Mojave I am on high sierra.
The bottle fails and it tries to install from source
https://gist.github.com/a4171c8ee2ef6987dec4312d57d2384c


brew config
HOMEBREW_VERSION: 1.8.4-9-g30c90dc
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 30c90dcc3b03f9046b43af5efe256eda7263158c
Last commit: 17 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4fbee5d45821506f3b91045ca1dc8ed2e4f910aa
Core tap last commit: 30 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.2 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_102
macOS: 10.13.6-x86_64
CLT: 10.1.0.0.1.1539992718
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11

Related Formulae missing High Sierra bottles: Homebrew/homebrew-core#18493

setuptools:: AttributeError: 'module' object has no attribute 'packaging'

Installing setuptools, pip, wheel...done.
(pebble)jorjun@horus project_pebble $python -V
Python 3.5.1
(pebble)jorjun@horus project_pebble $brew upgrade pebble-sdk
==> Upgrading 1 outdated package, with result:
pebble/pebble-sdk/pebble-sdk 4.2.1
==> Upgrading pebble/pebble-sdk/pebble-sdk
==> Downloading https://github.com/pebble/pebble-tool/archive/v4.2.1.zip
Already downloaded: /Library/Caches/Homebrew/pebble-sdk-4.2.1.zip
==> Downloading https://s3-us-west-2.amazonaws.com/pebble-sdk-homebrew/pypkjs-1.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--pypkjs-1.0.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/pebble-sdk/4.2.1/
Last 15 lines from /Users/jorjun/Library/Logs/Homebrew/pebble-sdk/01.python:
file = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(file).read()
.replace('\r\n', '\n'), file, 'exec'))
--no-user-cfg
install
--prefix=/usr/local/Cellar/pebble-sdk/4.2.1/libexec/vendor
--single-version-externally-managed
--record=installed.txt

Traceback (most recent call last):
File "", line 1, in
File "build/bdist.macosx-10.10-x86_64/egg/setuptools/init.py", line 11, in
File "build/bdist.macosx-10.10-x86_64/egg/setuptools/extension.py", line 8, in
File "build/bdist.macosx-10.10-x86_64/egg/setuptools/dist.py", line 21, in
AttributeError: 'module' object has no attribute 'packaging'

3.2 won't install

brew install pebble-sdk
==> Installing pebble-sdk from pebble/homebrew-pebble-sdk
==> Downloading https://sdk.getpebble.com/download/3.2?source=homebrew
Already downloaded: /Library/Caches/Homebrew/pebble-sdk-3.2.2
==> Downloading https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--backports.ssl-match-hostname-3.4.0.2.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/c/colorama/colorama-0.3.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--colorama-0.3.3.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/e/enum34/enum34-1.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--enum34-1.0.4.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/f/freetype-py/freetype-py-1.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--freetype-py-1.0.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/g/gevent/gevent-1.0.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--gevent-1.0.2.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/g/gevent-websocket/gevent-websocket-0.9.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--gevent-websocket-0.9.3.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.7.zip
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--greenlet-0.4.7.zip
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/h/httplib2/httplib2-0.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--httplib2-0.9.1.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/l/libpebble2/libpebble2-0.0.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--libpebble2-0.0.7.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/o/oauth2client/oauth2client-1.4.11.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--oauth2client-1.4.11.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/peewee/peewee-2.4.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--peewee-2.4.7.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/progressbar2/progressbar2-2.7.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--progressbar2-2.7.3.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/pyasn1/pyasn1-0.1.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--pyasn1-0.1.7.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--pyasn1-modules-0.0.5.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1317, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1381, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/Cellar/pebble-sdk/3.2/libexec/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/pebble/homebrew-pebble-sdk/issues

Freeze qemu-pebble on pebble-sdk-4.2.1-mac, QEMU waiting for connection on: disconnected:tcp::54035,server

I've enabled debug logging

sevens:watchface seven$ sudo pebble install --emulator aplite
Password:
INFO:pebble_tool.sdk.emulator:Spawning QEMU.
INFO:pebble_tool.sdk.emulator:Qemu command: qemu-pebble -rtc base=localtime -serial null -serial tcp::54034,server,nowait -serial tcp::54035,server -pflash "/Users/seven/Library/Application Support/Pebble SDK/SDKs/3.12/sdk-core/pebble/aplite/qemu/qemu_micro_flash.bin" -gdb tcp::54036,server,nowait -machine pebble-bb2 -cpu cortex-m3 -mtdblock "/Users/seven/Library/Application Support/Pebble SDK/3.12/aplite/qemu_spi_flash.bin"
INFO:pebble_tool.sdk.emulator:Waiting for the firmware to boot.
WARNING: Image format was not specified for '/Users/seven/Library/Application Support/Pebble SDK/SDKs/3.12/sdk-core/pebble/aplite/qemu/qemu_micro_flash.bin' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
WARNING: Image format was not specified for '/Users/seven/Library/Application Support/Pebble SDK/3.12/aplite/qemu_spi_flash.bin' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
QEMU waiting for connection on: disconnected:tcp::54035,server
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
DEBUG:pebble_tool.sdk.emulator:QEMU not ready yet.
Emulator launch timed out.

Then I found the root of the problem

sevens:~ seven$ qemu-pebble -rtc base=localtime -serial null -serial tcp::54034,server,nowait -pflash "/Users/seven/Library/Application Support/Pebble SDK/SDKs/3.12/sdk-core/pebble/aplite/qemu/qemu_micro_flash.bin" -gdb tcp::54036,server,nowait -machine pebble-bb2 -cpu cortex-m3 -mtdblock "/Users/seven/Library/Application Support/Pebble SDK/3.12/aplite/qemu_spi_flash.bin"
WARNING: Image format was not specified for '/Users/seven/Library/Application Support/Pebble SDK/SDKs/3.12/sdk-core/pebble/aplite/qemu/qemu_micro_flash.bin' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
WARNING: Image format was not specified for '/Users/seven/Library/Application Support/Pebble SDK/3.12/aplite/qemu_spi_flash.bin' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.

I removed the line -serial tcp::54035,server

And then I saw "Pebble", "Install an app to continue...etc"

Tested on Mac OS El Capitan 10.11.5

Cannot install pebble-sdk > 3.7.7

I have problem trying to install the pebble-sdk via brew. I am relatively new to OSX and in past I had some conflicts between python from brew and the default version installed on the system. So far I was trying to stick to the default version

This is the current log in /Users/<user>/Library/Logs/Homebrew/pebble-sdk/01.python

2015-12-04 12:22:26 +0000

python
setup.py
install
--prefix=/usr/local/Cellar/pebble-sdk/3.7/libexec

Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from setuptools import setup, find_packages
  File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py", line 12, in <module>
    from setuptools.extension import Extension
  File "/usr/local/lib/python2.7/site-packages/setuptools/extension.py", line 8, in <module>
    from .dist import _get_unpatched
  File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 16, in <module>
    from setuptools.depends import Require
  File "/usr/local/lib/python2.7/site-packages/setuptools/depends.py", line 6, in <module>
    from setuptools import compat
  File "/usr/local/lib/python2.7/site-packages/setuptools/compat.py", line 17, in <module>
    import httplib
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 80, in <module>
    import mimetools
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/mimetools.py", line 6, in <module>
    import tempfile
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/tempfile.py", line 35, in <module>
    from random import Random as _Random
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/random.py", line 49, in <module>
    import hashlib as _hashlib
  File "build/bdist.macosx-10.10-x86_64/egg/hashlib.py", line 105, in <module>
    f()
  File "build/bdist.macosx-10.10-x86_64/egg/_hashlib.py", line 7, in <module>
  File "build/bdist.macosx-10.10-x86_64/egg/_hashlib.py", line 4, in __bootstrap__
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1161, in resource_filename
    self, resource_name
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1861, in get_resource_filename
    self._extract_resource(manager, self._eager_to_zip(name))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1897, in _extract_resource
    outf, tmpnam = _mkstemp(".$extract", dir=os.path.dirname(real_path))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3055, in _mkstemp
    return tempfile.mkstemp(*args,**kw)
AttributeError: 'module' object has no attribute 'mkstemp'

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: f7f8243b6bfc4cdc835be7f24253610befc355ea
Last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
OS X: 10.11.1-x86_64
Xcode: 7.1.1
CLT: 7.1.0.0.1.1444952191
GCC-4.2: build 0
Clang: 7.0 build 700
X11: 2.7.8 => /opt/X11
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_25, 1.8.0_20

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local/opt/pebble-toolchain:/usr/local/opt/gettext:/usr/local/opt/libffi:/usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/opt/gettext/share/aclocal:/usr/local/share/aclocal
PATH: /usr/local/Cellar/pebble-sdk/3.7/libexec/bin:/usr/local/Library/ENV/4.3:/usr/local/opt/libpng/bin:/usr/local/opt/freetype/bin:/usr/local/opt/gettext/bin:/usr/local/opt/glib/bin:/usr/bin:/bin:/usr/sbin:/sbin

I also did not try to figure out the build/bdist.macosx-10.10-x86_64/egg/hashlib.py which I would not expect since I am running on OSX 10.11

Thanks in advance for any help!

Suggestions

I would like to help improving the pebble-sdk formula. So far I have seen the following problems:

  • The main formula pebble-sdk.rb lacks of some requirements listed on the Mac OS Install Guide, in particular: boost-python, glib and pixman.
  • The dependency pebble-toolchain of the pebble-sdk.rb formula is declared as build-time dependency, while it should be a normal dependency since it is required at runtime, too.
  • The depends_on :macos => :mountain_lion dependency was required when the toolchain was compiled from sources. The Homebrew Test Bot could not compile it under Lion, so we added that dependency (see Homebrew/legacy-homebrew#27740). Now that you use the pre-compiled toolchain (which I think it works with Lion, too) this dependency is no longer required, unless something else breaks on OSX < ML.
  • Homebrew currently prefers sha256 checksums over sha1, but that's not a big deal.

I want to remark that these are not complaints, but just some suggestion I would like to give you.
If you find them useful, you may also want to check the pebble-sdk I'm currently maintaining at youtux/homebrew-youtux.

3.2 SDK 'couldn't understand kern.osversion' error

Getting this error while installing the 3.2 SDK.

==> Downloading https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.5.tar.gz
######################################################################## 100.0%
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1317, in get_metadata
     return self._get(self._fn(self.egg_info,name))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1381, in _get
    return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/Cellar/pebble-sdk/3.2/libexec/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg
couldn't understand kern.osversion `14.4.0'

libev in gevent 1.0.2 cannot build on OS X 10.11

I am sorry to live on the bleeding edge, but libev in gevent 1.0.2 cannot build on OS X 10.11

It can be installed by upgrading the dependency to gevent 1.1a2, but I didn't test it thoroughly.

Unable to accept the Pebble Terms of Use

I am having trouble accepting the terms of use, when I get the prompt I am unable to type y or n. Below is the output of brew config

HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 17fc083bd7e56ff10440d8692389d0b63d4ab178
Last commit: 87 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit core2
OS X: 10.6.8-i386
Xcode: 3.2.6
CLT: N/A
GCC-4.0: build 5494
GCC-4.2: build 5666
LLVM-GCC: build 2335
Clang: 2.0 build 139
X11: 2.3.6 => /usr/X11
System Ruby: 1.8.7-p358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.2/bin/ruby
Java: 1.6.0_65

Can't log in because of unpacked httplib2 egg

pebble login fails because httplib2 tries to read cacerts.txt from its directory, but it's a zipped egg file, not a directory.

Unzipping /usr/local/Cellar/pebble-sdk/3.7/libexec/lib/python2.7/site-packages/httplib2-0.9.1-py2.7.egg into a directory with the same path and name fixes the problem.

Error: Cannot link pebble-sdk

brew install pebble/pebble-sdk/pebble-sdk

output:

==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/pebble-sdk/4.5/libexec --single-version-externally-managed --record=installed.txt
Error: undefined method `undent' for #<String:0x00000001033cf290>
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Taps/pebble/homebrew-pebble-sdk/pebble-sdk.rb:228:in `caveats'
/usr/local/Homebrew/Library/Homebrew/caveats.rb:17:in `caveats'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/forwardable.rb:202:in `empty?'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:610:in `caveats'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:659:in `finish'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:322:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:253:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:251:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:87:in `<main>

https://gist.github.com/BorzdeG/90adbf720c305f7b42c53cee24bf6e08

Solved! - Error updating SDK

So, when i tried to update my SDK, everything was perfect until the last component. Here is a screenshoot of the error. For some reason i cant run compiled C programs.

troubleshooting

Install fails with `ecb_noreturn` error (OSX 10.11)

==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.1/libexec
libev/ev.c:832:26: note: expanded from macro 'ecb_noreturn'
#define ecb_noreturn _Noreturn
^
1 error generated.
error: command 'clang' failed with exit status 1

OS X 10.11 (El capitan beta) compatibility

==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
libev/ev.c:832:26: note: expanded from macro 'ecb_noreturn'
#define ecb_noreturn _Noreturn
^
1 error generated.
error: command 'clang' failed with exit status 1

Brew upgrade fails when upgrading to 3.2 from 3.1

Upgrading pebble-sdk to 3.2 gives this error:

$ brew upgrade
==> Upgrading 1 outdated package, with result:
pebble/pebble-sdk/pebble-sdk 3.2
==> Upgrading pebble/pebble-sdk/pebble-sdk
==> Downloading https://sdk.getpebble.com/download/3.2?source=homebrew
Already downloaded: /Library/Caches/Homebrew/pebble-sdk-3.2.2
==> Downloading https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--backports.ssl-match-hostname-3.4.0.2.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/c/colorama/colorama-0.3.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--colorama-0.3.3.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/e/enum34/enum34-1.0.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--enum34-1.0.4.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/f/freetype-py/freetype-py-1.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--freetype-py-1.0.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/g/gevent/gevent-1.0.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--gevent-1.0.2.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/g/gevent-websocket/gevent-websocket-0.9.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--gevent-websocket-0.9.3.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/g/greenlet/greenlet-0.4.7.zip
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--greenlet-0.4.7.zip
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/h/httplib2/httplib2-0.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--httplib2-0.9.1.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/l/libpebble2/libpebble2-0.0.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--libpebble2-0.0.7.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/o/oauth2client/oauth2client-1.4.11.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--oauth2client-1.4.11.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/peewee/peewee-2.4.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--peewee-2.4.7.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/progressbar2/progressbar2-2.7.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--progressbar2-2.7.3.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/pyasn1/pyasn1-0.1.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--pyasn1-0.1.7.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
==> Downloading https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.5.tar.gz
Already downloaded: /Library/Caches/Homebrew/pebble-sdk--pyasn1-modules-0.0.5.tar.gz
==> python setup.py install --prefix=/usr/local/Cellar/pebble-sdk/3.2/libexec
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1317, in get_metadata
    return self._get(self._fn(self.egg_info,name))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1381, in _get
    return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/Cellar/pebble-sdk/3.2/libexec/lib/python2.7/site-packages/pyasn1_modules-0.0.5-py2.7.egg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.