Bug 287318 - math/oink: fix build with boost 1.88.0
Summary: math/oink: fix build with boost 1.88.0
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: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-05 09:02 UTC by Edward.Sanford.Sutton, III
Modified: 2025-06-15 08:58 UTC (History)
0 users

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


Attachments
fix build with boost 1.88.0 (739 bytes, patch)
2025-06-05 09:02 UTC, Edward.Sanford.Sutton, III
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward.Sanford.Sutton, III 2025-06-05 09:02:35 UTC
Created attachment 260999 [details]
fix build with boost 1.88.0

Workaround for boost process moving to v2 as default. Developed similar to bug #287255. Have not reported upstream or tested beyond building. Build failure as noted on pkg fallout:

FAILED: CMakeFiles/test_solvers.dir/test/test_solvers.cpp.o 
/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -I/wrkdirs/usr/ports/math/oink/work/oink-32950f2/src -I/wrkdirs/usr/ports/math/oink/work/oink-32950f2/include -isystem /usr/local/include -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++14  -DNDEBUG -std=gnu++17 -Wall -Wextra -MD -MT CMakeFiles/test_solvers.dir/test/test_solvers.cpp.o -MF CMakeFiles/test_solvers.dir/test/test_solvers.cpp.o.d -o CMakeFiles/test_solvers.dir/test/test_solvers.cpp.o -c /wrkdirs/usr/ports/math/oink/work/oink-32950f2/test/test_solvers.cpp
/wrkdirs/usr/ports/math/oink/work/oink-32950f2/test/test_solvers.cpp:120:13: error: no type named 'ipstream' in namespace 'boost::process'
  120 |         bp::ipstream out;
      |         ~~~~^
/
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2025-06-15 08:55:07 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-06-15 08:58:31 UTC
A commit in branch main references this bug:

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

commit fef3d8c3a57bd0f181964cd0a434fe6dfa4f7f42
Author:     Edward.Sanford.Sutton, III <mirror176@hotmail.com>
AuthorDate: 2025-06-15 07:51:52 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-06-15 08:58:06 +0000

    math/oink:  fix build with boost 1.88.0

    PR:             287318

 math/oink/files/patch-test_test__solvers.cpp (new) | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)