Re: pkg/60273 (thunderbird: Build fails, multiple errors)
smurfd <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 8/16/26 2:26 AM, [email protected] wrote: > Synopsis: thunderbird: Build fails, multiple errors > > State-Changed-From-To: open->closed > State-Changed-By: [email protected] > State-Changed-When: Sun, 16 Aug 2026 00:26:07 +0000 > State-Changed-Why: > This particular issue is not known to be reproducible (and judging by > submitter response in PR pkg/60266, isn't really pursuable). There are > two other known issues with recent Thunderbird builds: one is filed as > PR pkg/60410, the other (a much later failure at the post-install > phase) appears in bulk build reports for NetBSD 11. > > Hey With the below patch i was able to build thunderbird 153.0 on AMD64, from this commit https://github.com/NetBSD/pkgsrc/commit/fa7ad771c96929bf742033e6ccfd8bb45b9cab49 I tried to add the new hash for SHA1 (patch-comm_third__party_openpgp.configure) but for some reason that did not work, so just removed it from distinfo. It complained it had the wrong checksum, but i tried to add the output of : shasum patches/patch-comm_third__party_openpgp.configure diff --git a/mail/thunderbird/PLIST b/mail/thunderbird/PLIST index f8e53aaa72e7..da60f067c71c 100644 --- a/mail/thunderbird/PLIST +++ b/mail/thunderbird/PLIST @@ -32,7 +32,6 @@ lib/thunderbird/libmozavcodec.so lib/thunderbird/libmozavutil.so lib/thunderbird/libmozgtk.so lib/thunderbird/libmozsqlite3.so -${PLIST.wayland}lib/thunderbird/libmozwayland.so lib/thunderbird/librnp.so lib/thunderbird/libxul.so lib/thunderbird/omni.ja @@ -43,7 +42,6 @@ lib/thunderbird/rnp-cli lib/thunderbird/rnpkeys lib/thunderbird/thunderbird lib/thunderbird/thunderbird-bin -lib/thunderbird/vaapitest share/applications/thunderbird.desktop share/pixmaps/thunderbird.png @pkgdir lib/thunderbird/extensions diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index 0965de475bbf..27b2538aa02e 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -10,7 +10,6 @@ SHA1 (patch-build_moz.configure_rust.configure) = 25ddfacd29cebbc6db005dbe61a2a7 SHA1 (patch-comm_mailnews_compose_src_nsMsgCompUtils.cpp) = c3e38828803536879baf2934aa1bfa50cfba0112 SHA1 (patch-comm_mailnews_search_src_nsMsgSearchNews.cpp) = 84624c6752de1f56848a202b3a2179a2d8098e4e SHA1 (patch-comm_third__party_libgcrypt_configure) = c5ca8a8b44c485f81139b54d341ac044189d98d3 -SHA1 (patch-comm_third__party_openpgp.configure) = 674e8a741d82f576549aa0bb44465d3a2577a212 SHA1 (patch-config_gcc-stl-wrapper.template.h) = af24d07b6852caa6f1f2c8f5da3cd31e9446b6cf SHA1 (patch-config_makefiles_rust.mk) = 25eb2d4c99ace2b215917490f28ceb90ab90145f SHA1 (patch-dom_base_nsAttrName.h) = ac7ba441a3b27df2855cf2673eea36b1cb44ad49 diff --git a/mail/thunderbird/mozilla-common.mk b/mail/thunderbird/mozilla-common.mk index 96e0c1de4936..9abaca042d5a 100644 --- a/mail/thunderbird/mozilla-common.mk +++ b/mail/thunderbird/mozilla-common.mk @@ -276,7 +276,7 @@ BUILDLINK_API_DEPENDS.pixman+= pixman>=0.40 .include "../../x11/gtk3/buildlink3.mk" PLIST_VARS+= wayland .if ${PKG_BUILD_OPTIONS.gtk3:Mwayland} -CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3-x11-wayland +CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 PLIST.wayland= yes .else CONFIGURE_ARGS+= --enable-default-toolkit=cairo-gtk3 diff --git a/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure b/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure index c86b8938a1c3..3282284631e7 100644 --- a/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure +++ b/mail/thunderbird/patches/patch-comm_third__party_openpgp.configure @@ -10,7 +10,7 @@ $NetBSD: patch-comm_third__party_openpgp.configure,v 1.2 2026/01/22 19:41:09 ryo log.info("Botan: failed to inject libstdc++ include dirs: {}".format(e)) botan_flags = [ -+ "--cc={}".format(os.getenv("CC")), ++ "--cc={}".format(if os.getenv("CC") else import shutil; shutil.which("cc")), "--cc-bin={}".format(cxx_compiler.compiler), - "--cc-abi-flags={}".format(" ".join(abi_flags)), "--cpu={}".format(target.cpu), Br Nicklas