From nobody Wed Feb 23 06:45:19 2022 X-Original-To: apache@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 C87BD19D06F1 for ; Wed, 23 Feb 2022 06:45:19 +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 4K3RPC2th9z3r8K for ; Wed, 23 Feb 2022 06:45:19 +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 403EB13273 for ; Wed, 23 Feb 2022 06:45:19 +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 21N6jJhV045839 for ; Wed, 23 Feb 2022 06:45:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21N6jJgb045838 for apache@FreeBSD.org; Wed, 23 Feb 2022 06:45:19 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: apache@FreeBSD.org Subject: [Bug 262137] devel/apr1: Fix output of `apu-1-config --libs` when default version of berkeley db is 18 Date: Wed, 23 Feb 2022 06:45:19 +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: yasu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@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 blocked 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 List-Id: Support of apache-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-apache List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-apache@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645598719; 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=Cq2534ZQIRCqWy+KLv0WMAru9LjCKRGtZMXqMjensSA=; b=f8DvHlHTUiiGgBIr+OYj0ysZ5M1MojCp2ugSPJW5YJnt9pXzrfFeDif81jouvvdczxBoY/ cfNnfnLQWfKQCJa2mOxYR9D77aMWphdNeLcz+qThh5HjCZEJfgaroq0T4CCnteYIrncgnd 1fkDfzNLKUm+Dyn9nzmwRRPCQlVJtRu7lc4BPpO/aSXpywLbM6l2MQreM7VyX9xC0SybUB gIY5UcAcAgXxOaIbr/X1m7c8h7lyi49+vcmZ+bREePj9iTa0wvSpgEI3nZQziWJYVjsVQu 8sY1U/AhiBOKb1tkw+yQIK647A4anYv4B6I/PRYphgQoaOQQklbyyVhPyGk8aQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645598719; a=rsa-sha256; cv=none; b=TXj8nGjBCR2RXXZPKyhaZD3icHXYaBweeMZZBHb05pv0jxtDYq9iYu2ZR1+sy6c0sqbVcZ J5taAV3OPyryAtzDnsqGAji07uqN/UOmYZoE3fXn6DAnyVkB/pNby4jbtAEkdjPsx+h76L Vt5ijCtUPNi31ofY0jHNIpZjR4nKSiRxkVWels0wcHtz7wR5h6Lmmzv/9O5tfdN7DNlkT2 n7CmDqJ/ib6BVGPZT6+3/u/iCEKNPt3BE8kdnQi6hGHeILBJ7+Ovc3XCGTom+ID6nMD1wV jTg2IigMqlmDWM2zouobMkTSFzlGZXNXQJez4oNX8xp9N15+1deegx4bceJ8Lw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262137 Bug ID: 262137 Summary: devel/apr1: Fix output of `apu-1-config --libs` when default version of berkeley db is 18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: yasu@freebsd.org Blocks: 261523 Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org Created attachment 232027 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232027&action= =3Dedit Patch file When default version of berkeley db is 18, `apu-1-config --libs` returns following output. yasu@eastasia[2137]% apu-1-config --libs -ldb -lgdbm -lexpat yasu@eastasia[2146]% However, it is not libdb.so but libdb-18.1.so that is installed under ${PREFIX}/lib when you install database/db18. And it results in build failu= re of some ports that depend on devel/apr1 and use the output of `apu-1-config --libs` to get the options necessary for linking libraries properly. So fix= the output by adding patch that makes configure script detects library name correctly. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261523 [Bug 261523] Mk/bsd.default-versions.mk: Change default db5 (deprecated and EoL) to db18 --=20 You are receiving this mail because: You are the assignee for the bug.=