Summary: | dns/idnkit: Fails to compile with integrated libiconv | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Sergey Zhmylove <zhmylove> |
Component: | Individual Port(s) | Assignee: | Jason Unovitch <junovitch> |
Status: | Closed Unable to Reproduce | ||
Severity: | Affects Only Me | CC: | junovitch, koobs, zhmylove |
Priority: | --- | Keywords: | needs-patch |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Sergey Zhmylove
2015-01-01 02:37:38 UTC
Emm, dns/bind910 fails too with the same reason: cc -pthread -I/usr/ports/dns/bind910/work/bind-9.10.1-P1 -I../.. -I./include -I/usr/ports/dns/bind910/work/bind-9.10.1-P1/lib/dns/include -I../../lib/dns/include -I/usr/ports/dns/bind910/work/bind-9.10.1-P1/lib/bind9/include -I../../lib/bind9/include -I/usr/ports/dns/bind910/work/bind-9.10.1-P1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -I/usr/ports/dns/bind910/work/bind-9.10.1-P1/lib/lwres/include -I../../lib/lwres/unix/include -I../../lib/lwres/include -I/usr/ports/dns/bind910/work/bind-9.10.1-P1/lib/isccfg/include -I../../lib/isccfg/include -I/usr/local/include -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DVERSION=\"9.10.1-P1\" -DOPENSSL -DDIG_SIGCHASE=1 -D_THREAD_SAFE -O2 -pipe -march=k8-sse3 -fstack-protector -fno-strict-aliasing -I/usr/local/include/libxml2 -I/usr/local/include -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector -o digtmp2 ${BASEOBJS} dig-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/bind9/libbind9.a ../../lib/isccfg/libisccfg.a ../../lib/isc/libisc-nosymtbl.a -L/usr/local/lib -lidnkit -L/usr/local/lib -R/usr/local/lib -liconv -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm; ../../util/mksymtbl.pl -o dig-symtbl2.c digtmp2; done ; mv digtmp2 dig; rm -f digtmp0 digtmp1 digtmp2 dig-symtbl2.c; fi cc: error: unknown argument: '-R/usr/local/lib' *** Error code 1 Stop. make[4]: stopped in /usr/ports/dns/bind910/work/bind-9.10.1-P1/bin/dig *** Error code 1 Stop. make[3]: stopped in /usr/ports/dns/bind910/work/bind-9.10.1-P1/bin *** Error code 1 Stop. make[2]: stopped in /usr/ports/dns/bind910/work/bind-9.10.1-P1 *** Error code 1 Stop. make[1]: stopped in /usr/ports/dns/bind910 *** Error code 1 Stop. make: stopped in /usr/ports/dns/bind910 The workaround is the same. "Emm, dns/bind910 fails too with the same reason:" you need to open a separate PR for that. This port is unmaintained. You need to provide this as an attachment, a patch to the port itself (a patch that adds the patch and also bumps the port revision in the makefile) Sergey, I was not able to replicate this error on both supported releases as well as VMs with legacy 4.11, 6.4, 7.4, and 8.3 releases. cc: error: -R/usr/local/lib: unknown option -R In all cases, the -R flag is recognized as valid options on all these supported (and unsupported) releases. Portsmon is also showing no build issues (http://portsmon.FreeBSD.org/portoverview.py?category=dns&portname=idnkit). I'm taking this PR for now but will close it in two weeks as unable to replicate if there's no feedback on how to do so. Unable to replicate/feedback timeout |