| Summary: | www-client:dooble-1.55 fails to compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | Richard Yao (RETIRED) <ryao> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | bkohler |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log
patch to fix install paths |
||
|
Description
Agostino Sarubbo
2015-11-16 08:32:25 UTC
I believe the problem here is this code in src_install:
# XXX: The build system installs the build path into INSTALL_ROOT.
# It should be fixed not to do this.
rm -r "${ED}/var" || die "Failed to remove build path from ${ED}"
The extra files in ${ED} that need pruning are NOT hardcoded to /var, they are based on your PORTAGE_TMPDIR. Eg I have PORTAGE_TMPDIR=/mnt/disk/var-tmp/ and I end up with files at image/mnt/disk/var-tmp/portage/www-client/dooble-1.56c/work/dooble.d/Version 1.x
Not sure of the best fix here
Created attachment 488694 [details, diff]
patch to fix install paths
I think with this patch to dooble's source, the "rm" at the end of the ebuild's install phase will no longer be necessary.
The change could probably be done in src_prepare's big inline sed call but that whole thing is a bit of a mess and could probably use some reworking Removing, #565894. |