Bug 190138 - building science/hdf5 fails
Summary: building science/hdf5 fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-23 13:00 UTC by TsurutaniNaoki
Modified: 2014-05-24 08:00 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (705 bytes, patch)
2014-05-23 13:00 UTC, TsurutaniNaoki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2014-05-23 13:00:00 UTC
	building science/hdf5 fails.

Fix: The file 'th5_misc.mod' exists.
	This might be caused by parallel building.
	Adding "MAKE_JOBS_UNSAFE=yes" to Makefile can avoid this.
	In addition, installing fails with wrong pkg-plist.
	Here is a patch:
How-To-Repeat: 	% make
	t.c: In function 'h5_exit_c_':
	t.c:137: warning: function might be possible candidate for attribute 'noreturn'
	t.c: In function 'h5_cleanup_c_':
	t.c:117: warning: will never be executed
	t.c: In function 'h5_fixname_c_':
	t.c:66: warning: will never be executed
	  FC       fortranlib_test-tH5D.o
	tH5F.f90:43.12:
	tH5F.f90:43.12:
	 
	        USE TH5_MISC
	            1
	Fatal Error: Can't open module file 'th5_misc.mod' for reading at (1): No such file or directory
	        USE TH5_MISC
	            1
	Fatal Error: Can't open module file 'th5_misc.mod' for reading at (1): No such file or directory
	*** Error code 1
	*** Error code 1
	tH5D.f90:42.12:
	 
	        USE TH5_MISC
	            1
	Fatal Error: Can't open module file 'th5_misc.mod' for reading at (1): No such file or directory
	*** Error code 1
	3 errors
	*** Error code 1
	1 error
	*** Error code 1
	1 error
	===> Compilation failed unexpectedly.
	Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
	the maintainer.
	*** Error code 1
	 
	Stop in /usr/ports/science/hdf5.
	*** Error code 1
	 
	Stop in /usr/ports/science/hdf5.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-05-23 13:00:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-24 07:50:29 UTC
Author: sunpoet
Date: Sat May 24 06:50:24 2014
New Revision: 354986
URL: http://svnweb.freebsd.org/changeset/ports/354986
QAT: https://qat.redports.org/buildarchive/r354986/

Log:
  - Mark MAKE_JOBS_UNSAFE
  - Fix PLIST
  - Bump PORTREVISION for package change
  
  PR:		ports/190138
  Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>

Modified:
  head/science/hdf5/Makefile
  head/science/hdf5/pkg-plist

Modified: head/science/hdf5/Makefile
==============================================================================
--- head/science/hdf5/Makefile	Sat May 24 06:39:39 2014	(r354985)
+++ head/science/hdf5/Makefile	Sat May 24 06:50:24 2014	(r354986)
@@ -3,6 +3,7 @@
 
 PORTNAME=	hdf5
 PORTVERSION=	1.8.13
+PORTREVISION=	1
 CATEGORIES=	science archivers graphics
 MASTER_SITES=	http://www.hdfgroup.org/ftp/HDF5/releases/${DISTNAME}/src/ \
 		ftp://ftp.hdfgroup.org/HDF5/releases/${DISTNAME}/src/ \
@@ -27,6 +28,7 @@ CONFIGURE_ARGS=	--enable-cxx \
 		--with-zlib=/usr
 GNU_CONFIGURE=	yes
 MAKE_ENV=	INSTALL_STRIP_FLAG=${STRIP}
+MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
 USES=		libtool tar:bzip2
 

Modified: head/science/hdf5/pkg-plist
==============================================================================
--- head/science/hdf5/pkg-plist	Sat May 24 06:39:39 2014	(r354985)
+++ head/science/hdf5/pkg-plist	Sat May 24 06:50:24 2014	(r354986)
@@ -120,6 +120,7 @@ include/H5version.h
 %%FORTRAN%%include/h5t.mod
 %%FORTRAN%%include/h5t_provisional.mod
 %%FORTRAN%%include/h5tb.mod
+%%FORTRAN%%include/h5test_kind_sizeof_mod.mod
 %%FORTRAN%%include/h5z.mod
 include/hdf5.h
 %%FORTRAN%%include/hdf5.mod
@@ -148,4 +149,4 @@ lib/libhdf5_hl_cpp.so.8.0.2
 %%FORTRAN%%lib/libhdf5hl_fortran.a
 %%FORTRAN%%lib/libhdf5hl_fortran.so
 %%FORTRAN%%lib/libhdf5hl_fortran.so.8
-%%FORTRAN%%lib/libhdf5hl_fortran.so.8.0.1
+%%FORTRAN%%lib/libhdf5hl_fortran.so.8.0.2
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2014-05-24 07:50:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!