Bug 222831 - math/pspp: build failure without NLS
Summary: math/pspp: build failure without NLS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Carlos J. Puga Medina
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-06 15:51 UTC by Miroslav Lachman
Modified: 2017-10-09 22:25 UTC (History)
0 users

See Also:
cpm: maintainer-feedback+


Attachments
Poudriere bulk build log failure (59.22 KB, text/plain)
2017-10-06 15:51 UTC, Miroslav Lachman
no flags Details
patch (877 bytes, patch)
2017-10-07 18:27 UTC, Carlos J. Puga Medina
cpm: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Lachman 2017-10-06 15:51:05 UTC
Created attachment 186958 [details]
Poudriere bulk build log failure

New version of pspp does not build when NLS is unset. Previous version (0.10.2) was built fine with the same option.

I am building it in poudriere:

---Begin OPTIONS List---
===> The following configuration options are available for pspp-1.0.1:
     DOCS=off: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     GUI=off: GUI (Graphical User Interface) support
     NLS=off: Native Language Support
     PGSQL=off: PostgreSQL database support
===> Use 'make config' to modify these settings
---End OPTIONS List---


checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: error: The following required prerequisites are not installed.
You must install them before PSPP can be built:
	msgfmt (is usually provided with gettext)
===>  Script "configure" failed unexpectedly.
Please report the problem to cpm@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/math/pspp/work/pspp-1.0.1/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Comment 1 Carlos J. Puga Medina freebsd_committer freebsd_triage 2017-10-07 18:27:45 UTC
Created attachment 186987 [details]
patch
Comment 2 Carlos J. Puga Medina freebsd_committer freebsd_triage 2017-10-07 18:31:09 UTC
(In reply to Miroslav Lachman from comment #0)

Gettext consists of developer tools and a runtime component. I have updated the NLS dependencies accordingly.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-10-09 22:18:49 UTC
A commit references this bug:

Author: cpm
Date: Mon Oct  9 22:18:22 UTC 2017
New revision: 451648
URL: https://svnweb.freebsd.org/changeset/ports/451648

Log:
  math/pspp: fix NLS option

  - Fix USES=gettext-* when NLS option is not set
  - Bump PORTREVISION

  PR:		222831
  Reported by:	Miroslav Lachman <000.fbsd@quip.cz>
  MFH:		2017Q4 (blanket)

Changes:
  head/math/pspp/Makefile
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-10-09 22:23:55 UTC
A commit references this bug:

Author: cpm
Date: Mon Oct  9 22:23:46 UTC 2017
New revision: 451649
URL: https://svnweb.freebsd.org/changeset/ports/451649

Log:
  MFH: r451648

  math/pspp: fix NLS option

  - Fix USES=gettext-* when NLS option is not set
  - Bump PORTREVISION

  PR:		222831
  Reported by:	Miroslav Lachman <000.fbsd@quip.cz>

  Approved by:	ports-secteam (blanket)

Changes:
_U  branches/2017Q4/
  branches/2017Q4/math/pspp/Makefile