Bug 246276

Summary: [PATCH] net-p2p/transmission-gtk fails to build without NLS
Product: Ports & Packages Reporter: Maciej Pasternacki <maciej>
Component: Individual Port(s)Assignee: Alexandre C. GuimarĂ£es <rigoletto>
Status: Closed FIXED    
Severity: Affects Some People CC: maciej
Priority: --- Flags: bugzilla: maintainer-feedback? (rigoletto)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
transmission-gtk-no-nls.patch none

Description Maciej Pasternacki 2020-05-07 09:55:30 UTC
Created attachment 214226 [details]
transmission-gtk-no-nls.patch

Relevant fragments of poudriere log:


---Begin OPTIONS List---
===> The following configuration options are available for transmission-gtk-3.00:
     DOCS=off: Build and/or install documentation
     LITE=off: Reduced features or memory footprint
     NLS=off: Native Language Support
===> Use 'make config' to modify these settings
---End OPTIONS List---
[...]
===========================================================================
=======================<phase: package        >============================
===>  Building package for transmission-gtk-3.00
pkg-static: Unable to access file /wrkdirs/usr/ports/net-p2p/transmission-gtk/work/stage/usr/local/share/appdata/transmission-gtk.appdata.xml:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-p2p/transmission-gtk/work/stage/usr/local/share/locale/an/LC_MESSAGES/transmission-gtk.mo:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net-p2p/transmission-gtk/work/stage/usr/local/share/locale/ar/LC_MESSAGES/transmission-gtk.mo:No such file or directory
[cut 180 more files in share/locale/]
pkg-static: Unable to access file /wrkdirs/usr/ports/net-p2p/transmission-gtk/work/stage/usr/local/share/locale/zh_TW/LC_MESSAGES/transmission-gtk.mo:No such file or directory
*** Error code 1
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-05-07 10:42:38 UTC
A commit references this bug:

Author: rigoletto
Date: Thu May  7 10:41:58 UTC 2020
New revision: 534256
URL: https://svnweb.freebsd.org/changeset/ports/534256

Log:
  net-p2p/transmission-gtk: Fix build when NLS is off.

  PR:		246276
  Submitted by:	 Maciej Pasternacki <maciej@pasternacki.net>

Changes:
  head/net-p2p/transmission-gtk/pkg-plist
Comment 2 Alexandre C. GuimarĂ£es freebsd_committer freebsd_triage 2020-05-07 10:43:35 UTC
Committed. Thanks!