{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3054","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3054/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3054/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/3054/events","html_url":"https://github.com/Homebrew/homebrew-science/issues/3054","id":118900512,"number":3054,"title":"hdf5: simple fortran example fails to run because of \"--enable-unsupported\" option","user":{"login":"claudiodsf","id":1390993,"avatar_url":"https://avatars.githubusercontent.com/u/1390993?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiodsf","html_url":"https://github.com/claudiodsf","followers_url":"https://api.github.com/users/claudiodsf/followers","following_url":"https://api.github.com/users/claudiodsf/following{/other_user}","gists_url":"https://api.github.com/users/claudiodsf/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiodsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiodsf/subscriptions","organizations_url":"https://api.github.com/users/claudiodsf/orgs","repos_url":"https://api.github.com/users/claudiodsf/repos","events_url":"https://api.github.com/users/claudiodsf/events{/privacy}","received_events_url":"https://api.github.com/users/claudiodsf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T18:51:53Z","updated_at":"2015-11-25T18:51:53Z","closed_at":null,"body":"Installed `hdf5` with `--with-fortran`.\r\n\r\nThis very basic example (https://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/fortran/examples/h5_crtdat.f90) fails to run with the following errors:\r\n```\r\nHDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:\r\n  #000: H5F.c line 522 in H5Fcreate(): unable to create file\r\n    major: File accessibilty\r\n    minor: Unable to open file\r\n  #001: H5Fint.c line 1048 in H5F_open(): unable to open file\r\n    major: File accessibilty\r\n    minor: Unable to open file\r\n  #002: H5FD.c line 993 in H5FD_open(): open failed\r\n    major: Virtual File Layer\r\n    minor: Unable to initialize object\r\n  #003: H5FDsec2.c line 339 in H5FD_sec2_open(): unable to open file: name = 'dsetf.h5', errno = 17, error message = 'File exists', flags = 15, o_flags = a02\r\n    major: File accessibilty\r\n    minor: Unable to open file\r\nHDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:\r\n  #000: H5D.c line 165 in H5Dcreate2(): not a location ID\r\n    major: Invalid arguments to routine\r\n    minor: Inappropriate type\r\n  #001: H5Gloc.c line 253 in H5G_loc(): invalid object ID\r\n    major: Invalid arguments to routine\r\n    minor: Bad value\r\nHDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:\r\n  #000: H5D.c line 415 in H5Dclose(): not a dataset\r\n    major: Invalid arguments to routine\r\n    minor: Inappropriate type\r\nHDF5-DIAG: Error detected in HDF5 (1.8.16) thread 0:\r\n  #000: H5F.c line 774 in H5Fclose(): not a file ID\r\n    major: Invalid arguments to routine\r\n    minor: Inappropriate type\r\n```\r\n\r\nRemoving the configure option `--enable-unsupported` (introduced in https://github.com/Homebrew/homebrew-science/commit/8047af58fc30ecc9f849faa2d84b54769c8b072a) fixes the issue."}}