View previous topic :: View next topic |
Author |
Message |
digifuzzy Tux's lil' helper
Joined: 31 Oct 2014 Posts: 80
|
Posted: Sat Oct 16, 2021 11:32 pm Post subject: [SOLVED] ClamAV ebuild fails during Install |
|
|
It appears that updated ClamAV ebuild tries to do some extra step during the install phase but fails because the target of that action doesn't exist in the final product.
Code: |
/var/tmp/portage/app-antivirus/clamav-0.104.0/temp/environment: line 2216: /var/tmp/portage/app-antivirus/clamav-0.104.0/image/etc/clamav/clamd.conf: No such file or directory
* ERROR: app-antivirus/clamav-0.104.0::gentoo failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 127: Called src_install
* environment, line 2216: Called die
* The specific snippet of code:
* sed -e "s:^\(Example\):\# \1:" -e "s/^#\(PidFile .*\)/\1/" -e "s/^#\(LocalSocket .*\)/\1/" -e "s/^#\(User .*\)/\1/" -e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" -e "s:^\#\(LogTime\).*:\1 yes:" -e "s/^#\(DatabaseDirectory .*\)/\1/" "${ED}"/etc/clamav/clamd.conf.sample > "${ED}"/etc/clamav/clamd.conf || die;
*
|
Last edited by digifuzzy on Sun Oct 17, 2021 2:43 am; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
|
Back to top |
|
|
digifuzzy Tux's lil' helper
Joined: 31 Oct 2014 Posts: 80
|
Posted: Sun Oct 17, 2021 1:53 am Post subject: |
|
|
That the ebuild completes if a specific USE flag is invoked speaks to a problem with the ebuild in that the logic to limit actions based on the USE flags are not understood by the ebuild maintainer and/or person who pushed the ebuild update.
However, yes. That bug report appears to also describe the problem encountered. |
|
Back to top |
|
|
digifuzzy Tux's lil' helper
Joined: 31 Oct 2014 Posts: 80
|
Posted: Sun Oct 17, 2021 2:43 am Post subject: [SOLVED] ClamAV ebuild fails during Install |
|
|
Issue resolved w/ bump to ebuild revision level -> 0.104.0-r1 |
|
Back to top |
|
|
|