From nobody Mon Nov 18 16:27:55 2024 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 4XsY2N0TNSz5dJ1L for ; Mon, 18 Nov 2024 16:27:56 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsY2M6M3tz3xr6 for ; Mon, 18 Nov 2024 16:27:55 +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=1731947275; 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=25oRdcwRkCPi4rSAzWg+JIgwRdxFburqjoqhXj0cm0I=; b=tzaQD4OmO+lN/mi8h1l7UCqZeY5rBg1Du+tuVinn6jCXDJjqXPmTeOwHQZBsVPWlikcPdb EmAEbP4YN2TBLwZXqbTd56MYuZKqvz0aKu/zVhUJhhGF3/STZ/hRCZUqKkFoQGYLYSDnr3 LW3Z7g4dY7ZKDku5i2EcGFBJiaoAMZ0OijE8FA1PfLPLOfLjRwI+idRNSymhmaZxWV3Q+4 arSXBcUJd7KNP2qS1ThXjr5pmMjVRiuFkYFrr0DLkKtGIeP5Y1dsCpFcdaDNobtVBnCMHK wg9W2rYKRPvBRvTHSzwSB9MGlIoNRU4zC91FhS8hsmXeYlNu2siDxjBuBT1q9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731947275; a=rsa-sha256; cv=none; b=DpoIkDUyA7yJGvLvmhnq/+WNIgwtIGV5oHyt2HSYuekpkP2RpeDzb8pOIX/3B8/LmnXyvX LCK52SUx3J7YGgGrEuYMENntI7dzXzScO46VBmiNPOE0DAskCTa1TdjaaAmQd4RFxJlIko UEtVCUNei8H5QREck8rd+cI9QLpJb7kaX+XZcKtPgjGjPeZajE3AbE82X/QEN6KIaSl4Hu Flb/J8G2b5bxERe/ZsSXeqLavhoe91J3+pEsifeFziPUYKZ1JZn4LpMjceCAvr+t1qiGI4 F19Nj1mGAtm1qwbfd+FU/XSSp9/1tLCfLesNTc4dUlo//pDPFFuJUE67AotAZw== 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 4XsY2M5ywqznjV for ; Mon, 18 Nov 2024 16:27:55 +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 4AIGRtcM030506 for ; Mon, 18 Nov 2024 16:27:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AIGRtMq030504 for ports-bugs@FreeBSD.org; Mon, 18 Nov 2024 16:27:55 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 282850] cad/opencascade: bump PORTREVISION after devel/onetbb update Date: Mon, 18 Nov 2024 16:27:55 +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: jcfyecrayz@liamekaens.com 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 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282850 Bug ID: 282850 Summary: cad/opencascade: bump PORTREVISION after devel/onetbb update 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: jcfyecrayz@liamekaens.com CC: martymac@FreeBSD.org, thierry@FreeBSD.org CC: martymac@FreeBSD.org, thierry@FreeBSD.org cad/opencascade installs .cmake files that have entries like so: usr/local/lib/cmake/OpenCASCADE/OpenCASCADEDrawTargets.cmake:=20 INTERFACE_LINK_LIBRARIES "TKernel;TKG2d;TKGeomBase;TKG3d;TKMath;TKBRep;TKGeomAlgo;TKShHealing;TKMesh= ;TKService;TKHLR;TKTopAlgo;/usr/local/lib/libtcl86.so;/usr/local/lib/libtk8= 6.so;X11;/usr/local/lib/libtbb.so.12.13;/usr/local/lib/libtbbmalloc.so.2.13= ;pthread;rt;stdc++" cad/FreeCAD uses those files during its build. devel/onetbb recently updated from 2021.13.0 to 2022.0.0 (ports 2e1a63a2de24a87ec52e05335006143dcf6a5a1a). In that update, it changed some= .so lib file versions, like: lib/libtbb.so.12.13 -> lib/libtbb.so.12.14 But cad/opencascade was not bumped, so the .cmake files did not get updated= and still refer to libtbb*.so.12.13 Either: - we should bump PORTREVISION for opencascade - or change the .cmake files to not be so specific in the .so version if t= he API/ABI between minor version updates is expected to be compatible (e.g., r= efer to libtbb.so.12 instead of libtbb.so.12.13). That would require understand= ing onetbb's upstreadm API/ABI guarantees on minor (or major) shared lib version updates, which may or may not include plans for symbol versioning (at a gue= ss, I suspect it does not, but I have not yet looked). The PORTREVISION bump is easiest (although not having to rebuild opencascad= e is a useful goal since it is not a particularly lightweight build). This problem results in cad/FreeCAD builds failing if you have an opencasca= de installed that was built against the older devel/onetbb: gmake[2]: *** No rule to make target '/usr/local/lib/libtbb.so.12.13', need= ed by 'lib/libSMDS.so'. Stop. The devel/onetbb update occurred on Nov 8, 2024. The most recent update for cad/opencascade was committed Sep 17, 2024. Locally, I edited the cmake files manually to change the .13 -> .14. FreeC= AD build now completes, and run-time seems to be working fine in short testing. --=20 You are receiving this mail because: You are the assignee for the bug.=