Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689160 - dev-lang/rust does not respect prefix
Summary: dev-lang/rust does not respect prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 689562
Blocks:
  Show dependency tree
 
Reported: 2019-07-02 14:54 UTC by Bruno MATEU
Modified: 2020-12-21 12:22 UTC (History)
2 users (show)

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


Attachments
build.log.bz2 (rust-build.log.bz2,156.69 KB, application/x-bzip2)
2019-07-02 14:57 UTC, Bruno MATEU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno MATEU 2019-07-02 14:54:31 UTC
* QA Notice: the following files are outside of the prefix:
 * /etc
 * /etc/bash_completion.d
 * /etc/bash_completion.d/cargo
 * ERROR: dev-lang/rust-1.35.0::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 586:  Called install_qa_check
 *   misc-functions.sh, line 132:  Called source 'install_symlink_html_docs'
 *            05prefix, line 114:  Called install_qa_check_prefix
 *            05prefix, line  27:  Called die
 * The specific snippet of code:
 *   			die "Aborting due to QA concerns: there are files installed outside the prefix"

$ emerge --info '=dev-lang/rust-1.35.0::gentoo'

Portage 2.3.67 (python 3.6.8-final-0, default/linux/amd64/17.0/no-multilib/prefix/kernel-3.2+, gcc-9.1.0, glibc-2.29-r2, 5.1.15-arch1-1-ARCH x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.1.15-arch1-1-ARCH-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-arch
KiB Mem:    16304524 total,   1062700 free
KiB Swap:    8388604 total,   3795708 free
Timestamp of repository gentoo: Tue, 25 Jun 2019 22:30:01 +0000
Head commit of repository gentoo: 5117fe83797d162c186cd4e04385949eb9a55da8
sh bash 5.0_p7
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo
dev-util/cmake:           3.14.5::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /home/bmateu/gentoo/var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no

localrepo
    location: /home/bmateu/gentoo/var/db/repos/localrepo
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/bmateu/gentoo/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /home/bmateu/gentoo/etc/env.d /home/bmateu/gentoo/etc/gentoo-release"
CXXFLAGS="-O2 -pipe -O2 -pipe"
DISTDIR="/home/bmateu/gentoo/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/home/bmateu/gentoo/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/home/bmateu/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/bmateu/gentoo/var/tmp"



$ emerge -pqv '=dev-lang/rust-1.35.0::gentoo'

[ebuild  N    ] dev-lang/rust-1.35.0  USE="-clippy -debug -doc -libressl -rls -rustfmt -system-llvm -wasm" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARM -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -Sparc -SystemZ -WebAssembly -XCore"
Comment 1 Bruno MATEU 2019-07-02 14:57:02 UTC
Created attachment 581758 [details]
build.log.bz2
Comment 2 Larry the Git Cow gentoo-dev 2019-12-12 00:40:04 UTC
The bug has been referenced in the following commit(s):

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

commit 79354e8855d6fcfac01f34d21708fb57c5b48c4a
Author:     Gerion Entrup <gerion.entrup@flump.de>
AuthorDate: 2019-12-05 14:42:14 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-12-12 00:36:42 +0000

    dev-lang/rust: fix bash completion location
    
    Bug: https://bugs.gentoo.org/689562
    Bug: https://bugs.gentoo.org/689160
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
    Closes: https://github.com/gentoo/gentoo/pull/13884
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/rust-1.39.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-12-21 12:22:33 UTC
The bug has been referenced in the following commit(s):

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

commit 6a7ff6155c5dce32c19e448e2e473b0f0d791f64
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2020-12-21 12:21:35 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2020-12-21 12:22:26 +0000

    dev-lang/rust: use ED in removal operations.
    
    This does not affect non-prefix systems and the prefix systems
    fail to install before this commit.  Therefore, no revision is
    is required.
    
    Bug: https://bugs.gentoo.org/689562
    Bug: https://bugs.gentoo.org/689160
    Package-Manager: Portage-3.0.12, Repoman-3.0.1
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-lang/rust/rust-1.48.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)