Bug 284427 - multimedia/gpodder 3.11.5 fails to build
Summary: multimedia/gpodder 3.11.5 fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-28 21:37 UTC by tjlegg
Modified: 2025-01-29 12:08 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (rm)


Attachments
add pyinstaller (532 bytes, text/plain)
2025-01-29 08:47 UTC, Ruslan Makhmatkhanov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tjlegg 2025-01-28 21:37:00 UTC
Here's the end of the poudriere log...

Merging translations into share/applications/gpodder-url-handler.desktop.
rm -f share/applications/gpodder-url-handler.desktop.tmp
sed -e 's#__PREFIX__#/usr/local#' share/applications/gpodder.desktop.in >share/applications/gpodder.desktop.tmp
intltool-merge -d -u po share/applications/gpodder.desktop.tmp share/applications/gpodder.desktop
Merging translations into share/applications/gpodder.desktop.
rm -f share/applications/gpodder.desktop.tmp
/usr/local/bin/python3.11 -m build --wheel --no-isolation
/usr/local/bin/python3.11: No module named build
gmake: *** [makefile:101: buildwheel] Error 1
*** Error code 2

Stop.
make: stopped in /usr/ports/multimedia/gpodder
=>> Cleaning up wrkdir
===>  Cleaning for gpodder-3.11.5
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-01-28 22:00:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9d8d67b3bf9543538ba8b49e7de4f125063feb53

commit 9d8d67b3bf9543538ba8b49e7de4f125063feb53
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2025-01-28 21:58:31 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2025-01-28 21:58:31 +0000

    multimedia/gpodder: fix package build

    Add missing build dependencies

    PR:             284427
    Reported by:    tjlegg@gmail.com

 multimedia/gpodder/Makefile | 2 ++
 1 file changed, 2 insertions(+)
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-01-28 22:01:03 UTC
My bad. Should be now fixed. Thank you for heads up!
Comment 3 tjlegg 2025-01-29 08:23:23 UTC
removing build/bdist.freebsd-14.2-STABLE-amd64/wheel
Successfully built gpodder-3.11.5-py3-none-any.whl
/usr/local/bin/python3.11 -m installer --destdir=/wrkdirs/usr/ports/multimedia/gpodder/work/stage --prefix=/usr/local dist/*.whl
/usr/local/bin/python3.11: No module named installer
gmake: *** [makefile:104: install] Error 1
*** Error code 2

Stop.
make: stopped in /usr/ports/multimedia/gpodder
=>> Cleaning up wrkdir
===>  Cleaning for gpodder-3.11.5
build of multimedia/gpodder | gpodder-3.11.5 ended at Wed Jan 29 16:20:43 HKT 2025
build time: 00:00:21
!!! build failure encountered !!!
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-01-29 08:47:50 UTC
Created attachment 257082 [details]
add pyinstaller
Comment 5 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-01-29 08:50:36 UTC
(In reply to tjlegg from comment #3)

Could you please let me know if this patch works for you? I can't check in poudriere at the moment, only package build in local system that has all these deps already installed. As far I understand running pyinstaller is the last stage, but want to be sure:

/usr/local/bin/python3.11 -m installer --destdir=/ports/multimedia/gpodder/work/stage --prefix=/usr/local dist/*.whl
Comment 6 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-01-29 08:50:45 UTC
(In reply to tjlegg from comment #3)

Could you please let me know if this patch works for you? I can't check in poudriere at the moment, only package build in local system that has all these deps already installed. As far I understand running pyinstaller is the last stage, but want to be sure:

/usr/local/bin/python3.11 -m installer --destdir=/ports/multimedia/gpodder/work/stage --prefix=/usr/local dist/*.whl
Comment 7 tjlegg 2025-01-29 10:27:54 UTC
That does the trick for the poudriere build! pkg upgrade works. gpodder launches and updates feeds.
Comment 8 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2025-01-29 12:04:56 UTC
Great, thank you!
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-01-29 12:07:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1b527ac0bf07c093bc0909cea174efc2b1ae6e05

commit 1b527ac0bf07c093bc0909cea174efc2b1ae6e05
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2025-01-29 12:05:31 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2025-01-29 12:05:31 +0000

    multimedia/gpodder: add yet another missing build dependency

    PR:             284427
    Tested by:      tjlegg@gmail.com

 multimedia/gpodder/Makefile | 1 +
 1 file changed, 1 insertion(+)