Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ClamAV ebuild fails during Install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
digifuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 80

PostPosted: Sat Oct 16, 2021 11:32 pm    Post subject: [SOLVED] ClamAV ebuild fails during Install Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Sun Oct 17, 2021 12:58 am    Post subject: Reply with quote

This appears to be app-antivirus/clamav-0.104.0 fails to install.
Back to top
View user's profile Send private message
digifuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 80

PostPosted: Sun Oct 17, 2021 1:53 am    Post subject: Reply with quote

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
View user's profile Send private message
digifuzzy
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2014
Posts: 80

PostPosted: Sun Oct 17, 2021 2:43 am    Post subject: [SOLVED] ClamAV ebuild fails during Install Reply with quote

Issue resolved w/ bump to ebuild revision level -> 0.104.0-r1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum