Bug 282531 - multimedia/motion: Build failure - Can't exec "autopoint"
Summary: multimedia/motion: Build failure - Can't exec "autopoint"
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-04 05:31 UTC by Bryan Erickson
Modified: 2025-03-31 01:35 UTC (History)
3 users (show)

See Also:
ports: maintainer-feedback+
vvd: merge-quarterly+


Attachments
[PATCH] multimedia/motion: fix build with NLS=off (1.16 KB, patch)
2025-03-27 11:35 UTC, Älven
alven: maintainer-approval? (ports)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Erickson 2024-11-04 05:31:26 UTC
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.
Comment 1 Älven freebsd_committer freebsd_triage 2025-03-27 11:35:05 UTC
Created attachment 259083 [details]
[PATCH] multimedia/motion: fix build with NLS=off
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-03-31 01:17:00 UTC
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(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-03-31 01:31:02 UTC
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(-)
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-03-31 01:35:27 UTC
Thanks.