Fail to build qt5-sqldrivers-ibase

Olivier Olivier.Nicole at cs.ait.ac.th
Wed Jul 5 04:35:42 UTC 2017


Hi,

I am trying to build and install qt5 on a FreeBSD 10.3 system, and it
fails with the error as below.

What am I doing wrong?

Thanks in advance,

Olivier

$ uname -a
FreeBSD banyan.cs.ait.ac.th 10.3-RELEASE-p17 FreeBSD 10.3-RELEASE-p17 #8 r314131: Tue Feb 28 15:14:01 ICT 2017     root at banyan.cs.ait.ac.th:/usr/obj/usr/src/sys/CSIM  amd64
$ pwd
/usr/ports/databases/qt5-sqldrivers-ibase
$ sudo make clean
===>  Cleaning for qt5-sqldrivers-ibase-5.7.1
banyan<on>: sudo make
===>  License LGPL21 accepted by the user
===>   qt5-sqldrivers-ibase-5.7.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-sqldrivers-ibase-5.7.1 for building
===>  Extracting for qt5-sqldrivers-ibase-5.7.1
=> SHA256 Checksum OK for KDE/Qt/5.7.1/qtbase-opensource-src-5.7.1.tar.xz.
===>  Patching for qt5-sqldrivers-ibase-5.7.1
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-configure
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-config.tests-unix-compile.test
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_features_create__cmake.prf
===>  Applying extra patch /usr/ports/devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf
/usr/bin/sed -i.bak -e "/DEFAULT_LIBDIRS=/ s,\\\\\"\\\\n,\\\\n/usr/local/lib&,"  /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/configure
===>   qt5-sqldrivers-ibase-5.7.1 depends on package: pkgconf>=1.3.0_1 - found
===>   qt5-sqldrivers-ibase-5.7.1 depends on file: /usr/local/lib/qt5/bin/moc - found
===>   qt5-sqldrivers-ibase-5.7.1 depends on file: /usr/local/lib/qt5/bin/qmake - found
===>   qt5-sqldrivers-ibase-5.7.1 depends on shared library: libfbclient.so - found (/usr/local/lib/libfbclient.so)
===>   qt5-sqldrivers-ibase-5.7.1 depends on shared library: libQt5Core.so - found (/usr/local/lib/qt5/libQt5Core.so)
===>   qt5-sqldrivers-ibase-5.7.1 depends on shared library: libQt5Sql.so - found (/usr/local/lib/qt5/libQt5Sql.so)
===>  Configuring for qt5-sqldrivers-ibase-5.7.1
/bin/ln -sf /usr/local/lib/qt5/libQt5Core.so /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/lib
/bin/ln -sf /usr/local/lib/qt5/libQt5Sql.so /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/lib
/bin/mkdir -p /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1
echo 'CMAKE_MODULE_TESTS = -' > /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/.qmake.cache
echo 'QMAKE_LIBDIR_FLAGS = -L/usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/lib' >> /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/.qmake.cache

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) versions 3.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2.

You have already accepted the terms of the Open Source license.

Running configuration tests...
checking for C++14...  yes.
checking for C++1z...  no.
checking for default C++ standard edition...  no.
checking for 64-bit std::atomic...  yes.
checking for std::atomic for function pointers...  yes.
checking for sse2...  yes.
checking for sse3...  yes.
checking for ssse3...  yes.
checking for sse4_1...  yes.
checking for sse4_2...  yes.
checking for avx...  yes.
checking for avx2...  yes.
checking for avx512f...  no.
checking for ipc_sysv...  yes.
checking for zlib...  yes.
checking for mtdev...  no.
checking for libjpeg...  yes.
checking for libpng...  yes.
checking for dlopen...  yes.
checking for DB2...  no.
checking for InterBase...  no.
checking for MySQL (thread-safe)...  yes.
checking for OCI...  no.
checking for ODBC...  yes.
checking for PostgreSQL...  yes.
checking for SQLite2...  no.
checking for TDS...  yes.
checking for Cups...  yes.
checking for POSIX iconv...  no.
checking for SUN libiconv...  no.
checking for GNU libiconv...  no.
checking for D-Bus...  yes.
checking for libproxy...  yes.
checking for Glib...  yes.
checking for ICU...  yes.
checking for PulseAudio...  no.
checking for OpenGL...  yes.
checking for FontConfig...  yes.
checking for libudev...  no.
checking for evdev...  yes.
checking for tslib...  no.
checking for xkbcommon...  yes.
checking for XLib...  yes.
checking for Xrender...  yes.
checking for XInput2...  yes.
checking for GBM...  yes.
checking for LinuxFB...  no.
checking for KMS...  yes.
checking for Mir client...  no.
checking for EGL...  yes.
checking for EGL-X11...  yes.
checking for eglfs-brcm...  no.
checking for eglfs-egldevice...  yes.
checking for eglfs-mali...  no.
checking for eglfs-mali-2...  no.
checking for eglfs-viv...  no.
checking for DoubleConversion...  no.
checking for HarfBuzz...  yes.
checking for STL...  yes.
checking for POSIX clock_gettime()...  yes.
checking for POSIX Monotonic Clock...  yes.
checking for posix_fallocate...  yes.
checking for mremap...  no.
checking for getaddrinfo...  yes.
checking for inotify...  no.
checking for eventfd...  no.
checking for IPv6 interface name...  yes.
checking for getifaddrs...  yes.
checking for cloexec...  yes.
checking for ppoll...  no.
checking for pollts...  no.
checking for poll...  yes.
checking for OpenSSL...  yes.
checking for PCRE...  yes.
checking for OpenVG...  no.
checking for OpenVG...  no.
checking for OpenVG (lc includes)...  no.
checking for OpenVG (lc includes)...  no.
checking for alsa...  yes.
checking for GStreamer 1.0...  yes.
Done running configuration tests.

   Configure summary

Build type:    /usr/local/lib/qt5/mkspecs/freebsd-clang (x86_64, CPU features: mmx sse sse2)

Build options:
  Configuration .......... accessibility alsa audio-backend avx avx2 c++11 c++14 clock-gettime clock-monotonic compile_examples concurrent cups dbus dbus-linked doubleconversion egl egl_x11 eglfs eglfs_egldevice eglfs_gbm enable_new_dtags evdev fontconfig full-config gbm getaddrinfo getifaddrs glib gstreamer-1.0 gtk3 icu ipv6ifname kms large-config largefile libproxy medium-config minimal-config no-gui no-libdl no-widgets opengl openssl png poll_poll posix_fallocate qpa qpa reduce_exports reduce_relocations release rpath shared small-config sse2 sse3 sse4_1 sse4_2 ssse3 system-freetype system-harfbuzz system-jpeg system-png system-zlib threadsafe-cloexec xinput2 xkbcommon-evdev xlib xrender 
  Build parts ............ libs tools
  Mode ................... release
  Using sanitizer(s)...... none
  Using C++ standard ..... c++14
  Using gold linker....... no
  Using new DTAGS ........ yes
  Using PCH .............. no
  Using LTCG ............. no
  Target compiler supports:
    SSE .................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    AVX .................. AVX AVX2
    AVX512 ............... <none>

Qt modules and options:
  Qt D-Bus ............... yes (linked to dbus-1)
  Qt Concurrent .......... yes
  Qt GUI ................. no
  Qt Widgets ............. no
  Large File ............. yes
  QML debugging .......... yes
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... yes
  CUPS ................... yes
  DoubleConversion........ yes (bundled copy)
  Evdev .................. yes
  FontConfig ............. yes
  FreeType ............... yes (system library)
  Glib ................... yes
  GStreamer .............. yes (1.0)
  GTK platformtheme ...... yes
  HarfBuzz ............... yes (system library)
  Iconv .................. no
  ICU .................... yes
  Image formats: 
    GIF .................. yes (plugin, using bundled copy)
    JPEG ................. yes (plugin, using system library)
    PNG .................. yes (in QtGui, using system library)
  libinput................ no
  Logging backends: 
    journald ............... no
    syslog   ............... no
  mtdev .................. no
  Networking: 
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    libproxy.............. yes
    OpenSSL .............. yes (loading libraries at run-time)
  OpenGL / OpenVG: 
    EGL .................. yes
    OpenGL ............... desktop
    OpenVG ............... no
  PCRE ................... system
  pkg-config ............. yes 
  PulseAudio ............. no
  QPA backends: 
    DirectFB ............. no
    EGLFS ................ yes
      EGLFS i.MX6 ........ no
      EGLFS i.MX6 Wayland. no
      EGLFS EGLDevice .... yes
      EGLFS GBM .......... yes
      EGLFS Mali ......... no
      EGLFS Raspberry Pi . no
      EGLFS X11 .......... yes
    LinuxFB .............. no
    Mir client............ no
    XCB .................. no
  Session management ..... yes
  SQL drivers: 
    DB2 .................. no
    InterBase ............ no
    MySQL ................ yes (plugin)
    OCI .................. no
    ODBC ................. yes (plugin)
    PostgreSQL ........... yes (plugin)
    SQLite 2 ............. no
    SQLite ............... yes (plugin, using bundled copy)
    TDS .................. yes (plugin)
  tslib .................. no
  udev ................... no
  xkbcommon-x11........... no
  xkbcommon-evdev......... yes
  zlib ................... yes (system library)


Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/src.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/tools/bootstrap/bootstrap.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/tools/moc/moc.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/tools/rcc/rcc.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/corelib/corelib.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/tools/qlalr/qlalr.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/network/network.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/sql/sql.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/xml/xml.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/testlib/testlib.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/dbus/dbus.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/tools/qdbusxml2cpp/qdbusxml2cpp.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/tools/qdbuscpp2xml/qdbuscpp2xml.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/concurrent/concurrent.pro
 Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/plugins.pro
  Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/sqldrivers.pro
   Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/psql/psql.pro
   Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/mysql/mysql.pro
   Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/odbc/odbc.pro
   Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/tds/tds.pro
   Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/sqlite/sqlite.pro
  Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/bearer/bearer.pro
   Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/bearer/generic/generic.pro
Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/qmake/qmake-aux.pro
Reading /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/doc/doc.pro
===>  Building for qt5-sqldrivers-ibase-5.7.1
make[1]: cannot open Makefile.

make[1]: stopped in /usr/ports/databases/qt5-sqldrivers-ibase/work/qtbase-opensource-src-5.7.1/src/plugins/sqldrivers/ibase
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/qt5-sqldrivers-ibase
$

-- 


More information about the kde-freebsd mailing list