Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109684 - sci-misc/h5utils-1.7.2 ACCESS VIOLATION
Summary: sci-misc/h5utils-1.7.2 ACCESS VIOLATION
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 02:02 UTC by Andrey
Modified: 2005-10-21 01:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild (h5utils-1.7.2.ebuild.diff,798 bytes, patch)
2005-10-18 02:05 UTC, Andrey
Details | Diff
patch for Makefile.in (Makefile.in.diff,474 bytes, patch)
2005-10-18 02:06 UTC, Andrey
Details | Diff
patch for configure.in (configure.in.diff,751 bytes, patch)
2005-10-18 02:06 UTC, Andrey
Details | Diff
configure.ac patch for h5utils-1.10 (configure.ac.diff,619 bytes, patch)
2005-10-20 00:12 UTC, Andrey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2005-10-18 02:02:06 UTC
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 Andrey 2005-10-18 02:05:08 UTC
Created attachment 70915 [details, diff]
patch for ebuild
Comment 2 Andrey 2005-10-18 02:06:01 UTC
Created attachment 70916 [details, diff]
patch for Makefile.in
Comment 3 Andrey 2005-10-18 02:06:24 UTC
Created attachment 70917 [details, diff]
patch for configure.in
Comment 4 Andrey 2005-10-18 02:07:53 UTC
Attached patches should fix the problem (at least they worked for me. :)) 
Comment 5 Olivier Fisette (RETIRED) gentoo-dev 2005-10-19 17:49:25 UTC
I was able to reproduce. This only happends if octave is installed. A USE flag 
is probably in order. 
Comment 6 Olivier Fisette (RETIRED) gentoo-dev 2005-10-19 18:02:07 UTC
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 Andrey 2005-10-20 00:12:26 UTC
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
Comment 8 Olivier Fisette (RETIRED) gentoo-dev 2005-10-20 16:40:59 UTC
Thanks for your work, Andrey. This is now fixed in Portage. 
Comment 9 Andrey 2005-10-21 01:04:47 UTC
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 )