Bug 109684 - sci-misc/h5utils-1.7.2 ACCESS VIOLATION
Bug#: 109684 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: aela@gorodok.net
Component: Ebuilds
URL: 
Summary: sci-misc/h5utils-1.7.2 ACCESS VIOLATION
Keywords:  
Status Whiteboard: 
Opened: 2005-10-18 02:02 0000
Description:   Opened: 2005-10-18 02:02 0000
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 
--------------------------------------------------------------------------------

------- Comment #1 From Andrey 2005-10-18 02:05:08 0000 -------
Created an attachment (id=70915) [details]
patch for ebuild

------- Comment #2 From Andrey 2005-10-18 02:06:01 0000 -------
Created an attachment (id=70916) [details]
patch for Makefile.in

------- Comment #3 From Andrey 2005-10-18 02:06:24 0000 -------
Created an attachment (id=70917) [details]
patch for configure.in

------- Comment #4 From Andrey 2005-10-18 02:07:53 0000 -------
Attached patches should fix the problem (at least they worked for me. :)) 

------- Comment #5 From Olivier Fisette 2005-10-19 17:49:25 0000 -------
I was able to reproduce. This only happends if octave is installed. A USE flag 
is probably in order. 

------- Comment #6 From Olivier Fisette 2005-10-19 18:02:07 0000 -------
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. 

------- Comment #7 From Andrey 2005-10-20 00:12:26 0000 -------
Created an attachment (id=71057) [details]
configure.ac patch for h5utils-1.10

h5utils-1.10 uses automake, so only configure.ac have to be patched

------- Comment #8 From Olivier Fisette 2005-10-20 16:40:59 0000 -------
Thanks for your work, Andrey. This is now fixed in Portage. 

------- Comment #9 From Andrey 2005-10-21 01:04:47 0000 -------
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 )