Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 937554

Summary: dev-vcs/mercurial-6.8 - [icu-75.1] ERROR: dev-vcs/mercurial-6.8::gentoo failed (compile phase):
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: ago, cedk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-vcs:mercurial-6.8:20240807-205814.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-08-08 06:58:38 UTC
>>> Configuring source in /var/tmp/portage/dev-vcs/mercurial-6.8/work/mercurial-6.8 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-vcs/mercurial-6.8/work/mercurial-6.8 ...
 * python3_12: running distutils-r1_run_phase python_compile
 *   Building the wheel for mercurial-6.8 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.8/work/mercurial-6.8-python3_12/wheel
 * ERROR: dev-vcs/mercurial-6.8::gentoo failed (compile phase):
 *   FATAL: please call cargo_gen_config before using cargo_env
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240803-100502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Rust versions:
  [1]   rust-bin-1.79.0
  [2]   rust-1.79.0 *
The following VMs are available for generation-2:
php cli (if any):
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit d8b31dee9e77a1d30c25c08fc028ad659df3dce1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 7 20:08:23 2024 +0000

    2024-08-07 20:08:22 UTC

emerge -qpvO =dev-vcs/mercurial-6.8
[ebuild  N    ] dev-vcs/mercurial-6.8  USE="chg -debug -emacs -gpg -rust -test -tk" PYTHON_TARGETS="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-08 06:58:38 UTC
Created attachment 899500 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-08 06:58:39 UTC
Created attachment 899501 [details]
dev-vcs:mercurial-6.8:20240807-205814.log
Comment 3 Toralf Förster gentoo-dev 2024-08-08 06:58:40 UTC
Created attachment 899502 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-08 06:58:42 UTC
Created attachment 899503 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-08 06:58:42 UTC
Created attachment 899504 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-08 06:58:43 UTC
Created attachment 899505 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-08 06:58:45 UTC
Created attachment 899506 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-08 06:58:46 UTC
Created attachment 899507 [details]
temp.tar.xz
Comment 9 James Le Cuirot gentoo-dev 2024-08-08 14:36:03 UTC
*** Bug 937570 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2024-08-08 14:50:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f29637d0d61a0999ac192c88d27e89c5e48aa6

commit b1f29637d0d61a0999ac192c88d27e89c5e48aa6
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-08-08 14:47:49 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-08-08 14:48:06 +0000

    dev-vcs/mercurial: Fix upstream's assumed Rust target directory
    
    This would have previously broken with USE=debug, but a recent eclass
    change caused it to break all the time. The target directory is now
    dynamic so use sed for now, but I'll see if I can patch it to use
    environment variables when I have more time.
    
    Closes: https://bugs.gentoo.org/937554
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-vcs/mercurial/mercurial-6.5.3.ebuild | 7 +++++++
 dev-vcs/mercurial/mercurial-6.6.2.ebuild | 7 +++++++
 dev-vcs/mercurial/mercurial-6.7.4.ebuild | 7 +++++++
 dev-vcs/mercurial/mercurial-6.8.ebuild   | 7 +++++++
 dev-vcs/mercurial/mercurial-9999.ebuild  | 7 +++++++
 5 files changed, 35 insertions(+)
Comment 11 James Le Cuirot gentoo-dev 2024-08-08 15:38:20 UTC
*** Bug 937578 has been marked as a duplicate of this bug. ***