xen0n / loongson-overlay

Support overlay for Gentoo/Loongson users
21 stars 11 forks source link

mail-client/thunderbird-115.10.1::loongson: ERROR: --with-system-libvpx requested but symbol vpx_codec_dec_init_ver not found #39

Open HougeLangley opened 3 months ago

HougeLangley commented 3 months ago

Package named media-libs/libvpx has been installed.

houge@LoongArch-Gentoo ~ $ doas emerge -avl thunderbird

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.55 s (backtrack: 0/20).

[ebuild  N     ] mail-client/thunderbird-115.10.1::loongson  USE="X clang dbus lto openh264 pulseaudio system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland -debug (-eme-free) -hardened -hwaccel -jack -libproxy (-pgo) (-selinux) -sndio (-system-icu) -system-png (-system-python-libs) -wifi" L10N="zh-CN -af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-TW" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Running pre-merge checks for mail-client/thunderbird-115.10.1
 * Checking for at least 13500 MiB disk space at "/var/tmp/portage/mail-client/thunderbird-115.10.1/temp" ...                                                                                                  [ ok ]
>>> Emerging (1 of 1) mail-client/thunderbird-115.10.1::loongson
>>> Failed to emerge mail-client/thunderbird-115.10.1, Log file:
>>>  '/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 3.34, 3.68, 2.71
 * Package:    mail-client/thunderbird-115.10.1:0
 * Repository: loongson
 * Maintainer: mozilla@gentoo.org
 * USE:        X clang dbus elibc_glibc kernel_linux l10n_zh-CN loong lto openh264 pulseaudio system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-webp wayland
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Checking for at least 13500 MiB disk space at "/var/tmp/portage/mail-client/thunderbird-115.10.1/temp" ...                                                                                                  [ ok ]
 * Using LLVM slot 17 to build
 * Checking whether python3_11 is suitable ...
 *   dev-lang/python:3.11[ncurses,sqlite,ssl] ...                                                   [ ok ]
 * Using python3.11 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking thunderbird-115.10.1.source.tar.xz to /var/tmp/portage/mail-client/thunderbird-115.10.1/work
>>> Unpacking firefox-115esr-patches-09.tar.xz to /var/tmp/portage/mail-client/thunderbird-115.10.1/work
>>> Source unpacked in /var/tmp/portage/mail-client/thunderbird-115.10.1/work
>>> Preparing source in /var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1 ...
removed '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/firefox-patches/0014-LTO-Only-enable-LTO-for-Rust-when-complete-build-use.patch'
removed '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/firefox-patches/0023-bgo-908297-ppc64-webrtc.patch'
removed '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/firefox-patches/0029-bmo-1862601-system-icu-74.patch'
removed '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/firefox-patches/0030-bgo-748849-RUST_TARGET_override.patch'
 * Applying patches from /var/tmp/portage/mail-client/thunderbird-115.10.1/work/firefox-patches ...
 *   0001-Don-t-use-build-id.patch ...                                                              [ ok ]
 *   0002-Fortify-sources-properly.patch ...                                                        [ ok ]
 *   0003-bmo-847568-Support-system-harfbuzz.patch ...                                              [ ok ]
 *   0004-bmo-847568-Support-system-graphite2.patch ...                                             [ ok ]
 *   0005-bmo-1559213-Support-system-av1.patch ...                                                  [ ok ]
 *   0006-musl-Add-alternate-name-for-private-siginfo-struct-m.patch ...                            [ ok ]
 *   0007-musl-Fix-syscall-wrappers.patch ...                                                       [ ok ]
 *   0008-musl-Only-use-system-heap-reporter-with-glibc.patch ...                                   [ ok ]
 *   0009-musl-Set-pthread-name-for-non-glibc-systems.patch ...                                     [ ok ]
 *   0010-musl-sys-auvx.h-avaliable-on-more-then-just-glibc-sy.patch ...
patching file third_party/libwebrtc/system_wrappers/source/cpu_features_linux.cc
Hunk #3 succeeded at 58 with fuzz 2.                                                                [ ok ]
 *   0011-musl-make-SYS_fork-non-fatal-musl-uses-it-for-fork-2.patch ...                            [ ok ]
 *   0012-Make-PGO-use-toolchain.patch ...
patching file build/unix/mozconfig.unix
Hunk #1 succeeded at 4 with fuzz 1.                                                                 [ ok ]
 *   0013-build-Disable-Werror.patch ...                                                            [ ok ]
 *   0015-Enable-FLAC-on-platforms-without-ffvpx-via-ffmpeg.patch ...                               [ ok ]
 *   0016-bgo-816975-fix-build-on-x86.patch ...
patching file modules/fdlibm/src/math_private.h
Hunk #1 succeeded at 30 with fuzz 2.                                                                [ ok ]
 *   0017-bmo-1559213-fix-system-av1-libs.patch ...
patching file media/ffvpx/libavcodec/moz.build
Hunk #1 succeeded at 109 with fuzz 2 (offset 1 line).                                               [ ok ]
 *   0018-bmo-1196777-Set-GDK_FOCUS_CHANGE_MASK.patch ...                                           [ ok ]
 *   0019-bmo-1754469-memory_mozalloc_throw.patch ...                                               [ ok ]
 *   0020-bgo-860033-firefox-wayland-no-dbus.patch ...                                              [ ok ]
 *   0021-qm-qm-fix-sqlite3-on-ppc-with-clang.patch ...
patching file third_party/sqlite3/src/sqlite3.c
Hunk #1 succeeded at 14480 (offset 163 lines).
Hunk #2 succeeded at 35416 with fuzz 1 (offset 14703 lines).
Hunk #3 succeeded at 201986 (offset 5601 lines).                                                    [ ok ]
 *   0022-fix-building-gcc-pgo-and-disable-watchdog-on-pgo-builds.patch ...
patching file build/moz.configure/lto-pgo.configure
Hunk #1 succeeded at 84 with fuzz 1 (offset -7 lines).
Hunk #2 succeeded at 98 with fuzz 2 (offset -7 lines).
patching file build/pgo/profileserver.py
patching file toolkit/components/terminator/nsTerminator.cpp                                        [ ok ]
 *   0024-bmo-1516803-gcc-lto-sandbox.patch ...                                                     [ ok ]
 *   0025-enable-vaapi-on-all-amd-cards.patch ...                                                   [ ok ]
 *   0026-bgo-907963-rustflags-single-string.patch ...                                              [ ok ]
 *   0027-bgo-910309-dont-link-widevineplugin-to-libgcc_s.patch ...
(Stripping trailing CRs from patch; use --binary to disable.)
patching file security/sandbox/linux/Sandbox.cpp
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 687 with fuzz 1.                                                               [ ok ]
 *   0028-bmo-1853580-musl-non-lfs64-api-on-audio_thread_priority-crate.patch ...                   [ ok ]
 * Applying patches from /var/tmp/portage/mail-client/thunderbird-115.10.1/files/firefox-115.6-loong ...
 *   0001-Add-support-for-LoongArch.patch ...                                                       [ ok ]
 *   0002-Bug-1837935-loong64-Fix-scratch-register-usage-when-.patch ...                            [ ok ]
 *   0003-Fix-libyuv-build-with-LSX-LASX.patch ...                                                  [ ok ]
 * Removing pre-built binaries ...
/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/third_party/libwebrtc/build/android/tests/symbolize/libb.so
/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/third_party/libwebrtc/build/android/tests/symbolize/liba.so
 * Clearing cargo checksums for audio_thread_priority ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1 ...
 * Current BINDGEN_CFLAGS:      no value set
 * Current CFLAGS:              -march=la464 -pipe -O3
 * Current CXXFLAGS:            -march=la464 -pipe -O3
 * Current LDFLAGS:             -Wl,-O1 -Wl,--as-needed
 * Current RUSTFLAGS:           no value set
 * Enforcing the use of clang due to USE=clang ...
true
 * Build BINDGEN_CFLAGS:        no value set
 * Build CFLAGS:                -march=la464 -pipe
 * Build CXXFLAGS:              -march=la464 -pipe
 * Build LDFLAGS:               -Wl,-O1 -Wl,--as-needed -Wl,--compress-debug-sections=zlib -Wl,-rpath=/usr/lib64/thunderbird,--enable-new-dtags
 * Build RUSTFLAGS:             no value set

==========================================================
Building thunderbird-115.10.1 with the following configuration
    --enable-application=comm/mail  mozilla.org default
    --enable-project=comm/mail      mozilla.org default
    --allow-addon-sideload          Gentoo default
    --disable-cargo-incremental     Gentoo default
    --disable-crashreporter         Gentoo default
    --disable-gpsd                  Gentoo default
    --disable-install-strip         Gentoo default
    --disable-parental-controls     Gentoo default
    --disable-strip                 Gentoo default
    --disable-tests                 Gentoo default
    --disable-updater               Gentoo default
    --disable-wmf                   Gentoo default
    --enable-js-shell               Gentoo default
    --enable-legacy-profile-creation  Gentoo default
    --enable-negotiateauth          Gentoo default
    --enable-new-pass-manager       Gentoo default
    --enable-official-branding      Gentoo default
    --enable-release                Gentoo default
    --enable-system-ffi             Gentoo default
    --enable-system-pixman          Gentoo default
    --enable-system-policies        Gentoo default
    --host=loongarch64-unknown-linux-gnu  Gentoo default
    --libdir=/usr/lib64             Gentoo default
    --prefix=/usr                   Gentoo default
    --target=loongarch64-unknown-linux-gnu  Gentoo default
    --without-ccache                Gentoo default
    --without-wasm-sandboxed-libraries  Gentoo default
    --with-intl-api                 Gentoo default
    --with-libclang-path=/usr/lib/llvm/17/lib64  Gentoo default
    --with-system-nspr              Gentoo default
    --with-system-nss               Gentoo default
    --with-system-zlib              Gentoo default
    --with-toolchain-prefix=loongarch64-unknown-linux-gnu-  Gentoo default
    --with-unsigned-addon-scopes=app,system  Gentoo default
    --x-includes=/usr/include       Gentoo default
    --x-libraries=/usr/lib64        Gentoo default
    --update-channel=release        mozilla.org default
    --enable-rust-simd              mozilla.org default
    --disable-sandbox               mozilla.org default
    --with-google-safebrowsing-api-keyfile=/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/api-google.key  Gentoo default
    --with-google-location-service-api-keyfile=/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/api-location.key  Gentoo default
    --with-mozilla-api-keyfile=/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/api-mozilla.key  Gentoo default
    --with-system-av1               +system-av1
    --with-system-harfbuzz          +system-harfbuzz
    --with-system-graphite2         +system-harfbuzz
    --without-system-icu            -system-icu
    --with-system-jpeg              +system-jpeg
    --with-system-libevent          +system-libevent
    --with-system-libvpx            +system-libvpx
    --without-system-png            -system-png
    --with-system-webp              +system-webp
    --enable-compile-environment    +system-librnp
    --with-system-librnp            +system-librnp
    --enable-dbus                   +dbus
    --disable-libproxy              -libproxy
    --enable-audio-backends=pulseaudio  --enable-audio-backends
    --disable-necko-wifi            -wifi
    --enable-default-toolkit=cairo-gtk3-x11-wayland  +x11+wayland
    --enable-linker=lld             forcing ld=lld due to USE=clang and USE=lto
    --enable-lto=cross              +lto
    --disable-debug                 -debug
    --disable-real-time-tracing     Gentoo defaults
    --disable-debug-symbols         Gentoo default
    --enable-optimize=-O3           from CFLAGS
    XARGS=/usr/bin/xargs            Gentoo default
==========================================================

Site not up-to-date reason: "/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird_build/_virtualenvs/build" does not exist
 0:01.18 Using Python 3.11.9 from /var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird_build/_virtualenvs/build/bin/python
 0:01.18 Adding configure options from /var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/.mozconfig
 0:01.18   --enable-application=comm/mail
 0:01.18   --enable-project=comm/mail
 0:01.18   --allow-addon-sideload
 0:01.18   --disable-cargo-incremental
 0:01.18   --disable-crashreporter
 0:01.18   --disable-gpsd
 0:01.18   --disable-install-strip
 0:01.18   --disable-parental-controls
 0:01.18   --disable-strip
 0:01.18   --disable-tests
 0:01.18   --disable-updater
 0:01.18   --disable-wmf
 0:01.18   --enable-js-shell
 0:01.18   --enable-legacy-profile-creation
 0:01.18   --enable-negotiateauth
 0:01.18   --enable-new-pass-manager
 0:01.18   --enable-official-branding
 0:01.18   --enable-release
 0:01.18   --enable-system-ffi
 0:01.18   --enable-system-pixman
 0:01.18   --enable-system-policies
 0:01.18   --host=loongarch64-unknown-linux-gnu
 0:01.18   --libdir=/usr/lib64
 0:01.18   --prefix=/usr
 0:01.18   --target=loongarch64-unknown-linux-gnu
 0:01.18   --without-ccache
 0:01.18   --without-wasm-sandboxed-libraries
 0:01.18   --with-intl-api
 0:01.18   --with-libclang-path=/usr/lib/llvm/17/lib64
 0:01.18   --with-system-nspr
 0:01.18   --with-system-nss
 0:01.18   --with-system-zlib
 0:01.18   --with-toolchain-prefix=loongarch64-unknown-linux-gnu-
 0:01.18   --with-unsigned-addon-scopes=app,system
 0:01.18   --x-includes=/usr/include
 0:01.18   --x-libraries=/usr/lib64
 0:01.18   --update-channel=release
 0:01.18   --enable-rust-simd
 0:01.18   --disable-sandbox
 0:01.18   --with-google-safebrowsing-api-keyfile=/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/api-google.key
 0:01.18   --with-google-location-service-api-keyfile=/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/api-location.key
 0:01.18   --with-mozilla-api-keyfile=/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1/api-mozilla.key
 0:01.18   --with-system-av1
 0:01.18   --with-system-harfbuzz
 0:01.18   --with-system-graphite2
 0:01.18   --without-system-icu
 0:01.18   --with-system-jpeg
 0:01.18   --with-system-libevent
 0:01.18   --with-system-libvpx
 0:01.18   --without-system-png
 0:01.18   --with-system-webp
 0:01.18   --enable-compile-environment
 0:01.18   --with-system-librnp
 0:01.18   --enable-dbus
 0:01.18   --disable-libproxy
 0:01.18   --enable-audio-backends=pulseaudio
 0:01.18   --disable-necko-wifi
 0:01.18   --enable-default-toolkit=cairo-gtk3-x11-wayland
 0:01.18   --enable-linker=lld
 0:01.18   --enable-lto=cross
 0:01.18   --disable-debug
 0:01.18   --disable-real-time-tracing
 0:01.18   --disable-debug-symbols
 0:01.18   --enable-optimize=-O3
 0:01.18   XARGS=/usr/bin/xargs
 0:01.18 checking for vcs source checkout... no
 0:01.25 checking for a shell... /usr/bin/sh
 0:01.26 checking for host system type... loongarch64-unknown-linux-gnu
 0:01.27 checking for target system type... loongarch64-unknown-linux-gnu
 0:01.56 Determining COMM source information from sourcestamp.txt...
 0:01.56 Determining GECKO source information from sourcestamp.txt...
 0:01.58 System librnp will be used at runtime.
 0:01.93 checking whether cross compiling... no
 0:02.25 checking for pkg_config... /usr/bin/loongarch64-unknown-linux-gnu-pkg-config
 0:02.25 checking for aom >= 1.0.0... yes
 0:02.26 checking whether pkg-config is pkgconf... yes
 0:02.26 checking for pkg-config version... 2.2.0
 0:02.26 checking MOZ_SYSTEM_LIBAOM_CFLAGS...
 0:02.26 checking MOZ_SYSTEM_LIBAOM_LIBS... -laom
 0:02.27 checking for dav1d >= 0.1.1... yes
 0:02.27 checking MOZ_SYSTEM_LIBDAV1D_CFLAGS...
 0:02.27 checking MOZ_SYSTEM_LIBDAV1D_LIBS... -ldav1d
 0:02.27 checking for Python 3... /var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird_build/_virtualenvs/build/bin/python (3.11.9)
 0:02.34 checking for wget... /usr/bin/wget
 0:02.34 checking for ccache... not found
 0:02.34 checking for the target C compiler... /usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang-17
 0:02.40 checking whether the target C compiler can be used... yes
 0:02.40 checking the target C compiler version... 17.0.6
 0:02.42 checking the target C compiler works... yes
 0:02.42 WARNING: The value of LD is not used by this build system.
 0:02.42 checking for the target C++ compiler... /usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang++-17
 0:02.45 checking whether the target C++ compiler can be used... yes
 0:02.45 checking the target C++ compiler version... 17.0.6
 0:02.47 checking the target C++ compiler works... yes
 0:02.48 checking for the host C compiler... /usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang-17
 0:02.48 checking whether the host C compiler can be used... yes
 0:02.48 checking the host C compiler version... 17.0.6
 0:02.48 checking the host C compiler works... yes
 0:02.48 checking for the host C++ compiler... /usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang++-17
 0:02.48 checking whether the host C++ compiler can be used... yes
 0:02.48 checking the host C++ compiler version... 17.0.6
 0:02.48 checking the host C++ compiler works... yes
 0:02.50 checking for target linker... lld
 0:02.54 checking for host linker... lld
 0:02.57 checking for 64-bit OS... yes
 0:02.59 checking for new enough STL headers from libstdc++... yes
 0:02.71 checking for the assembler... /usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang-17
 0:02.73 checking for ar... /usr/lib/llvm/17/bin/llvm-ar
 0:02.75 checking for host_ar... /usr/lib/llvm/17/bin/llvm-ar
 0:02.76 checking for nm... /usr/lib/llvm/17/bin/llvm-nm
 0:02.81 checking for strndup... no
 0:02.86 checking for posix_memalign... no
 0:02.90 checking for memalign... no
 0:02.95 checking for malloc_usable_size... no
 0:02.97 checking for stdint.h... yes
 0:03.00 checking for inttypes.h... yes
 0:03.02 checking for malloc.h... yes
 0:03.04 checking for alloca.h... yes
 0:03.06 checking for sys/byteorder.h... no
 0:03.08 checking for getopt.h... yes
 0:03.10 checking for unistd.h... yes
 0:03.12 checking for nl_types.h... yes
 0:03.14 checking for cpuid.h... no
 0:03.17 checking for fts.h... yes
 0:03.19 checking for sys/statvfs.h... yes
 0:03.21 checking for sys/statfs.h... yes
 0:03.23 checking for sys/vfs.h... yes
 0:03.26 checking for sys/mount.h... yes
 0:03.28 checking for sys/quota.h... yes
 0:03.31 checking for linux/quota.h... yes
 0:03.34 checking for linux/if_addr.h... yes
 0:03.37 checking for linux/rtnetlink.h... yes
 0:03.39 checking for sys/queue.h... yes
 0:03.42 checking for sys/types.h... yes
 0:03.45 checking for netinet/in.h... yes
 0:03.47 checking for byteswap.h... yes
 0:03.49 checking for memfd_create in sys/mman.h... yes
 0:03.52 checking for linux/perf_event.h... yes
 0:03.54 checking for perf_event_open system call... yes
 0:03.55 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
 0:03.57 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
 0:03.59 checking whether the C++ compiler supports -Wdeprecated-this-capture... yes
 0:03.61 checking whether the C compiler supports -Wformat-type-confusion... yes
 0:03.63 checking whether the C++ compiler supports -Wformat-type-confusion... yes
 0:03.65 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
 0:03.66 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
 0:03.68 checking whether the C compiler supports -Wtautological-constant-in-range-compare... yes
 0:03.70 checking whether the C++ compiler supports -Wtautological-constant-in-range-compare... yes
 0:03.72 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:03.74 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:03.76 checking whether the C compiler supports -Wunreachable-code-return... yes
 0:03.77 checking whether the C++ compiler supports -Wunreachable-code-return... yes
 0:03.79 checking whether the C compiler supports -Wunused-but-set-parameter... yes
 0:03.81 checking whether the C++ compiler supports -Wunused-but-set-parameter... yes
 0:03.83 checking whether the C compiler supports -Wclass-varargs... yes
 0:03.85 checking whether the C++ compiler supports -Wclass-varargs... yes
 0:03.87 checking whether the C++ compiler supports -Wempty-init-stmt... yes
 0:03.88 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
 0:03.90 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
 0:03.92 checking whether the C compiler supports -Wfloat-zero-conversion... yes
 0:03.94 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
 0:03.96 checking whether the C compiler supports -Wloop-analysis... yes
 0:03.97 checking whether the C++ compiler supports -Wloop-analysis... yes
 0:03.99 checking whether the C compiler supports -Wno-range-loop-analysis... yes
 0:04.01 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
 0:04.03 checking whether the C++ compiler supports -Wc++2a-compat... yes
 0:04.04 checking whether the C++ compiler supports -Wcomma-subscript... no
 0:04.06 checking whether the C compiler supports -Wenum-compare-conditional... yes
 0:04.08 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
 0:04.10 checking whether the C compiler supports -Wenum-float-conversion... yes
 0:04.12 checking whether the C++ compiler supports -Wenum-float-conversion... yes
 0:04.13 checking whether the C++ compiler supports -Wvolatile... no
 0:04.15 checking whether the C++ compiler supports -Wno-error=deprecated... yes
 0:04.17 checking whether the C++ compiler supports -Wno-error=deprecated-anon-enum-enum-conversion... yes
 0:04.19 checking whether the C++ compiler supports -Wno-error=deprecated-enum-enum-conversion... yes
 0:04.21 checking whether the C++ compiler supports -Wno-error=deprecated-pragma... yes
 0:04.22 checking whether the C++ compiler supports -Wno-error=deprecated-this-capture... yes
 0:04.24 checking whether the C++ compiler supports -Wcomma... yes
 0:04.26 checking whether the C compiler supports -Wduplicated-cond... no
 0:04.27 checking whether the C++ compiler supports -Wduplicated-cond... no
 0:04.29 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
 0:04.31 checking whether the C compiler supports -Wlogical-op... no
 0:04.32 checking whether the C++ compiler supports -Wlogical-op... no
 0:04.35 checking whether the C compiler supports -Wstring-conversion... yes
 0:04.36 checking whether the C++ compiler supports -Wstring-conversion... yes
 0:04.38 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
 0:04.40 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
 0:04.41 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
 0:04.43 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
 0:04.45 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
 0:04.47 checking whether the C compiler supports -Wno-error=array-bounds... yes
 0:04.49 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
 0:04.50 checking whether the C compiler supports -Wno-error=coverage-mismatch... no
 0:04.52 checking whether the C++ compiler supports -Wno-error=coverage-mismatch... no
 0:04.54 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
 0:04.55 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
 0:04.57 checking whether the C compiler supports -Wno-multistatement-macros... no
 0:04.59 checking whether the C++ compiler supports -Wno-multistatement-macros... no
 0:04.60 checking whether the C compiler supports -Wno-error=class-memaccess... no
 0:04.62 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
 0:04.64 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
 0:04.65 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
 0:04.67 checking whether the C compiler supports -Wno-error=deprecated-builtins... yes
 0:04.69 checking whether the C++ compiler supports -Wno-error=deprecated-builtins... yes
 0:04.71 checking whether the C compiler supports -Wformat... yes
 0:04.73 checking whether the C++ compiler supports -Wformat... yes
 0:04.75 checking whether the C compiler supports -Wformat-security... yes
 0:04.76 checking whether the C++ compiler supports -Wformat-security... yes
 0:04.78 checking whether the C compiler supports -Wformat-overflow=2... no
 0:04.80 checking whether the C++ compiler supports -Wformat-overflow=2... no
 0:04.82 checking whether the C compiler supports -Wno-psabi... yes
 0:04.84 checking whether the C++ compiler supports -Wno-psabi... yes
 0:04.86 checking whether the C compiler supports -Wthread-safety... yes
 0:04.88 checking whether the C++ compiler supports -Wthread-safety... yes
 0:04.90 checking whether the C compiler supports -Wno-error=builtin-macro-redefined... yes
 0:04.92 checking whether the C++ compiler supports -Wno-error=builtin-macro-redefined... yes
 0:04.94 checking whether the C compiler supports -Wno-unknown-warning-option... yes
 0:04.95 checking whether the C++ compiler supports -Wno-unknown-warning-option... yes
 0:04.97 checking whether the C++ compiler supports -fno-sized-deallocation... yes
 0:04.99 checking whether the C++ compiler supports -fno-aligned-new... yes
 0:04.99 checking for llvm_profdata... /usr/lib/llvm/17/bin/llvm-profdata
 0:05.00 Determining COMM source information from environment...
 0:05.00 COMM_SOURCE_REPOSITORY: https://hg.mozilla.org/releases/comm-esr115
 0:05.00 COMM_SOURCE_CHANGESET: 24e9961527d4cbb7f3f92687c40ee2fa96fb44cb
 0:05.00 
 0:05.00 Determining GECKO source information from environment...
 0:05.00 Determining GECKO source information from .gecko_rev.yml
 0:05.01 GECKO_SOURCE_REPOSITORY: https://hg.mozilla.org/releases/mozilla-esr115
 0:05.01 GECKO_SOURCE_CHANGESET: 64fc0d6e7ff6b1d626e40d45c492fa210591a1c0
 0:05.02 checking for alsa... yes
 0:05.03 checking MOZ_ALSA_CFLAGS...
 0:05.03 checking MOZ_ALSA_LIBS... -lasound
 0:05.03 checking for libpulse... yes
 0:05.04 checking MOZ_PULSEAUDIO_CFLAGS... -D_REENTRANT
 0:05.04 checking MOZ_PULSEAUDIO_LIBS... -lpulse -pthread
 0:05.04 checking for nspr >= 4.32... yes
 0:05.04 checking NSPR_CFLAGS... -I/usr/include/nspr
 0:05.05 checking NSPR_LIBS... -lplds4 -lplc4 -lnspr4
 0:05.05 checking for rustc... /usr/bin/rustc
 0:05.05 checking for cargo... /usr/bin/cargo
 0:05.08 checking rustc version... 1.77.1
 0:05.10 checking cargo version... 1.77.1
 0:05.17 checking for rust host triplet... loongarch64-unknown-linux-gnu
 0:05.20 checking for rust target triplet... loongarch64-unknown-linux-gnu
 0:05.20 checking for rustdoc... /usr/bin/rustdoc
 0:05.21 checking for cbindgen... /usr/bin/cbindgen
 0:05.21 checking for rustfmt... not found
 0:05.21 checking for clang for bindgen... /usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang++-17
 0:05.21 checking for libclang for bindgen... /usr/lib/llvm/17/lib64/libclang.so
 0:05.22 checking that libclang is new enough... yes
 0:05.22 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1
 0:05.22 checking for libffi > 3.0.9... yes
 0:05.23 checking MOZ_FFI_CFLAGS... -I/usr/lib64/libffi/include
 0:05.23 checking MOZ_FFI_LIBS... -lffi
 0:05.26 checking for tm_zone and tm_gmtoff in struct tm... yes
 0:05.31 checking for getpagesize... no
 0:05.35 checking for gmtime_r... no
 0:05.40 checking for localtime_r... no
 0:05.45 checking for gettid... no
 0:05.50 checking for setpriority... no
 0:05.54 checking for syscall... no
 0:05.59 checking for getc_unlocked... no
 0:05.64 checking for pthread_getname_np... no
 0:05.69 checking for pthread_get_name_np... no
 0:05.73 checking for strerror... no
 0:05.79 checking for __cxa_demangle... no
 0:05.81 checking for unwind.h... yes
 0:05.86 checking for _Unwind_Backtrace... no
 0:05.91 checking for _getc_nolock... no
 0:05.95 checking for localeconv... no
 0:05.96 checking for nodejs... /usr/bin/node (22.1.0)
 0:05.97 checking for gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1... yes
 0:05.98 checking MOZ_WAYLAND_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid
 0:05.98 checking MOZ_WAYLAND_LIBS... -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lxkbcommon
 0:05.98 checking for pango >= 1.22.0... yes
 0:05.99 checking MOZ_PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
 0:05.99 checking MOZ_PANGO_LIBS... -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz
 0:06.00 checking for fontconfig >= 2.7.0... yes
 0:06.00 checking _FONTCONFIG_CFLAGS... -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
 0:06.00 checking _FONTCONFIG_LIBS... -lfontconfig -lfreetype
 0:06.00 checking for freetype2 >= 9.10.3... yes
 0:06.01 checking _FT2_CFLAGS... -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
 0:06.01 checking _FT2_LIBS... -lfreetype
 0:06.01 checking for graphite2... yes
 0:06.02 checking MOZ_GRAPHITE2_CFLAGS...
 0:06.02 checking MOZ_GRAPHITE2_LIBS... -lgraphite2
 0:06.02 checking for harfbuzz >= 2.7.4... yes
 0:06.03 checking MOZ_HARFBUZZ_CFLAGS... -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
 0:06.03 checking MOZ_HARFBUZZ_LIBS... -lharfbuzz
 0:06.03 checking for tar... /usr/bin/gtar
 0:06.03 checking for unzip... /usr/bin/unzip
 0:06.03 checking for the Mozilla API key... yes
 0:06.03 checking for the Google Location Service API key... yes
 0:06.03 checking for the Google Safebrowsing API key... yes
 0:06.03 checking for the Bing API key... no
 0:06.03 checking for the Adjust SDK key... no
 0:06.03 checking for the Leanplum SDK key... no
 0:06.03 checking for the Pocket API key... no
 0:06.04 checking for libwebp >= 1.0.2 libwebpdemux >= 1.0.2... yes
 0:06.04 checking MOZ_WEBP_CFLAGS... -I/usr/include/webp
 0:06.04 checking MOZ_WEBP_LIBS... -lwebp -lwebpdemux
 0:06.04 checking for x11 xcb xcb-shm x11-xcb xext xrandr >= 1.4.0... yes
 0:06.05 checking MOZ_X11_CFLAGS...
 0:06.05 checking MOZ_X11_LIBS... -lxcb-shm -lX11-xcb -lX11 -lxcb -lXext -lXrandr
 0:06.06 checking for ice sm... yes
 0:06.06 checking MOZ_X11_SM_CFLAGS... -I/usr/include/uuid
 0:06.06 checking for vpx >= 1.10.0... yes
 0:06.07 checking MOZ_LIBVPX_CFLAGS...
 0:06.07 checking MOZ_LIBVPX_LIBS... -lvpx -lm
 0:06.09 checking for vpx/vpx_decoder.h... yes
 0:06.15 checking for vpx_codec_dec_init_ver...
 0:06.15 DEBUG: Creating `/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/conftest.mm189fnv.c` with content:
 0:06.15 DEBUG: | /* Override any gcc2 internal prototype to avoid an error.  */
 0:06.15 DEBUG: | /* We use char because int might match the return type of a gcc2
 0:06.15 DEBUG: |     builtin and then its argument prototype would still apply.  */
 0:06.15 DEBUG: | char vpx_codec_dec_init_ver();
 0:06.15 DEBUG: | int
 0:06.15 DEBUG: | main(void)
 0:06.15 DEBUG: | {
 0:06.15 DEBUG: | vpx_codec_dec_init_ver();
 0:06.15 DEBUG: |   ;
 0:06.15 DEBUG: |   return 0;
 0:06.15 DEBUG: | }
 0:06.15 DEBUG: Executing: `/usr/lib/llvm/17/bin/loongarch64-unknown-linux-gnu-clang-17 -std=gnu99 /var/tmp/portage/mail-client/thunderbird-115.10.1/temp/conftest.mm189fnv.c -fuse-ld=lld -lvpx -lm`
 0:06.15 DEBUG: The command returned non-zero exit status 1.
 0:06.15 DEBUG: Its error output was:
 0:06.15 DEBUG: | ld.lld: error: /usr/lib/gcc/loongarch64-unknown-linux-gnu/13/../../../../lib64/Scrt1.o:(.text+0x0): unknown relocation (102) against symbol .Lla-relax-align
 0:06.15 DEBUG: | loongarch64-unknown-linux-gnu-clang-17: error: linker command failed with exit code 1 (use -v to see invocation)
 0:06.15 ERROR: --with-system-libvpx requested but symbol vpx_codec_dec_init_ver not found
*** Fix above errors and then restart with "./mach build"
 * ERROR: mail-client/thunderbird-115.10.1::loongson failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_configure
 *   environment, line 5362:  Called die
 * The specific snippet of code:
 *       ./mach configure || die
 * 
 * If you need support, post the output of `emerge --info '=mail-client/thunderbird-115.10.1::loongson'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/thunderbird-115.10.1::loongson'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1'
 * S: '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1'

 * Messages for package mail-client/thunderbird-115.10.1:

 * ERROR: mail-client/thunderbird-115.10.1::loongson failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_configure
 *   environment, line 5362:  Called die
 * The specific snippet of code:
 *       ./mach configure || die
 * 
 * If you need support, post the output of `emerge --info '=mail-client/thunderbird-115.10.1::loongson'`,
 * the complete build log and the output of `emerge -pqv '=mail-client/thunderbird-115.10.1::loongson'`.
 * The complete build log is located at '/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/environment'.
 * Working directory: '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1'
 * S: '/var/tmp/portage/mail-client/thunderbird-115.10.1/work/thunderbird-115.10.1'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (mail-client/thunderbird-115.10.1:0/0::loongson, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/mail-client/thunderbird-115.10.1/temp/build.log'
 * 
houge@LoongArch-Gentoo ~ $ 
xen0n commented 3 months ago
ld.lld: error: /usr/lib/gcc/loongarch64-unknown-linux-gnu/13/../../../../lib64/Scrt1.o:(.text+0x0): unknown relocation (102) against symbol .Lla-relax-align

Would sys-devel/lld:18 solve the problem?

HougeLangley commented 3 months ago
ld.lld: error: /usr/lib/gcc/loongarch64-unknown-linux-gnu/13/../../../../lib64/Scrt1.o:(.text+0x0): unknown relocation (102) against symbol .Lla-relax-align

Would sys-devel/lld:18 solve the problem?

I will try ;)

HougeLangley commented 3 months ago

Screenshot_20240510_191433

HougeLangley commented 3 months ago

virtual/rust:0/llvm-18 is missing.

For now just llvm-17

houge@LoongArch-Gentoo ~ $ doas emerge -s virtual/rust                               

[ Results for search key : virtual/rust ]
Searching...

*  virtual/rust
      Latest version available: 1.77.1
      Latest version installed: 1.77.1
      Size of files: 0 KiB
      Homepage:      
      Description:   Virtual for Rust language compiler
      License:       

[ Applications found : 1 ]

houge@LoongArch-Gentoo ~ $ 
HougeLangley commented 3 months ago

Screenshot_20240510_191803

haowuge commented 2 months ago

坐等llvm18版本🥺