From nobody Thu Feb 15 16:35:20 2024 X-Original-To: gecko@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 4TbLJm6bLRz555vl for ; Thu, 15 Feb 2024 16:35:20 +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 4TbLJm4hTXz4WVf for ; Thu, 15 Feb 2024 16:35:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708014920; a=rsa-sha256; cv=none; b=o04z6eXhpBYp2ZzdOUjCQqCDgWZbcIxpp0bujCE5uTxFrBVuUzDydsyrAQel7TimWBMQNV KbiTboyiKPsQUNmxqrHmSr04Syv0e7PgEV+UQ6GmFqDQfub0lrRRhjsXuHhGv2Q1Cr8cS7 spze/BZ7SRAe8ODiKv0tV9Iq4BNj/Tl/t0A8Kc2OT11Z2vwry+oACo5/2S5I1L2Nmelrj8 jHCR9fXiUftbbXZdOG1Lu/j1IyMtG6dFFGDNbXTdQ/ypxZ5VIJmrnaEZL5WdbZ64K9HqJK I774RlB7shpN/Pjv1HU50DQWxB4Y9S4aDNNl3zP2Xm43zmtjyp9Q9cKhJY+Q7w== 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=1708014920; 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=fsRit5PYB2G81M48Ry1g18WQhddsNVxkhYl/AOCVe7g=; b=Fl+/6AvwvQ1ngg89QoqyhJ6Yelw60fTUHIUZ5qwVZEFlHUCnlss4E38KgCd/G6onU9jgcS y+goxqGsyuqjgSVVoX7VKUWkMrALxMltISmF596mKM3yJjxB6Q4f7HEZo4lLUwIbtHLhBe o13XCgcZdDRkkJey8WtNs/O+/7cfJSCa4GgT3YGc6IVUg1Y5kBrTFroQQaWkPeEJsyXeBf ZDmgwCKUZlcSetPfXSPOmBKzef4tshvwbGqMyAKiH3tnRRxbNNr13nu9O4v3fnAx5dbyHF Au6dwE5lfz9BVeYBER/JfIEsXSZ7O3wlKvA16mjoxRkIKUmaPhJQQYehIoxmiA== 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 4TbLJm3Rrrzpj3 for ; Thu, 15 Feb 2024 16:35:20 +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 41FGZKdn039109 for ; Thu, 15 Feb 2024 16:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41FGZK1i039108 for gecko@FreeBSD.org; Thu, 15 Feb 2024 16:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: maintainer-feedback requested: [Bug 277075] www/firefox: build failure on 14-STABLE Date: Thu, 15 Feb 2024 16:35:20 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Gecko Rendering Engine issues List-Archive: https://lists.freebsd.org/archives/freebsd-gecko List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gecko@freebsd.org MIME-Version: 1.0 Bugzilla Automation has asked freebsd-gecko (Nobody) for maintainer-feedback: Bug 277075: www/firefox: build failure on 14-STABLE https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277075 --- Description --- After the update to version 123 www/firefox startedhaving build failures. T= he relevant part of the build log is this: ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_av1_cx' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_av1_dx' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_build_config' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_control' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_dec_init_ver' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_decode' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_destroy' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_destroy' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_config_default' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_enc_init_ver' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_encode' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_err_to_string' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_error' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_error_detail' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_caps' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_cx_data' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_get_frame' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_peek_stream_info' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_set_option' failed: symbol not defined ld.lld: error: version script assignment of 'libgkcodecs.so' to symbol 'aom_codec_version' failed: symbol not defined ld.lld: error: too many errors emitted, stopping now (use --error-limit=3D0= to see all errors) /wrkdirs/usr/ports/www/firefox/work/.mozbuild/srcdirs/firefox-123.0-4655e11= 5eb5 3/_virtualenvs/build/bin/python -m mozbuild.action.check_binary libfakeopenh264.so clang: error: linker command failed with exit code 1 (use -v to see invocat= ion) Fortunately, the error messages reminded me of this recent bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276542 Therefore I tried adding LDFLAGS+=3D "-Wl,--undefined-version" to the port Makefile, which resulted in a successful build. As with the heimdal issue, I'm quite convinced while this does solve the immediate issue (and therefore probably should be in the ports tree for the time being), it just masks the underlying problem. As I'm not very familiar with the code base but lacking spare time instead, I'll probably not investigate this further on my own, but certainly can help with that, if needed.