View previous topic :: View next topic |
Author |
Message |
elover Tux's lil' helper

Joined: 20 Nov 2019 Posts: 78 Location: Spain
|
Posted: Sun Oct 04, 2020 4:04 pm Post subject: Error manifests of an ebuild |
|
|
Hi, I went to install my printer ebuild and received a manifest error that I didn't receive before.
Specifically this one:
Code: | ❯ sudo repoman manifest
* ERROR: net-print/cnijfilter-3.90-r2::elover failed (depend phase):
* ecnij.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 609: Called source '/var/db/repos/localrepo/net-print/cnijfilter/cnijfilter-3.90-r2.ebuild'
* cnijfilter-3.90-r2.ebuild, line 12: Called inherit 'ecnij'
* 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 '=net-print/cnijfilter-3.90-r2::elover'`,
* the complete build log and the output of `emerge -pqv '=net-print/cnijfilter-3.90-r2::elover'`.
* The ebuild environment file is located at '/var/portage/net-print/cnijfilter-3.90-r2/temp/environment'.
* Working directory: '/var/portage/net-print/cnijfilter-3.90-r2/homedir'
* S: '/var/portage/net-print/cnijfilter-3.90-r2/work/cnijfilter-3.90'
!!! getFetchMap(): aux_get() error reading net-print/cnijfilter-3.90-r2; aborting.
!!! Unable to generate manifest for '/var/db/repos/localrepo/net-print/cnijfilter'.
manifest.bad [fatal] 1
net-print/cnijfilter/Manifest
|
For the creation of ebuild is impossible, since I have no knowledge of script creation
This is the ebuild:
Code: | # Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MULTILIB_COMPAT=( abi_x86_{32,64} )
PRINTER_MODEL=( "mx720" "mx920" "mx390" "mx450" "mx520" "e660" )
PRINTER_ID=( "416" "417" "418" "419" "420" "421" )
inherit ecnij
DESCRIPTION="Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series)"
HOMEPAGE="http://support-au.canon.com.au/contents/AU/EN/0100517102.html"
SRC_URI="http://gdlp01.c-wss.com/gds/1/0100005171/01/${PN}-source-${PV}-1.tar.gz"
IUSE="+doc"
RESTRICT="mirror"
PATCHES=(
"${FILESDIR}"/${PN}-3.20-4-ppd.patch
"${FILESDIR}"/${PN}-3.70-1-libexec-cups.patch
"${FILESDIR}"/${PN}-3.70-1-libexec-backend.patch
"${FILESDIR}"/${PN}-3.80-5-abi_x86_32.patch
"${FILESDIR}"/${PN}-3.80-1-cups-1.6.patch
"${FILESDIR}"/${PN}-${PV}-6-headers.patch
"${FILESDIR}"/${PN}-3.80-6-cups-1.6.patch
"${FILESDIR}"/${PN}-3.70-6-headers.patch
"${FILESDIR}"/${PN}-3.70-6-cups-1.6.patch
)
src_install() {
ecnij_src_install
if use usb; then
insinto /etc/udev/rules.d
doins etc/81-canonij_prn.rules
fi
}
pkg_postinst() {
if use usb; then
if [ -x "$(which udevadm)" ]; then
einfo ""
einfo "Reloading usb rules..."
udevadm control --reload-rules 2> /dev/null
udevadm trigger --action=add --subsystem-match=usb 2> /dev/null
else
einfo ""
einfo "Please, reload usb rules manually."
fi
fi
ecnij_pkg_postinst
} |
|
|
Back to top |
|
 |
fedeliallalinea Moderator


Joined: 08 Mar 2003 Posts: 25841 Location: here
|
Posted: Sun Oct 04, 2020 4:07 pm Post subject: |
|
|
Code: | * ERROR: net-print/cnijfilter-3.90-r2::elover failed (depend phase):
* ecnij.eclass could not be found by inherit() |
You should also download ecnij.eclass for this ebuild and put in /path/of/your/overlay/eclass _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
elover Tux's lil' helper

Joined: 20 Nov 2019 Posts: 78 Location: Spain
|
Posted: Sun Oct 04, 2020 4:48 pm Post subject: |
|
|
fedeliallalinea wrote: | Code: | * ERROR: net-print/cnijfilter-3.90-r2::elover failed (depend phase):
* ecnij.eclass could not be found by inherit() |
You should also download ecnij.eclass for this ebuild and put in /path/of/your/overlay/eclass |
Solved! Thank you! |
|
Back to top |
|
 |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3640
|
Posted: Sun Oct 04, 2020 6:11 pm Post subject: Re: Error manifests of an ebuild |
|
|
In case your specific printer model
elover wrote: | Code: | PRINTER_MODEL=( "mx720" "mx920" "mx390" "mx450" "mx520" "e660" )
PRINTER_ID=( "416" "417" "418" "419" "420" "421" )
inherit ecnij
DESCRIPTION="Canon InkJet Printer Driver for Linux (Pixus/Pixma-Series)" |
|
is a networked one you might try https://wiki.gentoo.org/wiki/Driverless_printing and toss the drivers |
|
Back to top |
|
 |
|