Opened 3 years ago
Closed 3 years ago
#63045 closed defect (worksforme)
boost @ 1.71.0_4+no_single+no_static+python39+universal - Error: Failed to build boost: command execution failed
Reported by: | FaradayLight (Faraday Light) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | arm64 bigsur mariadb | Cc: | mascguy (Christopher Nielsen), michaelld (Michael Dickens), cjones051073 (Chris Jones) |
Port: | boost |
Description
An attempt at a default install of boost (as a dependancy of mariadb-10.4) fails with the following:
---> Building boost Error: Failed to build boost: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_boost/boost/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port mariadb-10.4 failed ---> Some of the ports you installed have notes: lzma has the following notes: The LZMA SDK program is installed as "lzma_alone", to avoid conflict with LZMA Utils ERROR: Install of port mariadb-10.4 failed with exit code: 1 ERROR: MacPorts installation terminated
The error occurs after running the following:
sudo port clean boost sudo port -v install boost
From verbose output:
...failed updating 2 targets... ...skipped 2 targets... ...updated 730 targets... Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_boost/boost/work/boost_1_71_0" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_boost/boost/work/boost_1_71_0/b2 -d2 --layout=tagged --debug-configuration --user-config=user-config.jam -sBZIP2_INCLUDE=/opt/local/include -sBZIP2_LIBPATH=/opt/local/lib -sEXPAT_INCLUDE=/opt/local/include -sEXPAT_LIBPATH=/opt/local/lib -sZLIB_INCLUDE=/opt/local/include -sZLIB_LIBPATH=/opt/local/lib -sICU_PATH=/opt/local variant=release runtime-link=shared -j8 --no-cmake-config link=shared threading=multi pch=off address-model=64 architecture=combined Exit code: 1
Please see attached log file: main_boost.log
Attachments (1)
Change History (16)
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | main_boost.log added |
---|
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | cjones051073 added |
---|
comment:2 Changed 3 years ago by cjones051073 (Chris Jones)
comment:3 Changed 3 years ago by FaradayLight (Faraday Light)
Hi, It is my understanding that this is the default install on arm64 - the default was set to +universal in one of the recent updates to MacPorts.
comment:4 Changed 3 years ago by cjones051073 (Chris Jones)
I am not aware of any changes to enable universal by default on arm, and I would be surprised if that change had been made. I also see no evidence to suggest this is the case in the recent builds on our arm buildbot
comment:5 follow-up: 9 Changed 3 years ago by FaradayLight (Faraday Light)
At some point the option was activated in my variants.conf around the end of May and I know I did not add the setting.
comment:6 Changed 3 years ago by FaradayLight (Faraday Light)
I will attempt the install without the +universal variant.
comment:7 Changed 3 years ago by FaradayLight (Faraday Light)
OK, that installs the non-universal variant.
Looking at the output of the info I get the following:
% port info boost boost @1.71.0_4 (devel) Sub-ports: boost-numpy Variants: clang11, clang12, clangdevel, cmake_scripts, debug, docs, mpich, [+]no_single, [+]no_static, openmpi, python27, python35, python36, python37, python38, [+]python39, regex_match_extra, (+)universal Description: Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library. Homepage: http://www.boost.org Library Dependencies: bzip2, expat, icu, libiconv, lzma, zlib, zstd, python39 Platforms: darwin License: Boost-1 Maintainers: Email: michaelld@macports.org, GitHub: michaelld GitHub: mascguy Policy: openmaintainer
comment:8 follow-up: 10 Changed 3 years ago by kencu (Ken)
Faraday, remove +universal from your variants.conf (and the reinstall all your ports, which will download buildbot versions). Then you will have no, or at least much less, trouble.
comment:9 follow-up: 11 Changed 3 years ago by cjones051073 (Chris Jones)
Replying to FaradayLight:
At some point the option was activated in my variants.conf around the end of May and I know I did not add the setting.
well I am not aware of anything in base that would have made this change for you ....
comment:10 Changed 3 years ago by FaradayLight (Faraday Light)
Replying to kencu:
Faraday, remove +universal from your variants.conf (and the reinstall all your ports, which will download buildbot versions). Then you will have no, or at least much less, trouble.
Hi, I can do that and would appreciate it if that prevented the difficulties I have encountered but why would it have been set in the first place? Before last weekend I did not know enough about MacPorts to find confirmation files so some component must have uncommented the setting in the conference file.
comment:11 Changed 3 years ago by FaradayLight (Faraday Light)
Replying to cjones051073:
Replying to FaradayLight:
At some point the option was activated in my variants.conf around the end of May and I know I did not add the setting.
well I am not aware of anything in base that would have made this change for you ....
I can understand that, but nevertheless something applied the change.
comment:12 follow-up: 13 Changed 3 years ago by cjones051073 (Chris Jones)
As far as I know, that change could only have been made by hand.... Nothing would have done it automatically.
comment:13 Changed 3 years ago by FaradayLight (Faraday Light)
Replying to cjones051073:
As far as I know, that change could only have been made by hand.... Nothing would have done it automatically.
Until last weekend I would not have know where to find that file and I only found out after reading-up on MacPorts because the problems I have been having.
comment:14 Changed 3 years ago by FaradayLight (Faraday Light)
OK thanks for everyone's help - commenting-out the setting has addressed the problems I was having.
comment:15 Changed 3 years ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Great, glad we were able to help!
This is not a default install, as you are using the universal variant. Do you really need this ? If not try installing without it.