[Bug 284300] lysutils/vobcopy build fails without NLS
Date: Thu, 23 Jan 2025 22:59:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284300 Bug ID: 284300 Summary: lysutils/vobcopy build fails without NLS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: mirror176@hotmail.com Created attachment 256942 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256942&action=edit Rearrange gettext-tools build dependency to always be included The build fails to find autopoint during configure stage since gettext-tools-0.22 is not installed for building if NLS is disabled. Porter's handbook states that gettext is deprecated and to use the gettext-* variants that it calls on its own. I implemented those accordingly to fix the build on my side. I have only build tested it and not sure how best to check NLS is working as expected when on/off. This was found on amd64 with git branches stable/14=18790167dcac and ports main=37b63b66d301. Testing was done under poudriere with OPTIONS_UNSET+=NLS in its make.conf but build also failed with the more isolated sysutils_vobcopy_UNSET+=NLS . I thought I had it failing as a result of just modifying NLS on dependencies but I may have messed up configuration attempts as it hasn't been reproducible. devel/gmake, devel/m4, devel/p5-Locale-libintl, misc/help2man, print/texinfo were ones I noted were being rebuilt by poudriere with a global NLS change. I think I replaced several spaces as indentation with a tab on a line in my patch but it wasn't a functional change. I tried to make lines I modified comply with portfmt. I didn't apply other changes but Running `portfmt -D` recommended increasing indentation on several lines, rearranging contents of USES and OPTIONS_DEFINE while -t also modified a command in the install area. portclippy recommended moving MAKE_ARGS above CFLAGS and doesn't seem to know about the GNU_CONFIGURE_MANPREFIX variable. I didn't bump the port REVISION; these modifications make a previous failure build now but shouldn't modify the working builds otherwise. If REVISION is not increased, it could be removed from the port; presume it was just there for convenience if needed later. The failure part of the output is below. Let me know if I can provide other information or help. =======================<phase: configure >============================ ===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0 ===> vobcopy-1.2.1 depends on package: autoconf>=2.72 - found ===> vobcopy-1.2.1 depends on package: automake>=1.17 - found ===> vobcopy-1.2.1 depends on shared library: libdvdread.so - found (/usr/local/lib/libdvdread.so) ===> Configuring for vobcopy-1.2.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 Stop. make: stopped in /usr/ports/sysutils/vobcopy -- You are receiving this mail because: You are the assignee for the bug.