[Bug 221560] net/mpich fails to build with gcc6
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Aug 16 11:20:13 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221560
Bug ID: 221560
Summary: net/mpich fails to build with gcc6
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: tijl at FreeBSD.org
Reporter: as at cmplx.uk
Assignee: tijl at FreeBSD.org
Flags: maintainer-feedback?(tijl at FreeBSD.org)
I need to build net/mpich with GCC on 11.1-RELEASE.
I tried adding these lines to /etc/make.conf:
DEFAULT_VERSIONS=gcc=6
.if !empty(.CURDIR:M/usr/ports/net/mpich)
USE_GCC=6
.endif
Then "make configure" gives this warning and then an error:
checking pthread.h usability... no
checking pthread.h presence... yes
configure: WARNING: pthread.h: present but cannot be compiled
configure: WARNING: pthread.h: check for missing prerequisite headers?
configure: WARNING: pthread.h: see the Autoconf documentation
configure: WARNING: pthread.h: section "Present But Cannot Be Compiled"
configure: WARNING: pthread.h: proceeding with the compiler's result
configure: WARNING: ##
----------------------------------------------------------------- ##
configure: WARNING: ## Report this to
https://trac.mcs.anl.gov/projects/openpa/newticket ##
configure: WARNING: ##
----------------------------------------------------------------- ##
checking for pthread.h... no
checking size of int... configure: error: in
`/usr/ports/net/mpich/work/mpich-3.2/src/openpa':
configure: error: cannot compute sizeof (int)
See `config.log' for more details
configure: error: OpenPA configure failed
===> Script "configure" failed unexpectedly.
Please report the problem to tijl at FreeBSD.org [maintainer] and attach the
"/usr/ports/net/mpich/work/mpich-3.2/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/mpich
*** Error code 1
Using either gcc5 or gcc7 gives neither warning nor error.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list