[mythtv-users] 30 build error

Udo van den Heuvel udovdh at xs4all.nl
Mon Jun 24 10:00:14 UTC 2019


Hello,

While trying to build the latest mythtv I encountered this:

g++ -pipe -march=k8 -mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g -pipe
-Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -fomit-frame-pointer -std=c++11 -fomit-frame-pointer -fPIC
-DQT_DISABLE_DEPRECATED_BEFORE=0x050300 -msse -pthread
-DNEED_HDHOMERUN_DEVICE_SELECTOR_LOAD_FROM_STR -g -Wall -Wextra
-Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS
-fvisibility-inlines-hidden -Wdouble-promotion -Wduplicated-cond
-Wlogical-op -Wmissing-declarations -Wnull-dereference
-Woverloaded-virtual -funit-at-a-time -faligned-new
-Wzero-as-null-pointer-constant -Wsuggest-override -fvisibility=hidden
-fomit-frame-pointer -std=gnu++11 -D_REENTRANT -Wall -W -dM -E -o
moc/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp
make[2]: *** No rule to make target '/usr/lib64/libmyth-30.so', needed
by 'libmytharchive.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
'/usr/src/redhat/BUILD/mythtv-30.0/mythplugins/mytharchive/mytharchive'
make[1]: *** [Makefile:48: sub-mytharchive-make_first] Error 2
make[1]: Leaving directory
'/usr/src/redhat/BUILD/mythtv-30.0/mythplugins/mytharchive'
make: *** [Makefile:46: sub-mytharchive-make_first] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.qWHg1W (%build)


What went wrong?
How can I correct this?


Oh, earlier the terminal shows:

gcc -c -pipe -march=k8 -mtune=k8 -msse -msse2 -msse3 -m3dnow -O2 -g
-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -fomit-frame-pointer -std=c11 -fPIC -pthread -I/usr/include/libxml2
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid
-Wextra -Wdisabled-optimization -Wpointer-arith -Wwrite-strings -Wundef
-Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes
-Wno-parentheses -Wno-format-zero-length -Wno-pointer-sign
-Wno-unused-const-variable -Wno-bool-operation -O3 -fno-math-errno
-fno-signed-zeros -fno-tree-vectorize
-Werror=implicit-function-declaration -Werror=return-type -Werror=vla
-fdiagnostics-color=auto -Wno-maybe-uninitialized -Wdouble-promotion
-Wduplicated-cond -Wjump-misses-init -Wlogical-op -Wnull-dereference
-fomit-frame-pointer -D_REENTRANT -Wall -W -fPIC -D_GNU_SOURCE
-DPREFIX="/usr" -DMMX -Dusing_libcec -D_FILE_OFFSET_BITS=64
-DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -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/root/rpmbuild/BUILD/mythtv-30.0/temp/usr/include
-I/root/rpmbuild/BUILD/mythtv-30.0/temp/usr/include/mythtv
-I/root/rpmbuild/BUILD/mythtv-30.0/temp/usr/include/mythtv/libmythbase
-I/root/rpmbuild/BUILD/mythtv-30.0/temp/usr/include/mythtv/libmythui
-I/root/rpmbuild/BUILD/mythtv-30.0/temp/usr/include/mythtv/libmyth
-I/root/rpmbuild/BUILD/mythtv-30.0/temp/usr/include/mythtv/libmythservicecontracts
-isystem /usr/include/libdrm -isystem /usr/include/qt5 -isystem
/usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -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 -Imoc -I/usr/lib64/qt5/mkspecs/linux-g++ -o
obj/pxsup2dast.o external/pxsup2dast.c
make[2]: *** No rule to make target '/usr/lib64/libmyth-30.so', needed
by 'mytharchivehelper'.  Stop.
make[2]: *** Waiting for unfinished jobs....
fileselector.cpp: In member function 'void
FileSelector::itemClicked(MythUIButtonListItem*)':
fileselector.cpp:146:19: warning: potential null pointer dereference
[-Wnull-dereference]
     if (fileData->directory)
         ~~~~~~~~~~^~~~~~~~~




Kind regards,
Udo


More information about the mythtv-users mailing list