From nobody Sun Aug 07 07:27:02 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0rWB6Cxxz4Y3v7 for ; Sun, 7 Aug 2022 07:27:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0rWB31zqz3vZp for ; Sun, 7 Aug 2022 07:27:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M0rWB1xpxz14Lr for ; Sun, 7 Aug 2022 07:27:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2777R24q092074 for ; Sun, 7 Aug 2022 07:27:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2777R25w092073 for ports-bugs@FreeBSD.org; Sun, 7 Aug 2022 07:27:02 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 265684] net/mpich: Fails to build when devel/uthash is installed Date: Sun, 07 Aug 2022 07:27:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lantw44@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659857222; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rSkO6KS0RymXuAxt097kgyhYx8MHF8w2zM8o69SGjMM=; b=cYFfLnkSb/k+dpuOPqF3Dj1ui16FtbAwnZnxXLsxfdsSYIo1pXrMIAZCkDUHRBAEvBRMxy yBvmPEU0BiBcbnmetPvvxxtLTVzIJ8Q4kHgPJM3CmgUmEleoLUn0iQxn56gspJ2dQkjfDh +kP9xmAfvrxDWlSbXG9Ub0POL2p7A9BXSNpbxJADBdrFPTGZ4p7WIFPA7KBtLXQJ3u5Xiq Lfp0ryrGQLlQQs8O1BxN0qp1Vx6cc3ndmdNpZhLvDqocwLwg6wvKWOHDryRKdnlaAp1uC/ NHqORQYAKmt1THpOeLzFQOVvb1KAawgbp3urJJr7h4SWx88VpftYgxqecge2kw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659857222; a=rsa-sha256; cv=none; b=N8czQ4RLoN7O0PGUFlAVEZhFvOrU3oFlSDhHkf0oFlmAY+dxurC7twvOK/0uUlY2lGpEWt kCIAq8AIG6Db1mInXkek9qZEjGpTbhznG0Q8Izv7L5E8hqeZJ8fHUeb30XcAvjUDfefBTh tIgf5/xcW7321Q8RBT8/sdxxlS1Enloragk9F+o1QApYuqT+LcYVkY2DMzl3mR5xLwowR6 joLM5c4YRiZqIeM65xB2fqjSpa05yPW+bXRaiwJLn9bgcqZ/iZ8bNlReXcpFBPKoVcqAar KCt5m6RVgj+IY0E4RQDkmQPLdgt6N08h76yPWTyeHK5XUfD7iAt59uxPLV9+pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265684 Bug ID: 265684 Summary: net/mpich: Fails to build when devel/uthash is installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: lantw44@gmail.com CC: zi@FreeBSD.org CC: zi@FreeBSD.org It seems that the uthash bundled by mpich is not compatible with the one installed from ports. /bin/sh ./libtool --tag=3DCC --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I./src/include -I./modules/hwloc/include/private/autogen -I./modules/hwloc/include/hwloc/autogen -I./src/include=20 -I./src/mpi/coll/allreduce_group/ -I./src/mpi/coll/transports/gentran=20 -I./src/mpi/coll/transports/stubtran -I./src/mpi/coll/transports/common=20 -I./src/mpi/coll/algorithms/treealgo -I./src/mpi/coll/algorithms/recexchal= go=20 -I./src/mpi/coll/algorithms/stubalgo -I./src/mpi/coll/algorithms/common=20 -I./src/mpi/coll/include/ -I./src/mpi/datatype/typerep/dataloop=20 -I./src/mpi/datatype -I./src/mpi/spawn -I./src/util -I./src/binding/cxx -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/binding/fortran/mpif_h= =20 -Isrc/binding/fortran/use_mpi -I./src/mpid/include=20=20=20=20=20=20 -I./src/mpid/ch4/include -I./src/mpid/ch4/include -I./src/mpid/ch4/src=20 -I./src/mpid/ch4/generic/am -I./src/mpid/ch4/netmod/include -I./src/mpid/ch4/shm/include -I./src/mpid/ch4/shm/posix=20 -I./src/mpid/ch4/shm/src -I./src/mpid/ch4/shm/posix/release_gather=20 -I./src/mpid/ch4/shm/posix/eager/include=20 -I./src/mpid/ch4/shm/posix/eager/include -I./src/mpid/ch4/shm/ipc/src -I./src/mpid/common/sched -I./src/mpid/common/thread=20 -I./src/mpid/common/timers -I./src/mpid/common/shm -I./src/mpid/common/bc -I./src/mpid/common/genq -I./src/pmi/simple -I./src/pmi/include=20 -I/usr/local/include -DNETMOD_INLINE=3D__netmod_inline_ofi__ -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/mpl/include -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/mpl/include -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/modules/yaksa/src/frontend/= include -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/modules/yaksa/src/frontend/= include -I/usr/local/include -D_REENTRANT -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/mpi/romio/include -fvisibility=3Dhidden -I/usr/local/include/json-c -O2 -pipe=20 -fstack-protector-strong -fno-strict-aliasing -MT src/mpi/attr/lib_libmpi_la-attr_delete.lo -MD -MP -MF src/mpi/attr/.deps/lib_libmpi_la-attr_delete.Tpo -c -o src/mpi/attr/lib_libmpi_la-attr_delete.lo `test -f 'src/mpi/attr/attr_delet= e.c' || echo './'`src/mpi/attr/attr_delete.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./src/include -I./modules/hwloc/include/private/autogen -I./modules/hwloc/include/hwloc/autogen -I./src/include -I./src/mpi/coll/allreduce_group/ -I./src/mpi/coll/transports/gentran -I./src/mpi/coll/transports/stubtran -I./src/mpi/coll/transports/common -I./src/mpi/coll/algorithms/treealgo -I./src/mpi/coll/algorithms/recexchalgo -I./src/mpi/coll/algorithms/stubalgo -I./src/mpi/coll/algorithms/common -I./src/mpi/coll/include/ -I./src/mpi/datatype/typerep/dataloop -I./src/mpi/datatype -I./src/mpi/spawn -I./src/util -I./src/binding/cxx -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/binding/fortran/mpif_h -Isrc/binding/fortran/use_mpi -I./src/mpid/include -I./src/mpid/ch4/include -I./src/mpid/ch4/include -I./src/mpid/ch4/src -I./src/mpid/ch4/generic/am -I./src/mpid/ch4/netmod/include -I./src/mpid/ch4/shm/include -I./src/mpid/ch4/shm/posix -I./src/mpid/ch4/shm/src -I./src/mpid/ch4/shm/posix/release_gather -I./src/mpid/ch4/shm/posix/eager/include -I./src/mpid/ch4/shm/posix/eager/include -I./src/mpid/ch4/shm/ipc/src -I./src/mpid/common/sched -I./src/mpid/common/thread -I./src/mpid/common/ti= mers -I./src/mpid/common/shm -I./src/mpid/common/bc -I./src/mpid/common/genq -I./src/pmi/simple -I./src/pmi/include -I/usr/local/include -DNETMOD_INLINE=3D__netmod_inline_ofi__ -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/mpl/include -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/mpl/include -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/modules/yaksa/src/frontend/= include -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/modules/yaksa/src/frontend/= include -I/usr/local/include -D_REENTRANT -I/wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3/src/mpi/romio/include -fvisibility=3Dhidden -I/usr/local/include/json-c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT src/mpi/attr/lib_libmpi_la-attr_delete.lo -MD -MP -MF src/mpi/attr/.deps/lib_libmpi_la-attr_delete.Tpo -c src/mpi/attr/attr_delet= e.c=20 -fPIC -DPIC -o src/mpi/attr/.libs/lib_libmpi_la-attr_delete.o In file included from src/mpi/attr/attr_delete.c:6: In file included from ./src/include/mpiimpl.h:241: In file included from ./src/mpid/ch4/include/mpidpost.h:10: In file included from ./src/mpid/ch4/include/mpidch4.h:310: In file included from ./src/mpid/ch4/src/ch4_request.h:9: ./src/mpid/ch4/src/ch4_impl.h:134:84: error: too many arguments provided to function-like macro invocation HASH_ADD(hash_handle, MPIDIG_WIN(win, targets), rank, sizeof(int), target_ptr, MPL_MEM_RMA); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /usr/local/include/uthash.h:428:9: note: macro 'HASH_ADD' defined here #define HASH_ADD(hh,head,fieldname,keylen_in,add)=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ In file included from src/mpi/attr/attr_delete.c:6: In file included from ./src/include/mpiimpl.h:241: In file included from ./src/mpid/ch4/include/mpidpost.h:10: In file included from ./src/mpid/ch4/include/mpidch4.h:310: In file included from ./src/mpid/ch4/src/ch4_request.h:9: ./src/mpid/ch4/src/ch4_impl.h:134:5: error: use of undeclared identifier 'HASH_ADD' HASH_ADD(hash_handle, MPIDIG_WIN(win, targets), rank, sizeof(int), target_ptr, MPL_MEM_RMA); ^ ./src/mpid/ch4/src/ch4_impl.h:888:63: error: too many arguments provided to function-like macro invocation HASH_ADD(hh, map->head, key, sizeof(uint64_t), map_entry, class); ^ /usr/local/include/uthash.h:428:9: note: macro 'HASH_ADD' defined here #define HASH_ADD(hh,head,fieldname,keylen_in,add)=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 \ ^ In file included from src/mpi/attr/attr_delete.c:6: In file included from ./src/include/mpiimpl.h:241: In file included from ./src/mpid/ch4/include/mpidpost.h:10: In file included from ./src/mpid/ch4/include/mpidch4.h:310: In file included from ./src/mpid/ch4/src/ch4_request.h:9: ./src/mpid/ch4/src/ch4_impl.h:888:5: error: use of undeclared identifier 'HASH_ADD' HASH_ADD(hh, map->head, key, sizeof(uint64_t), map_entry, class); ^ In file included from src/mpi/attr/attr_delete.c:6: In file included from ./src/include/mpiimpl.h:241: In file included from ./src/mpid/ch4/include/mpidpost.h:10: In file included from ./src/mpid/ch4/include/mpidch4.h:322: In file included from ./src/mpid/ch4/netmod/include/netmod_impl.h:1644: In file included from ./src/mpid/ch4/netmod/include/../ofi/netmod_inline.h:= 9: In file included from ./src/mpid/ch4/include/../netmod/ofi/ofi_am.h:9: ./src/mpid/ch4/include/../netmod/ofi/ofi_am_impl.h:169:62: error: too many arguments provided to function-like macro invocation MPIDI_OFI_global.cq_buffered_dynamic_tail, list_entry); ^ /usr/local/include/utlist.h:338:9: note: macro 'LL_APPEND' defined here #define LL_APPEND(head,add)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 \ ^ In file included from src/mpi/attr/attr_delete.c:6: In file included from ./src/include/mpiimpl.h:241: In file included from ./src/mpid/ch4/include/mpidpost.h:10: In file included from ./src/mpid/ch4/include/mpidch4.h:322: In file included from ./src/mpid/ch4/netmod/include/netmod_impl.h:1644: In file included from ./src/mpid/ch4/netmod/include/../ofi/netmod_inline.h:= 9: In file included from ./src/mpid/ch4/include/../netmod/ofi/ofi_am.h:9: ./src/mpid/ch4/include/../netmod/ofi/ofi_am_impl.h:168:9: error: use of undeclared identifier 'LL_APPEND' LL_APPEND(MPIDI_OFI_global.cq_buffered_dynamic_head, ^ In file included from src/mpi/attr/attr_delete.c:6: In file included from ./src/include/mpiimpl.h:241: In file included from ./src/mpid/ch4/include/mpidpost.h:10: In file included from ./src/mpid/ch4/include/mpidch4.h:324: In file included from ./src/mpid/ch4/shm/src/shm_impl.h:18: In file included from ./src/mpid/ch4/shm/src/shm_coll.h:10: In file included from ./src/mpid/ch4/shm/src/../posix/shm_inline.h:16: In file included from ./src/mpid/ch4/shm/posix/posix_coll.h:11: In file included from ./src/mpid/ch4/shm/posix/posix_coll_release_gather.h:= 30: ./src/mpid/ch4/shm/posix/release_gather/release_gather.h:344:17: error: inv= alid operands to binary expression ('void' and 'int') =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 MPIDI_POSIX_RELEASE_GATHER_GATHER_FLAG_ADDR(*utarray_eltptr(children, i)); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/mpid/ch4/shm/posix/release_gather/release_gather.h:35:12: note: expan= ded from macro 'MPIDI_POSIX_RELEASE_GATHER_GATHER_FLAG_ADDR' ((rank * MPIDI_POSIX_RELEASE_GATHER_FLAG_SPACE_PER_RANK + MPIDI_POSIX_RELEASE_GATHER_GATHER_FLAG_OFFSET)/(MPIDI_POSIX_RELEASE_GATHER_= FLAG_SIZE))) ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3 *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3 *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/net/mpich/work/mpich-3.4.3 *** Error code 1 Stop. make: stopped in /usr/ports/net/mpich --=20 You are receiving this mail because: You are the assignee for the bug.=