#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
--------------------+---------------------------
 Reporter:  jaroel  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  clamav-server
--------------------+---------------------------
 I'm running on an Apple MacBook Air (M1, 2020) w/ macOS Big Sur (11.1),
 with a MacPorts-installed fish shell in x86_64 arch.
 {{{
 roel@Roels-MacBook-Air /o/l/v/m/b/_/c/w/d/o/l/etc> arch
 i386
 }}}

 I ran the following:
 {{{
 sudo port install clamav-server
 --->  Computing dependencies for clamav-server
 --->  Fetching archive for clamav-server
 --->  Attempting to fetch clamav-
 server-0.101.2_3+sanesecurity+scan_schedule_access.darwin_20.noarch.tbz2
 from https://lil.fr.packages.macports.org/clamav-server
 --->  Attempting to fetch clamav-
 server-0.101.2_3+sanesecurity+scan_schedule_access.darwin_20.noarch.tbz2
 from https://mse.uk.packages.macports.org/clamav-server
 --->  Attempting to fetch clamav-
 server-0.101.2_3+sanesecurity+scan_schedule_access.darwin_20.noarch.tbz2
 from https://cph.dk.packages.macports.org/clamav-server
 --->  Staging clamav-server into destroot
 Error: Failed to destroot clamav-server: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_clamav-server/clamav-
 server/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port clamav-server failed
 }}}

 The log file shows the following (stripped):


 {{{
 :info:destroot xinstall: /opt/local/etc/clamd.conf.sample ->
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_clamav-server/clamav-
 server/work/destroot/opt/local/etc/clamd.conf.macports
 :debug:destroot system -W
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_clamav-server/clamav-
 server/work/destroot/opt/local: /usr/bin/patch -p0
 ./etc/clamd.conf.macports
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils
 /clamav-server/files/patch-etc-clamd-conf-macports.diff
 :info:destroot patching file ./etc/clamd.conf.macports
 :info:destroot Hunk #3 FAILED at 66.
 :info:destroot Hunk #4 succeeded at 93 (offset 3 lines).
 :info:destroot Hunk #5 succeeded at 140 (offset 3 lines).
 :info:destroot Hunk #6 succeeded at 180 (offset 3 lines).
 :info:destroot Hunk #7 succeeded at 316 (offset 13 lines).
 :info:destroot Hunk #8 succeeded at 333 (offset 13 lines).
 :info:destroot Hunk #9 succeeded at 349 (offset 13 lines).
 :info:destroot 1 out of 9 hunks FAILED -- saving rejects to file
 ./etc/clamd.conf.macports.rej
 :info:destroot Command failed: /usr/bin/patch -p0
 ./etc/clamd.conf.macports
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils
 /clamav-server/files/patch-etc-clamd-conf-macports.diff
 :info:destroot Exit code: 1
 :error:destroot Failed to destroot clamav-server: command execution failed
 :debug:destroot Error code: NONE
 :debug:destroot Backtrace: command execution failed
 :debug:destroot     while executing
 :debug:destroot "$procedure $targetname"
 :error:destroot See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_clamav-server/clamav-
 server/main.log for details.
 }}}

 Content of
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_sysutils_clamav-server/clamav-
 server/work/destroot/opt/local/etc/clamd.conf.macports.rej':


 {{{
 ***************
 *** 66,77 ****

   # Log additional information about the infected file, such as its
   # size and hash, together with the virus name.
 - #ExtendedDetectionInfo yes

   # This option allows you to save a process identifier of the listening
   # daemon (main thread).
   # Default: disabled
 - #PidFile /var/run/clamd.pid

   # Optional path to the global temporary directory.
   # Default: system specific (usually /tmp or /var/tmp).
 --- 66,77 ----

   # Log additional information about the infected file, such as its
   # size and hash, together with the virus name.
 + ExtendedDetectionInfo yes

   # This option allows you to save a process identifier of the listening
   # daemon (main thread).
   # Default: disabled
 + PidFile @PREFIX@/var/run/clamav/clamd.pid

   # Optional path to the global temporary directory.
   # Default: system specific (usually /tmp or /var/tmp).

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/62078>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
----------------------------+--------------------
  Reporter:  jaroel         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+--------------------
Changes (by jaroel):

 * Attachment "clamd.conf.macports.rej" added.


--
Ticket URL: <https://trac.macports.org/ticket/62078>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
In reply to this post by macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
----------------------------+--------------------
  Reporter:  jaroel         |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+--------------------
Changes (by jaroel):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/62078>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
In reply to this post by macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
----------------------------+-----------------------
  Reporter:  jaroel         |      Owner:  essandess
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+-----------------------
Changes (by jmroot):

 * owner:  (none) => essandess
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/62078#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
In reply to this post by macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
----------------------------+-----------------------
  Reporter:  jaroel         |      Owner:  essandess
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+-----------------------

Comment (by essandess):

 Please see https://github.com/macports/macports-ports/pull/10110

--
Ticket URL: <https://trac.macports.org/ticket/62078#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
In reply to this post by macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
----------------------------+-----------------------
  Reporter:  jaroel         |      Owner:  essandess
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  clamav-server  |
----------------------------+-----------------------

Comment (by Apex-Heavy):

 Its not just the M1. I'm on an iMac running 11.2.1 and have the same
 issue...

--
Ticket URL: <https://trac.macports.org/ticket/62078#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: #62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)

macports-4
In reply to this post by macports-4
#62078: clamav-server won't install (on Apple MacBook Air M1 on x86_64)
----------------------------+-----------------------
  Reporter:  jaroel         |      Owner:  essandess
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:  fixed          |   Keywords:
      Port:  clamav-server  |
----------------------------+-----------------------
Changes (by essandess):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"b80481e48b9bda371602cc24182b892dac5fde0c/macports-ports"
 b80481e48b9bda371602cc24182b892dac5fde0c/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="b80481e48b9bda371602cc24182b892dac5fde0c"
 clamav-server: Bugfix

 * Fixes https://trac.macports.org/ticket/62078
 }}}

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