Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943627 - app-shells/nushell-0.99.1 - [libtool] [gcc-15] error: failed to compile nu_plugin_custom_values v0.1.0 (/var/tmp/portage/app-shells/nushell-0.99.1/work/nushell-0.99.1/cra
Summary: app-shells/nushell-0.99.1 - [libtool] [gcc-15] error: failed to compile nu_pl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-11-16 12:32 UTC by Toralf Förster
Modified: 2024-11-17 19:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2024-11-16 12:32 UTC, Toralf Förster
Details
app-shells:nushell-0.99.1:20241116-061517.log.xz (app-shells:nushell-0.99.1:20241116-061517.log.xz,70.18 KB, application/x-xz)
2024-11-16 12:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,202.18 KB, text/plain)
2024-11-16 12:32 UTC, Toralf Förster
Details
environment (environment,232.04 KB, text/plain)
2024-11-16 12:32 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-11-16 12:32 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,44.21 KB, application/x-xz)
2024-11-16 12:32 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,552.52 KB, application/x-xz)
2024-11-16 12:32 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,59.08 KB, application/x-xz)
2024-11-16 12:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.45 KB, application/x-xz)
2024-11-16 12:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-16 12:32:50 UTC
too long lines were shrinked:

    Finished `release` profile [optimized] target(s) in 6m 12s
  Installing /var/tmp/portage/app-shells/nushell-0.99.1/image/usr/bin/nu
   Installed package `nu v0.99.1 (/var/tmp/portage/app-shells/nushell-0.99.1/work/nushell-0.99.1)` (executable `nu`)
warning: be sure to add `/var/tmp/portage/app-shells/nushell-0.99.1/image/usr/bin` to your PATH to be able to run the installed binaries
 * /usr/lib/rust/1.82.0/bin/cargo install --root /var/tmp/portage/app-shells/nushell-0.99.1/image/usr --features system-clipboard --path crates/nu_plugin_custom_values
  Installing nu_plugin_custom_values v0.1.0 (/var/tmp/portage/app-shells/nushell-0.99.1/work/nushell-0.99.1/crates/nu_plugin_custom_values)
error: failed to compile `nu_plugin_custom_values v0.1.0 (/var/tmp/portage/app-shells/nushell-0.99.1/work/nushell-0.99.1/crates/nu_plugin_custom_values)`, intermediate artifacts can be found at `/var/tmp/portage/app-shells/nushell-0.99.1/work/nushell-0.99.1/target`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20241111-031003

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0
  [4]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit facf1b3cd3f5a0c8f163ecafdde7463847468d09
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 15 22:33:34 2024 +0000

    2024-11-15 22:33:33 UTC

emerge -qpvO =app-shells/nushell-0.99.1
[ebuild  N    ] app-shells/nushell-0.99.1  USE="X plugins system-clipboard -debug"
Comment 1 Toralf Förster gentoo-dev 2024-11-16 12:32:51 UTC
Created attachment 908783 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-16 12:32:52 UTC
Created attachment 908784 [details]
app-shells:nushell-0.99.1:20241116-061517.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-16 12:32:54 UTC
Created attachment 908785 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-16 12:32:55 UTC
Created attachment 908786 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-16 12:32:56 UTC
Created attachment 908787 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-16 12:32:57 UTC
Created attachment 908788 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-16 12:32:59 UTC
Created attachment 908789 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-16 12:33:00 UTC
Created attachment 908790 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-16 12:33:01 UTC
Created attachment 908791 [details]
temp.tar.xz
Comment 10 Zac Medico gentoo-dev 2024-11-17 00:23:36 UTC
Hmm, it built successfully with USE=plugins for me.
Comment 11 Larry the Git Cow gentoo-dev 2024-11-17 19:19:37 UTC
The bug has been closed via the following commit(s):

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

commit 99cabffb90adfcedc7034cf71c2ea9e306bee1c1
Author:     Jonas Frei <freijon@pm.me>
AuthorDate: 2024-11-17 08:06:17 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2024-11-17 19:19:32 +0000

    app-shells/nushell: Fix plugin compilation
    
    Plugins failed to compile when the USE flag 'system-clipboard' was
    enabled, because for the plugins this Cargo feature does not exist. This
    fix clears the 'myfeatures' variable and configures again before the
    plugins are compiled.
    
    Closes: https://bugs.gentoo.org/943627
    Signed-off-by: Jonas Frei <freijon@pm.me>
    Closes: https://github.com/gentoo/gentoo/pull/39347
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 app-shells/nushell/nushell-0.100.0.ebuild | 4 ++++
 app-shells/nushell/nushell-0.99.1.ebuild  | 4 ++++
 2 files changed, 8 insertions(+)