Bug 265648 - security/botan2: disabling OpenMP support fails
Summary: security/botan2: disabling OpenMP support fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-05 14:15 UTC by Martin Birgmeier
Modified: 2022-08-05 14:34 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (fluffy)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2022-08-05 14:15:42 UTC
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
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-08-05 14:33:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cfc5a397af0d8feb43a6d428a5445f32cb309b26

commit cfc5a397af0d8feb43a6d428a5445f32cb309b26
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-08-05 14:30:32 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-08-05 14:31:45 +0000

    security/botan2: adjust configure args for openmp option

    PR:     265648

 security/botan2/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Dima Panov freebsd_committer freebsd_triage 2022-08-05 14:34:18 UTC
Fixed, thanks