Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2022 11:29:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267415] security/sssd: plist failures and longer builds if textproc/po4a is installed
Message-ID:  <bug-267415-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267415

            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=3D237705&action=
=3Dedit
[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 prob=
lem
with something in sssd-1.16.5's build configuration, or it may be dependent=
 on
locale settings (when I built, LANG=3Den_US.UTF-8 was set).  This incomplet=
e 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 fast=
er)
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]]
=3D=3D=3D>   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 (a=
nd
comments 12-14 there as well).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267415-7788>