From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 23 12:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F182DF12 for ; Fri, 23 May 2014 12:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C0EF723E8 for ; Fri, 23 May 2014 12:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4NC00AR014282 for ; Fri, 23 May 2014 12:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4NC007l014271; Fri, 23 May 2014 12:00:00 GMT (envelope-from gnats) Resent-Date: Fri, 23 May 2014 12:00:00 GMT Resent-Message-Id: <201405231200.s4NC007l014271@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsurutani Naoki Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEDA3D62 for ; Fri, 23 May 2014 11:55:31 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [133.3.248.237]) by mx1.freebsd.org (Postfix) with ESMTP id 8352323C1 for ; Fri, 23 May 2014 11:55:30 +0000 (UTC) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 419A82EC003; Fri, 23 May 2014 20:55:29 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (p17131-ipngn100401kyoto.kyoto.ocn.ne.jp [180.10.64.131]) by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id 2E6EB2EC001; Fri, 23 May 2014 20:55:28 +0900 (JST) Received: from h116.65.226.10.32118.vlan.kuins.net (h116.65.226.10.32118.vlan.kuins.net [192.168.3.116]) by h120.65.226.10.32118.vlan.kuins.net (8.14.8/8.14.8/20071004-1) with ESMTP id s4NBtP9B035182; Fri, 23 May 2014 20:55:25 +0900 (JST) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from h116.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1]) by h116.65.226.10.32118.vlan.kuins.net (8.14.8/8.14.8/20070718-1) with ESMTP id s4NBtP7X054304; Fri, 23 May 2014 20:55:25 +0900 (JST) (envelope-from turutani@h116.65.226.10.32118.vlan.kuins.net) Received: (from turutani@localhost) by h116.65.226.10.32118.vlan.kuins.net (8.14.8/8.14.8/Submit) id s4NBtPjV054303; Fri, 23 May 2014 20:55:25 +0900 (JST) (envelope-from turutani) Message-Id: <201405231155.s4NBtPjV054303@h116.65.226.10.32118.vlan.kuins.net> Date: Fri, 23 May 2014 20:55:25 +0900 (JST) From: Tsurutani Naoki Reply-To: Tsurutani Naoki To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/190138: building science/hdf5 fails Cc: turutani@scphys.kyoto-u.ac.jp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 12:00:01 -0000 >Number: 190138 >Category: ports >Synopsis: building science/hdf5 fails >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 23 12:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 8.4-STABLE amd64 >Organization: >Environment: System: FreeBSD h116.65.226.10.32118.vlan.kuins.net 8.4-STABLE FreeBSD 8.4-STABLE #3 r266560: Fri May 23 07:44:20 JST 2014 turutani@h116.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER13 amd64 >Description: building science/hdf5 fails. >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. >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: diff -urN hdf5.orig/Makefile hdf5/Makefile --- hdf5.orig/Makefile 2014-05-20 03:38:48.000000000 +0900 +++ hdf5/Makefile 2014-05-23 20:42:12.000000000 +0900 @@ -12,6 +12,7 @@ COMMENT= Hierarchical Data Format library (from NCSA) LICENSE= BSD4CLAUSE +MAKE_JOBS_UNSAFE= yes CONFLICTS_INSTALL= hdf-4.[0-9]* hdf5-1.6.[0-9]* diff -urN hdf5.orig/pkg-plist hdf5/pkg-plist --- hdf5.orig/pkg-plist 2014-05-20 03:38:48.000000000 +0900 +++ hdf5/pkg-plist 2014-05-23 20:39:59.000000000 +0900 @@ -148,4 +148,4 @@ %%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 >Release-Note: >Audit-Trail: >Unformatted: