Bug 245300 - cad/pcb: builds OK but install fails if NLS is unset
Summary: cad/pcb: builds OK but install fails if NLS is unset
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-02 22:46 UTC by bob
Modified: 2020-04-02 22:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (hrs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bob 2020-04-02 22:46:46 UTC
The port builds OK even if NLS is unset.

But 'make install' fails if NLS is unset; it's OK if NLS is set.

Install log:

raksha# make install                                                                                                                                                                                                                                    ...ports/cad/pcb  23:41
===>  Installing for pcb-4.2.0,1
===>  Checking if pcb is already installed
===>   Registering installation for pcb-4.2.0,1
pkg-static: Unable to access file /usr/ports/cad/pcb/work/stage/usr/local/share/locale/de/LC_MESSAGES/pcb.mo:No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/cad/pcb
*** Error code 1

Stop.
make: stopped in /usr/ports/cad/pcb

The options are:

# This file is auto-generated by 'make config'.
# Options for pcb-4.2.0,1
_OPTIONS_READ=pcb-4.2.0,1
_FILE_COMPLETE_OPTIONS_LIST=DOCS NLS MOTIF GTK NONE
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_UNSET+=NLS
OPTIONS_FILE_UNSET+=MOTIF
OPTIONS_FILE_SET+=GTK
OPTIONS_FILE_UNSET+=NONE