Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810631 - x11-base/xorg-server-9999 fails to install. cannot delete files that were moved into libxcvt
Summary: x11-base/xorg-server-9999 fails to install. cannot delete files that were mov...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-27 08:58 UTC by otigkd
Modified: 2021-08-28 01:53 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 otigkd 2021-08-27 08:58:03 UTC
Tried to update xorg-9999 and saw that libxcvt was moved to separate package.
Had to uninstall xorg-9999 temporarily to install libxcvt-9999.
After installation, building on xorg-9999 succeeded, but failed at install phase.
Fix was to comment to following lines in the ebuild:

src_install() {
	xorg-3_src_install

	server_based_install

	if ! use minimal && use xorg; then
		# Install xorg.conf.example into docs
		dodoc "${S}"/hw/xfree86/xorg.conf.example

		rm \
			"${ED}"/usr/bin/cvt \
			"${ED}"/usr/share/man/man1/cvt.1 || die
	fi

	# install the @x11-module-rebuild set for Portage
	insinto /usr/share/portage/config/sets
	newins "${FILESDIR}"/xorg-sets.conf xorg.conf

	find "${ED}"/var -type d -empty -delete || die
}

to

rc_install() {
	xorg-3_src_install

	server_based_install

	if ! use minimal && use xorg; then
		# Install xorg.conf.example into docs
		dodoc "${S}"/hw/xfree86/xorg.conf.example

		#rm \
		#	"${ED}"/usr/bin/cvt \
		#	"${ED}"/usr/share/man/man1/cvt.1 || die
	fi

	# install the @x11-module-rebuild set for Portage
	insinto /usr/share/portage/config/sets
	newins "${FILESDIR}"/xorg-sets.conf xorg.conf

	find "${ED}"/var -type d -empty -delete || die
}

(comment the "rm "${ED}"/usr/bin/cvt "${ED}"/usr/share/man/man1/cvt.1")
Comment 1 Larry the Git Cow gentoo-dev 2021-08-28 01:53:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d4633490db31105226271859df539489d107c0c

commit 8d4633490db31105226271859df539489d107c0c
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-08-28 01:03:04 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-08-28 01:53:12 +0000

    x11-base/xorg-server: Drop cvt removal workaround
    
    Closes: https://bugs.gentoo.org/810631
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-server/xorg-server-9999.ebuild | 4 ----
 1 file changed, 4 deletions(-)