homebrew-qt4 icon indicating copy to clipboard operation
homebrew-qt4 copied to clipboard

can't build [email protected] with docs on mojave

Open ryanbarry opened this issue 5 years ago • 3 comments

installing [email protected] using --with-python and no other flags results in the following failure on my machine running 10.14.4:

==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/[email protected]/1.2.4 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -D
Last 15 lines from /Users/ryan/Library/Logs/Homebrew/[email protected]/01.cmake:
-- Checking for QPrinter in QtGui -- found
-- Checking for QPrinterInfo in QtGui -- found
-- Checking for QSessionManager in QtGui -- found
-- Checking for QSizeGrip in QtGui -- found
-- Checking for QSystemTrayIcon in QtGui -- found
-- Checking for QMacStyle in QtGui -- found
-- Checking for QSslCertificate in QtNetwork -- found
-- Checking for QSslCipher in QtNetwork -- found
-- Checking for QSslConfiguration in QtNetwork -- found
-- Checking for QSslError in QtNetwork -- found
-- Checking for QSslKey in QtNetwork -- found
-- Checking for QSslSocket in QtNetwork -- found
-- Configuring incomplete, errors occurred!
See also "/tmp/[email protected]/PySide-1.2.4/macbuild3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/[email protected]/PySide-1.2.4/macbuild3.7/CMakeFiles/CMakeError.log".

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/cartr/homebrew-qt4/issues

i tried getting the contents of those Error/Output log files but they appeared not to exist when i tried to open the paths given.

let me know if i can provide any other helpful info!

ryanbarry avatar May 29 '19 05:05 ryanbarry

oh, and i meant to mention, if i add the flag --without-docs it builds fine

ryanbarry avatar May 29 '19 05:05 ryanbarry

Sorry to hear that PySide isn't building correctly. Could you paste the full contents of the log files from that error message, as well as the output from "brew config" and "brew doctor", into a Gist so I can take a look?

On Tue, May 28, 2019, 10:29 PM Ryan Barry [email protected] wrote:

oh, and i meant to mention, if i add the flag --without-docs it builds fine

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cartr/homebrew-qt4/issues/66?email_source=notifications&email_token=ABH7XVNIDIW6YSFTI3QT6XLPXYIDRA5CNFSM4HQJFG22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWOGT4I#issuecomment-496790001, or mute the thread https://github.com/notifications/unsubscribe-auth/ABH7XVND2C7LC4JFWDYVFJLPXYIDRANCNFSM4HQJFG2Q .

cartr avatar May 31 '19 08:05 cartr

Hi. came from a refered thread. This is a log when I tried with --verbose. This seems there's no /usr/local/opt/qt@4/src folder in installed qt4.

==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/[email protected]/1.2.4 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DSITE_PACKAGE=/usr/local/Cellar/[email protected]/1.2.4/lib/python3.7/site-packages -DALTERNATIVE_QT_INCLUDE_DIR=/usr/local/include -DQT_SRC_DIR=/usr/local/opt/qt@4/src -DPYTHON_SUFFIX=.cpython-37m-darwin ..
-- The C compiler identification is AppleClang 10.0.1.10010046
-- The CXX compiler identification is AppleClang 10.0.1.10010046
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang
-- Check for working C compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/lib/cmake/Shiboken-1.2.4/ShibokenConfig.cmake:5 (include):
  include could not find load file:

    /usr/local/Cellar/[email protected]/1.2.4/lib/cmake/Shiboken-1.2.4/ShibokenConfig.cpython-37m-darwin.cmake
Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)


-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - found
-- Looking for QT_MAC_USE_COCOA
-- Looking for QT_MAC_USE_COCOA - found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.7", minimum required is "4.5.0")
-- Detected OS: mac
-- PySide will be generated using the protected hack!
-- Checking for QAbstractPageSetupDialog in QtGui -- found
-- Checking for QAbstractPrintDialog in QtGui -- found
-- Checking for QGtkStyle in QtGui -- not found
-- Checking for QPageSetupDialog in QtGui -- found
-- Checking for QPrintDialog in QtGui -- found
-- Checking for QPrintEngine in QtGui -- found
-- Checking for QPrintPreviewDialog in QtGui -- found
-- Checking for QPrintPreviewWidget in QtGui -- found
-- Checking for QPrinter in QtGui -- found
-- Checking for QPrinterInfo in QtGui -- found
-- Checking for QSessionManager in QtGui -- found
-- Checking for QSizeGrip in QtGui -- found
-- Checking for QSystemTrayIcon in QtGui -- found
-- Checking for QMacStyle in QtGui -- found
-- Checking for QSslCertificate in QtNetwork -- found
-- Checking for QSslCipher in QtNetwork -- found
-- Checking for QSslConfiguration in QtNetwork -- found
-- Checking for QSslError in QtNetwork -- found
-- Checking for QSslKey in QtNetwork -- found
-- Checking for QSslSocket in QtNetwork -- found
-- QT_SRC_DIR variable not set or graphviz not found, apidoc generation targets disabled.
-- Configuring incomplete, errors occurred!
See also "/tmp/[email protected]/PySide-1.2.4/macbuild3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/[email protected]/PySide-1.2.4/macbuild3.7/CMakeFiles/CMakeError.log".

==> Formula
Tap: cartr/qt4
Path: /usr/local/Homebrew/Library/Taps/cartr/homebrew-qt4/[email protected]
==> Configuration
HOMEBREW_VERSION: 2.1.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: d5a90f6f4af0a8e3d0ff1d806fb65e1b3bdbbe42
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 00d5cffd9b900f1934506b7c559dcc66fe8d6d20
Core tap last commit: 9 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_VISUAL: nano
CPU: quad-core 64-bit ivybridge
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.20.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.5-x86_64
CLT: 10.2.1.0.1.1554506761
Xcode: 10.2.1
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/sqlite:/usr/local/opt/sphinx-doc:/usr/local
CMAKE_INCLUDE_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /usr/local/opt/python/Frameworks:/usr/local/opt/qt@4/Frameworks
PKG_CONFIG_PATH: /usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/qt@4/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/gdbm/bin:/usr/local/opt/openssl/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/xz/bin:/usr/local/opt/python/bin:/usr/local/opt/cmake/bin:/usr/local/opt/sphinx-doc/bin:/usr/local/opt/qt@4/bin:/usr/local/opt/[email protected]/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: cartr/qt4/[email protected] 1.2.4 did not build

tomoyanonymous avatar Jun 01 '19 08:06 tomoyanonymous