From nobody Thu Jul 22 17:49:05 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 A69EC12AB470 for ; Thu, 22 Jul 2021 17:49:05 +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 4GW0Ln4CQ4z4bxJ for ; Thu, 22 Jul 2021 17:49:05 +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 73438163AC for ; Thu, 22 Jul 2021 17:49:05 +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 16MHn5L9014321 for ; Thu, 22 Jul 2021 17:49:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16MHn5nX014320 for ports-bugs@FreeBSD.org; Thu, 22 Jul 2021 17:49:05 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 257340] math/adol-c fails to stage with python 2.7 installed Date: Thu, 22 Jul 2021 17:49:05 +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: 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=3D257340 Bug ID: 257340 Summary: math/adol-c fails to stage with python 2.7 installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: alt2600@icloud.com Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Basically the autoconfigure finds the first instance of python you have and tries to build the swig interfaces for the library. It seems we do not want= the python interfaces based on no USES=3Dpython directive in the make. I tried = to disable by adding --disable-python and then --disable-swig into CONFIGURE_A= RGS but it doesn't accept these as options. I think this requires patching out python in the configure.ac file to skip these checks. I have python 2.7 as a couple things still need a limited install of it, but I don't have py27-swi= g. I'm not sure how to patch python out, or if its better to just make it USES=3Dpython3+ . ADOL-C wants python 2.7 first in the search, and even if = PYTHON environment isn't set, which I confirmed with make -v PYTHON it finds it by checking known executable names of python. I will try some other things and post a patch if i can figure something out, but not sure which way the maintainer wants to go with python as a dependency here. /bin/mkdir -p '/usr/ports/math/adol-c/work/stage/usr/local/include/adolc' install -m 0644 adolc.h adalloc.h adouble.h adutils.h adutilsc.h convolut= .h fortutils.h interfaces.h taping.h externfcts.h checkpointing.h fixpoint.h adolc_sparse.h adolc_openmp.h revolve.h advector.h adolc_fatalerror.h adtl.h adtl_indo.h adtl_hov.h adoublecuda.h param.h externfcts2.h edfclasses.h '/usr/ports/math/adol-c/work/stage/usr/local/include/adolc' gmake[8]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include/adolc' gmake[7]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include/adolc' gmake[6]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include/adolc' gmake[6]: Entering directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include' gmake[7]: Entering directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include' gmake[7]: Nothing to be done for 'install-exec-am'. gmake[7]: Nothing to be done for 'install-data-am'. gmake[7]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include' gmake[6]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include' gmake[5]: Leaving directory '/usr/ports/math/adol-c/work/ADOL-C-2.7.2/ADOL-C/include' 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/python2.7 setup.py install --prefix=3D/usr/local --only-swig Traceback (most recent call last): File "setup.py", line 15, in from numpy.distutils import misc_util as np_dist ImportError: No module named numpy.distutils 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 Stop. make: stopped in /usr/ports/math/adol-c --=20 You are receiving this mail because: You are the assignee for the bug.=