[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 17:57:57 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):
Replying to [comment:28 danielluke]:
> The tests stuff is weird. […] Additionally, after all of that if you do
`port test clamav +tests` it will run the tests against whatever the
installed version of clamav's libraries are, and not the ones in the new
build.
>
Indeed! When I `deactivate` `clamav` I get:
{{{
-*- mode: compilation; default-directory: "/opt/local/var/macports/build
/_opt_local_ports_sysutils_clamav-legacy/clamav-legacy/work/build/" -*-
Compilation started at Tue Feb 1 18:45:44
time nice gmake -k test V=1
[36mRunning tests...[0m
/opt/local/bin/ctest --force-new-ctest-process
Test project /opt/local/var/macports/build
/_opt_local_ports_sysutils_clamav-legacy/clamav-legacy/work/build
Start 1: libclamav
1/5 Test #1: libclamav ........................***Failed 8.88 sec
Start 2: clamscan
2/5 Test #2: clamscan .........................***Failed 3.44 sec
Start 3: clamd
3/5 Test #3: clamd ............................***Failed 10.06 sec
Start 4: freshclam
4/5 Test #4: freshclam ........................ Passed 36.50 sec
Start 5: sigtool
5/5 Test #5: sigtool .......................... Passed 0.54 sec
40% tests passed, 3 tests failed out of 5
Total Test time (real) = 59.43 sec
The following tests FAILED:
1 - libclamav (Failed)
2 - clamscan (Failed)
3 - clamd (Failed)
Errors while running CTest
Output from these tests are in: /opt/local/var/macports/build
/_opt_local_ports_sysutils_clamav-legacy/clamav-
legacy/work/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases
verbosely.
gmake: *** [Makefile:94: test] Fehler 8
12.080u 6.403s 0:59.49 31.0% 0+0k 0+0io 7pf+0w
Compilation exited abnormally with code 2 at Tue Feb 1 18:46:43
}}}
So the tests are run using the old already installed programmes. The new
versions can be found in the directories `$(port work clamav-
legacy)/build/{clamd,clamscan,freshclam,sigtool}`:
{{{
411193308 0 drwxr-xr-x 6 macports wheel 192 1 Feb 18:27
…/clamav-legacy/work/build/sigtool
411196035 416 -rwxr-xr-x 1 macports wheel 212472 1 Feb 18:27
…/clamav-legacy/work/build/sigtool/sigtool
411193306 0 drwxr-xr-x 6 macports wheel 192 1 Feb 18:26
…/clamav-legacy/work/build/clamscan
411195933 352 -rwxr-xr-x 1 macports wheel 176616 1 Feb 18:26
…/clamav-legacy/work/build/clamscan/clamscan
411193302 0 drwxr-xr-x 6 macports wheel 192 1 Feb 18:26
…/clamav-legacy/work/build/clamd
411195905 392 -rwxr-xr-x 1 macports wheel 198232 1 Feb 18:26
…/clamav-legacy/work/build/clamd/clamd
411193314 0 drwxr-xr-x 6 macports wheel 192 1 Feb 18:27
…/clamav-legacy/work/build/freshclam
411196050 176 -rwxr-xr-x 1 macports wheel 88296 1 Feb 18:27
…/clamav-legacy/work/build/freshclam/freshclam
411193292 0 drwxr-xr-x 9 macports wheel 288 1 Feb 18:26
…/clamav-legacy/work/build/libclamav/libclamav.9.1.0.dylib
}}}
Wouldn't setting PATH allow to perform a real test?
--
Ticket URL: <https://trac.macports.org/ticket/64021#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list