From owner-freebsd-ports-bugs@freebsd.org Thu Nov 12 21:56:54 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4A5D8466095 for ; Thu, 12 Nov 2020 21:56:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CXFn21SY1z4p1j for ; Thu, 12 Nov 2020 21:56:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 32169466094; Thu, 12 Nov 2020 21:56:54 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 31DF1465B7A for ; Thu, 12 Nov 2020 21:56:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CXFn20pX5z4p6F for ; Thu, 12 Nov 2020 21:56:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0EDCC54C9 for ; Thu, 12 Nov 2020 21:56:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0ACLursZ094470 for ; Thu, 12 Nov 2020 21:56:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0ACLurIJ094469 for ports-bugs@FreeBSD.org; Thu, 12 Nov 2020 21:56:53 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 249910] irc/irssi: Update to snapshot 1.3 (20200926) Date: Thu, 12 Nov 2020 21:56:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dor.bsd@xm0.uk X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2020 21:56:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249910 --- Comment #15 from David O'Rourke --- Unfortunately, I cannot build this patch in a FreeBSD 12.2 `poudriere testp= ort` at the moment. The build fails while testing to see if Perl is available: Checking if "working Perl support" compiles: NO meson.build:377:6: ERROR: Problem encountered: error linking with perl libraries Everything looks correct, and the problem seems to be that -Werror=3Dunused-command-line-argument is being introduced to the cc comman= d line somewhere. This is causing the following error during the test for Perl: cc: error: -Wl,-R/usr/local/lib/perl5/5.32/mach/CORE: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -Wl,-E: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -Wl,--start-group: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -lperl: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -lpthread: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -lm: 'linker' input unused [-Werror,-Wunused-command-line-argume= nt] cc: error: -lcrypt: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -lutil: 'linker' input unused [-Werror,-Wunused-command-line-argument] cc: error: -Wl,--end-group: 'linker' input unused [-Werror,-Wunused-command-line-argument] Manipulating the command line in an interactive poudriere session to add -Wno-unused-command-line-argument to the end of the build command allows th= is particular test to pass. Sadly, adding that same argument to CPPFLAGS does = not work to avoid this issue as the arguments are order dependent, and -Wno-unused-command-line-argument appears before -Werror=3Dunused-command-line-argument in the command. The full failing command is: cc -I/usr/local/include -I/usr/local/lib/perl5/5.32/mach/CORE -L/usr/local/= lib -L/usr/local/lib/perl5/5.32/mach/CORE -I/usr/include /wrkdirs/usr/ports/irc/irssi/work/irssi-17c6c22/_build/meson-private/tmpskf= kg4ld/testfile.c -o /wrkdirs/usr/ports/irc/irssi/work/irssi-17c6c22/_build/meson-private/tmpskf= kg4ld/output.obj -pipe -c -O2 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -D_FILE_OFFSET_BITS=3D64 -= O0 -Werror=3Dunknown-warning-option -Werror=3Dunused-command-line-argument -Werror=3Dignored-optimization-argument -DHAS_FPSETMASK -DHAS_FLOATINGPOINT= _H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -fstack-protector-strong -fPIC -Wl,-R/usr/local/lib/perl5/5.32/mach/CORE -pthread -Wl,-E -fstack-protector-strong -Wl,--start-group -lperl -lpthread -lm -lcrypt -lu= til -Wl,--end-group I am unsure where the various -W flags are being introduced. grepping both = the irssi source and /usr/ports/Mk doesn't turn anything up, nor does manually executing some of the commands that Meson seems to be running to work out t= he Perl LDFLAGS and CFLAGS. I believe it's being introduced as an entry in perl_rpath_flags, but as I'm unfamiliar with Meson, I'm having real issues debugging it. -David --=20 You are receiving this mail because: You are the assignee for the bug.=