From nobody Wed Sep 20 11:56:43 2023 X-Original-To: emulation@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 4RrH7b1pZ8z4tYs9 for ; Wed, 20 Sep 2023 11:56:43 +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 4RrH7b0qXlz3GRx for ; Wed, 20 Sep 2023 11:56:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695211003; a=rsa-sha256; cv=none; b=Cu2/7uY81qZJ21LXtaCS6PV2XimqAIsYtHwMs8MK/01k8iuT62sDCyKIu2dlvaDuQrZGvN l9IgAScCGdLJ8bfzca/Zjazn2Og5EAj80Rm/Dk30L3fyYZNay0IeiprTKGdx2Mgh00op66 AvZBuflwdyHhsLyf5leVKQ1n6GxqPwIzuukX1CYNdsBC5+fgbA5uXy23BWI5zQtpWdzqaP +tTZFxWghY7V+Elwri5by39JdIAdjnnLo7jj1BrF/rePUVMa3kEw5D52zq6oS6+4kAobgG bUVThsZCg90mnJWqSvjZcxcSHnmRITEG6c0Fv0p/PfW0Wocujo3Nye9u6hPoIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695211003; 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: in-reply-to:in-reply-to:references:references; bh=Gp9F4JVjVR1Xyqt7m/kC365wm8fE0a2GPgjSpA4jeNQ=; b=dSlDfIhQG0t8UU9DOqOAFp7QCGXRpbmqqhUmoGvEL1m4OGhrCsj9hN2XpRf/jR44mDPG/+ AqsC9pCJNg+iHup5jcYu+FiZPAalBI5y6z30RcciSilXw18mPcTJSISQcm6WQFqFMHw3KY tm6YXpScu90ZORefvZ7xC1Ya88VGbLCF5E9RAuEfUlSA2kNOnnXEr6AoA0nCs/6DCtZX+N PxhOqWgE8kARMCmS69EsxJ/BRGCqcOiovZ+z8axJRs61n3RjzQUzytipebOq04td3K7mhD BeErqRi/62BTQpQkQuCwpGoRlSnX9N7QH/FhRXodRjf5YxC9MXgY+Kalp+gu3g== 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 4RrH7Z6wl7ztvj for ; Wed, 20 Sep 2023 11:56:42 +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 38KBugXs071283 for ; Wed, 20 Sep 2023 11:56:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38KBugP0071282 for emulation@FreeBSD.org; Wed, 20 Sep 2023 11:56:42 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: emulation@FreeBSD.org Subject: [Bug 273845] emulators/qemu-user-static: ld: error: undefined symbol: elf_getphnum Date: Wed, 20 Sep 2023 11:56:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Many People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Development of Emulators of other operating systems List-Archive: https://lists.freebsd.org/archives/freebsd-emulation List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-emulation@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273845 --- Comment #3 from John Hein --- This seems to be a problem if ports devel/elfutils is installed. It is not= a dependency of qemu-user-static (nor any of ITS dependencies), so in a single port build of qemu-user-static in poudriere, it would not show up as a fail= ure. Simple patch that leaps to mind would be to use "/usr/lib/libelf.so" in the LIBS specification for FreeBSD in the 'configure' script (instead of "-lelf= "). devel/elfutils is two releases behind (0.187 April 2022 vs 0.189 in March 2023). I have not checked to see if that would help yet. --=20 You are receiving this mail because: You are the assignee for the bug.=