commit: 1db39caa60172f86d9f2c1d248e26c87f7ce5676 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Tue Sep 22 08:29:20 2020 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Tue Sep 22 20:24:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1db39caa
sys-process/criu: revbump 3.14-r1, python no longer optional python is no longer optional, criu target requires crit, which requires pycriu. also check for IA32 emulation only on amd64. and remove RAW_LDFLAGS, it was added by patch which is no longer applied to this version. LDFLAGS still not honored, #728148 Closes: https://bugs.gentoo.org/735636 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> .../{criu-3.14-r1.ebuild => criu-3.14-r2.ebuild} | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sys-process/criu/criu-3.14-r1.ebuild b/sys-process/criu/criu-3.14-r2.ebuild similarity index 85% rename from sys-process/criu/criu-3.14-r1.ebuild rename to sys-process/criu/criu-3.14-r2.ebuild index 17298a55f2c..0cab02a8774 100644 --- a/sys-process/criu/criu-3.14-r1.ebuild +++ b/sys-process/criu/criu-3.14-r2.ebuild @@ -14,16 +14,16 @@ SRC_URI="https://download.openvz.org/criu/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64" -IUSE="doc python selinux setproctitle static-libs" +IUSE="doc selinux setproctitle static-libs" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" + ${PYTHON_DEPS} dev-libs/protobuf-c dev-libs/libnl:3 net-libs/libnet:1.1 sys-libs/libcap - python? ( ${PYTHON_DEPS} ) selinux? ( sys-libs/libselinux ) setproctitle? ( dev-libs/libbsd )" DEPEND="${RDEPEND} @@ -32,14 +32,12 @@ DEPEND="${RDEPEND} app-text/xmlto )" RDEPEND="${RDEPEND} - python? ( - dev-python/protobuf-python[${PYTHON_USEDEP}] - dev-python/ipaddr[${PYTHON_USEDEP}] - )" + dev-python/protobuf-python[${PYTHON_USEDEP}] + dev-python/ipaddr[${PYTHON_USEDEP}] +" CONFIG_CHECK="~CHECKPOINT_RESTORE ~NAMESPACES ~PID_NS ~FHANDLE ~EVENTFD ~EPOLL ~INOTIFY_USER - ~IA32_EMULATION ~UNIX_DIAG ~INET_DIAG ~INET_UDP_DIAG ~PACKET_DIAG ~NETLINK_DIAG ~TUN - ~NETFILTER_XT_MARK" + ~UNIX_DIAG ~INET_DIAG ~INET_UDP_DIAG ~PACKET_DIAG ~NETLINK_DIAG ~TUN ~NETFILTER_XT_MARK" # root access required for tests RESTRICT="test" @@ -60,6 +58,11 @@ criu_arch() { esac } +pkg_setup() { + use amd64 && CONFIG_CHECK+=" ~IA32_EMULATION" + linux-info_pkg_setup +} + src_prepare() { default @@ -81,7 +84,7 @@ src_configure() { src_compile() { local target="all $(usex doc 'docs' '')" - RAW_LDFLAGS="$(raw-ldflags)" emake \ + emake \ HOSTCC="$(tc-getBUILD_CC)" \ CC="$(tc-getCC)" \ LD="$(tc-getLD)" \ @@ -93,7 +96,6 @@ src_compile() { ARCH="$(criu_arch)" \ V=1 WERROR=0 DEBUG=0 \ SETPROCTITLE=$(usex setproctitle) \ - PYCRIU=$(usex python) \ ${target} } @@ -123,9 +125,7 @@ src_install() { use doc && dodoc CREDITS README.md - if use python ; then - python_foreach_impl install_crit - fi + python_foreach_impl install_crit if ! use static-libs; then find "${D}" -name "*.a" -delete || die
