[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Oct 2022 11:29:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267415
Bug ID: 267415
Summary: security/sssd: plist failures and longer builds if
textproc/po4a is installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: jcfyecrayz@liamekaens.com
CC: dbaio@freebsd.org, lukas.slebodnik@intrak.sk
CC: dbaio@freebsd.org, lukas.slebodnik@intrak.sk
Created attachment 237705
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237705&action=edit
[patch] security/sssd: explicitly disable po4a to fix plist problems in case
it's installed
If textproc/po4a is installed, configure detects this:
checking for po4a... po4a
When po4a is enabled, the build tries to regenerate man pages. In doing so, it
fails to rebuild man pages for some locales. This may be because of a problem
with something in sssd-1.16.5's build configuration, or it may be dependent on
locale settings (when I built, LANG=en_US.UTF-8 was set). This incomplete man
page generation causes plist errors - because of the missing man pages for some
locales [[1]].
But there's no need to regenerate man pages as they are already included in the
1.16.5 distribution tarball. There's also no need to dig into exactly why some
man pages are not built [[2]]. So disabling po4a seems like the simplest &
best fix - not to mention that the man page generation adds quite a bit of time
to the build.
The attached patch explicitly disables po4a for a more consistent (and faster)
build whether po4a is installed or not.
There's no need to bump PORTREVISION since this will only fix a plist error and
only for those users who have po4a installed. Since po4a is not a build
dependency, builds in a "clean" environment (like poudriere) will not have this
problem.
[[1]]
===> Registering installation for sssd-1.16.5_7
pkg-static: Unable to access file
/usr/ports/security/sssd/work-default/stage/usr/local/man/de/man5/sssd-ldap.5.gz:No
such file or directory
pkg-static: Unable to access file
/usr/ports/security/sssd/work-default/stage/usr/local/man/es/man8/sssd.8.gz:No
such file or directory
pkg-static: Unable to access file
/usr/ports/security/sssd/work-default/stage/usr/local/man/fr/man8/sssd.8.gz:No
such file or directory
pkg-static: Unable to access file
/usr/ports/security/sssd/work-default/stage/usr/local/man/ja/man8/sssd.8.gz:No
such file or directory
*** Error code 1
[[2]]
This version of sssd, 1.16.5, is quite old, and not worth investigating
something like man page generation, IMO. See also bug 264526, comment 8 (and
comments 12-14 there as well).
--
You are receiving this mail because:
You are the assignee for the bug.