Access violations occure when octave plugin is built and installed: Reproducible: Always Steps to Reproduce: 1. emerge octave 2. emerge h5utils Actual Results: /bin/install -c -d /usr/libexec/octave/2.1.69/site/oct/x86_64-pc-linux-gnu// ACCESS DENIED chmod: /usr/libexec/octave/2.1.69/site/oct/x86_64-pc-linux-gnu /bin/install: cannot change permissions of `/usr/libexec/octave/2.1.69/site/oct/x86_64-pc-linux-gnu//': Permission denied make: *** [h5read-install] Error 1 !!! ERROR: sci-misc/h5utils-1.7.2 failed. !!! Function einstall, Line 524, Exitcode 2 !!! einstall failed !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sci-misc_-_h5utils-1.7.2-8817.log" chmod: /usr/libexec/octave/2.1.69/site/oct/x86_64-pc-linux-gnu --------------------------------------------------------------------------------
Created attachment 70915 [details, diff] patch for ebuild
Created attachment 70916 [details, diff] patch for Makefile.in
Created attachment 70917 [details, diff] patch for configure.in
Attached patches should fix the problem (at least they worked for me. :))
I was able to reproduce. This only happends if octave is installed. A USE flag is probably in order.
I just added version 1.10 to Portage. The provided patches are no longer valid with this version, unfortunately, so they will have to be rewritten.
Created attachment 71057 [details, diff] configure.ac patch for h5utils-1.10 h5utils-1.10 uses automake, so only configure.ac have to be patched
Thanks for your work, Andrey. This is now fixed in Portage.
Did you forget to put 1.10-octave-path.patch into Portage? =) * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/sci-misc/h5utils/files/1.10-octave-path.patch * ( 1.10-octave-path.patch )