[MacPorts] #69236: cryfs @0.11.4: error: expected unqualified-id
MacPorts
noreply at macports.org
Tue Jan 30 00:35:09 UTC 2024
#69236: cryfs @0.11.4: error: expected unqualified-id
------------------------+----------------------
Reporter: ryandesign | Owner: jolan78
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: port
------------------------+----------------------
cryfs fails to build on this system due to some weird interaction between
boost and a system header?
https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/176334/steps
/install-port/logs/stdio
{{{
In file included from
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
/cpp-utils/process/subprocess.cpp:6:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process.hpp:23:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process/async.hpp:43:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process/detail/posix/async_in.hpp:19:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process/detail/used_handles.hpp:14:
/opt/local/libexec/boost/1.76/include/boost/process/detail/posix/handles.hpp:34:20:
error: expected unqualified-id
auto my_fd = ::dirfd(dir.get());
^
/usr/include/dirent.h:88:21: note: expanded from macro 'dirfd'
#define dirfd(dirp) ((dirp)->__dd_fd)
^
In file included from
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_cryfs/cryfs/work/cryfs-0.11.4/src
/cpp-utils/process/subprocess.cpp:6:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process.hpp:23:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process/async.hpp:43:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process/detail/posix/async_in.hpp:19:
In file included from
/opt/local/libexec/boost/1.76/include/boost/process/detail/used_handles.hpp:14:
/opt/local/libexec/boost/1.76/include/boost/process/detail/posix/handles.hpp:118:24:
error: expected unqualified-id
auto my_fd = ::dirfd(dir);
^
/usr/include/dirent.h:88:21: note: expanded from macro 'dirfd'
#define dirfd(dirp) ((dirp)->__dd_fd)
^
}}}
Is there a reason why cryfs needs to use boost 1.76, which is old? The
latest version in MacPorts is 1.81 which is also old but is at least newer
than 1.76 and maybe it already contains a fix for this problem.
--
Ticket URL: <https://trac.macports.org/ticket/69236>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list