Bug 279058 - security/p5-openxpki-i18n: fix build error
Summary: security/p5-openxpki-i18n: fix build error
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: Zsolt Udvari
URL: https://reviews.freebsd.org/D44574
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-17 16:45 UTC by Sergei Vyshenski
Modified: 2024-05-20 18:31 UTC (History)
2 users (show)

See Also:


Attachments
git format-patch -1 main (1.14 KB, patch)
2024-05-17 16:47 UTC, Sergei Vyshenski
svysh.fbsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Vyshenski 2024-05-17 16:45:48 UTC
On some system setups sometime build fails with report
about missing en_GB translation. Evidently it is due to 
race conditions during parallel preparation of translations,
of which en_GB is very special.

This blinking problem of build for port 
security/p5-openxpki-i18n goes away altogether, if I add a line:

MAKE_JOBS_UNSAFE= yes

to the Makefile of the port, as suggested in the attached patch.

- "portlint -AC" gives non-relevant warning.
- "portclippy Makefile" is happy.
- "portfmt -D Makefile" is happy.
- Tested with:
14.0-RELEASE-p6
portlint 2.22.1
portfmt 1.1.5
pkg 1.21.99.1
poudriere-git-3.4.99.20240424
perl 5.36.3_1
openssl 3.0.12
Comment 1 Sergei Vyshenski 2024-05-17 16:47:46 UTC
Created attachment 250723 [details]
git format-patch -1 main
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-20 18:30:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0c2dc9fcd91b9e4f87ab24007c113720c968cb9

commit a0c2dc9fcd91b9e4f87ab24007c113720c968cb9
Author:     Sergei Vyshenski <svysh.fbsd@gmail.com>
AuthorDate: 2024-05-20 18:25:14 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-05-20 18:28:40 +0000

    security/p5-openxpki-i18n: Fix build

    Add MAKE_JOBS_UNSAFE=yes due to race conditions during build.
    While at it do some minor adjustments to Makefile.

    PR:             279058
    Approved by:    submitter is maintainer, diizzy (mentor)

 security/p5-openxpki-i18n/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 3 Zsolt Udvari freebsd_committer freebsd_triage 2024-05-20 18:31:23 UTC
Committed, thanks!