From nobody Thu Jul 22 23:26:45 2021 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 D16DA12AC4F0 for ; Thu, 22 Jul 2021 23:26:45 +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 4GW7rP5TmXz4Wvl for ; Thu, 22 Jul 2021 23:26:45 +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 9F2121A977 for ; Thu, 22 Jul 2021 23:26:45 +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 16MNQjeQ096927 for ; Thu, 22 Jul 2021 23:26:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16MNQjoF096926 for ports-bugs@FreeBSD.org; Thu, 22 Jul 2021 23:26:45 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 257344] math/adol-c even with python 3.7+ forced the stage phase still fails, but now with missing functions Date: Thu, 22 Jul 2021 23:26:45 +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: alt2600@icloud.com 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 op_sys bug_status bug_severity priority component assigned_to reporter 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257344 Bug ID: 257344 Summary: math/adol-c even with python 3.7+ forced the stage phase still fails, but now with missing functions Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: alt2600@icloud.com Assignee: yuri@freebsd.org Flags: maintainer-feedback?(yuri@freebsd.org) Now it seems to fine swig ok, but the staging fails with some crazy error. = It looks like its trying to bring in numpy now with python enabled. I have nym= py built with atlas, not sure if this is the cause or not. Not sure if its bet= ter to just patch python out of this. One really crazy error is speaking about = not being able to find compiler options in the registry like it things its runn= ing on windows, about 12-15 lines from the top of below. But the main errors sp= eak to missing functions. Making install in swig gmake[5]: Entering directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/swig' CXX=3Dc++ /usr/local/bin/python3.8 setup.py install --prefix=3D/usr/local --only-swig running install running build running build_lib skipping build of ADOL-C running build_ext prefix =3D /usr/ports/math/adol-c/work/adolc_base invoking: c++ -std=3Dc++11 -E -C -P -o adolc_all_pre.hpp -Iinclude -nostdinc -DSWIGPRE adolc_all_in.hpp building '_adolc' extension swigging adolc-python.i to adolc-python_wrap.cpp swig -python -c++ -dirvtable -o adolc-python_wrap.cpp adolc-python.i ../include/adolc/adolc_fatalerror.h:25: Warning 401: Nothing known about ba= se class 'std::exception'. Ignored. Warning: Can't read registry to find the necessary compiler setting Make sure that Python modules winreg, win32api or win32con are installed. C compiler: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -= O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -fPIC creating build creating build/temp.freebsd-12.2-RELEASE-p6-amd64-3.8 compile options: '-I/usr/local/lib/python3.8/site-packages/numpy/core/inclu= de -I/usr/local/include/python3.8 -I/usr/ports/math/adol-c/work/adolc_base/inc= lude -c' extra options: '-std=3Dc++11 -fPIC -w' cc: adolc-python_wrap.cpp adolc-python_wrap.cpp:27591:21: error: use of undeclared identifier 'jac_pa= t' result =3D (int)jac_pat(arg1,arg2,arg3,(double const *)arg4,arg5,arg6= ); ^ adolc-python_wrap.cpp:27663:21: error: use of undeclared identifier 'absnormal_jac_pat' result =3D (int)absnormal_jac_pat(arg1,arg2,arg3,arg4,(double const *)arg5,arg6); ^ adolc-python_wrap.cpp:27734:7: error: use of undeclared identifier 'generate_seed_jac' generate_seed_jac(arg1,arg2,arg3,arg4,arg5,arg6); ^ adolc-python_wrap.cpp:27798:21: error: use of undeclared identifier 'hess_p= at' result =3D (int)hess_pat(arg1,arg2,(double const *)arg3,arg4,arg5); ^ adolc-python_wrap.cpp:27861:7: error: use of undeclared identifier 'generate_seed_hess' generate_seed_hess(arg1,arg2,arg3,arg4,arg5); ^ adolc-python_wrap.cpp:27908:7: error: use of undeclared identifier 'set_HP' set_HP(arg1,arg2,arg3); ^ adolc-python_wrap.cpp:27955:7: error: use of undeclared identifier 'get_HP' get_HP(arg1,arg2,arg3); ^ adolc-python_wrap.cpp:28027:21: error: use of undeclared identifier 'bit_vector_propagation' result =3D (int)bit_vector_propagation(arg1,arg2,arg3,(double const *)arg4,arg5,arg6); ^ 8 errors generated. error: Command "cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=3Dwestmere -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -fPIC -I/usr/local/lib/python3.8/site-packages/numpy/core/include -I/usr/local/include/python3.8 -I/usr/ports/math/adol-c/work/adolc_base/inc= lude -c adolc-python_wrap.cpp -o build/temp.freebsd-12.2-RELEASE-p6-amd64-3.8/adolc-python_wrap.o -std=3Dc++= 11 -fPIC -w" failed with exit status 1 gmake[5]: *** [Makefile:490: install] Error 1 gmake[5]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/swig' gmake[4]: *** [Makefile:554: install-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-= C' gmake[3]: *** [Makefile:711: install] Error 2 gmake[3]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-= C' gmake[2]: *** [Makefile:537: install-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2' gmake[1]: *** [Makefile:841: install-strip] Error 2 gmake[1]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2' *** Error code 2 --=20 You are receiving this mail because: You are the assignee for the bug.=