Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670158 - =x11-base/xorg-server-1.20.3: Error during install phase: rmdir "${ED}"/var/log
Summary: =x11-base/xorg-server-1.20.3: Error during install phase: rmdir "${ED}"/var/log
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 16:57 UTC by Dyweni
Modified: 2018-11-02 19:36 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 Dyweni 2018-11-02 16:57:09 UTC
When install =x11-base/xorg-server-1.20.3
Using only these FLAGS:  glamor, ipv6, xvfb

The ebuild fails during install phase:

----
make[1]: Leaving directory '/var/tmp/portage/x11-base/xorg-server-1.20.3/work/xorg-server-1.20.3_build'
rm: cannot remove '/var/tmp/portage/x11-base/xorg-server-1.20.3/image//usr/share/man/man1/Xserver.1x': No such file or directory
rm: cannot remove '/var/tmp/portage/x11-base/xorg-server-1.20.3/image//usr/lib64/xserver/SecurityPolicy': No such file or directory
rm: cannot remove '/var/tmp/portage/x11-base/xorg-server-1.20.3/image//usr/lib64/pkgconfig/xorg-server.pc': No such file or directory
rm: cannot remove '/var/tmp/portage/x11-base/xorg-server-1.20.3/image//usr/share/man/man1/Xserver.1x': No such file or directory
 * ERROR: x11-base/xorg-server-1.20.3::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 3095:  Called die
 * The specific snippet of code:
 *       [ -d "${ED}"/var/log ] && rmdir "${ED}"/var/log || die
 *
 * If you need support, post the output of `emerge --info '=x11-base/xorg-server-1.20.3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-base/xorg-server-1.20.3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.20.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.20.3/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-base/xorg-server-1.20.3/work/xorg-server-1.20.3'
 * S: '/var/tmp/portage/x11-base/xorg-server-1.20.3/work/xorg-server-1.20.3'
----


This does not happen if 'udev' and 'xorg' FLAGS are added.

This was not a problem with this same version that I installed yesterday.  Today ebuild has the same version number but the suid flag was added, it appears.
Comment 1 Larry the Git Cow gentoo-dev 2018-11-02 19:36:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a3bf90ab5e8f122f238d0d2237c910a76890989

commit 4a3bf90ab5e8f122f238d0d2237c910a76890989
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-11-02 19:26:51 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-11-02 19:35:53 +0000

    x11-base/xorg-server: Remove empty directories better
    
    Closes: https://bugs.gentoo.org/670158
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-server/xorg-server-1.20.3.ebuild | 2 +-
 x11-base/xorg-server/xorg-server-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)