Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902127 - app-crypt/sequoia-sqv-1.1.0 - error: failed to run custom build command for nettle-sys v2.0.8
Summary: app-crypt/sequoia-sqv-1.1.0 - error: failed to run custom build command for n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 11:56 UTC by Toralf Förster
Modified: 2023-05-20 06:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.41 KB, text/plain)
2023-03-19 11:56 UTC, Toralf Förster
Details
app-crypt:sequoia-sqv-1.1.0:20230319-114451.log (app-crypt:sequoia-sqv-1.1.0:20230319-114451.log,98.92 KB, text/plain)
2023-03-19 11:56 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,88.80 KB, application/x-bzip)
2023-03-19 11:56 UTC, Toralf Förster
Details
environment (environment,87.33 KB, text/plain)
2023-03-19 11:56 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,917 bytes, application/x-bzip)
2023-03-19 11:56 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.91 KB, application/x-bzip)
2023-03-19 11:56 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.99 KB, application/x-bzip)
2023-03-19 11:56 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 2023-03-19 11:56:38 UTC
too long lines were shrinked:

     Running `rustc --crate-name strsim /var/tmp/portage/app-crypt/sequoia-sqv-1.1.0/work/cargo_home/gentoo/strsim-0.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off
   Compiling adler v1.0.2
     Running `rustc --crate-name adler /var/tmp/portage/app-crypt/sequoia-sqv-1.1.0/work/cargo_home/gentoo/adler-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadat
     Running `rustc --crate-name miniz_oxide --edition=2018 /var/tmp/portage/app-crypt/sequoia-sqv-1.1.0/work/cargo_home/gentoo/miniz_oxide-0.4.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C 
   Compiling clap v2.34.0
     Running `rustc --crate-name clap --edition=2018 /var/tmp/portage/app-crypt/sequoia-sqv-1.1.0/work/cargo_home/gentoo/clap-2.34.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-as
error: failed to run custom build command for `nettle-sys v2.0.8`

Caused by:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j5-20230312-210026

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-12
 [3] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Rust versions:
  [1]   rust-bin-1.67.1
  [2]   rust-1.67.1 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.6_p10 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 34e36dc157e87465bc7db1b08f58fd2e91cdd785
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 19 10:46:59 2023 +0000

    2023-03-19 10:46:59 UTC

emerge -qpvO app-crypt/sequoia-sqv
[ebuild  N    ] app-crypt/sequoia-sqv-1.1.0  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2023-03-19 11:56:39 UTC
Created attachment 858297 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-03-19 11:56:41 UTC
Created attachment 858299 [details]
app-crypt:sequoia-sqv-1.1.0:20230319-114451.log
Comment 3 Toralf Förster gentoo-dev 2023-03-19 11:56:42 UTC
Created attachment 858301 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-03-19 11:56:43 UTC
Created attachment 858303 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-03-19 11:56:44 UTC
Created attachment 858305 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-03-19 11:56:45 UTC
Created attachment 858307 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-03-19 11:56:46 UTC
Created attachment 858309 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-20 09:03:57 UTC
Possibly Clang 16 (bindgen going wrong).
Comment 9 Georgy Yakovlev archtester gentoo-dev 2023-03-21 00:12:42 UTC
try bumping nettle-sys to 2.0.11 and bindgen to 0.63.0 in CRATES

you will need to run

cargo update || die

run it in src_compile for now before running anything else.


you may need to update couple more CRATES, but nettle-sys and bindgen should be the main.


bindgen and pkg-config fixes went in to nettle-sys which might fix what we are seeing here.
Comment 10 Larry the Git Cow gentoo-dev 2023-05-20 06:56:15 UTC
The bug has been closed via the following commit(s):

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

commit eaafd2ec6e20a199c2ef0077bdbd1b93c761f695
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-20 06:34:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-20 06:55:56 +0000

    app-crypt/sequoia-sqv: use llvm.eclass for bindgen
    
    Just like 1fd5803705bc3bc5ede5559d08b6e4c57a201fbf. Could bump the crates
    like gyakovlev said but we're about to do that for a bump anyway.
    
    Closes: https://bugs.gentoo.org/902127
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/sequoia-sqv/sequoia-sqv-1.1.0.ebuild | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)