[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 18:10:52 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):

 On the command line

 {{{
 root 311 /\ env PATH=`port work clamav-legacy`/build/clamd:`port work
 clamav-legacy`/build/clamscan:`port work clamav-
 legacy`/build/freshclam:`port work clamav-legacy`/build/sigtool:$PATH
 which sigtool clamscan clamd freshclam
 /opt/local/var/macports/build/_opt_local_ports_sysutils_clamav-legacy
 /clamav-legacy/work/build/sigtool/sigtool
 /opt/local/var/macports/build/_opt_local_ports_sysutils_clamav-legacy
 /clamav-legacy/work/build/clamscan/clamscan
 /opt/local/var/macports/build/_opt_local_ports_sysutils_clamav-legacy
 /clamav-legacy/work/build/clamd/clamd
 /opt/local/var/macports/build/_opt_local_ports_sysutils_clamav-legacy
 /clamav-legacy/work/build/freshclam/freshclam
 root 312 /\ env PATH=`port work clamav-legacy`/build/clamd:`port work
 clamav-legacy`/build/clamscan:`port work clamav-
 legacy`/build/freshclam:`port work clamav-legacy`/build/sigtool:$PATH
 freshclam --help

                       Clam AntiVirus: Database Updater 0.104.2
            By The ClamAV Team: https://www.clamav.net/about.html#credits
            (C) 2022 Cisco Systems, Inc.

     freshclam [options]

     --help               -h              Show this help
     --version            -V              Print version number and exit
     --verbose            -v              Be verbose
     --debug                              Enable debug messages
     --quiet                              Only output error messages
     --no-warnings                        Don't print and log warnings
     --stdout                             Write to stdout instead of
 stderr. Does not affect 'debug' messages.
     --show-progress                      Show download progress percentage

     --config-file=FILE                   Read configuration from FILE.
     --log=FILE           -l FILE         Log into FILE
     --daemon             -d              Run in daemon mode
     --pid=FILE           -p FILE         Save daemon's pid in FILE
     --foreground         -F              Don't fork into background (for
 use in daemon mode).
     --user=USER          -u USER         Run as USER
     --no-dns                             Force old non-DNS verification
 method
     --checks=#n          -c #n           Number of checks per day, 1 <= n
 <= 50
     --datadir=DIRECTORY                  Download new databases into
 DIRECTORY
     --daemon-notify[=/path/clamd.conf]   Send RELOAD command to clamd
     --local-address=IP   -a IP           Bind to IP for HTTP downloads
     --on-update-execute=COMMAND          Execute COMMAND after successful
 update.
                                          Use EXIT_1 to return 1 after
 successful database update.
     --on-error-execute=COMMAND           Execute COMMAND if errors
 occurred
     --on-outdated-execute=COMMAND        Execute COMMAND when software is
 outdated
     --update-db=DBNAME                   Only update database DBNAME

 root 313 /\ env PATH=`port work clamav-legacy`/build/clamd:`port work
 clamav-legacy`/build/clamscan:`port work clamav-
 legacy`/build/freshclam:`port work clamav-legacy`/build/sigtool:$PATH
 freshclam -vd
 Current working dir is /usr/local/clamXav/share/clamav/
 Loaded freshclam.dat:
   version:    1
   uuid:       f0fccc01-fe3a-487e-baa4-a19e9b62d7f5
 root 314 /\ env PATH=`port work clamav-legacy`/build/clamd:`port work
 clamav-legacy`/build/clamscan:`port work clamav-
 legacy`/build/freshclam:`port work clamav-legacy`/build/sigtool:$PATH
 freshclam -v
 Current working dir is /usr/local/clamXav/share/clamav/
 Loaded freshclam.dat:
   version:    1
   uuid:       f0fccc01-fe3a-487e-baa4-a19e9b62d7f5
 ClamAV update process started at Tue Feb  1 19:01:40 2022
 Current working dir is /usr/local/clamXav/share/clamav/
 Querying current.cvd.clamav.net
 TTL: 1616
 fc_dns_query_update_info: Software version from DNS: 0.103.5
 Current working dir is /usr/local/clamXav/share/clamav/
 check_for_new_database_version: Local copy of daily found: daily.cld.
 query_remote_database_version: daily.cvd version from DNS: 26440
 daily.cld database is up-to-date (version: 26440, sigs: 1973273, f-level:
 90, builder: raynman)
 fc_update_database: daily.cld already up-to-date.
 Current working dir is /usr/local/clamXav/share/clamav/
 check_for_new_database_version: Local copy of main found: main.cld.
 query_remote_database_version: main.cvd version from DNS: 62
 main.cld database is up-to-date (version: 62, sigs: 6647427, f-level: 90,
 builder: sigmgr)
 fc_update_database: main.cld already up-to-date.
 Current working dir is /usr/local/clamXav/share/clamav/
 check_for_new_database_version: Local copy of bytecode found:
 bytecode.cld.
 query_remote_database_version: bytecode.cvd version from DNS: 333
 bytecode.cld database is up-to-date (version: 333, sigs: 92, f-level: 63,
 builder: awillia2)
 fc_update_database: bytecode.cld already up-to-date.
 }}}

 works, but invoking

 {{{
 env PATH=`port work clamav-legacy`/build/clamd:`port work clamav-
 legacy`/build/clamscan:`port work clamav-legacy`/build/freshclam:`port
 work clamav-legacy`/build/sigtool:$PATH gmake -k test
 }}}

 (I live in `tcsh`) fails. At least the log files in `$(port work clamav-
 legacy)/build/Testing/Temporary` show that `LD_LIBRARY_PATH` might set
 correctly for the tests.

-- 
Ticket URL: <https://trac.macports.org/ticket/64021#comment:35>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list