[mythtv-users] using find_orphans.py

James Abernathy jfabernathy at gmail.com
Thu Jun 27 19:32:04 UTC 2024


On Thu, Jun 27, 2024 at 2:51 PM Roland Ernst <rcrernst at gmail.com> wrote:

>
>
>
>>> UPDATE:
>>>
>>> I have discovered that the PKGBUILD in the mythtv-git AUR does not
>>> include the dependency python-pip or python-wheel. My script to install
>>> dependencies prior to a build from source run does have those
>>> dependencies.  That's why my build from source makes find_orphans.py work
>>> and the AUR install doesn't.  I'm confirming this again on a fresh VM.
>>>
>>> Jim A
>>>
>>
>> Now I think this is closed:
>>
>> from the AUR comments:
>> JohnLBergqvist <https://aur.archlinux.org/account/JohnLBergqvist>
>> commented on 2024-06-27 10:11 (EDT)
>> <https://aur.archlinux.org/packages/mythtv-git#comment-979847>
>>
>> @jfabernathy I've added python-pip as a dependency now
>>  Jim A
>>
>
>
> Jim, if you see the message during installation which the AUR maintainer
> posted, too
>
> ==> WARNING: Package contains reference to $pkgdir
>
> please try this
>
> Ad message in AUR (https://aur.archlinux.org/packages/mythtv-git):
> ==> WARNING: Package contains reference to $pkgdir
>
> Perhaps recompiling of the python pyc files helps.
> See https://wiki.archlinux.org/title/Talk:Python_package_guidelines
>
> You need to modify PKGBUILD:
> Inside the subroutine package(),
> after the step `make INSTALL_ROOT="$pkgdir" install`
> run
> ppath=`find "$pkgdir -type d -name 'MythTV' | grep python`
> python3 -m compileall -f -s "$pkgdir" "$ppath"
>
> If it works, please pass the lines to the mythTV AUR maintainer.
>
> Regards,
>
> Roland
>
>
Roland,  I tried building after the aur package maintainer added the
dependency python-pip. I no longer get the warning:

==> WARNING: Package contains reference to $pkgdir

So I'm not sure what needs to be done.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240627/530a53cf/attachment.htm>


More information about the mythtv-users mailing list