Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149464 - licq ebuilds install nothing at all with PORTAGE_TMPDIR="/usr/PORTAGE_TMPDIR"
Summary: licq ebuilds install nothing at all with PORTAGE_TMPDIR="/usr/PORTAGE_TMPDIR"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 17:24 UTC by Clemens Noss
Modified: 2006-10-22 08:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Noss 2006-09-28 17:24:12 UTC
> emerge --info | grep PORTAGE_TMPDIR
PORTAGE_TMPDIR="/usr/PORTAGE_TMPDIR"

In this case, the line

rm -fR ${D}/$(echo ${D} | awk -F / '{print $2}')

removes everything that should have been installed, by removing $D/usr

Suggestion: remove it only  if echo $D | grep -qv /usr/

It seems to be harmless to not remove it, maybe print an "einfo" message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-29 00:35:05 UTC
Sorry, I don't understand. What's your PORTAGE_TMPDIR? PORTAGE_TMPDIR="/usr/PORTAGE_TMPDIR" does't make any sense.
Comment 2 Clemens Noss 2006-09-29 08:46:06 UTC
My $PORTAGE_TMPDIR is /usr/PORTAGE_TMPDIR/ to make bash-completion help me remember the variable name and the X buffer help me spell it (this was before I put it in /etc/make.conf).

But it doesn't matter, what matters is that $PORTAGE_TMPDIR starts with /usr/.

I tried a link /var/tmp/PORTAGE_TMPDIR/ -> /usr/PORTAGE_TMPDIR/, but the link is resolved before $D is set.
Comment 3 Clemens Noss 2006-10-02 12:00:27 UTC
reopening
Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2006-10-22 08:29:03 UTC
fixed in 1.3.4-r1,
thanks for reporting.