Opened 8 years ago

Closed 7 years ago

#54114 closed defect (fixed)

mythtv-plugins: Registry error: qt55-qtbase not registered as installed & active

Reported by: skymoo (Adam Mercer) Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mythtv-plugins.28

Description

Trying to install mythtv.28 and the mythtv-plugins.28 dependency is failing to install with:

:debug:build Registry error: qt55-qtbase not registered as installed & active.

Full build log is attached.

Attachments (2)

main.log (162.3 KB) - added by skymoo (Adam Mercer) 8 years ago.
main.2.log (231.4 KB) - added by skymoo (Adam Mercer) 8 years ago.

Download all attachments as: .zip

Change History (12)

Changed 8 years ago by skymoo (Adam Mercer)

Attachment: main.log added

comment:1 Changed 8 years ago by ctreleaven (Craig Treleaven)

Will check this out but it may be the weekend before I get time.

comment:2 Changed 8 years ago by ctreleaven (Craig Treleaven)

I think the build actually fell over earlier:

:info:build /usr/bin/clang++ -c -pipe -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.8 -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Wno-self-assign -Wno-constant-logical-operand -Wno-unused-value -Qunused-arguments -fomit-frame-pointer -std=gnu++11 -Wall -W -DPIC -fPIC -D_GNU_SOURCE -DPREFIX="/opt/local" -DMMX -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DMPLUGIN_API -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /opt/local/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/mythtv -isystem /opt/local/include/mythtv/libmythbase -isystem /opt/local/include/mythtv/libmythui -isystem /opt/local/include/mythtv/libmyth -isystem /opt/local/include/mythtv/metadata -isystem /opt/local/include/taglib -I/opt/local/libexec/qt5/lib/QtOpenGL.framework/Headers -I/opt/local/libexec/qt5/lib/QtWebKitWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtWebKit.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtXml.framework/Headers -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers -I/opt/local/libexec/qt5/lib/QtNetwork.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/libexec/qt5/mkspecs/macx-clang -F/opt/local/libexec/qt5/lib -o decoder.o decoder.cpp
...
:info:build In file included from decoder.cpp:22:
:info:build /opt/local/include/metaio.h:89:22: error: expected ';' after top level declarator
:info:build typedef float complex METAIO_COMPLEX_8;
:info:build                      ^
:info:build /opt/local/include/metaio.h:90:16: error: typedef redefinition with different types ('double' vs 'float')
:info:build typedef double complex METAIO_COMPLEX_16;
:info:build                ^
:info:build /opt/local/include/metaio.h:89:15: note: previous definition is here
:info:build typedef float complex METAIO_COMPLEX_8;
:info:build               ^
:info:build /opt/local/include/metaio.h:90:23: error: expected ';' after top level declarator
:info:build typedef double complex METAIO_COMPLEX_16;
:info:build                       ^
:info:build /opt/local/include/metaio.h:150:2: error: unknown type name 'METAIO_COMPLEX_8'
:info:build         METAIO_COMPLEX_8     complex_8;
:info:build         ^
:info:build /opt/local/include/metaio.h:151:2: error: unknown type name 'METAIO_COMPLEX_16'
:info:build         METAIO_COMPLEX_16    complex_16;
:info:build         ^
:info:build /opt/local/libexec/qt5/bin/moc -D_GNU_SOURCE -DPREFIX="/opt/local" -DMMX -DUSING_APPLEREMOTE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -D__APPLE_CC__ -I/opt/local/libexec/qt5/mkspecs/macx-clang -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_mythtv.28/mythtv-plugins.28/work/mythtv-0bd47303/mythplugins/mythgallery/dcrawplugin -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/mythtv -I/opt/local/include/mythtv/libmythbase -I/opt/local/include/mythtv/libmythui -I/opt/local/include/mythtv/libmyth -I/opt/local/libexec/qt5/lib/QtWidgets.framework/Headers -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers -I/opt/local/libexec/qt5/lib/QtSql.framework/Headers -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -I/opt/local/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/8.1.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include -F/opt/local/libexec/qt5/lib dcrawplugin.h -o moc_dcrawplugin.cpp
:info:build 5 errors generated.
:info:build make[2]: *** [decoder.o] Error 1

I think Myth is trying to access a header from the port metaio where it really wants an internal library [1]

If you have the port metaio active, could you please deactivate it and try again? If that is the cause, I'll add a conflicts_build to mythtv-plugins.28.

[1] https://github.com/MythTV/mythtv/blob/fixes/0.28/mythtv/libs/libmythmetadata/metaio.h

comment:3 Changed 8 years ago by skymoo (Adam Mercer)

Good eye, I missed that on my initial read through the log. Probably because I only focused on the end. I've deactivated the metaio port and am trying the build again.

Changed 8 years ago by skymoo (Adam Mercer)

Attachment: main.2.log added

comment:4 Changed 8 years ago by skymoo (Adam Mercer)

Fails again, but with a different error this time. Log is attached.

comment:5 Changed 8 years ago by ctreleaven (Craig Treleaven)

Argh. I'm guessing you have ffmpeg installed and active? Myth includes its own slightly customized version. I've made numerous attempts to get Myth to build despite our version being in place and it was working.

Could you please deactivate ffmpeg and try again?

comment:6 Changed 8 years ago by skymoo (Adam Mercer)

Looks like that did the trick, thanks! mythtv-plugins.28 has been successfully built.

comment:7 Changed 8 years ago by ctreleaven (Craig Treleaven)

I'm trying to get at the root cause. Did you by chance have libcec installed? For me, that causes myth's configure to insert an early '-i/opt/local/include' which then gets propagated to the plugins. Appears all I have to do is add '--disable-libcec' to the configure flags.

(If someone wants/needs libcec support, I think I know how to do it right.)

comment:8 Changed 8 years ago by skymoo (Adam Mercer)

Doesn't look like it:

[ram@hastur ~]$ port installed libcec
None of the specified ports are installed.
[ram@hastur ~]$

comment:10 Changed 7 years ago by ctreleaven (Craig Treleaven)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.