Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197423 - net-fs/samba-3.0.26a always removes the docs
Summary: net-fs/samba-3.0.26a always removes the docs
Status: RESOLVED DUPLICATE of bug 99375
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 14:48 UTC by Dmitry Karasik
Modified: 2007-10-31 14:29 UTC (History)
0 users

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


Attachments
emerge.log for samba (emerge.log,2.54 KB, text/plain)
2007-10-30 14:14 UTC, Dmitry Karasik
Details
emerge log (emerge.log,101.86 KB, text/plain)
2007-10-30 20:43 UTC, Dmitry Karasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Karasik 2007-10-29 14:48:00 UTC
there's code in postrm in the ebuild that reads:

        # If stale docs, and one isn't re-emerging the latest version, removes
        # (this is actually a portage bug, though)
        [[ -n ${PF} && ! -f ${ROOT}/usr/$(get_libdir)/${PN}/en.msg ]] && \
                rm -rf "${ROOT}"/usr/share/doc/${PF}


Unfortunately en.msg doesn't exist for me, and I am remerging. So the install ends up wiping out the docs dir.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 15:13:09 UTC
Attach the emerge.log here.
Comment 2 Dmitry Karasik 2007-10-30 14:14:17 UTC
Created attachment 134715 [details]
emerge.log for samba

You mean /var/log/emerge.log?

Attached.
Comment 3 Dmitry Karasik 2007-10-30 14:14:44 UTC
Reopening
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-30 14:22:35 UTC
Comment on attachment 134715 [details]
emerge.log for samba

No, I mean samba emerge log, like, `emerge samba &> log`
Comment 5 Dmitry Karasik 2007-10-30 20:43:21 UTC
Created attachment 134734 [details]
emerge log
Comment 6 Dmitry Karasik 2007-10-30 20:44:03 UTC
Attached emerge output.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-10-30 20:57:27 UTC
As the log clearly shows, no docs are deleted.
Comment 8 Dmitry Karasik 2007-10-31 11:34:00 UTC
The log doesn't show it, because this happens in postrm and not output is printed for it. I can assure you that when emerge terminates the /usr/share/doc/samba-3.0.26a directory does not exist!
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-10-31 14:29:46 UTC

*** This bug has been marked as a duplicate of bug 99375 ***