From owner-freebsd-ports-bugs@freebsd.org Wed Apr 21 16:18:11 2021 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 6D4635EA933 for ; Wed, 21 Apr 2021 16:18:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FQQhM2QDhz3lVR for ; Wed, 21 Apr 2021 16:18:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 52ED15EA932; Wed, 21 Apr 2021 16:18:11 +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 52B945EA67C for ; Wed, 21 Apr 2021 16:18:11 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQQhM1mXtz3lVQ for ; Wed, 21 Apr 2021 16:18:11 +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 2FCD01319 for ; Wed, 21 Apr 2021 16:18:11 +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 13LGIBat052452 for ; Wed, 21 Apr 2021 16:18:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13LGIBf0052451 for ports-bugs@FreeBSD.org; Wed, 21 Apr 2021 16:18:11 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 255308] shells/ast-ksh: fix build on powerpc64* Date: Wed, 21 Apr 2021 16:18:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: pkubaj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: 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: Wed, 21 Apr 2021 16:18:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255308 Bug ID: 255308 Summary: shells/ast-ksh: fix build on powerpc64* Product: Ports & Packages Version: Latest Hardware: powerpc OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: pkubaj@FreeBSD.org CC: powerpc@FreeBSD.org, saper@saper.info CC: powerpc@FreeBSD.org, saper@saper.info Flags: maintainer-feedback?(saper@saper.info) Created attachment 224334 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224334&action= =3Dedit patch This patch brings back patches that were committed as part of https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D346423. This is necessary to build on powerpc64 and powerpc64le, due to the followi= ng error: + cc -D_BLD_DLL -fPIC -D_BLD_ast -Wno-unused-value -Wno-parentheses -Wno-logical-op-parentheses -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast -Icomp -I/wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/comp -Ih= ash -I/wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/hash -Iinclude -I/wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/include -Istd -I/wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/std -D_PACKAGE_ast -c /wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/hash/hasha= lloc.c /wrkdirs/usr/ports/shells/ast-ksh/work/ast-ksh93v/src/lib/libast/hash/hasha= lloc.c:162:4: error: non-const lvalue reference to type '__builtin_va_list' cannot bind t= o a temporary of type 'va_list' (aka 'char *') va_copy(ap, va_listval(va_arg(ap, va_listarg))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/_stdarg.h:49:32: note: expanded from macro 'va_copy' #define va_copy(dest, src) __va_copy(dest, src) ^~~~~~~~~~~~~~~~~~~~ /usr/include/sys/_stdarg.h:47:58: note: expanded from macro '__va_copy' #define __va_copy(dest, src) __builtin_va_copy((dest), (src)) ^~~~~ 1 error generated. mamake [lib/libast]: *** exit code 1 making hashalloc.o --=20 You are receiving this mail because: You are the assignee for the bug.=