Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 210449
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
desttree.patch reset desttree state variables before calling src_install patch Zac Medico 2008-02-19 06:01 0000 1.01 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 210449 depends on: Show dependency tree
Bug 210449 blocks: 210077 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-17 09:56 0000
consider this src_install():
src_install() {
        touch f
        tree "${D}"
        dobin f
        tree "${D}"
        into /moo
        tree "${D}"
        dobin f
        tree "${D}"
}

if you do:
ebuild <ebuild> install
you'll end up with the correct tree the first time:
/var/tmp/portage/app-shells/sandboxshell-0.3-r4/image/
|-- moo
|   `-- bin
|       `-- f
`-- usr
    `-- bin
        `-- f
4 directories, 2 files

but the wrong tree every other time:
/var/tmp/portage/app-shells/sandboxshell-0.3-r4/image/
`-- moo
    `-- bin
        `-- f
2 directories, 1 file




Portage 2.2_pre2 (default-linux/amd64/2006.1/desktop, gcc-4.2.3, glibc-2.7-r1,
2.6.24 x86_64)

------- Comment #1 From Zac Medico 2008-02-19 06:01:01 0000 -------
Created an attachment (id=143936) [details]
reset desttree state variables before calling src_install

------- Comment #2 From Zac Medico 2008-02-29 19:33:42 0000 -------
This is fixed in 2.2_pre3.

------- Comment #3 From Marius Mauch (RETIRED) 2008-03-20 18:14:56 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

------- Comment #4 From Marius Mauch (RETIRED) 2008-03-20 18:15:42 0000 -------
This is supposed to be fixed in portage-2.2_pre5 or earlier.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug