| Version 4 (modified by juanluperez@…, 6 years ago) |
|---|
I've got a first attempt at an ebuild. Just unpack the tarball in your portage overlay directory. I use Gentoo, but I've never written an ebuild from scratch, or distributed an overlay, so suggestions are welcome.
-- At first sight it seems ok!
I have had to change your ebuild whith the line 'KEYWORDS="~x86 ~amd64"' because of it does not compile on amd64 arch. But there is another error:
Source compiled. Test phase [not enabled]: app-misc/cwiid-0.5.02
Install cwiid-0.5.02 into /var/tmp/portage/app-misc/cwiid-0.5.02/image/ category app-misc
install -d /var/tmp/portage/app-misc/cwiid-0.5.02/image//etc/cwiid install -d /usr/lib64/cwiid/plugins ACCESS DENIED mkdir: /usr/lib64/cwiid install: no se puede crear el directorio «/usr/lib64/cwiid»: Permiso denegado make: *** /usr/lib64/cwiid/plugins Error 1
!!! ERROR: app-misc/cwiid-0.5.02 failed. Call stack:
ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3071: Called src_install cwiid-0.5.02.ebuild, line 29: Called die
!!! emake install failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-misc/cwiid-0.5.02/temp/build.log'.
LOG FILE = "/var/log/sandbox/sandbox-app-misc_-_cwiid-0.5.02-2162.log"
mkdir: /usr/lib64/cwiid
!!! This ebuild is from an overlay: '/usr/local/portage'

