Created attachment 157699 [details] poudriere build log showing failure to build under 9.3-RELEASE The apcupsd port no longer builds under 9.3-RELEASE. Using lang/gcc solves the issue. Also fix a portlint warning.
Created attachment 157700 [details] Patchset for sysutils/apcupsd
Created attachment 157701 [details] poudriere log showing successful build of patched version under 9.3-RELEASE
Same here. Strangely enough the port does build successfully on 8.4...
Build on on 10.1-RELEASE-P12 (AMD64) no problems Build on 9.3-RELEASE-P16 (AMD64) linker error: ... LD src/apcupsd /wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::vformat(char const*, __va_list_tag*)': astring.cpp:(.text+0x101): undefined reference to `operator new[](unsigned long)' /wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::assign(char const*, int)': astring.cpp:(.text+0x1d7): undefined reference to `operator new[](unsigned long)' /wrkdirs/usr/ports/sysutils/apcupsd/work/apcupsd-3.14.13/src/lib/libapc.a(astring.o): In function `astring::operator+(char const*)': ...
(In reply to Peter from comment #4) I just updated my poudriere jail and ports tree and did another testport build and do not see any errors with this patch in place.
Created attachment 157740 [details] Poudriere log for 9.3-RELEASE-p16 and ports r389648
With Revision 382561 no build probs... The patch (using gcc) builds without errors...
(In reply to leres from comment #1) > Created attachment 157700 [details] > Patchset for sysutils/apcupsd I've fixed the build. Does pre-configure part make sense?
A commit references this bug: Author: amdmi3 Date: Tue Jun 30 16:36:00 UTC 2015 New revision: 390972 URL: https://svnweb.freebsd.org/changeset/ports/390972 Log: - Fix portlint warning PR: 200831 Submitted by: leres@ee.lbl.gov Approved by: maintainer timeout (itetcu, 2 weeks) Changes: head/sysutils/apcupsd/Makefile