From owner-freebsd-ports-bugs@freebsd.org Mon Jun 17 12:31:17 2019 Return-Path: Delivered-To: freebsd-ports-bugs@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 189F115B89EC for ; Mon, 17 Jun 2019 12:31:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id A4BF58E600 for ; Mon, 17 Jun 2019 12:31:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 6829215B89EB; Mon, 17 Jun 2019 12:31:16 +0000 (UTC) Delivered-To: ports-bugs@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 4420E15B89EA for ; Mon, 17 Jun 2019 12:31:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8E6C8E5FB for ; Mon, 17 Jun 2019 12:31:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0FDED57F5 for ; Mon, 17 Jun 2019 12:31:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5HCVEU0049963 for ; Mon, 17 Jun 2019 12:31:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5HCVDHt049949 for ports-bugs@FreeBSD.org; Mon, 17 Jun 2019 12:31:13 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 238664] graphics/lightzone: fails to build with GCC 9 Date: Mon, 17 Jun 2019 12:31:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc blocked 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2019 12:31:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238664 Bug ID: 238664 Summary: graphics/lightzone: fails to build with GCC 9 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: ports-bugs@FreeBSD.org Blocks: 238330 Upstream fix is https://github.com/ktgw0316/LightZone/commit/376ec67ddfb1 $ echo "DEFAULT_VERSIONS +=3D gcc=3D9" >>/etc/make.conf $ make [...] [exec] -----> Entering dcraw [exec] gcc9 -c -g -march=3Dpentium4 -mtune=3Dgeneric -march=3Dpentium4= -msse2 -mfpmath=3Dsse -fPIC -O3 -fno-trapping-math -fomit-frame-pointer -fopenmp -Wno-unused-result -DNODEPS -DLIGHTZONE -Dfgetc=3Dgetc_unlocked dcraw_lz= .c [exec] dcraw_lz.c: In function 'vng_interpolate': [exec] dcraw_lz.c:4543:10: warning: assignment to 'short unsigned int (*)[4]' from incompatible pointer type 'short unsigned int *' [-Wincompatible-pointer-types] [exec] 4543 | rowtmp =3D (ushort*)malloc(4 * width * 4 * sizeof(ush= ort)); [exec] | ^ [exec] dcraw_lz.c: In function 'wavelet_denoise': [exec] dcraw_lz.c:4170:32: error: 'noise' not specified in enclosing 'parallel' [exec] 4170 | thold =3D threshold * noise[lev]; [exec] | ~~~~~^~~~~ [exec] dcraw_lz.c:4149:13: error: enclosing 'parallel' [exec] 4149 | #pragma omp parallel for \ [exec] | ^~~ [exec] dcraw_lz.c: In function 'xtrans_interpolate': [exec] dcraw_lz.c:4846:19: error: 'orth' not specified in enclosing 'parallel' [exec] 4846 | if (fcol(row+orth[d],col+orth[d+2]) =3D=3D 1) ng=3D0; = else ng++; [exec] | ~~~~^~~ [exec] dcraw_lz.c:4757:31: note: in definition of macro 'fcol' [exec] 4757 | #define fcol(row,col) xtrans[(row+6) % 6][(col+6) % 6] [exec] | ^~~ [exec] dcraw_lz.c:4827:9: error: enclosing 'parallel' [exec] 4827 | #pragma omp parallel default (none) \ [exec] | ^~~ [exec] dcraw_lz.c:4849:25: error: 'patt' not specified in enclosing 'parallel' [exec] 4849 | v =3D orth[d ]*patt[g][c*2] + orth[d+1]*patt[g][c*2= +1]; [exec] | ~~~~~~~^~~~~ [exec] dcraw_lz.c:4827:9: error: enclosing 'parallel' [exec] 4827 | #pragma omp parallel default (none) \ [exec] | ^~~ [exec] dcraw_lz.c:5021:7: error: 'dir' not specified in enclosing 'parallel' [exec] 5021 | f=3Ddir[d & 3]; [exec] | ~~~^~~~~~~ [exec] dcraw_lz.c:4827:9: error: enclosing 'parallel' [exec] 4827 | #pragma omp parallel default (none) \ [exec] | ^~~ http://pb2.nyi.freebsd.org/data/120i386-default-PR238330/2019-06-09_20h27m2= 2s/logs/errors/lightzone-4.1.8.3_3.log http://package18.nyi.freebsd.org/data/120amd64-default-PR238330/2019-06-09_= 20h26m27s/logs/errors/lightzone-4.1.8.3_3.log Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238330 [Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9 --=20 You are receiving this mail because: You are on the CC list for the bug.=