leycec / raiagent

Third-party Gentoo overlay. Ride the Lagrangian point between awesomeness and volatile compounds.
31 stars 14 forks source link

[dev-libs/libvterm] Live ebuild depends on 'bzr' eclass, which doesn't exist anymore in Portage #90

Closed Dr-Terrible closed 3 years ago

Dr-Terrible commented 3 years ago

emerge then fails with:

ERROR: dev-libs/libvterm-9999-r2::raiagent failed (depend phase):
 *   bzr.eclass could not be found by inherit()
 *
 * Call stack:
 *                 ebuild.sh, line 609:  Called source '/usr/portage/overlays/raiagent/dev-libs/libvterm/libvterm-9999-r2.ebuild'
 *   libvterm-9999-r2.ebuild, line   6:  Called inherit 'multilib' 'bzr' 'flag-o-matic'
 *                 ebuild.sh, line 290:  Called die
 * The specific snippet of code:
 *              [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
 *
 * If you need support, post the output of `emerge --info '=dev-libs/libvterm-9999-r2::raiagent'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libvterm-9999-r2::raiagent'`.
 * Working directory: '/usr/lib/python3.7/site-packages'
 * S: '/var/tmp/portage/dev-libs/libvterm-9999-r2/work/libvterm-9999'
leycec commented 3 years ago

Back to Gentoo Land. I sadly have no idea how to resolve this to everyone's satisfaction. I'd love to preserve live libvterm support, but:

My other thought was to just refactor our live libvterm ebuild to fetch tarball snapshots of the most recent libvterm commits (i.e., HEAD) from the existing Bazaar repo – except Portage sensibly requires tarballs to be explicitly checksummed and I would have no reasonable way of doing that.

In short, there are no good solutions. The onus lies on Paul Evans to host his codebases under a sane, well-maintained DVCS. git is the obvious choice, but I'd settle for Mercurial. Until then, I'm reluctantly last-riting libvterm from our overlay. It is a sad day indeed. :sob:

P.S. Please reopen this if you think of something brilliant.