Skip to content

Instantly share code, notes, and snippets.

@apjanke
Created March 28, 2013 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apjanke/5267454 to your computer and use it in GitHub Desktop.
Save apjanke/5267454 to your computer and use it in GitHub Desktop.
Build failure diagnostics from `brew install colloquypush`
mr-clean:~ $ brew doctor
Your system is raring to brew.
mr-clean:~ $ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install colloquypush
==> Downloading https://github.com/wired/colloquypush/archive/colloquy-znc-1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/colloquypush-1.1.tar.gz
tar xf /Library/Caches/Homebrew/colloquypush-1.1.tar.gz
==> znc-buildmod colloquy.cpp
znc-buildmod colloquy.cpp
Building "colloquy.so" for ZNC 1.0... colloquy.cpp:9:17: error: znc.h: No such file or directory
colloquy.cpp:10:18: error: Chan.h: No such file or directory
colloquy.cpp:11:18: error: User.h: No such file or directory
colloquy.cpp:12:21: error: Modules.h: No such file or directory
colloquy.cpp:19: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:19: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:28: error: ‘CClient’ has not been declared
colloquy.cpp:32: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:32: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:36: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:36: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:58: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:58: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:127: error: ‘CString’ does not name a type
colloquy.cpp:156: error: ‘CString’ does not name a type
colloquy.cpp:160: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:160: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:187: error: ‘CString’ does not name a type
colloquy.cpp:211: error: ‘CString’ does not name a type
colloquy.cpp:212: error: ‘CString’ does not name a type
colloquy.cpp:213: error: ‘CString’ does not name a type
colloquy.cpp:214: error: ‘CString’ does not name a type
colloquy.cpp:215: error: ‘CString’ does not name a type
colloquy.cpp:216: error: ‘CString’ does not name a type
colloquy.cpp:217: error: ISO C++ forbids declaration of ‘SCString’ with no type
colloquy.cpp:217: error: expected ‘;’ before ‘&’ token
colloquy.cpp:218: error: expected `;' before ‘bool’
colloquy.cpp:219: error: ‘CClient’ has not been declared
colloquy.cpp:220: error: ‘CString’ does not name a type
colloquy.cpp:225: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:225: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:226: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:226: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:227: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:227: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:228: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:228: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:229: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:229: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:230: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:230: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:231: error: ‘CClient’ has not been declared
colloquy.cpp:232: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:232: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:263: error: ISO C++ forbids declaration of ‘set’ with no type
colloquy.cpp:263: error: expected ‘;’ before ‘<’ token
colloquy.cpp:264: error: ISO C++ forbids declaration of ‘CModule’ with no type
colloquy.cpp:264: error: expected ‘;’ before ‘&’ token
colloquy.cpp:266: error: ‘CString’ does not name a type
colloquy.cpp:267: error: ‘CString’ does not name a type
colloquy.cpp:268: error: ‘CString’ does not name a type
colloquy.cpp:269: error: ‘CString’ does not name a type
colloquy.cpp:270: error: ‘CString’ does not name a type
colloquy.cpp:271: error: ‘CString’ does not name a type
colloquy.cpp:272: error: ‘SCString’ does not name a type
colloquy.cpp:273: error: ‘CString’ does not name a type
colloquy.cpp: In constructor ‘CDevice::CDevice(int)’:
colloquy.cpp:20: error: class ‘CDevice’ does not have any field named ‘m_Parent’
colloquy.cpp:20: error: ‘Parent’ was not declared in this scope
colloquy.cpp:20: error: class ‘CDevice’ does not have any field named ‘m_sToken’
colloquy.cpp:20: error: ‘sToken’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::RemoveClient(int*)’:
colloquy.cpp:29: error: ‘m_spClients’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::RemKeyword(int)’:
colloquy.cpp:33: error: ‘m_ssKeywords’ was not declared in this scope
colloquy.cpp:33: error: ‘sWord’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::AddKeyword(int)’:
colloquy.cpp:37: error: ‘sWord’ was not declared in this scope
colloquy.cpp:38: error: ‘m_ssKeywords’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::Save()’:
colloquy.cpp:47: error: ‘CString’ was not declared in this scope
colloquy.cpp:47: error: expected `;' before ‘sStr’
colloquy.cpp:49: error: ‘m_Parent’ was not declared in this scope
colloquy.cpp:49: error: ‘GetToken’ was not declared in this scope
colloquy.cpp:49: error: ‘sStr’ was not declared in this scope
colloquy.cpp:50: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:54: error: ‘GetToken’ was not declared in this scope
colloquy.cpp:54: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::Push(int)’:
colloquy.cpp:59: error: ‘m_sToken’ was not declared in this scope
colloquy.cpp:60: error: ‘sNick’ was not declared in this scope
colloquy.cpp:60: error: ‘sMessage’ was not declared in this scope
colloquy.cpp:60: error: ‘sChannel’ was not declared in this scope
colloquy.cpp:60: error: ‘bHilite’ was not declared in this scope
colloquy.cpp:60: error: ‘CString’ cannot be used as a function
colloquy.cpp:60: error: ‘iBadge’ was not declared in this scope
colloquy.cpp:60: error: ‘CString’ cannot be used as a function
colloquy.cpp:60: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:64: error: ‘m_sHost’ was not declared in this scope
colloquy.cpp:65: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:68: error: expected `;' before ‘sPayload’
colloquy.cpp:68: warning: statement has no effect
colloquy.cpp:70: error: ‘sPayload’ was not declared in this scope
colloquy.cpp:72: error: ‘m_sToken’ was not declared in this scope
colloquy.cpp:72: error: ‘CollEscape’ was not declared in this scope
colloquy.cpp:74: error: ‘sMessage’ was not declared in this scope
colloquy.cpp:78: error: ‘sNick’ was not declared in this scope
colloquy.cpp:84: error: ‘iBadge’ was not declared in this scope
colloquy.cpp:90: error: ‘CString’ cannot be used as a function
colloquy.cpp:93: error: ‘sChannel’ was not declared in this scope
colloquy.cpp:97: error: ‘m_sConnectionToken’ was not declared in this scope
colloquy.cpp:101: error: ‘m_sConnectionName’ was not declared in this scope
colloquy.cpp:105: error: ‘bHilite’ was not declared in this scope
colloquy.cpp:105: error: ‘m_sHiliteSound’ was not declared in this scope
colloquy.cpp:107: error: ‘m_sMessageSound’ was not declared in this scope
colloquy.cpp:107: error: ‘iBadge’ was not declared in this scope
colloquy.cpp:113: error: ‘m_sHost’ was not declared in this scope
colloquy.cpp:113: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:118: error: ‘CSocket’ was not declared in this scope
colloquy.cpp:118: error: ‘pSock’ was not declared in this scope
colloquy.cpp:118: error: expected type-specifier before ‘CSocket’
colloquy.cpp:118: error: expected `;' before ‘CSocket’
colloquy.cpp:121: error: ‘Csock’ has not been declared
colloquy.cpp:122: error: ‘m_Parent’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::Parse(int)’:
colloquy.cpp:161: error: ‘VCString’ was not declared in this scope
colloquy.cpp:161: error: expected `;' before ‘vsLines’
colloquy.cpp:162: error: ‘sStr’ was not declared in this scope
colloquy.cpp:162: error: ‘vsLines’ was not declared in this scope
colloquy.cpp:165: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:173: error: ‘m_sToken’ was not declared in this scope
colloquy.cpp:174: error: ‘m_sName’ was not declared in this scope
colloquy.cpp:175: error: ‘m_sHost’ was not declared in this scope
colloquy.cpp:178: error: ‘m_sConnectionToken’ was not declared in this scope
colloquy.cpp:179: error: ‘m_sConnectionName’ was not declared in this scope
colloquy.cpp:180: error: ‘m_sMessageSound’ was not declared in this scope
colloquy.cpp:181: error: ‘m_sHiliteSound’ was not declared in this scope
colloquy.cpp:182: error: ‘m_ssKeywords’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::IsConnected() const’:
colloquy.cpp:218: error: ‘m_spClients’ was not declared in this scope
colloquy.cpp: In member function ‘bool CDevice::HasClient(int*) const’:
colloquy.cpp:219: error: ‘m_spClients’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetToken(int)’:
colloquy.cpp:225: error: ‘m_sToken’ was not declared in this scope
colloquy.cpp:225: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetName(int)’:
colloquy.cpp:226: error: ‘m_sName’ was not declared in this scope
colloquy.cpp:226: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetConnectionToken(int)’:
colloquy.cpp:227: error: ‘m_sConnectionToken’ was not declared in this scope
colloquy.cpp:227: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetConnectionName(int)’:
colloquy.cpp:228: error: ‘m_sConnectionName’ was not declared in this scope
colloquy.cpp:228: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetMessageSound(int)’:
colloquy.cpp:229: error: ‘m_sMessageSound’ was not declared in this scope
colloquy.cpp:229: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetHiliteSound(int)’:
colloquy.cpp:230: error: ‘m_sHiliteSound’ was not declared in this scope
colloquy.cpp:230: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::AddClient(int*)’:
colloquy.cpp:231: error: ‘m_spClients’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::SetHost(int)’:
colloquy.cpp:232: error: ‘m_sHost’ was not declared in this scope
colloquy.cpp:232: error: ‘s’ was not declared in this scope
colloquy.cpp: In member function ‘void CDevice::Reset()’:
colloquy.cpp:250: error: ‘m_sToken’ was not declared in this scope
colloquy.cpp:251: error: ‘m_sName’ was not declared in this scope
colloquy.cpp:252: error: ‘m_sConnectionToken’ was not declared in this scope
colloquy.cpp:253: error: ‘m_sConnectionName’ was not declared in this scope
colloquy.cpp:254: error: ‘m_sMessageSound’ was not declared in this scope
colloquy.cpp:255: error: ‘m_sHiliteSound’ was not declared in this scope
colloquy.cpp:256: error: ‘m_sHost’ was not declared in this scope
colloquy.cpp:259: error: ‘m_ssKeywords’ was not declared in this scope
colloquy.cpp: At global scope:
colloquy.cpp:279: error: expected class-name before ‘{’ token
colloquy.cpp:291: error: ISO C++ forbids declaration of ‘MODCONSTRUCTOR’ with no type
colloquy.cpp:323: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:323: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:373: error: ‘EModRet’ does not name a type
colloquy.cpp:452: error: expected ‘,’ or ‘...’ before ‘&’ token
colloquy.cpp:452: error: ISO C++ forbids declaration of ‘CString’ with no type
colloquy.cpp:462: error: expected ‘;’ before ‘(’ token
colloquy.cpp:872: error: expected `;' at end of input
colloquy.cpp:872: error: expected `}' at end of input
colloquy.cpp: In member function ‘int CColloquyMod::MODCONSTRUCTOR(CColloquyMod)’:
colloquy.cpp:302: error: ‘LoadRegistry’ was not declared in this scope
colloquy.cpp:304: error: ‘MCString’ has not been declared
colloquy.cpp:304: error: expected `;' before ‘it’
colloquy.cpp:304: error: ‘it’ was not declared in this scope
colloquy.cpp:304: error: ‘EndNV’ was not declared in this scope
colloquy.cpp:305: error: ‘CString’ was not declared in this scope
colloquy.cpp:305: error: expected `;' before ‘sKey’
colloquy.cpp:307: error: ‘sKey’ was not declared in this scope
colloquy.cpp:311: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:316: error: ‘m_mspDevices’ was not declared in this scope
colloquy.cpp:316: error: ‘class CDevice’ has no member named ‘GetToken’
colloquy.cpp:318: error: ‘DEBUG’ was not declared in this scope
colloquy.cpp:321: warning: no return statement in function returning non-void
colloquy.cpp: In member function ‘virtual bool CColloquyMod::OnLoad(int)’:
colloquy.cpp:324: error: ‘SCString’ was not declared in this scope
colloquy.cpp:324: error: expected `;' before ‘sArgSet’
colloquy.cpp:327: error: ‘MCString’ has not been declared
colloquy.cpp:327: error: expected `;' before ‘it’
colloquy.cpp:327: error: ‘it’ was not declared in this scope
colloquy.cpp:327: error: ‘EndNV’ was not declared in this scope
colloquy.cpp:348: error: ‘sArgs’ was not declared in this scope
colloquy.cpp:348: error: ‘sArgSet’ was not declared in this scope
colloquy.cpp:349: error: ‘SCString’ is not a class or namespace
colloquy.cpp:349: error: expected `;' before ‘it’
colloquy.cpp:349: error: ‘it’ was not declared in this scope
colloquy.cpp:350: error: expected `;' before ‘sArg’
colloquy.cpp:350: warning: statement has no effect
colloquy.cpp:351: error: ‘sArg’ was not declared in this scope
colloquy.cpp: In destructor ‘virtual CColloquyMod::~CColloquyMod()’:
colloquy.cpp:367: error: ‘map’ was not declared in this scope
colloquy.cpp:367: error: ‘CString’ was not declared in this scope
colloquy.cpp:367: error: expected primary-expression before ‘*’ token
colloquy.cpp:367: error: expected primary-expression before ‘>’ token
colloquy.cpp:367: error: ‘::iterator’ has not been declared
colloquy.cpp:367: error: expected `;' before ‘it’
colloquy.cpp:367: error: ‘it’ was not declared in this scope
colloquy.cpp:367: error: ‘m_mspDevices’ was not declared in this scope
colloquy.cpp: In member function ‘CDevice* CColloquyMod::FindDevice(int)’:
colloquy.cpp:453: error: ‘map’ was not declared in this scope
colloquy.cpp:453: error: expected primary-expression before ‘*’ token
colloquy.cpp:453: error: expected primary-expression before ‘>’ token
colloquy.cpp:453: error: ‘::iterator’ has not been declared
colloquy.cpp:453: error: expected `;' before ‘it’
colloquy.cpp:455: error: ‘it’ was not declared in this scope
colloquy.cpp:455: error: ‘m_mspDevices’ was not declared in this scope
colloquy.cpp: At global scope:
colloquy.cpp:460: error: expected unqualified-id at end of input
[ !! ] Error while building "colloquy.so"
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 91636ea9143e901269abcabcbac8be2e444eea4a
CPU: dual-core 64-bit nehalem
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1362189000
X11: N/A
==> ENV
CC: llvm-gcc
CXX: g++
MAKEFLAGS: -j1
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_PATH: /usr/local/opt/znc/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: llvm-gcc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/znc/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: colloquypush did not build
mr-clean:~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment