Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779643 - app-arch/rpm2targz-2021.03.16 Aborting due to QA concerns: there are files installed outside the prefix
Summary: app-arch/rpm2targz-2021.03.16 Aborting due to QA concerns: there are files in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-01 03:06 UTC by Nathan Shearer
Modified: 2021-04-01 03:13 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,4.04 KB, text/x-log)
2021-04-01 03:07 UTC, Nathan Shearer
Details
emerge --info (emerge-info.txt,5.35 KB, text/plain)
2021-04-01 03:08 UTC, Nathan Shearer
Details
environment (environment,49.94 KB, text/plain)
2021-04-01 03:09 UTC, Nathan Shearer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Shearer 2021-04-01 03:06:20 UTC
app-arch/rpm2targz-2021.03.16 attempts to install files outside the Gentoo prefix.

Reproducible: Always

Steps to Reproduce:
1. Setup a Gentoo Prefix
2. emerge app-arch/rpm2targz-2021.03.16

Actual Results:  
>>> Completed installing app-arch/rpm2targz-2021.03.16 into /data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/image

 * Final size of build directory: 56 KiB
 * Final size of installed tree:  72 KiB

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/bin
 * /usr/bin/rpm2tarbz2
 * /usr/bin/rpm2tarzst
 * /usr/bin/rpmoffset
 * /usr/bin/rpm2tbz2
 * /usr/bin/rpm2tarlzma
 * /usr/bin/rpm2tarxz
 * /usr/bin/rpm2targz
 * /usr/bin/rpm2txz
 * /usr/bin/rpmunpack
 * /usr/bin/rpm2tgz
 * /usr/bin/rpm2tar
 * ERROR: app-arch/rpm2targz-2021.03.16::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 596:  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"
 * 
 * If you need support, post the output of `emerge --info '=app-arch/rpm2targz-2021.03.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/rpm2targz-2021.03.16::gentoo'`.
 * The complete build log is located at '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/temp/build.log'.
 * The ebuild environment file is located at '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/temp/environment'.
 * Working directory: '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/image/data/local/tmp/gentoo'
 * S: '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/work/rpm2targz-2021.03.16'
!!! post install failed; exiting.

>>> Failed to emerge app-arch/rpm2targz-2021.03.16, Log file:

>>>  '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/temp/build.log'

 * Messages for package app-arch/rpm2targz-2021.03.16:

 * ERROR: app-arch/rpm2targz-2021.03.16::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 596:  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"
 * 
 * If you need support, post the output of `emerge --info '=app-arch/rpm2targz-2021.03.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-arch/rpm2targz-2021.03.16::gentoo'`.
 * The complete build log is located at '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/temp/build.log'.
 * The ebuild environment file is located at '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/temp/environment'.
 * Working directory: '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/image/data/local/tmp/gentoo'
 * S: '/data/local/tmp/gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/work/rpm2targz-2021.03.16'
Comment 1 Nathan Shearer 2021-04-01 03:07:52 UTC
Created attachment 696606 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-01 03:07:58 UTC
Could you share the full build.log and emerge --info please? I can't reproduce this on a macOS Prefix with rpm2targz-2021.03.16.ebuild.
Comment 3 Nathan Shearer 2021-04-01 03:08:33 UTC
Created attachment 696609 [details]
emerge --info
Comment 4 Nathan Shearer 2021-04-01 03:09:59 UTC
Created attachment 696612 [details]
environment
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-01 03:10:34 UTC
(In reply to Nathan Shearer from comment #1)
> Created attachment 696606 [details]
> build.log

>>>> Install app-arch/rpm2targz-2021.03.16 into /Users/sam/Gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/image
make SHELL=/Users/sam/Gentoo/bin/bash -j4 DESTDIR=/Users/sam/Gentoo/var/tmp/portage/app-arch/rpm2targz-2021.03.16/image prefix=/Users/sam/Gentoo/usr install

This is what I get which has the prefix= line as you would expect...

I think you need to emerge --sync as Fabian added this in 2bbd5998464fec4b4967ae5dee4fdd5ced7b4f03 on March 29th.
Comment 6 Nathan Shearer 2021-04-01 03:12:39 UTC
Wow that was a fast reply, I'll sync and retry, thanks!
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-04-01 03:13:16 UTC
(In reply to Nathan Shearer from comment #6)
> Wow that was a fast reply, I'll sync and retry, thanks!

I try to give good service! Let me know how you get on :)