Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357435 - dev-libs/tre-0.8.0 failing to install due to wrong EAPI usage
Summary: dev-libs/tre-0.8.0 failing to install due to wrong EAPI usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 20:41 UTC by Kilburn Abrahams
Modified: 2011-03-05 00:33 UTC (History)
1 user (show)

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


Attachments
fixes dev-libs/tre-0.8.0 build issue (tre.patch,1.84 KB, patch)
2011-03-05 00:23 UTC, Jake Buchholz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kilburn Abrahams 2011-03-04 20:41:04 UTC
ACCESS DENIED  rename:       /usr/bin/agrep
mv: cannot move `/usr/bin/agrep' to `/usr/bin/agrep-tre': Permission denied
 * ERROR: dev-libs/tre-0.8.0 failed:
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 4953:  Called die
 * The specific snippet of code:
 *       mv ${ED}/usr/bin/agrep{,-tre} || die;
 *
 * If you need support, post the output of 'emerge --info =dev-libs/tre-0.8.0',
 * the complete build log and the output of 'emerge -pqv =dev-libs/tre-0.8.0'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/tre-0.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/tre-0.8.0/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/tre-0.8.0/work/tre-0.8.0'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-28983.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: rename
S: deny
P: /usr/bin/agrep
A: /usr/bin/agrep
R: /usr/bin/agrep
C: mv /usr/bin/agrep /usr/bin/agrep-tre
--------------------------------------------------------------------------------


Reproducible: Always
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-04 20:47:34 UTC
Please add your emerge --info to a comment on this bug.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-03-04 20:54:33 UTC
This ebuild is using EAPI-2 and uses ${ED}.
Comment 3 Jake Buchholz 2011-03-05 00:23:23 UTC
Created attachment 264783 [details, diff]
fixes dev-libs/tre-0.8.0 build issue

this patch allowed me to emerge dev-libs/tre-0.8.0
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-03-05 00:33:22 UTC
(In reply to comment #3)
> Created an attachment (id=264783) [details]
> fixes dev-libs/tre-0.8.0 build issue
> 
> this patch allowed me to emerge dev-libs/tre-0.8.0
> 

That works but it is more valid to change it to EAPI=3. Done, thanks for the report.