From nobody Tue Sep 06 16:19:23 2022 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 4MMVvb6CHZz4c7dD for ; Tue, 6 Sep 2022 16:19:23 +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 4MMVvb04Npz3Hk3 for ; Tue, 6 Sep 2022 16:19:23 +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 4MMVvZ5z6kzDcD for ; Tue, 6 Sep 2022 16:19:22 +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 286GJMlq086552 for ; Tue, 6 Sep 2022 16:19:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 286GJMWF086551 for ports-bugs@FreeBSD.org; Tue, 6 Sep 2022 16:19:22 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 266252] science/libkml breakage (references to #266221) Date: Tue, 06 Sep 2022 16:19:23 +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: robert.kruus@gov.sk.ca 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662481163; 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=//MzX8Pqn/lV2VFEW26s7vEl5Jy6Hy9xrpz12VbUnzI=; b=nWbeh2tNeUdq+j/x4eX2Rp6r6Fm3jjIWDH+VSjjByv+9az9/LTmSAA0Q7RMz2bFTBSfwAZ 2bzYBhKDUZ8zFq8kKFkl5MxBlA8n5iRpwI/tsQEeeWuXOb4FO+1HwpbDzXveGMj39l0zhl 7IUgv1SwJ1WMc7nlzzIC/ypAD1ceKgJUMO1au8rkeEVvN138yRqi3XcmoY+ACwx0j3L7sQ /0S8/0vCoogw9RBec3KIyMbEix4Lb5/kaXiWYGBs1cTKtg22gTIwi96sRNKdX7fntS2d6f AG1p4ccHCp+AtYU0yq1AE/fPBN2bMnc4oaN0rLPGuGu51a/6v7WDrv4P/jG26A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662481163; a=rsa-sha256; cv=none; b=CajB6G0jPqHR7mGNpBQp31dxuOZT/q9gQHNetBv6BjU8UKecXFRq1LUQXjCi31EhAWZjrn AXMANSgACH0kAoXnT4tJNh+/caYxHcUOM4U93yduasL0KdTRowtJkg+6c3DxuxrCg2KxdH ctfk1K1bo7hXsSOV6J/kiCZeI5bMzw8rPdaIBlXAvfmIal2grnLxvEm2T3tsnlLo2IqDdj 78ro5NC8kSiV55A0xLCv16VkR458s06gBxBwH6aPuAujtbDrraT6GLBQJMhcUXGLqQ+elC 36lGi/CR5xFca3dsPtEYIcQQOG+Htac37zJ8XuBv80FZENDG0fGO2mWf6JLXRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266252 Bug ID: 266252 Summary: science/libkml breakage (references to #266221) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: robert.kruus@gov.sk.ca Added info for bug #266221 The errors stem from improper linking -- the build does not link to the lib= kml libraries as it builds. for example libkmlregionator.so.1 should link to libraries in PREFIX and ... libkmlconvenience.so.1 libkmlengine.so.1 libkmldom.so.1 libkmlbase.so.1 .... but the latest reverted build did not do that, it was only linking to libra= ries in PREFIX and none of the required libkml libraries in the build directory. Using the same lib as an example, the broken build ran: /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=3Dgnu++98 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=3Dgnu++98 -lz -fstack-protector-strong -shared -Wl,-soname,libkmlregionator.so.1 -o lib/libkmlregionator.so.1.3.1 I was able to manually relinking the libs fixed the issue before install, f= or the libkmlregionator.so.1 example adding in the build directory and libs to= the rpath: /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=3Dgnu++98 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=3Dgnu++98 -lz -fstack-protector-strong -shared -Wl,-soname,libkmlregionator.so.1 -o lib/libkmlregionator.so.1.3.1 src/kml/regionator/CMakeFiles/kmlregionator.dir/feature_list_region_handler= .cc.o src/kml/regionator/CMakeFiles/kmlregionator.dir/regionator.cc.o src/kml/regionator/CMakeFiles/kmlregionator.dir/regionator_util.cc.o -Wl,-rpath,/usr/obj/usr/ports/science/libkml/work/.build/lib /usr/obj/usr/ports/science/libkml/work/.build/lib/libkmlbase.so.1 /usr/obj/usr/ports/science/libkml/work/.build/lib/libkmldom.so.1 /usr/obj/usr/ports/science/libkml/work/.build/lib/libkmlengine.so.1 /usr/obj/usr/ports/science/libkml/work/.build/lib/libkmlconvenience.so.1 resolved the issue. Similar fixes were needed to be applied to relink all libkml libriaries, ex= cept libkmlbase. --=20 You are receiving this mail because: You are the assignee for the bug.=