From nobody Sat Sep 03 09:02:46 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 4MKTMC2c28z4bktN for ; Sat, 3 Sep 2022 09:02:47 +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 4MKTMC15BPz3sJP for ; Sat, 3 Sep 2022 09:02:47 +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 4MKTMC09GBz15nx for ; Sat, 3 Sep 2022 09:02:47 +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 28392kqA085354 for ; Sat, 3 Sep 2022 09:02:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28392kGf085353 for ports-bugs@FreeBSD.org; Sat, 3 Sep 2022 09:02:46 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 266189] cad/cvc: error: invalid use of incomplete type 'struct std::array' Date: Sat, 03 Sep 2022 09:02:46 +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 Some People X-Bugzilla-Who: salvadore@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter blocked flagtypes.name 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=1662195767; 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=1HyumVPqbDlWhylmWfHfb72IcJOJ2OyQlbEpDzXE1og=; b=hQBOghRrZY7tjKPPp5lQOw6B2XcYeocWOzxdYPw0L6ENf3GW3NAqVT5xrjOIcS0ti8AUhs buu/r7S1Vka+JxRJ7cYPQHDbljD9QmL9FnQGr2oxEo267SJU6uPwwNS+ASadnOVZSx5Msf z0kGhkUnJp7Mks6r9Gr6UyiMs5x+bw4fGbc8/tdx00KxlV9bX3GJUxWnKaWWe8I7bVsYhh chv0T6ky21Sqc2dV8pPAAll9IAcViu2pbeujeGp4ZLxrADniDrNqvf7Tl2SFzSRfEzEj9M vimAjrUYqEYoBXoKY43pkONUowmrHFS3k85fQP/nbkiy+7Bu6Hzi6Qa4DXkCvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662195767; a=rsa-sha256; cv=none; b=f9q1anVF8nTLSIN/rrh8AwcqLTHqAvGwTqe+9UMd5bO/9VO0VBYhRg8lApwwD0xqthMJjI aT/pPsLVK7HBw5undgxnWO1sQDKXac2Trjd3+j8G/r2YZ6taOllNLtyA5K4LOwvkIGO/b4 JpUQNyJOxlHjjB0oO0YGcCNegmO3iqHVuHJeRL+GRWghVXrbQIZlzGhXqBZItft95TLPWi 9aN1DeuoqkaI9Tbd8alP8rhqsWxp79yCvz/XJ5Qkr1VreaxJ5gN2AHKph48epY1QZh4Thy R71PUGOajpmKIpT6loRUxzxmiQTsIT27N7Dy/ext3A6TJ+v0v0qQOUFIotBTrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266189 Bug ID: 266189 Summary: cad/cvc: error: invalid use of incomplete type 'struct std::array' Product: Ports & Packages Version: Latest Hardware: Any URL: http://package18.nyi.freebsd.org/data/123amd64-default -foo/2022-08-30_18h10m18s/logs/errors/cvc-1.1.3.log OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: salvadore@freebsd.org Blocks: 265948 Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that buil= ding this port with GCC 12 on i386 and amd64 fails. The error message is the following: g++12 -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -O2 -pipe=20 -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc12=20 -Wl,-rpath=3D/usr/local/lib/gcc12 -std=3Dgnu++11 -MT cdlParser.o -MD - MP -MF .deps/cdlParser.Tpo -c -o cdlParser.o cdlParser.cc=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 /usr/local/lib/gcc12/include/c++/vector:64,=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 from Cvc.hh:62,=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 from cdlParser.yy:32,=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 from cdlParser.cc:41:=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/lib/gcc12/include/c++/bits/stl_vector.h: In instantiation of 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp =3D std::array; _Alloc =3D std::allocator >]':=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/lib/gcc12/include/c++/bits/stl_vector.h:526:7: required from h= ere=20=20 /usr/local/lib/gcc12/include/c++/bits/stl_vector.h:367:49: error: invalid u= se of incomplete type 'struct std::array'=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 367 | _M_impl._M_end_of_storage - _M_impl._M_start)= ;=20=20=20=20 | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~= =20=20=20=20=20=20 In file included from /usr/local/lib/gcc12/include/c++/bits/hashtable_policy.h:34,=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 from /usr/local/lib/gcc12/include/c++/bits/hashtable.h:35,= =20=20=20=20=20 from /usr/local/lib/gcc12/include/c++/unordered_map:46,=20= =20=20=20=20=20=20=20 from CvcTypes.hh:33,=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 from Cvc.hh:39:=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/lib/gcc12/include/c++/tuple:1595:45: note: declaration of 'struct std::array'=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 1595 | template struct array;=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 /usr/local/lib/gcc12/include/c++/bits/char_traits.h:4= 2,=20=20=20 from /usr/local/lib/gcc12/include/c++/string:40,=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 from CvcTypes.hh:28:=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/lib/gcc12/include/c++/type_traits: In instantiation of 'struct std::is_destructible >':=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/lib/gcc12/include/c++/bits/stl_construct.h:188:51: required fr= om 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardItera= tor =3D array*]'=20=20=20=20=20=20=20 /usr/local/lib/gcc12/include/c++/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [w= ith _ForwardIterator =3D array*; _Tp =3D array]'=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/lib/gcc12/include/c++/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp =3D std::array; _Alloc =3D std::allocator >]'=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 CCircuit.hh:35:7: required from here=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/lib/gcc12/include/c++/type_traits:910:52: error: static assertion failed: template argument must be a complete class or an unbounded array=20= =20=20=20=20=20=20=20 910 |=20=20=20=20=20=20 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),=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/lib/gcc12/include/c++/type_traits:910:52: note: 'std::__is_complete_or_unbounded<__type_identity > >((std::__type_identity >(), std::__type_identity >()))' evaluates to false In file included from /usr/local/lib/gcc12/include/c++/bits/alloc_traits.h:= 33, from /usr/local/lib/gcc12/include/c++/ext/alloc_traits.h:3= 4, from /usr/local/lib/gcc12/include/c++/bits/basic_string.h:= 39, from /usr/local/lib/gcc12/include/c++/string:53: /usr/local/lib/gcc12/include/c++/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardItera= tor =3D array*]': /usr/local/lib/gcc12/include/c++/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [w= ith _ForwardIterator =3D array*; _Tp =3D array]' /usr/local/lib/gcc12/include/c++/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp =3D std::array; _Alloc =3D std::allocator >]'=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 CCircuit.hh:35:7: required from here=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=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/lib/gcc12/include/c++/type_traits:910:52: error: static assertion failed: template argument must be a complete class or an unbounded array=20= =20=20=20=20=20=20=20 910 |=20=20=20=20=20=20 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),=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/lib/gcc12/include/c++/type_traits:910:52: note: 'std::__is_complete_or_unbounded<__type_identity > >((std::__type_identity >(), s td::__type_identity >()))' evaluates to false= =20=20=20=20=20=20=20 In file included from /usr/local/lib/gcc12/include/c++/bits/alloc_traits.h:= 33,=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=20 from /usr/local/lib/gcc12/include/c++/ext/alloc_traits.h:34,=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 from /usr/local/lib/gcc12/include/c++/bits/basic_string.h:= 39,=20=20 from /usr/local/lib/gcc12/include/c++/string:53:=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/lib/gcc12/include/c++/bits/stl_construct.h: In instantiation of 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardItera= tor =3D array*]':=20=20=20=20=20=20=20=20 /usr/local/lib/gcc12/include/c++/bits/alloc_traits.h:850:15: required from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, allocator<_T2>&) [w= ith _ForwardIterator =3D array*; _Tp =3D array]'=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=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/lib/gcc12/include/c++/bits/stl_vector.h:730:15: required from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp =3D std::array; _Alloc =3D std::allocator >]'=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=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 CCircuit.hh:35:7: required from here=20=20= =20=20=20=20=20=20=20=20=20 /usr/local/lib/gcc12/include/c++/bits/stl_construct.h:188:51: error: static assertion failed: value type is destructible=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 188 |=20=20=20=20=20=20 static_assert(is_destructible<_Value_type>::value,=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=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/lib/gcc12/include/c++/bits/stl_construct.h:188:51: note: 'std::integral_constant::value' evaluates to false=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/local/lib/gcc12/include/c++/bits/stl_construct.h:195:25: error: invalid use of incomplete type 'std::iterator_traits*>::value_type' {aka 'struct std::array'}=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 195 | std::_Destroy_aux<__has_trivial_destructor(_Value_type)>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/gcc12/include/c++/tuple:1595:45: note: declaration of 'std::iterator_traits*>::value_type' {aka 'stru= ct std::array'} 1595 | template struct array; | ^~~~~ gmake[4]: *** [Makefile:551: cdlParser.o] Error 1 Please see also the log in the URL field. This URL might be useful to solve= the issue: http://gcc.gnu.org/gcc-12/porting_to.html . Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265948 [Bug 265948] [exp-run] Update GCC_DEFAULT from 11 to 12 --=20 You are receiving this mail because: You are the assignee for the bug.=