Ticket #10 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Gentoo ebuild error (~amd64)

Reported by: juanluperez@… Owned by: dsmith
Priority: minor Milestone: Version 1.0
Component: other Version: 0.5.02
Keywords: Gentoo ebuild Cc:

Description (last modified by dsmith) (diff)

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'.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
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'

Change History

Changed 6 years ago by dsmith

  • reporter changed from dsmith to juanluperez@…

Changed 6 years ago by dsmith

  • description modified (diff)

Changed 6 years ago by dsmith

The problem is in the way that portage is setting the install directory variables. While it's not technically "wrong", it makes things difficult if you aren't running running automake. I'm looking at implementing automake anyway, so I'm going to put this off until that's done. However, if anyone wants to send me a patch in the meantime, I'll include it.

Changed 6 years ago by dsmith

  • status changed from new to closed
  • resolution set to fixed

Well, I took a stab at implementing automake (the results), and against hope, the tool is still as bad as it was the last time I tried to implement it a couple of years ago: bad design, bad interface, horrible documentation....but that's a rant for another time. In any case, I went ahead and implemented the variable that makes portage play nice with automake, so it should work now.

Note: See TracTickets for help on using tickets.