Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2019 10:51:05 +0200
From:      "Hartmann, O." <ohartmann@walstatt.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   poudriere/make differences regarding ICONV
Message-ID:  <20191021105105.2cb1509d@hermann.fritz.box>

next in thread | raw e-mail | index | archive | help
--Sig_/SxcF7Ce5C_uvGiFnzckBWA2
Content-Type: multipart/mixed; boundary="MP_/J2IjvWxTeX2DMWiZ0DbM266"

--MP_/J2IjvWxTeX2DMWiZ0DbM266
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm working on an update of a port we maintain here ourselfs and since
a couple of months for now, out of the blue this port (textproc/refdb
in carnation rev 1.0.2) won't build anymore, always failing due to an
error in poudriere's log, stating:

[...]

=3D=3D=3D>   refdb-1.0.2 depends on shared library: libpq.so.5 - found
(/usr/local/lib/libpq.so.5) =3D=3D=3D>   Returning to build of refdb-1.0.2
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: configure
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D =3D=3D=3D>  Configuring for refdb-1.0.2
configure.ac:284: warning: macro 'AM_ICONV_LINK' not found in library
configure.ac:284: error: possibly undefined macro: AM_ICONV_LINK
      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/textproc/refdb
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for refdb-1.0.2
build of textproc/refdb | refdb-1.0.2 ended at Mon Oct 21 07:54:22 UTC
2019 build time: 00:01:22
!!! build failure encountered !!!
[...]

This error occurs on all platforms we use and provide poudriere (latest
revision form the ports tree), 11.3-RELENG, 12.1-RELENG, 12-STABLE and
13-CURRENT (as hosts) running jails for 11.3-RELENG, 12-STABLE and
13-CURRENT, all recent revisions. The problem is bugging me now for a
couple of months so it is present on a variety of host/jail
combinations. The last host/jail combination with poudriere is shown
below.

The most interesting part is the fact, that poudriere is definitely
different from the traditional make environment. Taking a fresh vanilla
FreeBSD Installation, doesn't matter whether 12-STABLE or 13-CURRENT
and updating ports tree via subversion and then start building the port
(taking the Makrfile and add ons we use here), the port build perfectly
and "make package" also provides me with a working package. But the
poudriere version always fails as we show by the error below.

Since the test with a vanilla make environment compared to a vanilla
poudriere environment leaves me with a preliminary conclusion that
there is a difference I can't deal with, the mutual bug might be more
complex.

The whole patchfile compared to the outdated port textproc/refdb (0.9)
is big, around > 5MBytes, due to the fact there are many important
updates in the cvs tree compared to the recent available 1.0.2-tarball
provided via SF regarding LaTeX and UTF-8 conversions.

For checking purposes on the USES field I provide the Makefile. The
remaining patchfiles are minor patches, except the 5 MB memoryhog.

Hopefully someon has a hint how to address the AM_ICONV_LINK problemacy
shown below.

Thanks in advance,
oh

[...]
=3D>> Building textproc/refdb
build started at Mon Oct 21 07:53:00 UTC 2019
port directory: /usr/ports/textproc/refdb
package name: refdb-1.0.2
building for: FreeBSD anger.walstatt.dynvpn.de 12.1-STABLE FreeBSD
12.1-STABLE 1201500 amd64 maintained by: ohartmann@walstatt.org
Makefile ident:      $FreeBSD: $
Poudriere version: 3.3.2_1
Host OSVERSION: 1300053
Jail OSVERSION: 1201500
Job Id: 02

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1201500
UNAME_v=3DFreeBSD 12.1-STABLE 1201500
UNAME_r=3D12.1-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.2_1
MAKEOBJDIRPREFIX=3D/pool/sources/12-STABLE/obj/
MASTERMNT=3D/pool/poudriere/data/.m/12-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
PWD=3D/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D12-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/pool/poudriere/data/.m/12-amd64-head-default/ref/.p
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for refdb-1.0.=
2:
     DOCS=3Don: Build and/or install documentation
=3D=3D=3D=3D> Options available for the single DB: you have to select exact=
ly
one of them MYSQL=3Doff: MySQL database support
     PGSQL=3Don: PostgreSQL database support
     SQLITE=3Doff: SQLite database support
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---
[...]

--MP_/J2IjvWxTeX2DMWiZ0DbM266--

--Sig_/SxcF7Ce5C_uvGiFnzckBWA2
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXa1xegAKCRA4N1ZZPba5
R4pbAQCADakpmvytpKNrMGmlWOfc5itiwHVJCYNagatOqaYGPAEAo5Bm7KGqVdRV
YypVcRN9udWWDlZPw8ADzK8WKOgARws=
=AHr5
-----END PGP SIGNATURE-----

--Sig_/SxcF7Ce5C_uvGiFnzckBWA2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191021105105.2cb1509d>