Closed Bug 1912223 Opened 4 months ago Closed 4 months ago

Perma Android 5.0 ARMv7 opt bootstrap [tier 2] Failed to emerge dev-vcs/mercurial-6.6.2, Log file: E | followed by ERROR: dev-vcs/mercurial-6.6.2::gentoo failed (compile phase):

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: imoraru, Unassigned)

References

Details

Failure summary is empty in treeherder.

>>> Completed installing dev-python/uc-micro-py-1.0.3 into /var/tmp/portage/dev-python/uc-micro-py-1.0.3/image

 * Final size of build directory: 276 KiB
 * Final size of installed tree:  324 KiB

 * Verifying compiled files for python3.12

>>> Installing (14 of 21) dev-python/uc-micro-py-1.0.3::gentooE]0;7693ad32dd63: emerge: (14 of 21) dev-python/uc-micro-py-1.0.3 MergeUnable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
]0;7693ad32dd63: emerge: (14 of 21) dev-python/uc-micro-py-1.0.3 Clean Post
>>> Completed (14 of 21) dev-python/uc-micro-py-1.0.3::gentooE
>>> Emerging (15 of 21) dev-vcs/mercurial-6.6.2::gentooE]0;7693ad32dd63: emerge: (15 of 21) dev-vcs/mercurial-6.6.2 CleanUnable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
 * mercurial-6.6.2.tar.gz BLAKE2B SHA512 size ;-) ...                    [ ok ]
]0;7693ad32dd63: emerge: (15 of 21) dev-vcs/mercurial-6.6.2 CompileUnable to unshare: EPERM (for FEATURES="pid-sandbox")
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Unpacking source...
>>> Unpacking mercurial-6.6.2.tar.gz to /var/tmp/portage/dev-vcs/mercurial-6.6.2/work
>>> Source unpacked in /var/tmp/portage/dev-vcs/mercurial-6.6.2/work
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Preparing source in /var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2 ...
 * Build system packages:
 *   dev-python/gpep517            : 16
 *   dev-python/installer          : 0.7.0
 *   dev-python/cython             : 3.0.10
 *   dev-python/setuptools         : 71.0.4
 *   dev-python/setuptools-rust    : 
 *   dev-python/setuptools-scm     : 8.1.0
 *   dev-python/wheel              : 0.43.0
>>> Source prepared.
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Configuring source in /var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2 ...
>>> Source configured.
Unable to unshare: EPERM (for FEATURES="ipc-sandbox network-sandbox pid-sandbox")
>>> Compiling source in /var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2 ...
 * python3_12: running distutils-r1_run_phase python_compile
 *   Building the wheel for mercurial-6.6.2 via setuptools.build_meta:__legacy__
cargo_env python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2-python3_12/wheel
 * ERROR: dev-vcs/mercurial-6.6.2::gentoo failed (compile phase):
 *   FATAL: please call cargo_gen_config before using cargo_env
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4776:  Called distutils-r1_src_compile
 *   environment, line 2226:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  856:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 4207:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3717:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3715:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 1291:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 2210:  Called python_compile
 *   environment, line 3989:  Called distutils-r1_python_compile 'build_ext'
 *   environment, line 2032:  Called distutils_pep517_install '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2-python3_12/install'
 *   environment, line 2555:  Called cargo_env 'python3.12' '-m' 'gpep517' 'build-wheel' '--prefix=/usr' '--backend' 'setuptools.build_meta:__legacy__' '--output-fd' '3' '--wheel-dir' '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2-python3_12/wheel'
 *   environment, line 1776:  Called die
 * The specific snippet of code:
 *       [[ -n ${_CARGO_GEN_CONFIG_HAS_RUN} ]] || die "FATAL: please call cargo_gen_config before using ${FUNCNAME}";
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/mercurial-6.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/mercurial-6.6.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/mercurial-6.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/mercurial-6.6.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2'
 * S: '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2'

>>> Failed to emerge dev-vcs/mercurial-6.6.2, Log file:E
>>>  '/var/tmp/portage/dev-vcs/mercurial-6.6.2/temp/build.log'E
 * Messages for package dev-vcs/mercurial-6.6.2:

 * ERROR: dev-vcs/mercurial-6.6.2::gentoo failed (compile phase):
 *   FATAL: please call cargo_gen_config before using cargo_env
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4776:  Called distutils-r1_src_compile
 *   environment, line 2226:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *   environment, line  856:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 4207:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3717:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 3715:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *   environment, line 1291:  Called distutils-r1_run_phase 'python_compile'
 *   environment, line 2210:  Called python_compile
 *   environment, line 3989:  Called distutils-r1_python_compile 'build_ext'
 *   environment, line 2032:  Called distutils_pep517_install '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2-python3_12/install'
 *   environment, line 2555:  Called cargo_env 'python3.12' '-m' 'gpep517' 'build-wheel' '--prefix=/usr' '--backend' 'setuptools.build_meta:__legacy__' '--output-fd' '3' '--wheel-dir' '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2-python3_12/wheel'
 *   environment, line 1776:  Called die
 * The specific snippet of code:
 *       [[ -n ${_CARGO_GEN_CONFIG_HAS_RUN} ]] || die "FATAL: please call cargo_gen_config before using ${FUNCNAME}";
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/mercurial-6.6.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/mercurial-6.6.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/mercurial-6.6.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/mercurial-6.6.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2'
 * S: '/var/tmp/portage/dev-vcs/mercurial-6.6.2/work/mercurial-6.6.2'

 * GNU info directory index is up-to-date.

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

]0;@7693ad32dd63:/[taskcluster 2024-08-08 08:33:45.606Z] === Task Finished ===
[taskcluster 2024-08-08 08:33:45.607Z] Unsuccessful task run with exit code: 1 completed in 179.609 seconds

Hi Johan! Can you please take a look at this?
Thank you!

Flags: needinfo?(jlorenzo)
Summary: Perma Android 5.0 ARMv7 opt bootstrap [tier 2] Failed to emerge dev-vcs/mercurial-6.6.2, Log file: E | followed by ERROR: dev-vcs/mercurial-6.6.2::<something> failed (compile phase): → Perma Android 5.0 ARMv7 opt bootstrap [tier 2] Failed to emerge dev-vcs/mercurial-6.6.2, Log file: E | followed by ERROR: dev-vcs/mercurial-6.6.2::gentoo failed (compile phase):

I'm sorry, I don't know what's happening here. RelEng doesn't own the bootstrap tasks. Transferring to :glandium, in case it's in his wheelhouse.

Flags: needinfo?(jlorenzo) → needinfo?(mh+mozilla)

It fixed itself. It was a problem upstream in gentoo with mercurial.

Status: NEW → RESOLVED
Closed: 4 months ago
Flags: needinfo?(mh+mozilla)
Resolution: --- → WORKSFORME

Thanks :glandium!

You need to log in before you can comment on or make changes to this bug.