[Bug 265648] security/botan2: disabling OpenMP support fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Aug 2022 14:15:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265648

            Bug ID: 265648
           Summary: security/botan2: disabling OpenMP support fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: fluffy@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
          Assignee: fluffy@FreeBSD.org
             Flags: maintainer-feedback?(fluffy@FreeBSD.org)

Scenario:
- FreeBSD 12.3 latest
- ports latest
- ports being upgraded using portmaster
- portmaster tries to upgrade botan2-2.19.2 to botan2-2.19.2_1

Result:
- The build fails as follows:

===>  License BSD2CLAUSE accepted by the user
===>   botan2-2.19.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by botan2-2.19.2_1 for building
===>  Extracting for botan2-2.19.2_1
=> SHA256 Checksum OK for Botan-2.19.2.tar.xz.
===>  Patching for botan2-2.19.2_1
===>   botan2-2.19.2_1 depends on package: py39-sphinx>=0 - found
===>   botan2-2.19.2_1 depends on package: gmake>=4.3 - found
===>   botan2-2.19.2_1 depends on file: /usr/local/bin/python3.9 - found
===>   botan2-2.19.2_1 depends on shared library: libboost_filesystem.so -
found (/usr/local/lib/libboost_filesystem.so)
===>  Configuring for botan2-2.19.2_1
Usage: configure.py [options]

configure.py: error: no such option: --without-openmp
===>  Script "configure.py" failed unexpectedly.
Please report the problem to fluffy@FreeBSD.org [maintainer] and attach the
"/usr/tmp/net/hal/z/SRC/FreeBSD/ports/MBi/main/security/botan2/work/Botan-2.19.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 /net/hal/z/SRC/FreeBSD/ports/MBi/main/security/botan2
*** Error code 1

Stop.
make: stopped in /net/hal/z/SRC/FreeBSD/ports/MBi/main/security/botan2

===>>> make build failed for security/botan2
===>>> Aborting update

===>>> Update for security/botan2 failed
===>>> Aborting update

===>>> The following actions were performed:
        Upgrade of double-conversion-3.2.0 to double-conversion-3.2.1


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> security/botan2 

This command has been saved to ~/portmasterfail.txt

Expected result:
- Building without OpenMP support should be possible.

-- Martin

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