From nobody Fri Jun 23 06:20:58 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QnRvG5kY7z4h56n for ; Fri, 23 Jun 2023 06:20:58 +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 4QnRvG35Bnz3tYQ for ; Fri, 23 Jun 2023 06:20:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687501258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fOmjMwByPLdeRbACCxraPRshgjpCdBn0tvlmaYMHrRc=; b=Y03Rk1XNIKcPobLWmuBKdaW+c2aPWbAj20PRV3pVfevxpI4jCaVIQehfZkKeB64V+Iw95A j86qISAqWVoK5Jvras+DAn7lt/B0PN/2nMEldAn9+6w2Gq4UQDuIRphJelx+24yRdH7DYm t4Sc6zwQF4cQ8/RyKuUNVBe7PgnzMx1LwY7bNprhJdRw+1b8hccdRyMDehqQMwlE6ZyTOq 5vtelyoPBco7kNoyjQSsV98FZl24/i3Z/PmaaMqWw/dSIW83A7L/xx7WzDrSffTQwqHt9W 0uMj883pi2GrQPsb46SENjjv8m3PlXippBwKrCGqQ+vmpqP/HpEZZ2NppLZlSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687501258; a=rsa-sha256; cv=none; b=wGF+d+sDKzecYxZIUzfDCIKTGeBEVgGCU2w7a0d6gUMONgO5DAuw8t83X1MTy63+1geyw+ fNIZ5c8hRsm149GyudBXpZpDmHryp28sNEGqdt4vgWqKkI0KS0yjYBOa6rPcVSldk98/Ez ojE1URMvTJ4GPmYg32KjHcuEysvCvYBslWYP0R8N2OECrA8YE/jTc7g05MD0R4/JB3bcaN w0V7SjIr4iDAikdOXoWuPI40PAg40gfTlOdukNnBkMNcoKaS640T33WOXgGEGFawGAHnsy cd19kKXTMOon6D8eFZfPhAZVzvJ2ArLVrmNsWUMvf9ZHTigNzW78nDdMW6wipg== 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 4QnRvG29SXztd8 for ; Fri, 23 Jun 2023 06:20:58 +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 35N6KwJk013516 for ; Fri, 23 Jun 2023 06:20:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35N6KwOv013515 for ports-bugs@FreeBSD.org; Fri, 23 Jun 2023 06:20:58 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 272155] graphics/R-cran-jpeg: Fails to build when math/R is build without JPEG support Date: Fri, 23 Jun 2023 06:20:58 +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 Some People X-Bugzilla-Who: florian@wagner-flo.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272155 Bug ID: 272155 Summary: graphics/R-cran-jpeg: Fails to build when math/R is build without JPEG support Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: florian@wagner-flo.de CC: jrm@freebsd.org, ygy@freebsd.org CC: jrm@freebsd.org, ygy@freebsd.org Created attachment 242942 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242942&action= =3Dedit Fix I've already written to the port maintainer directly but haven't heard back= in two month. I'm maintaining my own built of FreeBSD ports and for that I tend to disabl= e a bunch of options here and there to get a learner dependency tree. One of th= ese is unsetting JPEG when building math/R. Doing that makes building graphics/R-cran-jpeg fail: gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/R-cran-jpeg/work/jpeg/src' cc -I"/usr/local/lib/R/include" -DNDEBUG -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -fpic -O2 -pipe=20 -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c read.c -o read.o In file included from read.c:1: ./rjcommon.h:11:10: fatal error: 'jpeglib.h' file not found #include The reason for this is, that math/R without JPEG will not depend on jpeg-tu= rbo and this it will not be implicitly installed when building CRAN ports. So there'll be no jpeglib.h to be found. On default (meaning JPEG option set f= or math/R) it'll be there "coincidentally" so everything works. The fix for this is the explicitly USES=3Djpeg in graphics/R-cran-jpeg. Pat= ch is attached. --=20 You are receiving this mail because: You are the assignee for the bug.=