I have taken a look in my temporary build directory "/var/tmp/portage/net-analyzer/openvas-plugins-1.0.0/work/openvas-plugins-1.0.0" and in the subdir "plugins". It seems that each plugin is in a seperate directory there. The Makefile tries to build all plugins and in the end it reports "Warning : the following plugins could not be built : 3com_hub find_service ftp_write_dirs hydra linux_tftp nikto_wrapper nmap_tcp_connect nmap_wrapper objectserver openvas_tcp_scanner smad snmp_portscan ssl_ciphers synscan tftp_grab_file" This are all plugins. So i took a closer look and discovered, that each plugin missed the file "includes.h". Then i searched for this file in any of the openvas-* packages, but none of these provides this file. In "openvas-server-1.0.0.ebuild" i found the following: "# net-analyzer/openvas-libraries provides includes.h rm "${D}"/usr/include/openvas/includes.h" But this is entirely not true, at least not for openvas-libraries-1.0.1. The Makefile of openvas-libraries-1.0.0 states: "$(INSTALL) -m 0444 include/includes.h ${includedir}/openvas" but this line is missing in the Makefile of openvas-libraries-1.0.1. So a possible solution could be to patch this Makefile or not to delete "includes.h" in openvas-server-1.0.0.ebuild. Reproducible: Always Steps to Reproduce: 1. emerge openvas 2. wait for other packages like "net-analyzer/openvas-libnasl" to be build 3. on emerge of openvas-plugins it stops Actual Results: emerge fails and gives an appropriate error message. Expected Results: net-analyzer/openvas-plugins-1.0.0 should have been build correctly without failure. emerge --info is: Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686) ================================================================= System uname: 2.6.24-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.80GHz Timestamp of tree: Tue, 06 May 2008 07:45:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LANG="de_DE.UTF-8" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa asf bash-completion berkdb bitmap-fonts bzip2 cairo cdr cdrw cjk cli cracklib crypt cups curl cvs dbus dri dvd dvdr dvdread emboss encode evo fam ffmpeg firefox gdbm gif glitz gpm gs gstreamer gtk hal iconv imagemagick imap ipv6 irda isdnlog jpeg kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses network nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl session spell spl sqlite sqlite3 sse sse2 ssl startup-notification subversion svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x86 xcomposite xinetd xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="kbd mouse synaptics keyboard ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I think i am confirming my own guess of what could have cause this failure to build openvas-plugins-1.0.0. I downgraded openvas-libraries-1.0.1 to openvas-libraries-1.0.0. This time the package provided the needed includes.h and openvas-plugins-1.0.0 builds fine. I have one more question though. I called openvas-nvt-sync and it updated my plugins. But the owner of the new fetched files is not root, as i expected, but "philipp:201". I think it must be the rsync option -a in openvas-nvt-sync, which caused this, because it preserves the ower and group of the file. Is this behaviour ok? Shouldn't this script instead change the ownership to the user calling it?
Thanks, I've added openvas-server-1.0.0-r1 which doesn't delete the include-file.