Opened 3 months ago
Last modified 3 months ago
#70566 assigned defect
octave-parallel needs legacy-support for O_CLOEXEC
Reported by: | barracuda156 | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.0 |
Keywords: | Cc: | ||
Port: | octave-parallel |
Description
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
Change History (3)
comment:1 Changed 3 months ago by Schamschula (Marius Schamschula)
comment:2 follow-up: 3 Changed 3 months ago by Marius Schamschula <mschamschula@…>
comment:3 Changed 3 months ago by barracuda156
Replying to Marius Schamschula <mschamschula@…>:
In 4f3570d0026e941a8d2714b88a65915cf65b85fe/macports-ports (master):
Thank you, it builds fine for me now.
36-25% port -v installed octave-parallel The following ports are currently installed: octave-parallel @4.0.2_1 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2024-08-16T11:59:36+0800'
Note: See
TracTickets for help on using
tickets.
Anything beyond adding the PortGroup?