From owner-svn-ports-all@freebsd.org Mon Dec 10 12:12:09 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 675611323E8A; Mon, 10 Dec 2018 12:12:09 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E35775C15; Mon, 10 Dec 2018 12:12:09 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id D625A20A6; Mon, 10 Dec 2018 12:12:08 +0000 (UTC) From: Jan Beich To: Jochen Neumeister Cc: Mathieu Arnold , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r486609 - head/www/nginx References: <201812041556.wB4Fu0go099664@repo.freebsd.org> <20181210083918.isio3agqb2ok47xz@atuin.in.mat.cc> <4c26a3ca-06e4-5c90-fb3d-43e5546cf003@FreeBSD.org> <20181210085215.qsexntzb2uw5lf6q@atuin.in.mat.cc> <54be9f5f-7a65-e01c-9bb1-370091806571@FreeBSD.org> Date: Mon, 10 Dec 2018 13:12:02 +0100 In-Reply-To: <54be9f5f-7a65-e01c-9bb1-370091806571@FreeBSD.org> (Jochen Neumeister's message of "Mon, 10 Dec 2018 09:57:53 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 0E35775C15 X-Spamd-Result: default: False [-2.85 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-0.91)[-0.906,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2018 12:12:09 -0000 Jochen Neumeister writes: > On 10.12.18 09:52, Mathieu Arnold wrote: >> On Mon, Dec 10, 2018 at 09:47:15AM +0100, Jochen Neumeister wrote: >>> On 10.12.18 09:39, Mathieu Arnold wrote: >>>> On Tue, Dec 04, 2018 at 03:56:00PM +0000, Jochen Neumeister wrote: >>>>> Author: joneum >>>>> Date: Tue Dec 4 15:55:59 2018 >>>>> New Revision: 486609 >>>>> URL: https://svnweb.freebsd.org/changeset/ports/486609 >>>>> >>>>> Log: >>>>> www/nginx: Update to 1.14.2 >>>> After this, nginx does not build any more: >>>> >>>> --- build/nxt_diyfp.o --- >>>> cc: error: -Wl,-rpath,/usr/local/lib: 'linker' input unused [-Werror,-Wunused-command-line-argument] >>>> *** [build/nxt_diyfp.o] Error code 1 >>>> >>>> make[3]: stopped in /wrkdirs/usr/ports/www/nginx/work/njs-992e93d >>>> 2 errors >>>> >>>> make[3]: stopped in /wrkdirs/usr/ports/www/nginx/work/njs-992e93d >>>> *** [/wrkdirs/usr/ports/www/nginx/work/njs-992e93d/nginx/../build/libnjs.a] Error code 2 >>>> >>>> https://pkg.absolight.fr/data/11amd64-pkgng-default/20181209T000344Z/logs/errors/nginx-1.14.2,2.log > > http://joneumbox.org/data/112amd64-ports/2018-12-10_09h52m29s/logs/nginx-1.14.2,2.log > > I can not confirm. NGINX builds successfully with current njs-992e93d mat@ has DEFAULT_VERSIONS+=ssl=openssl. -Wunused-command-line-argument appears to be enabled by default i.e., it's not part of -Wall -Wextra but only appears with Clang. HTTP_SSL=ON + NJS=ON is what causes bustage for ssl!=base. To fix either drop -Werror from NJS=ON and/or drop USE_OPENSSL_RPATH by making sure LDFLAGS are respected (bug 233243).