[MacPorts] #52620: qt5-docs build error on Sierra
MacPorts
noreply at macports.org
Sat Oct 15 23:32:14 CEST 2016
#52620: qt5-docs build error on Sierra
-------------------------------------+--------------------------------
Reporter: ken.cunningham.webuse@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: Sierra | Port: qt5-docs
-------------------------------------+--------------------------------
Hello. I was surprised not to see this in the tickets already, as I
suspect I'm not the first to see this. Did I miss it?
Most parts of qt5 installed from the buildbots after a Sierra upgrade, but
two did not (docs and webengine). I see this error with qt5-docs, which I
thought was likely due to the missing xcrun program:
{{{
---> Fetching distfiles for qt5-docs
Warning: OS X subsequent to 10.10 (Yosemite) is not a Reference
Configuration for Qt.
Warning: See http://doc.qt.io/qt-5/supported-platforms.html#reference-
configurations
---> Verifying checksums for qt5-docs
---> Checksumming qt-everywhere-opensource-src-5.6.1.tar.xz
---> Extracting qt5-docs
---> Extracting qt-everywhere-opensource-src-5.6.1.tar.xz
xinstall: mkdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-docs/work
/qt-everywhere-opensource-src-5.6.1/qttools/bin
---> Configuring qt5-docs
+ cd qtbase
+
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-docs/work
/qt-everywhere-opensource-src-5.6.1/qtbase/configure -top-level -prefix
/opt/local/libexec/qt5 -bindir /opt/local/libexec/qt5/bin -headerdir
/opt/local/libexec/qt5/include -libdir /opt/local/libexec/qt5/lib
-archdatadir /opt/local/libexec/qt5 -plugindir
/opt/local/libexec/qt5/plugins -importdir /opt/local/libexec/qt5/imports
-qmldir /opt/local/libexec/qt5/qml -datadir /opt/local/libexec/qt5 -docdir
/opt/local/libexec/qt5/doc -translationdir
/opt/local/libexec/qt5/translations -sysconfdir
/opt/local/libexec/qt5/etc/xdg -examplesdir
/opt/local/libexec/qt5/examples -testsdir /opt/local/libexec/qt5/tests
-hostdatadir /opt/local/libexec/qt5 -release -opensource -confirm-license
-shared -largefile -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql
-no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-
sql-tds -platform macx-clang -no-testcocoon -no-gcov -force-pkg-config
-system-zlib -no-mtdev -no-journald -no-syslog -system-libpng -system-
libjpeg -system-freetype -system-harfbuzz -openssl-linked -no-libproxy
-system-pcre --disable-xcb -no-xkbcommon-x11 -no-xkbcommon-evdev -no-
xinput2 -no-xcb-xlib -glib -no-pulseaudio -no-alsa -no-gtkstyle -make libs
-make tools -nomake examples -nomake tests -gui -widgets -no-rpath
-verbose -nis -cups -iconv -no-evdev -no-tslib -icu -fontconfig -strip
-no-pch -no-ltcg -dbus-linked -no-use-gold-linker -no-separate-debug-info
-no-xcb -no-eglfs -no-gbm -no-directfb -no-linuxfb -no-kms -no-mirclient
-no-libinput -no-gstreamer -no-system-proxies -framework -no-libudev -no-
egl -no-openvg
Xcode not set up properly. You may need to confirm the license
agreement by running /usr/bin/xcodebuild without arguments.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5/qt5-docs/work
/qt-everywhere-opensource-src-5.6.1" && ./configure -prefix
/opt/local/libexec/qt5 -bindir /opt/local/libexec/qt5/bin -headerdir
/opt/local/libexec/qt5/include -libdir /opt/local/libexec/qt5/lib
-archdatadir /opt/local/libexec/qt5 -plugindir
/opt/local/libexec/qt5/plugins -importdir /opt/local/libexec/qt5/imports
-qmldir /opt/local/libexec/qt5/qml -datadir /opt/local/libexec/qt5 -docdir
/opt/local/libexec/qt5/doc -translationdir
/opt/local/libexec/qt5/translations -sysconfdir
/opt/local/libexec/qt5/etc/xdg -examplesdir
/opt/local/libexec/qt5/examples -testsdir /opt/local/libexec/qt5/tests
-hostdatadir /opt/local/libexec/qt5 -release -opensource -confirm-license
-shared -largefile -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql
-no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-
sql-tds -platform macx-clang -no-testcocoon -no-gcov -force-pkg-config
-system-zlib -no-mtdev -no-journald -no-syslog -system-libpng -system-
libjpeg -system-freetype -system-harfbuzz -openssl-linked -no-libproxy
-system-pcre --disable-xcb -no-xkbcommon-x11 -no-xkbcommon-evdev -no-
xinput2 -no-xcb-xlib -glib -no-pulseaudio -no-alsa -no-gtkstyle -make libs
-make tools -nomake examples -nomake tests -gui -widgets -no-rpath
-verbose -nis -cups -iconv -no-evdev -no-tslib -icu -fontconfig -strip
-no-pch -no-ltcg -dbus-linked -no-use-gold-linker -no-separate-debug-info
-no-xcb -no-eglfs -no-gbm -no-directfb -no-linuxfb -no-kms -no-mirclient
-no-libinput -no-gstreamer -no-system-proxies -framework -no-libudev -no-
egl -no-openvg
Exit code: 2
Error: org.macports.configure for port qt5-docs returned: configure
failure: command execution failed
Warning: targets not executed for qt5-docs: org.macports.activate
org.macports.configure org.macports.build org.macports.destroot
org.macports.install
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port qt5-docs failed
}}}
of course, running $ /usr/bin/xcodebuild without arguments did not fix the
issue:
{{{
xcodebuild: error: The directory / does not contain an Xcode project.
}}}
I tried a simple fix, reinplacing xcrun with xcodebuild in the qtbase
configure script (subport docs)
{{{
post-extract {
# generated makefiles assume full Qt was built locally
xinstall -d -m 0755 ${worksrcpath}/qttools/bin/
ln -s ${qt_bins_dir}/qdoc ${worksrcpath}/qttools/bin/
ln -s ${qt_bins_dir}/qhelpgenerator ${worksrcpath}/qttools/bin/
ln -s ${qt_bins_dir}/rcc ${worksrcpath}/qtbase/bin/
reinplace "s|xcrun|xcodebuild|g" ${worksrcpath}/qtbase/configure
}
}}}
and although the build then proceeded considerably farther along the path
to success, it ultimately failed with the following
(full build log attached):
{{{
Running configuration tests (phase 2)...
Failed to process makespec for platform 'macx-clang'
}}}
so - not sure just what is the next step now.
Apologies if this turns out to be a duplicate that I have missed.
--
Ticket URL: <https://trac.macports.org/ticket/52620>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list