Created attachment 182026 [details] patch Update dns/libidn2 to 2.0.1 (which includes a pkgconfig file now that gnutls can use).
FYI, I'll postpone this update until I find the solution for the following error. gmake[5]: Entering directory '/wrkdirs/usr/ports/dns/libidn2/work/libidn2-2.0.1/lib' /bin/mkdir -p '/wrkdirs/usr/ports/dns/libidn2/work/stage/usr/local/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c -s libidn2.la '/wrkdirs/usr/ports/dns/libidn2/work/stage/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libidn2.so.0.3.0 /wrkdirs/usr/ports/dns/libidn2/work/stage/usr/local/lib/libidn2.so.0.3.0 libtool: install: strip --strip-unneeded /wrkdirs/usr/ports/dns/libidn2/work/stage/usr/local/lib/libidn2.so.0.3.0 strip: mkstemp "headers.abi.tmp"/ecp.sN9DSoIG failed: No such file or directory It occurs since libidn2 2.0.0 but only in poudriere build. That's why I did not update libidn2 from 0.16 to 2.0.0. I still do not know where it comes from.
(In reply to Po-Chuan Hsieh from comment #1) The mkstemp call is in /usr/src/contrib/elftoolchain/elfcopy/main.c. Does poudriere set TMPDIR environment variable?
Thanks. % grep PACKAGE_BUILDING /usr/local/etc/poudriere.conf* /usr/local/etc/poudriere.conf:# By default poudriere sets PACKAGE_BUILDING /usr/local/etc/poudriere.conf:# NO_PACKAGE_BUILDING=yes /usr/local/etc/poudriere.conf.sample:# By default poudriere sets PACKAGE_BUILDING /usr/local/etc/poudriere.conf.sample:# NO_PACKAGE_BUILDING=yes % head -1271 /usr/ports/Mk/bsd.port.mk | tail -5 # At least KDE needs TMPDIR for the package building, # so we're setting it to the known default value. .if defined(PACKAGE_BUILDING) TMPDIR?= /tmp .endif # defined(PACKAGE_BUILDING)
Therefore we have TMPDIR=/tmp in CONFIGURE_ENV.
And then it is corrupted and set to "headers.abi.tmp". Do you have any idea where that string might be coming from because I cannot find it anywhere?
A commit references this bug: Author: sunpoet Date: Tue Apr 25 14:22:45 UTC 2017 New revision: 439384 URL: https://svnweb.freebsd.org/changeset/ports/439384 Log: Update to 2.0.1 Changes: https://gitlab.com/libidn/libidn2/blob/master/NEWS PR: 218833 Submitted by: tijl Changes: head/dns/libidn2/Makefile head/dns/libidn2/distinfo head/dns/libidn2/files/patch-src-idn2.c head/dns/libidn2/pkg-plist
Committed. Thanks! I cannot remember why I did not find it before. :(