From nobody Thu Jul 27 08:07:28 2023 X-Original-To: ports@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 4RBNfs196lz4plTy for ; Thu, 27 Jul 2023 08:07:49 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBNfs0dLhz3D2f; Thu, 27 Jul 2023 08:07:49 +0000 (UTC) (envelope-from yasu@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690445269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z5XPrOkhBzyaa047Bg27M2m+ix7L13lp3XJbhKmFzcY=; b=qU4GV+uwpng3Z4ZDRjq44Sov40BGsexonNMInK9wOt8QZkfZyMETDdLkCRuO0QSe+XgMqn eIpWQ/ugSc++aDbi2pPGIyK3pTcw3Mf28wVzCFzzmrp1aid8YdSgCcoZv88ULdmXpkihpa uaobmF6ZRa7Tfm+BPDi6ACR90xbvpEiqQqxavAcY0E4Cr2YOZbr1m0PHiAinWO65r1WJr0 6B0SVneCFw6UIFueLcTLbZeWyQ9RU95JgZEpQYLPhbFhB1jn0vH5Fm6ZUI1MMQm6ltxtci P2rlM1rVaroSTsroxcqbo5BNIfPsHoJmn4rln8yshS7D7lO+TkJBPYTzYSaWpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690445269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z5XPrOkhBzyaa047Bg27M2m+ix7L13lp3XJbhKmFzcY=; b=amckretS5xjt2kfybkSzesULFAMOyi5RBwFAhompuqpQyxxywv6qwOtHKqEmxrUa2UrgRy m2VkUUDDYqIh6CHtU9EcTkTOqpu/GbdagCsaaH3CLKEHxTLs91n/W4zgO4EfnoSqPSTObr zwoseHduC+MgQfULMc/JeH/9QyM0fHDoDPNligC71DoMiN9YKMJ5kQYUizZ5LqBVNKfbTi u0Ozs4Fd+e0wece3nLWwim5yLkyxuF2A0KakERUecXrmnEZd9OVRG0immWwKxc2vvjxDI5 5xJEXH9x81gwl1itquGALRQUPfTf8togp4LuLroa8akmSHAPPDGlJcWXAcdSxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690445269; a=rsa-sha256; cv=none; b=on7JtoQDFYoaStdN2p5HDVh+aX6sP5frCHScMC0jP6F/k+XwAOwzMVBbkO59r5HDB6bezt V++4v9e+XP2KgP3icbPsuyciPHCGXo+wJRXhgIabHnoucGJbaetoPtMonkLZx6v/oc7fgO aQSiXnSYNN2Y89CNTKFGblOabFw+gxGR/RTDYdwEjd9DV5TqIOmo/jiEtH5j8RQeBSsk0/ KqsgXCoyZZAwm+CZbKLAvzIY93PQ+I7MXiqOokm4+V53v7/SQTixvfmAlpEUOjK+ANQe2y 7dpprifKwzsHl5hAkR8RSJyYd0H9TV5C+dQ1Jq2BxkN74Zf9/gao41n7d0iRQQ== Received: from localhost (unknown [IPv6:240b:11:220:fe00::174:11]) (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) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RBNfq63TVzV5v; Thu, 27 Jul 2023 08:07:47 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Thu, 27 Jul 2023 17:07:28 +0900 (JST) Message-Id: <20230727.170728.1696216470137112287.yasu@FreeBSD.org> To: hiroo@oikumene.net Cc: kiri@truefc.org, yuri@aetern.org, ports@freebsd.org Subject: Re: devel/mongo-c-driver failed with undefined reference due to --no-allow-shlib-undefined: ERR_load_BIO_strings From: Yasuhiro Kimura In-Reply-To: <20230727.145511.1697988446343021363.yasu@FreeBSD.org> References: <20230727110225.6cc13af4@nowhere.oikumene.ukehi.net> <20230727.141523.508759182737262133.yasu@FreeBSD.org> <20230727.145511.1697988446343021363.yasu@FreeBSD.org> X-Mailer: Mew version 6.9 on Emacs 30.0.50 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Yasuhiro Kimura Subject: Re: devel/mongo-c-driver failed with undefined reference due to --no-allow-shlib-undefined: ERR_load_BIO_strings Date: Thu, 27 Jul 2023 14:55:11 +0900 (JST) >> I tried build with poudriere and following 2 jails. >> >> * 13.2-RELEASE-p1 amd64 >> * 14.0-CURRENT main-n264279-92fd2f39e5b amd64 >> >> And build with the former succeeds but build with the latter fails >> with same error as KIRIYAMA-san. > > I added 'DEFAULT_VERSIONS+=ssl=openssl30' and tried build with > poudriere and 13.2-RELEASE-p1 amd64 jail. Then build fails with same > error as 14-CURRENT. So it seems the error is related with OpenSSL > 3.0. If I remove following 3 lines from Makefile, then build succeeds with OpenSSL 3.0. ---------------------------------------------------------------------- .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} CFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" .endif ---------------------------------------------------------------------- Not sure if built binaries work fine. --- Yasuhiro Kimura