[mythtv] Build problem with 29.0 on Fedora

David Hampton mythtv at love2code.net
Wed Jan 10 04:04:04 UTC 2018


On Tue, 2018-01-09 at 20:15 -0600, Richard Shaw wrote:
> This has actually already been built but I'm trying to test some
> packaging changes but it appears to be failing for an unrelated
> issue:
> 
> g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -O2 -g
> -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-
> switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
> -fomit-frame-pointer -fno-devirtualize -fPIC
> -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -pthread -Wpointer-
> arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-
> inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-
> virtual -funit-at-a-time -fvisibility=hidden -std=gnu++11
> -D_REENTRANT -fPIC -DMMX -Dusing_libcec -D_GNU_SOURCE
> -DRUNPREFIX=\"/usr\" -DLIBDIRNAME=\"lib64\" -DMBASE_API -Dlinux
> -DUSING_LIBDNS_SD -DUSING_X11 -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB
> -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/libxml2
> -isystem /usr/include/X11 -I../../external/qjsonwrapper
> -I../../external/libudfread -isystem /usr/include/qt5 -isystem
> /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem
> /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtNetwork -isystem
> /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm
> -I/usr/lib64/qt5/mkspecs/linux-g++ -o lcddevice.o lcddevice.cpp
> lcddevice.cpp:19:10: fatal error: QApplication: No such file or
> directory
>  #include <QApplication>
>           ^~~~~~~~~~~~~~
> compilation terminated.
> {standard input}: Assembler messages:
> {standard input}: Error: .size expression for lcddevice.cpp does not
> evaluate to a constant
> 
> For some reason there's not an include for /usr/include/qt5/QtWidgets
> which provides QApplication
> 
> Not sure what changed...
> 
> v29.0-71-g339b08e467
> 

Did you just update Qt to 5.10?  If so, I fixed the problem in master
tonight, but won't have time to back port the fixes to 0.28/29 until
Thursday.

David




More information about the mythtv-dev mailing list