NetBSD Problem Report #54338
From triaxx@netbsd.org Tue Jul 2 09:32:45 2019
Return-Path: <triaxx@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A0BBE7A18F
for <gnats-bugs@gnats.NetBSD.org>; Tue, 2 Jul 2019 09:32:45 +0000 (UTC)
Message-Id: <20190702093244.985B47A1CB@mollari.NetBSD.org>
Date: Tue, 2 Jul 2019 09:32:44 +0000 (UTC)
From: triaxx@NetBSD.org
Reply-To: triaxx@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: mail/postfix EAI support broken?
X-Send-Pr-Version: 3.95
>Number: 54338
>Category: pkg
>Synopsis: mail/postfix EAI support broken?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 02 09:35:00 +0000 2019
>Closed-Date: Tue Jul 16 15:28:05 +0000 2019
>Last-Modified: Tue Jul 16 15:28:05 +0000 2019
>Originator: Frédéric Fauberteau
>Release: NetBSD 8.0 (pkgsrc-current)
>Organization:
>Environment:
System: mail.triaxx.org 8.0 NetBSD 8.0 (XEN3_DOMU) #0: Wed Jul 25 09:42:47 UTC 2018 root@defiler.triaxx.org:/usr/obj/sys/arch/amd64/compile/XEN3_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:
I build postfix by enabling eai option:
$ bmake show-options
Any of the following general options may be selected:
eai Enable EAI (Email Address Internationalization) support.
sasl Enable SASL support.
tls Enable TLS support.
These options are enabled by default:
tls
These options are currently enabled:
eai tls
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.postfix.
But I get the following message in logs:
2019-07-02T09:26:20.904352+00:00 mail.triaxx.org postfix/master 2206 - - daemon started -- version 3.3.3, configuration /usr/pkg/etc/postfix
2019-07-02T09:26:20.938819+00:00 mail.triaxx.org postfix/qmgr 27447 - - warning: smtputf8_enable is true, but EAI support is not compiled in
>How-To-Repeat:
export PKG_OPTIONS.postfix=eai && cd mail/postfix && bmake install
>Fix:
>Release-Note:
>Audit-Trail:
From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Fauberteau?= <triaxx@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/54338: mail/postfix EAI support broken?
Date: Tue, 16 Jul 2019 11:54:51 +0200
The binaries that cause warnings have been built using pbulk. qmgr has
been linked to textproc/icu in the following manner:
mail$ ldd /usr/pkg/libexec/postfix/qmgr | grep icu
-licuuc.64 => /usr/pkg/lib/libicuuc.so.64
-licudata.64 => /usr/pkg/lib/libicudata.so.64
On a development host, postfix has been built out of pbulk. No warning
is produced and qmgr is linked as follows:
hydralisk$ ldd /usr/pkg/libexec/postfix/qmgr | grep icu
-licuuc.64 => /usr/pkg/lib/libicuuc.so.64
-licudata.64 => /usr/pkg/lib/libicudata.so.64
-licui18n.64 => /usr/pkg/lib/libicui18n.so.64
From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= <triaxx@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54338 CVS commit: pkgsrc/mail/postfix
Date: Tue, 16 Jul 2019 15:18:28 +0000
Module Name: pkgsrc
Committed By: triaxx
Date: Tue Jul 16 15:18:28 UTC 2019
Modified Files:
pkgsrc/mail/postfix: Makefile options.mk
Log Message:
postfix: fix PR pkg/54338
pkgsrc changes:
---------------
* Remove -DHAS_EAI since it does not appear anywhere
* Add pkg-config to USE_TOOLS since patch-ai introduces it
* Bump revision since binaries are now linked to icui18n
To generate a diff of this commit:
cvs rdiff -u -r1.310 -r1.311 pkgsrc/mail/postfix/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/mail/postfix/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Tue, 16 Jul 2019 15:28:05 +0000
State-Changed-Why:
Fixed.
https://mail-index.netbsd.org/pkgsrc-changes/2019/07/16/msg194420.html
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.