Skip to content

Instantly share code, notes, and snippets.

/- Secret

Created March 21, 2015 11:44
Show Gist options
  • Save anonymous/950fae6c547aaa7db603 to your computer and use it in GitHub Desktop.
Save anonymous/950fae6c547aaa7db603 to your computer and use it in GitHub Desktop.
rylee@Rylees-MacBook-Pro ~ $ brew install woodruffw/screenfetch-c/screenfetch-c --verbose [06:41:21]
==> Installing screenfetch-c from woodruffw/homebrew-screenfetch-c
==> Downloading https://github.com/woodruffw/screenfetch-c/archive/screenfetch-c-1.3.7.tar.gz
Already downloaded: /Library/Caches/Homebrew/screenfetch-c-1.3.7.tar.gz
==> Verifying screenfetch-c-1.3.7.tar.gz checksum
tar xf /Library/Caches/Homebrew/screenfetch-c-1.3.7.tar.gz
==> make
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/disp.c -o src/disp.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/error_flag.c -o src/error_flag.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/logos.c -o src/logos.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/main.c -o src/main.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/util.c -o src/util.o
gcc -O3 -std=c99 -Wall -Wformat -Wunused-variable -pedantic -D_POSIX_C_SOURCE=200112L -D_DARWIN_C_SOURCE -D_DARWIN_USE_64_BIT_INODE -c src/plat/darwin/detect.c -o src/plat/darwin/detect.o
src/plat/darwin/detect.c:60:8: error: use of undeclared identifier 'distro_name_str'
fgets(distro_name_str, MAX_STRLEN, distro_file);
^
src/plat/darwin/detect.c:63:43: error: use of undeclared identifier 'distro_name_str'
snprintf(str, MAX_STRLEN, "Mac OS X %s", distro_name_str);
^
/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
^
2 errors generated.
make: *** [src/plat/darwin/detect.o] Error 1
make: *** Waiting for unfinished jobs....
==> Formula
Tap: woodruffw/homebrew-screenfetch-c
Path: /usr/local/Library/Taps/woodruffw/homebrew-screenfetch-c/screenfetch-c.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 7230e677ac7c205533d5e7d87db2eb4e0b5b067a
Last commit: 9 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit haswell
OS X: 10.10.2-x86_64
Xcode: 6.2
CLT: 6.2.0.0.1.1424975374
Clang: 6.0 build 600
-X11: N/A
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/rylee/.rvm/rubies/ruby-2.1.5/bin/ruby
Java: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /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_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: screenfetch-c 1.3.7 did not build
Logs:
/Users/rylee/Library/Logs/Homebrew/screenfetch-c/01.make
/Users/rylee/Library/Logs/Homebrew/screenfetch-c/01.make.cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment