[MacPorts] #64021: clamav @0.104.1_1 does not build on PPC Mac OS X 10.4.11, Tiger, because: 'O_SYMLINK' undeclared
MacPorts
noreply at macports.org
Tue Feb 1 16:52:37 UTC 2022
#64021: clamav @0.104.1_1 does not build on PPC Mac OS X 10.4.11, Tiger, because:
'O_SYMLINK' undeclared
-----------------------------+--------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: tiger
Port: legacy-support |
-----------------------------+--------------------
Comment (by ballapete):
The `Portfile` I uploaded has these depends statements:
{{{
depends_build path:bin/cmake:cmake \
depends_lib port:curl \
depends_test-append port:check
depends_test-append port:python37 \
depends_test-append port:python38 \
depends_test-append port:python39 \
depends_test-append port:python310 \
}}}
When I change them to become
{{{
depends_build-append path:bin/cmake:cmake \
depends_lib-append port:curl \
depends_lib-append port:libmilter
depends_test-append port:check
depends_test-append port:python37 \
depends_test-append port:python38 \
depends_test-append port:python39 \
depends_test-append port:python310 \
}}}
`port -vdk build clamav-legacy +tests` leads to:
{{{
-- Found Git: /opt/local/bin/git (found version "2.35.1")
CMake Error at
/opt/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
Could NOT find Libcheck (missing: LIBCHECK_INCLUDE_DIR LIBCHECK_LIBRARY)
Call Stack (most recent call first):
/opt/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594
(_FPHSA_FAILURE_MESSAGE)
cmake/FindLibcheck.cmake:89 (find_package_handle_standard_args)
CMakeLists.txt:194 (find_package)
}}}
I don't think that my `Python` use cases contribute a problem because I
have set in `/opt/local/etc/macports/variants.conf` `+python38` – I just
do not want to juggle with half a dozen different `Python` versions,
which also sets a default version (hopefully):
{{{
pete 248 /\ port variants clamav-legacy
clamav-legacy has the variants:
clamav_milter: Build with libmilter support
debug: Enable debug binaries
tests: Enable running 'port test'
pete 249 /\ port variants clamav-legacy +tests
Tests run using the installed version of this port.
clamav-legacy has the variants:
clamav_milter: Build with libmilter support
debug: Enable debug binaries
python310: Create test data with Python 3.10 and run tests with Python
3.10
* conflicts with python37 python38 python39
python37: Create test data with Python 3.7 and run tests with Python
3.7
* conflicts with python310 python38 python39
(+)python38: Create test data with Python 3.8 and run tests with Python
3.8
* conflicts with python310 python37 python39
python39: Create test data with Python 3.9 and run tests with Python
3.9
* conflicts with python310 python37 python38
+tests: Enable running 'port test'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64021#comment:31>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list