Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 11:20:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221560] net/mpich fails to build with gcc6
Message-ID:  <bug-221560-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221560

            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@FreeBSD.org
          Reporter: as@cmplx.uk
          Assignee: tijl@FreeBSD.org
             Flags: maintainer-feedback?(tijl@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=3Dgcc=3D6
.if !empty(.CURDIR:M/usr/ports/net/mpich)
USE_GCC=3D6
.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
=3D=3D=3D>  Script "configure" failed unexpectedly.
Please report the problem to tijl@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221560-13>