[mythtv-users] macosx

James Linder jam at tigger.ws
Tue May 3 04:27:22 UTC 2022



> On 3 May 2022, at 11:29 am, Bill Meek <keemllib at gmail.com> wrote:
> 
> On 5/2/22 21:08, James Linder wrote:
>>> On 3 May 2022, at 8:29 am, Bill Meek <keemllib at gmail.com> wrote:
> ansible --inventory=hosts --module-name=setup --args="filter=ansible_distribution" localhost
>> [WARNING]: Platform darwin on host localhost is using the discovered Python interpreter at
>> /opt/local/bin/python3.10, but future installation of another Python interpreter could change
>> the meaning of that path. See https://docs.ansible.com/ansible-
> 
>>         "ansible_distribution": "MacOSX",
> ansible --inventory=hosts --module-name=setup --args="filter=ansible_distribution_major_version" localhost
> 
>>         "ansible_distribution_major_version": "10",
>>         "discovered_interpreter_python": "/opt/local/bin/python3.10"
> ansible --inventory=hosts --module-name=setup --args="filter=ansible_distribution_major_version" localhost
> 
> Got 2 copies of the major version but not the ansible_pkg_mgr. The expected
> value is: "macports"
> 
> Please do: ansible --inventory=hosts --module-name=setup --args="filter=ansible_pkg_mgr" localhost
> 
>> https://pastebin.com/9wcmmjxw
> 
> Good paste!
> 
> *All* of the mythtv-macports and qt5 roles are being skipped, not just the
> ones just the ones that should be skipped.

[haycorn] /Users/jam/mythtv-32/ansible [768]% ansible --inventory=hosts --module-name=setup --args="filter=ansible_pkg_mgr" localhost
[WARNING]: Platform darwin on host localhost is using the discovered Python interpreter at
/opt/local/bin/python3.10, but future installation of another Python interpreter could change
the meaning of that path. See https://docs.ansible.com/ansible-
core/2.12/reference_appendices/interpreter_discovery.html for more information.
localhost | SUCCESS => {
    "ansible_facts": {
        "ansible_pkg_mgr": "homebrew",
        "discovered_interpreter_python": "/opt/local/bin/python3.10"
    },
    "changed": false
}


Don’t know where the homebrew bit comes from, was never me

I installed ports by hand

Can’t understand this

------------ Configuring Mythtv ------------
WARNING: disabling Python bindings; missing MySQLdb
WARNING: disabling Python bindings; missing lxml
WARNING: disabling Python bindings; missing requests
WARNING: disabling Python bindings; missing simplejson
WARNING: disabling Python bindings; missing future

I explicitly installed py310-ports then py-ports but get this.

Then building (even with python disabled)
. . .
------------ Compiling Mythtv ------------
sh version.sh /Users/jam/mythtv-32/mythtv/mythtv
SOURCE_VERSION: v32.0-28-gd80a8da3f0
Using git to get branch and version
BRANCH: fixes/32
SOURCE_VERSION: v32.0-28-gd80a8da3f0
v32.0-28-gd80a8da3f0
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C external
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C FFmpeg all DESTDIR=
LD	libavcodec/libmythavcodec.58.dylib
Undefined symbols for architecture x86_64:
  "_x264_bit_depth", referenced from:
      _X264_init_static in libx264.o
      _X264_frame in libx264.o
  "_x264_encoder_open_148", referenced from:
      _X264_init in libx264.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libavcodec/libmythavcodec.58.dylib] Error 1
make[1]: *** [FFmpeg-all] Error 2
make: *** [external] Error 2
    Compiling Mythtv failed

So much hastle for an old mac! Thanks for the help
James


More information about the mythtv-users mailing list