Bug 270125

Summary: print/gutenprint 5.3.4 builds, fails to install...
Product: Ports & Packages Reporter: web
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me CC: Trond.Endrestol, danfe
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
Patch for print/gutenprint/pkg-plist none

Description web 2023-03-11 21:43:50 UTC
This is the error that happens when the install fails:
  
===>  Installing for gutenprint-5.3.4
===>  Checking if gutenprint is already installed
===>   Registering installation for gutenprint-5.3.4
pkg-static: Unable to access file
/usr/ports/print/gutenprint/work/stage/usr/local/share/locale/hr/LC_MESSAGES/gutenprint.mo:No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/gutenprint
*** Error code 1

What could be the cause of this error?
Comment 1 Trond Endrestøl 2023-03-18 14:37:32 UTC
Created attachment 240950 [details]
Patch for print/gutenprint/pkg-plist
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-04-07 08:44:08 UTC
> What could be the cause of this error?
Looks like an omitted %%-screening in ports e220febfe14a0 and you're building with NLS disabled, right?  I'll see what I can do.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-04-07 09:44:58 UTC
A commit in branch main references this bug:

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

commit e878c6764410a3c1acafb9f3c7a2a17fd4d68a31
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-04-07 09:43:22 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-04-07 09:43:22 +0000

    print/gutenprint: unbreak the port's packaging with NLS disabled

    Fixes:  e220febfe14a0
    PR:     270125

 print/gutenprint/pkg-plist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)