Bug 270125 - print/gutenprint 5.3.4 builds, fails to install...
Summary: print/gutenprint 5.3.4 builds, fails to install...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-11 21:43 UTC by web
Modified: 2023-04-07 09:45 UTC (History)
2 users (show)

See Also:


Attachments
Patch for print/gutenprint/pkg-plist (559 bytes, patch)
2023-03-18 14:37 UTC, Trond Endrestøl
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)