Motion fails to build as it needs gettext-tools added under: USES= autoreconf cpe gmake jpeg localbase pkgconfig Error without it (Using Poudriere): ===> motion-4.6.0_1 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Returning to build of motion-4.6.0_1 =========================================================================== =======================<phase: configure >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for motion-4.6.0_1 Can't exec "autopoint": No such file or directory at /usr/local/share/autoconf2.72/Autom4te/FileUtils.pm line 318. autoreconf2.72: error: autopoint failed with exit status: 2 ===> Mk/Uses/autoreconf.mk: Error running /usr/local/bin/autoreconf2.72 *** Error code 1 My make config is as follows: ┌──────────────────────────┤motion-4.6.0_1├──────────────────────────┐ │ 'F1' for Ports Collection help. │ │ ┌────────────────────────────────────────────────────────────────┐ │ │ │ [ ] DOCS Build and/or install documentation │ │ │ │ [ ] EXAMPLES Build and/or install examples │ │ │ │new [X] FFMPEG FFmpeg support (WMA, AIFF, AC3, APE...) │ │ │ │ [ ] MYSQL MySQL database support │ │ │ │ [ ] NLS Native Language Support │ │ │ │ [X] PGSQL PostgreSQL database support │ │ │ │new [ ] SQLITE3 SQLite 3 database support │ │ │ │ Video capture driver (Netcam support only if none selected) ───│ │ │ │new)( ) BKTR BKTR based TV capture cards │ │ │ │new ( ) PWCBSD PWCBSD based Webcams │ │ │ │new (*) WEBCAMD Webcams using webcamd │ │ │ └────────────────────────────────────────────────────────────────┘ │ ├────────────────────────────────────────────────────────────────────┤ │ [ OK ] [Cancel] │ └────────────────────────────────────────────────────────────────────┘ I suspect others haven't had this error due to having different dependent ports selected that already have gettext-tools. As soon as I added it to the MakeFile, the port built as expected.
Created attachment 259083 [details] [PATCH] multimedia/motion: fix build with NLS=off
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=97af0fc015b040e9b49280a55ff3c3120ef16b05 commit 97af0fc015b040e9b49280a55ff3c3120ef16b05 Author: Älven <alster@vinterdalen.se> AuthorDate: 2025-03-31 00:50:09 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-03-31 01:15:56 +0000 multimedia/motion: Fix build with NLS=off: Can't exec "autopoint" Can't exec "autopoint": No such file or directory at /usr/local/share/autoconf2.72/Autom4te/FileUtils.pm line 318. autoreconf2.72: error: autopoint failed with exit status: 2 ===> Mk/Uses/autoreconf.mk: Error running /usr/local/bin/autoreconf2.72 While here remove GNU_CONFIGURE_MANPREFIX as it's a default value now. No bump - the default build has not changed. PR: 282531 Approved by: ports@blievers.net (maintainer) MFH: 2025Q1 multimedia/motion/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
A commit in branch 2025Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5aaeca11bf433c6383119100ca45aa8c80f52eba commit 5aaeca11bf433c6383119100ca45aa8c80f52eba Author: Älven <alster@vinterdalen.se> AuthorDate: 2025-03-31 00:50:09 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-03-31 01:28:37 +0000 multimedia/motion: Fix build with NLS=off: Can't exec "autopoint" Can't exec "autopoint": No such file or directory at /usr/local/share/autoconf2.72/Autom4te/FileUtils.pm line 318. autoreconf2.72: error: autopoint failed with exit status: 2 ===> Mk/Uses/autoreconf.mk: Error running /usr/local/bin/autoreconf2.72 While here remove GNU_CONFIGURE_MANPREFIX as it's a default value now. No bump - the default build has not changed. PR: 282531 Approved by: ports@blievers.net (maintainer) MFH: 2025Q1 (cherry picked from commit 97af0fc015b040e9b49280a55ff3c3120ef16b05) multimedia/motion/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Thanks.