[mythtv-users] macosx build failure

James jam at tigger.ws
Fri Dec 23 14:37:24 UTC 2022


John methinks that getting an auld release is somewhat off the beaten track, so if you want to go your merry way
"so long, and thanks for the fish". I jest but sincerely thanks.

Top posting as all the gunk below may have nothing to do with the problem

There is no qt-mysql plugin.
so

ws115:~ jam$ sudo port install qt5-mysql-plugin +mariadb10_5
Password:
--->  Computing dependencies for qt5-mysql-plugin
--->  Fetching archive for qt5-mysql-plugin
--->  Attempting to fetch qt5-mysql-plugin-5.15.6_0+mariadb10_5.darwin_17.x86_64.tbz2 from http://packages.macports.org/qt5-mysql-plugin
--->  Attempting to fetch qt5-mysql-plugin-5.15.6_0+mariadb10_5.darwin_17.x86_64.tbz2 from http://kmq.jp.packages.macports.org/qt5-mysql-plugin
--->  Attempting to fetch qt5-mysql-plugin-5.15.6_0+mariadb10_5.darwin_17.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/qt5-mysql-plugin
--->  Configuring qt5-mysql-plugin
Error: Failed to configure qt5-mysql-plugin: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_aqua_qt5/qt5-mysql-plugin/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port qt5-mysql-plugin failed
ws115:~ jam$ less /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_aqua_qt5/qt5-mysql-plugin/main.log


...
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_aqua_qt5/qt5-mysql-plugin/work/qtbase-everywhere-src-5.15.6/src/plugins/sqldrivers/mysql" && /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local QMAKE_INCDIR_MYSQL+="/opt/local/include/mariadb-10.5/mysql" QMAKE_LIBDIR+="/opt/local/lib/mariadb-10.5/mysql" QMAKE_LIBS_MYSQL+="-lmysqlclient_r" -spec macx-clang
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_aqua_qt5/qt5-mysql-plugin/work/qtbase-everywhere-src-5.15.6/src/plugins/sqldrivers/mysql" && /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local QMAKE_INCDIR_MYSQL+="/opt/local/include/mariadb-10.5/mysql" QMAKE_LIBDIR+="/opt/local/lib/mariadb-10.5/mysql" QMAKE_LIBS_MYSQL+="-lmysqlclient_r" -spec macx-clang
:info:configure Project ERROR: Could not resolve SDK Path for 'macosx10.13' using --show-sdk-path

                       ^^^^^^^^^^^^^^ This seems to be the crux

:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_aqua_qt5/qt5-mysql-plugin/work/qtbase-everywhere-src-5.15.6/src/plugins/sqldrivers/mysql" && /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local QMAKE_INCDIR_MYSQL+="/opt/local/include/mariadb-10.5/mysql" QMAKE_LIBDIR+="/opt/local/lib/mariadb-10.5/mysql" QMAKE_LIBS_MYSQL+="-lmysqlclient_r" -spec macx-clang
:info:configure Exit code: 3
:error:configure Failed to configure qt5-mysql-plugin: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_aqua_qt5/qt5-mysql-plugin/main.log for details.

Is it obvious?

James


> On 23 Dec 2022, at 7:56 pm, John Hoyt <john.hoyt at gmail.com> wrote:
> 
> 2022-12-23 16:45:52.923371 I  Empty LocalHostName. This is typical.
> 2022-12-23 16:45:52.923379 I  Using a profile name of: 'haycorn.home' (Usually the same as this host's name.)
> 2022-12-23 16:45:52.923443 I  Start up testing connections. DB 192.168.5.34, BE , attempt 0, status dbAwake, Delay: 2000
> 2022-12-23 16:45:53.498899 C  FATAL: Unable to load the QT QMYSQL driver, is it installed?
> 
> Not what we want to do but I tried
> # port install qt5-mysql-plugin
> but this did not resolve the issue.
> About to try on the build machine, perhaps something loade there …
> 
> On the build machine, you may need to do the following (first guess is you have the wrong version of qt5-mysql-plugin installed):
> sudo port uninstall qt5-mysql-plugin
> sudo port install qt5-mysql-plugin +mariadb10_5 <>
> 
>  <>Also, can you run the following commands on the install machine:
> 
> otool -L /Applications/mythfrontend.app/Contents/MacOS/mythfrontend|grep <http://mythfrontend.app/Contents/MacOS/mythfrontend|grep> -i sql
> 
> find /Applications/mythfrontend.app/Contents/Frameworks|grep <http://mythfrontend.app/Contents/Frameworks|grep> -i sql
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20221223/01585d1e/attachment.htm>


More information about the mythtv-users mailing list