Bug 223963 - mail/sympa with NLS=off fails to configure: possibly undefined macro: AM_PO_SUBDIRS
Summary: mail/sympa with NLS=off fails to configure: possibly undefined macro: AM_PO_S...
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: Kurt Jaeger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 11:54 UTC by Marko Cupać
Modified: 2017-12-04 16:54 UTC (History)
2 users (show)

See Also:
dgeo: maintainer-feedback+


Attachments
svn patch to enable NLS by default (394 bytes, patch)
2017-12-04 15:53 UTC, geoffroy desvernay
dgeo: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2017-11-29 11:54:32 UTC
Hi,

I can't build mail/sympa 6.2.22 in poudriere, it errors out in configure phase:

=======================<phase: configure      >============================
===>  Configuring for sympa-6.2.22
configure.ac:28: warning: macro 'AM_PO_SUBDIRS' not found in library
configure.ac:23: installing './compile'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './depcomp'
configure.ac:28: error: possibly undefined macro: AM_PO_SUBDIRS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf-2.69: /usr/local/bin/autoconf-2.69 failed with exit status: 1
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/sympa
====>> Cleaning up wrkdir
===>  Cleaning for sympa-6.2.22
build of mail/sympa ended at Tue Nov 28 16:17:59 CET 2017
build time: 00:00:33
!!! build failure encountered !!!

Full build log here:
http://pkg.kappastar.com/data/11_1:x86:64-default-server/2017-11-28_12h30m05s/logs/errors/sympa-6.2.22.log
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2017-12-03 10:19:24 UTC
Try to build with NLS=on
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2017-12-03 13:51:50 UTC
A patch is needed to fix that case, otherwise NLS should be on by default.
Comment 3 geoffroy desvernay 2017-12-04 15:34:59 UTC
This is NLS… It it a problem in ports to force use of gettext ? We may just not provide this option…
Comment 4 geoffroy desvernay 2017-12-04 15:53:08 UTC
Created attachment 188525 [details]
svn patch to enable NLS by default

Eenabling NLS by default to fix common case, sorry to not have done this before (I always build with NLS globally enabled)
Comment 5 commit-hook freebsd_committer freebsd_triage 2017-12-04 16:53:57 UTC
A commit references this bug:

Author: pi
Date: Mon Dec  4 16:53:36 UTC 2017
New revision: 455525
URL: https://svnweb.freebsd.org/changeset/ports/455525

Log:
  mail/sympa: enable NLS by default

  ...because it fails to build without NLS

  PR:		223963
  Approved by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr> (maintainer)

Changes:
  head/mail/sympa/Makefile
Comment 6 Kurt Jaeger freebsd_committer freebsd_triage 2017-12-04 16:54:02 UTC
Committed, thanks!