Closed Bug 1643118 Opened 5 years ago Closed 5 years ago

Build faild in ubuntu 20.04

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nilabja10201992, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36

Steps to reproduce:

./mach bootstrap
./mach build

Actual results:

/home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/config.status is out of date with respect to /home/neil/Documents/mozilla/mozilla-central/build/moz.configure/init.configure
0:00.53 Clobber not needed.
0:00.53 Adding make options from /home/neil/Documents/mozilla/mozilla-central/.mozconfig
MOZ_OBJDIR=/home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu
OBJDIR=/home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu
FOUND_MOZCONFIG=/home/neil/Documents/mozilla/mozilla-central/.mozconfig
export FOUND_MOZCONFIG
0:00.53 /usr/bin/make -f client.mk -s configure
0:00.54 cd /home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu
0:00.54 /home/neil/Documents/mozilla/mozilla-central/configure
0:00.73 Creating Python 3 environment
0:00.80 Using base prefix '/usr'
0:00.80 New python executable in /home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python3
0:00.81 Not overwriting existing python script /home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python (you must use /home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python3)
0:01.50 Installing setuptools, pip, wheel...
0:04.02 done.
0:04.42 b'running build_ext\ncopying build/lib.linux-x86_64-3.8/psutil/_psutil_linux.cpython-38-x86_64-linux-gnu.so -> psutil\ncopying build/lib.linux-x86_64-3.8/psutil/_psutil_posix.cpython-38-x86_64-linux-gnu.so -> psutil\n'
0:04.43 Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
0:04.43 Re-executing in the virtualenv
0:04.79 Adding configure options from /home/neil/Documents/mozilla/mozilla-central/.mozconfig
0:04.80 --with-system-icu
0:04.80 checking for vcs source checkout... hg
0:04.85 checking for a shell... /usr/bin/sh
0:04.88 checking for host system type... x86_64-pc-linux-gnu
0:04.88 checking for target system type... x86_64-pc-linux-gnu
0:05.28 checking whether cross compiling... no
0:05.38 checking for Python 3... /home/neil/Documents/mozilla/mozilla-central/obj-x86_64-pc-linux-gnu/_virtualenvs/init_py3/bin/python (3.8.2)
0:05.38 checking for hg... /home/neil/.local/bin/hg
0:05.57 checking for Mercurial version... 5.3.2
0:05.81 checking for sparse checkout... no
0:05.81 checking for yasm... /usr/bin/yasm
0:05.82 checking yasm version... 1.3.0
0:05.82 checking for the target C compiler... /home/neil/.mozbuild/clang/bin/clang
0:05.91 checking whether the target C compiler can be used... yes
0:05.91 checking the target C compiler version... 9.0.1
0:05.94 checking the target C compiler works... yes
0:05.95 checking for the target C++ compiler... /home/neil/.mozbuild/clang/bin/clang++
0:06.01 checking whether the target C++ compiler can be used... yes
0:06.01 checking the target C++ compiler version... 9.0.1
0:06.04 checking the target C++ compiler works... yes
0:06.04 checking for the host C compiler... /home/neil/.mozbuild/clang/bin/clang
0:06.11 checking whether the host C compiler can be used... yes
0:06.11 checking the host C compiler version... 9.0.1
0:06.18 checking the host C compiler works... yes
0:06.18 checking for the host C++ compiler... /home/neil/.mozbuild/clang/bin/clang++
0:06.26 checking whether the host C++ compiler can be used... yes
0:06.26 checking the host C++ compiler version... 9.0.1
0:06.30 checking the host C++ compiler works... yes
0:06.33 checking for 64-bit OS... yes
0:06.37 checking for new enough STL headers from libstdc++... yes
0:06.37 checking for nasm... /home/neil/.mozbuild/nasm/nasm
0:06.37 checking nasm version... 2.14.02
0:06.42 checking for linker... lld
0:06.42 checking for the assembler... /home/neil/.mozbuild/clang/bin/clang
0:06.42 checking for ar... /usr/bin/ar
0:06.42 checking for pkg_config... /usr/bin/pkg-config
0:06.43 checking for pkg-config version... 1.6.3
0:06.46 checking for stdint.h... yes
0:06.49 checking for inttypes.h... yes
0:06.53 checking for malloc.h... yes
0:06.56 checking for alloca.h... yes
0:06.59 checking for sys/byteorder.h... no
0:06.62 checking for getopt.h... yes
0:06.66 checking for unistd.h... yes
0:06.70 checking for nl_types.h... yes
0:06.73 checking for cpuid.h... yes
0:06.76 checking for fts.h... yes
0:06.80 checking for sys/statvfs.h... yes
0:06.83 checking for sys/statfs.h... yes
0:06.86 checking for sys/vfs.h... yes
0:06.89 checking for sys/mount.h... yes
0:06.93 checking for sys/quota.h... yes
0:06.96 checking for linux/quota.h... yes
0:07.00 checking for linux/if_addr.h... yes
0:07.04 checking for linux/rtnetlink.h... yes
0:07.07 checking for sys/queue.h... yes
0:07.11 checking for sys/types.h... yes
0:07.15 checking for netinet/in.h... yes
0:07.19 checking for byteswap.h... yes
0:07.22 checking for linux/perf_event.h... yes
0:07.25 checking for perf_event_open system call... yes
0:07.29 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
0:07.32 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
0:07.35 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
0:07.38 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
0:07.41 checking whether the C compiler supports -Wunreachable-code-return... yes
0:07.45 checking whether the C++ compiler supports -Wunreachable-code-return... yes
0:07.48 checking whether the C compiler supports -Wclass-varargs... yes
0:07.51 checking whether the C++ compiler supports -Wclass-varargs... yes
0:07.54 checking whether the C++ compiler supports -Wempty-init-stmt... yes
0:07.58 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
0:07.61 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
0:07.64 checking whether the C compiler supports -Wfloat-zero-conversion... yes
0:07.67 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
0:07.71 checking whether the C compiler supports -Wloop-analysis... yes
0:07.74 checking whether the C++ compiler supports -Wloop-analysis... yes
0:07.77 checking whether the C++ compiler supports -Wc++2a-compat... yes
0:07.80 checking whether the C++ compiler supports -Wcomma... yes
0:07.83 checking whether the C compiler supports -Wduplicated-cond... no
0:07.86 checking whether the C++ compiler supports -Wduplicated-cond... no
0:07.89 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
0:07.92 checking whether the C++ compiler supports -Wunused-function... yes
0:07.95 checking whether the C++ compiler supports -Wunused-variable... yes
0:07.98 checking whether the C compiler supports -Wstring-conversion... yes
0:08.02 checking whether the C++ compiler supports -Wstring-conversion... yes
0:08.05 checking whether the C compiler supports -Wtautological-overlap-compare... yes
0:08.08 checking whether the C++ compiler supports -Wtautological-overlap-compare... yes
0:08.12 checking whether the C compiler supports -Wtautological-unsigned-enum-zero-compare... yes
0:08.15 checking whether the C++ compiler supports -Wtautological-unsigned-enum-zero-compare... yes
0:08.19 checking whether the C compiler supports -Wtautological-unsigned-zero-compare... yes
0:08.22 checking whether the C++ compiler supports -Wtautological-unsigned-zero-compare... yes
0:08.25 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
0:08.28 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
0:08.31 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
0:08.35 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
0:08.38 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
0:08.41 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
0:08.45 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
0:08.49 checking whether the C compiler supports -Wno-error=array-bounds... yes
0:08.52 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
0:08.55 checking whether the C compiler supports -Wno-error=coverage-mismatch... no
0:08.58 checking whether the C++ compiler supports -Wno-error=coverage-mismatch... no
0:08.61 checking whether the C compiler supports -Wno-error=backend-plugin... yes
0:08.64 checking whether the C++ compiler supports -Wno-error=backend-plugin... yes
0:08.67 checking whether the C compiler supports -Wno-error=free-nonheap-object... no
0:08.70 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... no
0:08.73 checking whether the C compiler supports -Wno-multistatement-macros... no
0:08.76 checking whether the C++ compiler supports -Wno-multistatement-macros... no
0:08.79 checking whether the C compiler supports -Wno-error=return-std-move... yes
0:08.82 checking whether the C++ compiler supports -Wno-error=return-std-move... yes
0:08.85 checking whether the C compiler supports -Wno-error=class-memaccess... no
0:08.88 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
0:08.91 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
0:08.94 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
0:08.97 checking whether the C compiler supports -Wno-error=deprecated-copy... no
0:09.00 checking whether the C++ compiler supports -Wno-error=deprecated-copy... no
0:09.03 checking whether the C compiler supports -Wformat... yes
0:09.06 checking whether the C++ compiler supports -Wformat... yes
0:09.09 checking whether the C compiler supports -Wformat-security... yes
0:09.12 checking whether the C++ compiler supports -Wformat-security... yes
0:09.15 checking whether the C compiler supports -Wformat-overflow=2... no
0:09.18 checking whether the C++ compiler supports -Wformat-overflow=2... no
0:09.22 checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
0:09.25 checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes
0:09.25 checking for llvm_profdata... /home/neil/.mozbuild/clang/bin/llvm-profdata
0:09.29 checking whether the C++ compiler supports -fno-sized-deallocation... yes
0:09.32 checking whether the C++ compiler supports -fno-aligned-new... yes
0:09.33 checking for libpulse... yes
0:09.33 checking MOZ_PULSEAUDIO_CFLAGS... -D_REENTRANT
0:09.34 checking MOZ_PULSEAUDIO_LIBS... -L/usr/lib/x86_64-linux-gnu -lpulse
0:09.34 checking for rustc... /home/neil/.cargo/bin/rustc
0:09.34 checking for cargo... /home/neil/.cargo/bin/cargo
0:09.38 Actually using '/home/neil/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc'
0:09.40 Actually using '/home/neil/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo'
0:09.42 checking rustc version... 1.43.1
0:09.42 checking cargo version... 1.43.0
0:09.59 checking for rust target triplet... x86_64-unknown-linux-gnu
0:09.71 checking for rust host triplet... x86_64-unknown-linux-gnu
0:09.72 checking for rustdoc... /home/neil/.cargo/bin/rustdoc
0:09.73 checking for cbindgen... /home/neil/.mozbuild/cbindgen/cbindgen
0:09.73 checking for rustfmt... /home/neil/.cargo/bin/rustfmt
0:09.73 checking for clang for bindgen... /home/neil/.mozbuild/clang/bin/clang++
0:09.75 checking for libclang for bindgen... /home/neil/.mozbuild/clang/lib/libclang.so
0:09.76 checking that libclang is new enough... yes
0:09.76 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 -std=gnu++17
0:09.76 checking for icu-i18n >= 67.1... no
0:09.77 ERROR: Package dependency requirement 'icu-i18n >= 67.1' could not be satisfied.
0:09.77 ERROR: Package 'icu-i18n' has version '66.1', required version is '>= 67.1'
0:09.84 *** Fix above errors and then restart with
0:09.84 "./mach build"
0:09.84 make: *** [client.mk:115: configure] Error 1

Expected results:

/usr/bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build complete
To view resource usage of the build, run |mach resource-usage|.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → General
Product: Firefox → Firefox Build System
0:09.77 ERROR: Package dependency requirement 'icu-i18n >= 67.1' could not be satisfied.
0:09.77 ERROR: Package 'icu-i18n' has version '66.1', required version is '>= 67.1'

Does the error message help?

(In reply to Ricky Stewart from comment #2)

0:09.77 ERROR: Package dependency requirement 'icu-i18n >= 67.1' could not be satisfied.
0:09.77 ERROR: Package 'icu-i18n' has version '66.1', required version is '>= 67.1'

Does the error message help?

I tried installing ICU from here - http://www.linuxfromscratch.org/blfs/view/svn/general/icu.html but I am facing the same issue.
Although this issue doesn't exist in firebox78.0 release.

0:04.79 Adding configure options from /home/neil/Documents/mozilla/mozilla-central/.mozconfig
0:04.80 --with-system-icu

You're asking to use system ICU, and your system ICU is now too old for what Firefox now requires per comment 2. You should either upgrade ICU or change your mozconfig to remove --with-system-icu.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.