Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61344

qtbase is FTBFS on kfreebsd-* because qmake/library/ioutils.cpp:219:45: error: 'UTIME_NOW' was not declared in this scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.9.0
    • Build tools: qmake
    • None

    Description

      qtbase fails to build from source on Debian's kfreebsd-amd64 and kfreebsd-i386 architectures. Here is the exact build error:

      g++ -c -o ioutils.o -g -O2 -fdebug-prefix-map=/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -std=c++11 -ffunction-sections -O2 -g  -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/library -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/generators -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/generators/unix -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/generators/win32 -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/generators/mac -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/include -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/include/QtCore -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/include/QtCore/5.9.0 -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/include/QtCore/5.9.0/QtCore -I../src/corelib/global -I/«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/mkspecs/gnukfreebsd-g++ -DQT_VERSION_STR=\"5.9.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=9 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/library/ioutils.cpp
      
      /«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/library/ioutils.cpp: In static member function 'static bool QMakeInternal::IoUtils::touchFile(const QString&, const QString&, QString*)':
      /«BUILDDIR»/qtbase-opensource-src-5.9.0+dfsg/qmake/library/ioutils.cpp:219:45: error: 'UTIME_NOW' was not declared in this scope
           const struct timespec times[2] = { { 0, UTIME_NOW }, st.st_mtim };
      Makefile:173: recipe for target 'ioutils.o' failed
      make[2]: *** [ioutils.o] Error 1
      

      https://buildd.debian.org/status/fetch.php?pkg=qtbase-opensource-src&arch=kfreebsd-amd64&ver=5.9.0%2Bdfsg-1&stamp=1496785530&raw=0 is a link to the full log.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            tsimonq2 Simon Quigley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes