Created attachment 206381 [details] cad/tkgate poudriere build log with configure error While building cad/tkgate in poudriere on my 12-stable system the build fails with a configure error as shown below: Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> tkgate-2.1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> Returning to build of tkgate-2.1 =========================================================================== =======================<phase: configure >============================ ===> Configuring for tkgate-2.1 aclocal: warning: couldn't open directory 'm4': No such file or directory configure.ac:141: error: possibly undefined macro: AC_PROG_LIBTOOL 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/cad/tkgate =>> Cleaning up wrkdir ===> Cleaning for tkgate-2.1 build of cad/tkgate | tkgate-2.1 ended at Thu Aug 8 17:46:17 EDT 2019 build time: 00:00:22 !!! build failure encountered !!!
Please, can you post this in the update Bug #234081 ?
Try add libtool to USES.
Tried adding libtool to the uses in the Makefile but I get another configure error now. checking for string.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes ./configure: 14676: Syntax error: word unexpected (expecting ")") ===> Script "configure" failed unexpectedly. Please report the problem to vsevolod@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/cad/tkgate/work/tkgate-2.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 Stop. make: stopped in /usr/ports/cad/tkgate =>> Cleaning up wrkdir ===> Cleaning for tkgate-2.1 build of cad/tkgate | tkgate-2.1 ended at Thu Aug 8 19:12:10 EDT 2019 build time: 00:00:27 !!! build failure encountered !!!
Created attachment 206383 [details] cad/tkgate poudriere build log when libtool is add to Uses
Created attachment 206386 [details] svn-diff-tkgate Also needed pkgconfig.
It seems to be building fine with the proposed patch, thanks!
A commit references this bug: Author: vsevolod Date: Fri Aug 9 09:22:47 UTC 2019 New revision: 508431 URL: https://svnweb.freebsd.org/changeset/ports/508431 Log: - Add missing uses [1] - Drop maintainership PR: 239728 [1] Submitted by: Walter Schwarzenfeld <w.schwarzenfeld at utanet.at> [1] Reported by: Robert Cina <transitive at gmail.com> Changes: head/cad/tkgate/Makefile
Committed, thank you. Please let me know if the fix helped and if anybody wants to take the maintainership for this port as I have no time to support it appropriately.
The fix worked for me. Thank you very much!