[MacPorts] #70566: octave-parallel needs legacy-support for O_CLOEXEC
MacPorts
noreply at macports.org
Thu Aug 15 17:46:12 UTC 2024
#70566: octave-parallel needs legacy-support for O_CLOEXEC
--------------------------+-----------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.0
Keywords: | Port: octave-parallel
--------------------------+-----------------------------
{{{
CXX="ccache /opt/local/bin/g++-mp-14" CXXFLAGS="-pipe -Os -std=c++11
-D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -Wno-deprecated-declarations"
/usr/bin/arch -arch ppc /opt/local/bin/mkoctfile-9.2.0 --verbose -c
p-control.cc
ccache /opt/local/bin/g++-mp-14 -c -I/opt/local/include
-I/opt/local/include/octave-9.2.0/octave/..
-I/opt/local/include/octave-9.2.0/octave -I/opt/local/include -pthread
-pipe -Os -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -Wno-deprecated-
declarations p-control.cc -o p-control.o
p-control.cc: In member function 'int
octave_parallel::control::set_executable(const std::string&)':
p-control.cc:507:63: error: 'O_CLOEXEC' was not declared in this scope;
did you mean 'FD_CLOEXEC'?
507 | int tp_fd = ::open (tp_octave_binary.c_str (), O_RDONLY |
O_CLOEXEC);
|
^~~~~~~~~
|
FD_CLOEXEC
make: *** [p-control.o] Error 1
pkg: error running 'make' for the parallel package
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_octave_octave-parallel/octave-
parallel/work/parallel" && /usr/bin/arch -arch $OCTAVE_ARCH /opt/local/bin
/octave-cli -q -f -H --eval 'try; pkg build -verbose -nodeps
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_octave_octave-parallel/octave-
parallel/work/tmp-build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_octave_octave-parallel/octave-
parallel/work/parallel-4.0.2.tar.gz; catch; disp(lasterror.message);
exit(1); end_try_catch;'
Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70566>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list